[Math] U-Substitution with Integration by Parts

calculusintegration

I've been told to evaluate the indefinite integral of this function:

$$\int \sin {\ln {x}} dx$$

I'm supposed to make a $u$-substitution in the beginning, then complete it using integration by parts. Every time I try, I just end up going in circles. Could someone please help me? Thanks!

Best Answer

Hint: Let $u = \ln{x}$. Then $du = \frac{1}{x} dx$, or $x du = dx$. Using the fact that $x = e^u$, we can write

$$\int \sin \ln{x} dx = \int e^u \sin{u}du$$

This is a common integral that can be done by using parts twice, or by recognizing that

$$\sin{u} = \operatorname{Im} e^{iu}$$