Difference between revisions of "009B Sample Midterm 3, Problem 4"
Jump to navigation
Jump to search
Kayla Murray (talk | contribs) |
Kayla Murray (talk | contribs) |
||
Line 7: | Line 7: | ||
!Foundations: | !Foundations: | ||
|- | |- | ||
− | | | + | |Review integration by parts |
− | |- | + | |} |
− | + | ||
+ | '''Solution:''' | ||
+ | {| class="mw-collapsible mw-collapsed" style = "text-align:left;" | ||
+ | !Step 1: | ||
|- | |- | ||
+ | |We proceed using integration by parts. Let <math>u=\sin(\ln x)</math> and <math>dv=dx</math>. Then, <math>du=\cos(\ln x)\frac{1}{x}dx</math> and <math>v=x</math>. | ||
|- | |- | ||
− | | | + | |Therefore, we get |
|- | |- | ||
− | | | + | |<math>\int \sin (\ln x)dx=x\sin(\ln x)-\int \cos(\ln x)dx</math>. |
− | |||
− | |||
|} | |} | ||
− | |||
{| class="mw-collapsible mw-collapsed" style = "text-align:left;" | {| class="mw-collapsible mw-collapsed" style = "text-align:left;" | ||
− | !Step | + | !Step 2: |
|- | |- | ||
− | | | + | |Now, we need to use integration by parts again. Let <math>u=\cos(\ln x)</math> and <math>dv=dx</math>. Then, <math>du=-\sin(\ln x)\frac{1}{x}dx</math> and <math>v=x</math>. |
|- | |- | ||
− | | | + | |Therfore, we get |
|- | |- | ||
− | | | + | |<math>\int \sin (\ln x)dx=x\sin(\ln x)-\bigg(x\cos(\ln x)+\int \sin(\ln x)dx\bigg)=x\sin(\ln x)-x\cos(\ln x)-\int \sin(\ln x)dx</math>. |
|- | |- | ||
| | | | ||
Line 33: | Line 34: | ||
{| class="mw-collapsible mw-collapsed" style = "text-align:left;" | {| class="mw-collapsible mw-collapsed" style = "text-align:left;" | ||
− | !Step | + | !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 | ||
|- | |- | ||
− | | | + | |<math>2\int \sin(\ln x)dx=x\sin(\ln x)-x\cos(\ln x)</math>. |
|- | |- | ||
− | | | + | |Now, we divide both sides by 2 to get |
|- | |- | ||
− | | | + | |<math>\int \sin(\ln x)dx=\frac{x\sin(\ln x)}{2}-\frac{x\cos(\ln x)}{2}</math>. |
|- | |- | ||
− | | | + | |Thus, the final answer is <math>\int \sin(\ln x)dx=\frac{x}{2}(\sin(\ln x)-\cos(\ln x))+C</math> |
|} | |} | ||
Line 47: | Line 52: | ||
!Final Answer: | !Final Answer: | ||
|- | |- | ||
− | | | + | |<math>\frac{x}{2}(\sin(\ln x)-\cos(\ln x))+C</math> |
|- | |- | ||
| | | | ||
|} | |} | ||
[[009B_Sample_Midterm_3|'''<u>Return to Sample Exam</u>''']] | [[009B_Sample_Midterm_3|'''<u>Return to Sample Exam</u>''']] |
Revision as of 12:40, 31 January 2016
Evaluate the integral:
Foundations: |
---|
Review integration by parts |
Solution:
Step 1: |
---|
We proceed using integration by parts. Let and . Then, and . |
Therefore, we get |
. |
Step 2: |
---|
Now, we need to use integration by parts again. Let and . Then, and . |
Therfore, we get |
. |
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 |
. |
Now, we divide both sides by 2 to get |
. |
Thus, the final answer is |
Final Answer: |
---|