009B Sample Midterm 2, Problem 4
Evaluate the integral:
| Foundations: |
|---|
| 1. Integration by parts tells us |
| 2. How would you integrate |
|
You can use integration by parts. |
|
Let and |
| Then, and |
|
Thus, |
|
Now, we need to use integration by parts a second time. |
|
Let and |
| Then, Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle du=-\sin(x)~dx} and |
| Therefore, |
|
|
|
Notice, we are back where we started. |
| Therefore, adding the last term on the right hand side to the opposite side, we get |
|
|
|
Hence, |
Solution:
| Step 1: |
|---|
| We proceed using integration by parts. |
| Let and Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle dv=e^{-2x}dx.} |
| Then, and |
| Thus, 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 e^{-2x}\sin(2x)~dx}&=&\displaystyle {{\frac {\sin(2x)e^{-2x}}{-2}}-\int {\frac {e^{-2x}2\cos(2x)~dx}{-2}}}\\&&\\&=&\displaystyle {{\frac {\sin(2x)e^{-2x}}{-2}}+\int e^{-2x}\cos(2x)~dx.}\end{array}}} |
| Step 2: |
|---|
| Now, we need to use integration by parts again. |
| Let and Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle dv=e^{-2x}dx.} |
| Then, and |
| Therefore, we get |
|
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \int e^{-2x}\sin(2x)~dx={\frac {\sin(2x)e^{-2x}}{-2}}+{\frac {\cos(2x)e^{-2x}}{-2}}-\int e^{-2x}\sin(2x)~dx.} |
| Step 3: |
|---|
| Notice that the integral on the right of the last equation in Step 2 |
| is the same integral that we had at the beginning of the problem. |
| Thus, if we add the integral on the right to the other side of the equation, we get |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2\int e^{-2x}\sin (2x)~dx=\frac{\sin(2x)e^{-2x}}{-2}+\frac{\cos(2x)e^{-2x}}{-2}.} |
| Now, we divide both sides by 2 to get |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int e^{-2x}\sin (2x)~dx=\frac{\sin(2x)e^{-2x}}{-4}+\frac{\cos(2x)e^{-2x}}{-4}.} |
| Thus, the final answer is |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \int e^{-2x}\sin (2x)~dx=\frac{e^{-2x}}{-4}(\sin(2x)+\cos(2x))+C.} |
| Final Answer: |
|---|
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{e^{-2x}}{-4}(\sin(2x)+\cos(2x))+C} |