I try to find a reasonable solution for this equation but i couldent
I try to study lots of material but i couldent solve it. I am a high school student and try to learn. Integral cos(log x)dx
I try to find a reasonable solution for this equation but i couldent
I try to study lots of material but i couldent solve it. I am a high school student and try to learn. Integral cos(log x)dx
Edit It looks from later comments that you may be interested in log to the base $10$. Whatever base $b$ you are interested in, there is an easily computed constant $a$ such that $\log_b(x)=a\ln x$. So we integrate $\cos(a\ln x)$.
We try integration by parts, $u=\cos(a\ln x)$ and $dv=dx$. Then $du=-a\frac{1}{x}\sin(a\ln x)$ and we can take $v=x$. Thus our integral is $$x\cos(a\ln x)+a\int \sin(a\ln x)\,dx.$$ Now attack the second integral. The same basic strategy shows that $$a\int \sin(a\ln x)\,dx=ax\sin(a\ln x) -a^2\int \cos(a\ln x)\,dx.$$
It looks as if we are going in circles. And usually when it looks as if we are going in circles, we are going in circles. But not this time.
Let $I$ be our original integral. Then $$I=x\cos(a\ln x)+ ax\sin(a\ln x) -a^2I.$$ Solve for $I$, and don't forget the constant of integration.