Difference between revisions of "Product Rule and Quotient Rule"

From Grad Wiki
Jump to navigation Jump to search
Line 25: Line 25:
  
 
==Warm-Up==
 
==Warm-Up==
Evaluate the following indefinite integrals.
+
Calculate &nbsp;<math style="vertical-align: -5px">f'(x).</math>
  
'''1)''' &nbsp; <math>\int (8x+5)e^{4x^2+5x+3}~dx</math>
+
'''1)''' &nbsp; <math style="vertical-align: -7px">f(x)=(x^2+x+1)(x^3+2x^2+4)</math>
  
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
Line 56: Line 56:
 
|}
 
|}
  
'''2)''' &nbsp; <math>\int\frac{x}{\sqrt{1-2x^2}}~dx</math>
+
'''2)''' &nbsp; <math style="vertical-align: -14px">f(x)=\frac{x^2+x^3}{x}</math>
  
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
Line 83: Line 83:
 
|}
 
|}
  
'''3)''' &nbsp; <math>\int\frac{\sin(\ln x)}{x}~dx</math>
+
'''3)''' &nbsp; <math style="vertical-align: -14px">f(x)=\frac{\sin x}{\cos x}</math>
  
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
Line 107: Line 107:
 
|-
 
|-
 
|&nbsp; &nbsp; &nbsp; &nbsp;<math>-\cos(\ln x)+C</math>
 
|&nbsp; &nbsp; &nbsp; &nbsp;<math>-\cos(\ln x)+C</math>
|-
 
|}
 
 
'''4)''' &nbsp; <math>\int xe^{x^2}~dx</math>
 
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
 
!Solution: &nbsp;
 
|-
 
|Let &nbsp;<math style="vertical-align: -1px">u=x^2.</math>&nbsp; Then, &nbsp;<math style="vertical-align: -1px">du=2x~dx</math>&nbsp; and &nbsp;<math style="vertical-align: -15px">\frac{du}{2}=x~dx.</math>&nbsp;
 
|-
 
|Plugging these into our integral, we get
 
|-
 
|
 
::<math>\begin{array}{rcl}
 
\displaystyle{\int xe^{x^2}~dx} & = & \displaystyle{\int \frac{1}{2}e^u~du}\\
 
&&\\
 
& = & \displaystyle{\frac{1}{2}e^u+C}\\
 
&&\\
 
& = & \displaystyle{\frac{1}{2}e^{x^2}+C.} \\
 
\end{array}</math>
 
|-
 
|}
 
 
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;"
 
!Final Answer: &nbsp;
 
|-
 
|&nbsp; &nbsp; &nbsp; &nbsp;<math>\frac{1}{2}e^{x^2}+C</math>
 
 
|-
 
|-
 
|}
 
|}

Revision as of 07:25, 26 September 2017

Introduction

Taking the derivatives of simple functions (i.e. polynomials) is easy using the power rule.

For example, if  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 f(x)=x^3+2x^2+5x+3,}   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 f'(x)=3x^2+4x+5.}

But, what about more complicated functions?

For example, what 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 f'(x)}   when  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 f(x)=\sin x \cos x?}

Or what about  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 g'(x)}   when  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 g(x)=\frac{x}{x+1}?}

Notice  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 f(x)}   is a product 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 g(x)}   is a quotient. So, to answer the question of how to calculate these derivatives, we look to the Product Rule and the Quotient Rule. The Product Rule and the Quotient Rule give us formulas for calculating these derivatives.

Product Rule

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 h(x)=f(x)g(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 h'(x)=f(x)g'(x)+f'(x)g(x).}

Quotient Rule

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 h(x)=\frac{f(x)}{g(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 h'(x)=\frac{g(x)f'(x)-f(x)g'(x)}{(g(x))^2}.}

Warm-Up

Calculate  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 f'(x).}

1)   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 f(x)=(x^2+x+1)(x^3+2x^2+4)}

Solution:  
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=4x^2+5x+3.}   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=(8x+5)~dx.}
Plugging these 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 \int e^u~du,}   which we know how to integrate.
So, 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 (8x+5)e^{4x^2+5x+3}~dx} & = & \displaystyle{\int e^u~du}\\ &&\\ & = & \displaystyle{e^u+C}\\ &&\\ & = & \displaystyle{e^{4x^2+5x+3}+C.} \\ \end{array}}
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 e^{4x^2+5x+3}+C}

2)   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 f(x)=\frac{x^2+x^3}{x}}

Solution:  
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=1-2x^2.}   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=-4x~dx.}   Hence,  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}{-4}=x~dx.}  
Plugging these 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\frac{x}{\sqrt{1-2x^2}}~dx} & = & \displaystyle{\int -\frac{1}{4}~u^{-\frac{1}{2}}~du}\\ &&\\ & = & \displaystyle{-\frac{1}{2}u^{\frac{1}{2}}+C}\\ &&\\ & = & \displaystyle{-\frac{1}{2}\sqrt{1-2x^2}+C.} \\ \end{array}}
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{1}{2}\sqrt{1-2x^2}+C}

3)   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 f(x)=\frac{\sin x}{\cos x}}

Solution:  
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=\ln(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=\frac{1}{x}~dx.}
Plugging these 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\frac{\sin(\ln x)}{x}~dx} & = & \displaystyle{\int \sin(u)~du}\\ &&\\ & = & \displaystyle{-\cos(u)+C}\\ &&\\ & = & \displaystyle{-\cos(\ln x)+C.} \\ \end{array}}
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 -\cos(\ln x)+C}

Exercise 1

Evaluate the indefinite integral  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 \frac{2}{y^2+4}~dy.}

First, we factor out  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 4}   out of the denominator.

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 \frac{2}{y^2+4}~dy} & = & \displaystyle{\frac{1}{4}\int \frac{2}{\frac{y^2}{4}+1}~dy}\\ &&\\ & = & \displaystyle{\frac{1}{2}\int \frac{1}{(\frac{y}{2})^2+1}~dy.}\\ \end{array}}

Now, we 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=\frac{y}{2}.}

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=\frac{1}{2}~dy}   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 2~du=dy.}

Plugging these 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 \frac{2}{y^2+4}~dy} & = & \displaystyle{\frac{1}{2}\int \frac{2}{u^2+1}~du}\\ &&\\ & = & \displaystyle{\int \frac{1}{u^2+1}~du}\\ &&\\ & = & \displaystyle{\arctan(u)+C}\\ &&\\ & = & \displaystyle{\arctan\bigg(\frac{y}{2}\bigg)+C.}\\ \end{array}}

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 \int \frac{2}{y^2+4}~dy=\arctan\bigg(\frac{y}{2}\bigg)+C.}

Exercise 2

Evaluate the indefinite integral  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 \frac{\cos(x)}{(5+\sin x)^2}~dx.}

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=5+\sin(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 u=\cos(x)~dx.}

Plugging these 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 \frac{\cos(x)}{(5+\sin x)^2}~dx} & = & \displaystyle{\int \frac{1}{u^2}~du}\\ &&\\ & = & \displaystyle{-\frac{1}{u}+C}\\ &&\\ & = & \displaystyle{-\frac{1}{5+\sin(x)}+C.} \end{array}}

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 \int \frac{\cos(x)}{(5+\sin x)^2}~dx=-\frac{1}{5+\sin(x)}+C.}

Exercise 3

Evaluate the indefinite integral  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 \frac{x+5}{2x+3}~dx.}

Here, the substitution is not obvious.

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+3.}   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.}

Now, we need a way of getting rid of  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+5}   in the numerator.

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 x}   in the first equation, we get  

Plugging these into our integral, we get

So, we get

Exercise 4

Evaluate the indefinite integral  

Let    Then,  

Now, we need a way of replacing  

If we solve for    in our first equation, we get  

Now, we square both sides of this last equation to get  

Plugging in to our integral, we get

So, we have