009B Sample Midterm 3, Problem 4

From Math Wiki
Revision as of 17:53, 18 April 2016 by MathAdmin (talk | contribs) (Created page with "<span class="exam">Evaluate the integral: ::<math>\int \sin (\ln x)~dx.</math> {| class="mw-collapsible mw-collapsed" style = "text-align:left;" !Foundations:   |- |'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Evaluate the integral:


Foundations:  
1. Integration by parts tells us that
2. How could we break up into and
Notice that is one term. So, we need to let and

Solution:

Step 1:  
We proceed using integration by parts.
Let and Then, and Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle v=x.}
Therefore, we get
Step 2:  
Now, we need to use integration by parts again.
Let Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle u=\cos(\ln x)} and Then, Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle du=-\sin(\ln x){\frac {1}{x}}dx} and Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle v=x.}
Therfore, we get
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int \sin(\ln x)~dx}&=&\displaystyle {x\sin(\ln x)-{\bigg (}x\cos(\ln x)+\int \sin(\ln x)~dx{\bigg )}}\\&&\\&=&\displaystyle {x\sin(\ln x)-x\cos(\ln x)-\int \sin(\ln x)~dx.}\\\end{array}}}
Step 3:  
Notice that the integral on the right of the last equation is the same integral that we had at the beginning.
So, if we add the integral on the right to the other side of the equation, we get
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 2\int \sin(\ln x)~dx=x\sin(\ln x)-x\cos(\ln x).}
Now, we divide both sides by 2 to get
Thus, the final answer is
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \int \sin(\ln x)~dx={\frac {x}{2}}(\sin(\ln x)-\cos(\ln x))+C.}
Final Answer:  
   Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\frac {x}{2}}(\sin(\ln x)-\cos(\ln x))+C}

Return to Sample Exam