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

From Grad Wiki
Jump to navigation Jump to search
Line 86: Line 86:
 
!Step 1:    
 
!Step 1:    
 
|-
 
|-
|One of the double angle formulas is <math>\cos(2x)=1-2\sin^2(x).</math> Solving for <math>\sin^2(x),</math> we get <math>\sin^2(x)=\frac{1-\cos(2x)}{2}.</math>
+
|One of the double angle formulas is <math style="vertical-align: -5px">\cos(2x)=1-2\sin^2(x).</math> Solving for <math style="vertical-align: -5px">\sin^2(x),</math> we get <math style="vertical-align: -13px">\sin^2(x)=\frac{1-\cos(2x)}{2}.</math>
 
|-
 
|-
 
|Plugging this identity into our integral, we get  
 
|Plugging this identity into our integral, we get  
Line 114: Line 114:
 
!Step 3: &nbsp;
 
!Step 3: &nbsp;
 
|-
 
|-
|For the remaining integral, we need to use <math>u</math>-substitution. Let <math>u=2x.</math> Then, <math>du=2~dx</math> and <math>\frac{du}{2}=dx.</math> Also, since this is a definite integral  
+
|For the remaining integral, we need to use <math style="vertical-align: 0px">u</math>-substitution. Let <math style="vertical-align: -1px">u=2x.</math> Then, <math style="vertical-align: -1px">du=2~dx</math> and <math style="vertical-align: -18px">\frac{du}{2}=dx.</math> Also, since this is a definite integral  
 
|-  
 
|-  
|and we are using <math>u</math>-substitution, we need to change the bounds of integration. We have <math>u_1=2(0)=0</math> and <math>u_2=2(\pi)=2\pi.</math>
+
|and we are using <math style="vertical-align: 0px">u</math>-substitution, we need to change the bounds of integration. We have <math style="vertical-align: -5px">u_1=2(0)=0</math> and <math style="vertical-align: -5px">u_2=2(\pi)=2\pi.</math>
 
|-
 
|-
 
|So, the integral becomes
 
|So, the integral becomes

Revision as of 17:41, 29 March 2016

Evaluate the indefinite and definite integrals.

a)
b)


Foundations:  
Recall the trig identities:
1.
2.
How would you integrate
You could use -substitution. First, write
Now, let Then, Thus,

Solution:

(a)

Step 1:  
We start by writing
Since we have
Step 2:  
Now, we need to use -substitution for the first integral. Let Then, So, we have
Step 3:  
For the remaining integral, we also need to use -substitution. First, we write
Now, we let Then, So, we get

(b)

Step 1:  
One of the double angle formulas is Solving for 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^2(x),} 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 \sin^2(x)=\frac{1-\cos(2x)}{2}.}
Plugging this identity into our integral, 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 \begin{array}{rcl} \displaystyle{\int_0^\pi \sin^2x~dx} & = & \displaystyle{\int_0^\pi \frac{1-\cos(2x)}{2}~dx}\\ &&\\ & = & \displaystyle{\int_0^\pi \frac{1}{2}~dx-\int_0^\pi \frac{\cos(2x)}{2}~dx.}\\ \end{array}}
Step 2:  
If we integrate the first integral, 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 \begin{array}{rcl} \displaystyle{\int_0^\pi \sin^2x~dx} & = & \displaystyle{\left.\frac{x}{2}\right|_{0}^\pi-\int_0^\pi \frac{\cos(2x)}{2}~dx}\\ &&\\ & = & \displaystyle{\frac{\pi}{2}-\int_0^\pi \frac{\cos(2x)}{2}~dx.}\\ \end{array}}
Step 3:  
For the remaining integral, we need to use 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=2x.} 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=2~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 \frac{du}{2}=dx.} Also, since this is a definite integral
and we are using 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, we need to change the bounds of integration. 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 u_1=2(0)=0} 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 u_2=2(\pi)=2\pi.}
So, the integral becomes
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_0^\pi \sin^2x~dx} & = & \displaystyle{\frac{\pi}{2}-\int_0^{2\pi} \frac{\cos(u)}{4}~du}\\ &&\\ & = & \displaystyle{\frac{\pi}{2}-\left.\frac{\sin(u)}{4}\right|_0^{2\pi}}\\ &&\\ & = & \displaystyle{\frac{\pi}{2}-\bigg(\frac{\sin(2\pi)}{4}-\frac{\sin(0)}{4}\bigg)}\\ &&\\ & = & \displaystyle{\frac{\pi}{2}.}\\ \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 \frac{\tan^2x}{2}+\ln |\cos 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 \frac{\pi}{2}}

Return to Sample Exam