[Math] Discuss the convergence of $\int_0^\infty x \sin e^x \, dx$

calculusconvergence-divergenceintegrationreal-analysis

$$\int_0^\infty x \sin e^x \, dx$$

I have tried applying the Dirichlet test, Comparison Principle, integration by parts and substitution, but all have failed. None of these prove that the integral is divergent though, so I'm not really sure how to show that this converges/diverges.

My work:

Dirichlet: Fails, because neither $f(x)=x$ nor $g(x)=\sin e^x$ goes to zero

Comparison: Fails. $\sin e^x \le1$, therefore $\int_0^\infty x \, dx\ge \int_0^\infty x \sin e^x \, dx$. However, $\int_0^\infty x \, dx$ does not converge, so this idea is unhelpful

IBP: $\int_a^b FG'=(F(b)G(b)-F(a)G(a))-\int_a^bGF'$ $$F=x,\quad F'= dx,\quad G' = \sin e^x, \quad G =\text{?}$$
Substitution: $u(x)=e^x$ $du=e^x$ therefore: $$\int_0^\infty x \sin e^x \, dx=\int_0^{\infty} \ln {u(x)} \sin u(x) \, dx$$ From here, you can use IBP, resulting in: $$F=\ln(u), \quad F'=\frac 1x, \quad G'= \sin u(x), \quad G = -\cos u(x)\cdot u'(x)$$ $$-\ln u(x) \cos u(x) u'(x)|_0^\infty-\int_0^\infty \frac{-\cos u(x) u'(x)}{u(x)}$$ But I feel like this integral is far too complicated for the scope of the question. Additionally, $\ln\infty$ would go to infinity anyway, so I feel like that is not an acceptable way to solve the problem. Graphically, my calculator says that the integral should be equal to 0.411229, a number which appears to have no numerical significance. Is there any other way to integrate this function?

Best Answer

HINT:

Let $x=\log y$. Then, $dx=\frac1y \,dy$ and

$$\int_0^{\infty}x\sin(e^x)\,dx=\int_{1}^{\infty}\frac{\log(y)\sin(y)}{y}\,dy$$

Now note that that the integrand is $\sin y$ times a function that monotonically decreases to $0$ (for $y\ge e$). Given that the integral of the sine function is bounded on any interval, finish by appealing to Abel's Test.