Integration question: integral cos(lnx)
Hmm this is one of those annoying ones where you have to do integration by parts, then do some algebra, combining integrals to solve for the thing... Ok lemme see if we can get this setup correctly :)
\[\huge \int\limits \cos(\ln x) dx\] \[\large u=\color{salmon}{\cos(\ln x)}, \quad dv=\color{blueviolet}{dx}\]\[\large du=\color{orangered}{-\frac{1}{x}\sin(\ln x) dx}, \quad v=\color{purple}{x}\]That part make sense? :o
yeah
\[\large \color{purple}{x}\color{salmon}{\cos(\ln x)}+\int\limits \frac{\color{purple}{x}}{\color{orangered}{x}}\color{orangered}{\sin(\ln x) dx}\]So we get something like this i think.
yeah
We'll have to do Integration by parts again. It's important that you assign the similar pieces for your by parts. Our trig was our U, so it'll have to be our U again.
\[\large u=\color{\tan}{\sin(\ln x)}, \quad dv=\color{limegreen}{dx}\]\[\large du=\color{goldenrod}{\frac{1}{x}\cos(\ln x)dx},\quad v=\color{forestgreen}{x}\]
Sorry If I'm moving way too slow, I'm trying to experiment with the colors :) lol
Are you sure you can do integration by parts here?
Makes it much more interesting :)
Woah, I see where you're going with this
Which gives us,\[\large \color{purple}{x}\color{salmon}{\cos(\ln x)}+\color{forestgreen}{x}\color{\tan}{\frac{1}{x}\sin(\ln x)}-\int\limits \frac{\color{forestgreen}{x}}{\color{goldenrod}{x}}\color{goldenrod}{\cos(\ln x)dx}\]Check my work make sure I have those plugged in right hera :O
yeah that's right
Hmm notice how we got back what we started with? It might make you think we took a wrong turn, but this is good. We can do something sneaky from here.
Let,\[\large Y=\int\limits \cos(\ln x) dx\]It will help us save time with writing. So what we have right now is,\[\large Y=x \cos(\ln x)+x \sin(\ln x)-Y\]
See where this is going? :D
That's brilliant :D
Can you finish it from here? :3
yeah y=(xcos(lnx)+xsin(ln(x)))/2
Yay team \:D/
Hehe, I remember doing this exact problem in Calc 2. That's funny :D
lol that's so cool that it works like that.
Join our real-time social learning platform and learn together with your friends!