009B Sample Midterm 3, Problem 5 Detailed Solution

From Grad Wiki
Revision as of 17:32, 23 November 2017 by Kayla Murray (talk | contribs) (Created page with "<span class="exam">Evaluate the indefinite and definite integrals. <span class="exam">(a)   <math>\int x\ln x ~dx</math> <span class="exam">(b)   <math>\int_0^\pi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Evaluate the indefinite and definite integrals.

(a)  

(b)  


Background Information:  
1. Recall the trig identity
       
2. Recall the trig identity
       
3. How would you integrate  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \tan x~dx?}

        You could use  -substitution.

        First, write  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \int \tan x~dx=\int {\frac {\sin x}{\cos x}}~dx.}

        Now, let    Then,  

        Thus,

        Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int \tan x~dx}&=&\displaystyle {\int {\frac {-1}{u}}~du}\\&&\\&=&\displaystyle {-\ln(u)+C}\\&&\\&=&\displaystyle {-\ln |\cos x|+C.}\\\end{array}}}


Solution:

(a)

Step 1:  
We start by writing

        Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \int \tan ^{3}x~dx=\int \tan ^{2}x\tan x~dx.}

Since  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \tan ^{2}x=\sec ^{2}x-1,}   we have

       

Step 2:  
Now, we need to use  -substitution for the first integral.

Let  

Then,  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle du=\sec ^{2}x~dx.}
So, we have

       

Step 3:  
For the remaining integral, we also need to use  -substitution.
First, we write

       

Now, we let  
Then,  
Therefore, 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 \tan ^{3}x~dx}&=&\displaystyle {{\frac {\tan ^{2}x}{2}}+\int {\frac {1}{u}}~dx}\\&&\\&=&\displaystyle {{\frac {\tan ^{2}x}{2}}+\ln |u|+C}\\&&\\&=&\displaystyle {{\frac {\tan ^{2}x}{2}}+\ln |\cos x|+C.}\end{array}}}

(b)

Step 1:  
One of the double angle formulas is
       Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \cos(2x)=1-2\sin ^{2}(x).}
Solving for  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \sin ^{2}(x),}   we get
        Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \sin ^{2}(x)={\frac {1-\cos(2x)}{2}}.}
Plugging this identity into our integral, 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 _{0}^{\pi }\sin ^{2}x~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 (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle {\begin{array}{rcl}\displaystyle {\int _{0}^{\pi }\sin ^{2}x~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  -substitution.
Let  
Then,  Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\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