|
|
| Line 201: |
Line 201: |
| | Calculate the derivative of <math style="vertical-align: -17px">g(x)=2x\sin x \sec x.</math> | | Calculate the derivative of <math style="vertical-align: -17px">g(x)=2x\sin x \sec x.</math> |
| | | | |
| − | Let <math style="vertical-align: -5px">u=5+\sin(x).</math> Then, <math style="vertical-align: -5px">u=\cos(x)~dx.</math>
| + | Notice that the function <math style="vertical-align: -3px">g(x)</math> is the product of three functions. |
| | | | |
| − | Plugging these into our integral, we get
| + | We start by grouping two of the functions together. So, we have <math style="vertical-align: -3px">g(x)=(2x\sin x)\sec x.</math> |
| | + | |
| | + | Using the Product Rule, we get |
| | | | |
| | ::<math>\begin{array}{rcl} | | ::<math>\begin{array}{rcl} |
| − | \displaystyle{\int \frac{\cos(x)}{(5+\sin x)^2}~dx} & = & \displaystyle{\int \frac{1}{u^2}~du}\\ | + | \displaystyle{g'(x)} & = & \displaystyle{(2x\sin x)(\sec x)'+(2x\sin x)'\sec x}\\ |
| | &&\\ | | &&\\ |
| − | & = & \displaystyle{-\frac{1}{u}+C}\\ | + | & = & \displaystyle{(2x\sin x)(\tan^2 x)+(2x\sin x)'\sec x.} |
| | + | \end{array}</math> |
| | + | |
| | + | Now, we need to use the Product Rule again. So, |
| | + | |
| | + | ::<math>\begin{array}{rcl} |
| | + | \displaystyle{g'(x)} & = & \displaystyle{2x\sin x\tan^2 x+(2x(\sin x)'+(2x)'\sin x)\sec x}\\ |
| | &&\\ | | &&\\ |
| − | & = & \displaystyle{-\frac{1}{5+\sin(x)}+C.} | + | & = & \displaystyle{2x\sin x\tan^2 x+(2x\cos x+2\sin x)\sec x.} |
| | \end{array}</math> | | \end{array}</math> |
| | | | |
| | So, we have | | So, we have |
| − | ::<math>\int \frac{\cos(x)}{(5+\sin x)^2}~dx=-\frac{1}{5+\sin(x)}+C.</math> | + | ::<math>g'(x)=2x\sin x\tan^2 x+(2x\cos x+2\sin x)\sec x.</math> |
| | + | |
| | + | But, there is another way to do this problem. Notice |
| | + | |
| | + | ::<math>\begin{array}{rcl} |
| | + | \displaystyle{g(x)} & = & \displaystyle{2x\sin x\sec x}\\ |
| | + | &&\\ |
| | + | & = & \displaystyle{2x\sin x\frac{1}{\cos x}}\\ |
| | + | &&\\ |
| | + | & = & \displaystyle{2x\tan x.} |
| | + | \end{array}</math> |
| | + | |
| | + | Now, you would only need to use the Product Rule once instead of twice. |
| | | | |
| | == Exercise 3 == | | == Exercise 3 == |
Introduction
Taking the derivatives of simple functions (i.e. polynomials) is easy using the power rule.
For example, if
then
But, what about more complicated functions?
For example, what is
when
Or what about
when
Notice Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle f(x)}
is a product and
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
Then,

Quotient Rule
Let
Then,

Warm-Up
Calculate
1)
| Solution:
|
| Using the Product Rule, we have
|

|
| Then, using the Power Rule, we have
|

|
| NOTE: It is not necessary to use the Product Rule to calculate the derivative of this function.
|
| You can distribute the terms and then use the Power Rule.
|
| In this case, we have
|

|
| Now, using the Power Rule, we get
|

|
| In general, calculating derivatives in this way is tedious. It would be better to use the Product Rule.
|
| Final Answer:
|
|
| or equivalently
|
|
2)
| Final Answer:
|
|
| or equivalently
|
|
3)
| Solution:
|
| Using the Quotient Rule, we get
|

|
since and
|
Since we have
|

|
| Final Answer:
|
|
Exercise 1
Calculate the derivative of
First, we need to know the derivative of
Recall

Now, using the Quotient Rule, we have

Using the Product Rule and Power Rule, we have

So, we have

Exercise 2
Calculate the derivative of
Notice that the function
is the product of three functions.
We start by grouping two of the functions together. So, we have
Using the Product Rule, we get

Now, we need to use the Product Rule again. So,

So, we have

But, there is another way to do this problem. Notice

Now, you would only need to use the Product Rule once instead of twice.
Exercise 3
Calculate the derivative of
Here, the substitution is not obvious.
Let
Then,
and
Now, we need a way of getting rid of
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 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=\frac{1}{2}u-\frac{3}{2}.}
Plugging these into our integral, we get

So, we get

Exercise 4
Calculate the derivative of
Let
Then,
Now, we need a way of replacing 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^2+4.}
If we solve 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 our first 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 x=u-2.}
Now, we square both sides of this last equation 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 x^2=(u-2)^2.}
Plugging in to 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^2+4}{x+2}~dx} & = & \displaystyle{\int \frac{(u-2)^2+4}{u}~du}\\ &&\\ & = & \displaystyle{\int \frac{u^2-4u+4+4}{u}~du}\\ &&\\ & = & \displaystyle{\int \frac{u^2-4u+8}{u}~du}\\ &&\\ & = & \displaystyle{\int u-4+\frac{8}{u}~du}\\ &&\\ & = & \displaystyle{\frac{u^2}{2}-4u+8\ln|u|+C}\\ &&\\ & = & \displaystyle{\frac{(x+2)^2}{2}-4(x+2)+8\ln|x+2|+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{x^2+4}{x+2}~dx=\frac{(x+2)^2}{2}-4(x+2)+8\ln|x+2|+C.}