Difference between revisions of "009B Sample Midterm 3, Problem 4"

From Grad Wiki
Jump to navigation Jump to search
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: &nbsp;  
 
!Foundations: &nbsp;  
 
|-
 
|-
|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: &nbsp;  
 
!Step 1: &nbsp;  
 
|-
 
|-
|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>.
+
|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: &nbsp;
 
!Step 2: &nbsp;
 
|-
 
|-
|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>.
+
|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>.
 
 
|-
 
|-
 
|
 
|
 +
::<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 15:41, 29 March 2016

Evaluate the integral:


Foundations:  
Integration by parts tells us that
How could we break up 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 \sin (\ln x)~dx} into 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 u} and 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 dv?}
Notice that 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 \sin (\ln x)} is one term. So, we need to let 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 u=\sin (\ln x)} and 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 dv=dx.}

Solution:

Step 1:  
We proceed using integration by parts. Let 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 u=\sin(\ln x)} and 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 dv=dx.} Then, 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 du=\cos(\ln x)\frac{1}{x}dx} and 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 v=x.}
Therefore, 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 \int \sin (\ln x)~dx=x\sin(\ln x)-\int \cos(\ln x)~dx.}
Step 2:  
Now, we need to use integration by parts again. Let 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 u=\cos(\ln x)} and 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 dv=dx.} Then, 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 du=-\sin(\ln x)\frac{1}{x}dx} and 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 v=x.}
Therfore, 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 \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.}
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 (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 \sin(\ln x)~dx=x\sin(\ln x)-x\cos(\ln x)} .
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 \sin(\ln x)~dx=\frac{x\sin(\ln x)}{2}-\frac{x\cos(\ln x)}{2}.}
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 \sin(\ln x)~dx=\frac{x}{2}(\sin(\ln x)-\cos(\ln x))+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{x}{2}(\sin(\ln x)-\cos(\ln x))+C}

Return to Sample Exam