Difference between revisions of "009B Sample Final 1, Problem 4"

From Grad Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
!Foundations:    
 
!Foundations:    
 
|-
 
|-
|Review <math>u</math>-substitution
+
|Recall
 
|-
 
|-
|Integration by parts
+
|'''1.''' We can use integration by parts to get <math>\int u~dv=uv-\int v~du</math>.
 
|-
 
|-
|Partial fraction decomposition
+
|'''2.''' We can write the fraction <math>\frac{1}{(x+1)(x+2)}=\frac{A}{x+1}+\frac{B}{x+2}</math> for some constants <math style="vertical-align: -4px">A,B</math>.
 
|-
 
|-
|Trig identities
+
|'''3.''' We have the identity <math style="vertical-align: -5px">\sin^2(x)=1-\cos^2(x)</math>.
 
|}
 
|}
  

Revision as of 11:08, 24 February 2016

Compute the following integrals.

a)

b)

c)


Foundations:  
Recall
1. We can use integration by parts to get .
2. We can write the fraction for some constants Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle A,B} .
3. We have the identity .

Solution:

(a)

Step 1:  
We first distribute to get
.
Now, for the first integral on the right hand side of the last equation, we use integration by parts.
Let and . Then, and .
So, we have
Step 2:  
Now, for the one remaining integral, we use -substitution.
Let . Then, .
So, we have
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int e^{x}(x+\sin(e^{x}))~dx}&=&\displaystyle {xe^{x}-e^{x}+\int \sin(u)~du}\\&&\\&=&\displaystyle {xe^{x}-e^{x}-\cos(u)+C}\\&&\\&=&\displaystyle {xe^{x}-e^{x}-\cos(e^{x})+C}\\\end{array}}}

(b)

Step 1:  
First, we add and subtract from the numerator.
So, we have
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int {\frac {2x^{2}+1}{2x^{2}+x}}~dx}&=&\displaystyle {\int {\frac {2x^{2}+x-x+1}{2x^{2}+x}}~dx}\\&&\\&=&\displaystyle {\int {\frac {2x^{2}+x}{2x^{2}+x}}~dx+\int {\frac {1-x}{2x^{2}+x}}~dx}\\&&\\&=&\displaystyle {\int ~dx+\int {\frac {1-x}{2x^{2}+x}}~dx}\\\end{array}}}
Step 2:  
Now, we need to use partial fraction decomposition for the second integral.
Since Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 2x^{2}+x=x(2x+1)} , we let Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\frac {1-x}{2x^{2}+x}}={\frac {A}{x}}+{\frac {B}{2x+1}}} .
Multiplying both sides of the last equation by ,
we get Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 1-x=A(2x+1)+Bx} .
If we let , the last equation becomes Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 1=A} .
If we let Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle x=-{\frac {1}{2}}} , then we get Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\frac {3}{2}}=-{\frac {1}{2}}B} . Thus, .
So, in summation, we have Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\frac {1-x}{2x^{2}+x}}={\frac {1}{x}}+{\frac {-3}{2x+1}}} .
Step 3:  
If we plug in the last equation from Step 2 into our final integral in Step 1, we have
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int {\frac {2x^{2}+1}{2x^{2}+x}}~dx}&=&\displaystyle {\int ~dx+\int {\frac {1}{x}}~dx+\int {\frac {-3}{2x+1}}~dx}\\&&\\&=&\displaystyle {x+\ln x+\int {\frac {-3}{2x+1}}~dx}\\\end{array}}}
Step 4:  
For the final remaining integral, we use -substitution.
Let Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle u=2x+1} . Then, Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle du=2dx} and Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\frac {du}{2}}=dx} .
Thus, our final integral becomes
Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int {\frac {2x^{2}+1}{2x^{2}+x}}~dx}&=&\displaystyle {x+\ln x+\int {\frac {-3}{2x+1}}~dx}\\&&\\&=&\displaystyle {x+\ln x+\int {\frac {-3}{2u}}~du}\\&&\\&=&\displaystyle {x+\ln x-{\frac {3}{2}}\ln u+C}\\\end{array}}}
Therefore, the final answer is

(c)

Step 1:  
First, we write .
Using the identity , we get .
If we use this identity, we have
    .
Step 2:  
Now, we proceed by 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} -substitution. 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 x} . 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 x dx} .
So we have
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 \begin{array}{rcl} \displaystyle{\int\sin^3x~dx} & = & \displaystyle{\int -(1-u^2)~du}\\ &&\\ & = & \displaystyle{-u+\frac{u^3}{3}+C}\\ &&\\ & = & \displaystyle{-\cos x+\frac{\cos^3x}{3}+C}\\ \end{array}}
Final Answer:  
(a) 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 xe^x-e^x-\cos(e^x)+C}
(b) 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 x+\ln x-\frac{3}{2}\ln (2x+1) +C}
(c) 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 -\cos x+\frac{\cos^3x}{3}+C}

Return to Sample Exam