How to find the primitive of this guy by parts? I tried:
$$\int \sin(\ln x)dx $$ $$=\int\cos(\ln x)*\tan(\ln x)dx$$ $$=\frac{1}{x*\cos(\ln x)}+\int\frac{1}{x*\cos^2(\ln x)}*\frac{1}{x}\sin(\ln x)dx$$
Is this the way to go?
How to find the primitive of this guy by parts? I tried:
$$\int \sin(\ln x)dx $$ $$=\int\cos(\ln x)*\tan(\ln x)dx$$ $$=\frac{1}{x*\cos(\ln x)}+\int\frac{1}{x*\cos^2(\ln x)}*\frac{1}{x}\sin(\ln x)dx$$
Is this the way to go?
$$\int \sin(\ln x)dx=\int x\cdot \frac{1}{x}\sin(\ln x)dx=\int x\cdot(-\cos(\ln x))^{'}dx$$
$$=-x\cos(\ln x)-\int1\cdot(-\cos(\ln x))\,dx=-x\cos(\ln x)+\int\cos(\ln x)\,dx$$
Now,
$$\int \cos(\ln x)dx=\int x\cdot \frac{1}{x}\cos(\ln x)dx=\int x\cdot(\sin(\ln x))^{'}dx$$
$$=x\sin(\ln x)-\int1\cdot\sin(\ln x)\,dx=x\sin(\ln x)-\int\sin(\ln x)\,dx$$
So:
$$\int \sin(\ln x)dx=-x\cos(\ln x)+x\sin(\ln x)-\int \sin(\ln x)dx$$
giving the final integral as $\frac{-x\cos(\ln x)+x\sin(\ln x)}{2}+C$