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 1: | Line 1: | ||
<span class="exam">Evaluate the integral: | <span class="exam">Evaluate the integral: | ||
| − | ::<math>\int \sin (\ln x)~dx</math> | + | ::<math>\int \sin (\ln x)~dx.</math> |
| Line 7: | Line 7: | ||
!Foundations: | !Foundations: | ||
|- | |- | ||
| − | |Integration by parts tells us that <math>\int u~dv=uv-\int vdu</math> | + | |Integration by parts tells us that <math>\int u~dv=uv-\int vdu.</math> |
|- | |- | ||
|How could we break up <math>\sin (\ln x)~dx</math> into <math>u</math> and <math>dv?</math> | |How could we break up <math>\sin (\ln x)~dx</math> into <math>u</math> and <math>dv?</math> | ||
|- | |- | ||
| | | | ||
| − | ::Notice that <math>\sin (\ln x)</math> is one term. So, we need to let <math>u=\sin (\ln x)</math> and <math>dv=dx</math> | + | ::Notice that <math>\sin (\ln x)</math> is one term. So, we need to let <math>u=\sin (\ln x)</math> and <math>dv=dx.</math> |
|} | |} | ||
| Line 19: | Line 19: | ||
!Step 1: | !Step 1: | ||
|- | |- | ||
| − | |We proceed using integration by parts. Let <math>u=\sin(\ln x)</math> and <math>dv=dx</math> | + | |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 | |Therefore, we get | ||
|- | |- | ||
| − | |<math>\int \sin (\ln x)~dx=x\sin(\ln x)-\int \cos(\ln x)~dx</math> | + | | |
| + | ::<math>\int \sin (\ln x)~dx=x\sin(\ln x)-\int \cos(\ln x)~dx.</math> | ||
|} | |} | ||
| Line 29: | Line 30: | ||
!Step 2: | !Step 2: | ||
|- | |- | ||
| − | |Now, we need to use integration by parts again. Let <math>u=\cos(\ln x)</math> and <math>dv=dx</math> | + | |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 | |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 45: | Line 45: | ||
|So, if we add the integral on the right to the other side of the equation, we get | |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>. | + | | |
| + | ::<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 | |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> | + | | |
| + | ::<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> | + | |Thus, the final answer is <math>\int \sin(\ln x)~dx=\frac{x}{2}(\sin(\ln x)-\cos(\ln x))+C.</math> |
|} | |} | ||
| Line 58: | Line 60: | ||
|- | |- | ||
|<math>\frac{x}{2}(\sin(\ln x)-\cos(\ln x))+C</math> | |<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 16:41, 29 March 2016
Evaluate the integral:
| Foundations: |
|---|
| Integration by parts tells us that |
| How could we break up into and |
|
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: |
|---|