|
|
Line 4: |
Line 4: |
| But, what about more complicated functions? | | But, what about more complicated functions? |
| | | |
− | For example, <math>f(x)=\sin(3x)</math> or <math>g(x)=(x+1)^8?</math> | + | For example, <math style="vertical-align: -5px">f(x)=\sin(3x)</math> or <math style="vertical-align: -5px">g(x)=(x+1)^8?</math> |
| | | |
| Well, the key to calculating the derivatives of these functions is to recognize that these functions are compositions. | | Well, the key to calculating the derivatives of these functions is to recognize that these functions are compositions. |
| | | |
− | For <math>f(x)=\sin(3x),</math> it is the composition of the function <math>y=3x</math> with <math>y=\sin(x).</math> | + | For <math style="vertical-align: -5px">f(x)=\sin(3x),</math> it is the composition of the function <math style="vertical-align: -4px">y=3x</math> with <math style="vertical-align: -5px">y=\sin(x).</math> |
| | | |
− | Similarly, for <math>g(x)=(x+1)^8,</math> it is the composition of <math>y=x+1</math> and <math>y=x^8.</math> | + | Similarly, for <math style="vertical-align: -5px">g(x)=(x+1)^8,</math> it is the composition of <math style="vertical-align: -5px">y=x+1</math> and <math style="vertical-align: -5px">y=x^8.</math> |
| | | |
| So, how do we take the derivative of compositions? | | So, how do we take the derivative of compositions? |
Line 18: |
Line 18: |
| '''Chain Rule''' | | '''Chain Rule''' |
| | | |
− | Let <math>y=f(u)</math> be a differentiable function of <math>u</math> and let <math>u=g(x)</math> be a differentiable function of <math>x.</math> | + | Let <math style="vertical-align: -6px">y=f(u)</math> be a differentiable function of <math style="vertical-align: -1px">u</math> and let <math style="vertical-align: -6px">u=g(x)</math> be a differentiable function of <math style="vertical-align: -1px">x.</math> |
| | | |
− | Then, <math>y=f(g(x))</math> is a differentiable function of <math>x</math> and | + | Then, <math style="vertical-align: -5px">y=f(g(x))</math> is a differentiable function of <math style="vertical-align: 0px">x</math> and |
| | | |
| ::<math>y'=f'(g(x))\cdot g'(x).</math> | | ::<math>y'=f'(g(x))\cdot g'(x).</math> |
− |
| |
− |
| |
− |
| |
− | Taking the derivatives of <em>simple functions</em> (i.e. polynomials) is easy using the power rule.
| |
− |
| |
− | For example, if <math style="vertical-align: -5px">f(x)=x^3+2x^2+5x+3,</math> then <math style="vertical-align: -5px">f'(x)=3x^2+4x+5.</math>
| |
− |
| |
− | But, what about more <em>complicated functions</em>?
| |
− |
| |
− | For example, what is <math style="vertical-align: -5px">f'(x)</math> when <math style="vertical-align: -5px">f(x)=\sin x \cos x?</math>
| |
− |
| |
− | Or what about <math style="vertical-align: -5px">g'(x)</math> when <math style="vertical-align: -15px">g(x)=\frac{x}{x+1}?</math>
| |
− |
| |
− | Notice <math style="vertical-align: -5px">f(x)</math> is a product, and <math style="vertical-align: -5px">g(x)</math> 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 <math style="vertical-align: -5px">h(x)=f(x)g(x).</math> Then,
| |
− |
| |
− | ::<math>h'(x)=f(x)g'(x)+f'(x)g(x).</math>
| |
− |
| |
− | '''Quotient Rule'''
| |
− |
| |
− | Let <math style="vertical-align: -19px">h(x)=\frac{f(x)}{g(x)}.</math> Then,
| |
− |
| |
− | ::<math>h'(x)=\frac{g(x)f'(x)-f(x)g'(x)}{(g(x))^2}.</math>
| |
| | | |
| ==Warm-Up== | | ==Warm-Up== |
Introduction
It is relatively easy to calculate the derivatives of simple functions, like polynomials or trigonometric functions.
But, what about more complicated functions?
For example,
or
Well, the key to calculating the derivatives of these functions is to recognize that these functions are compositions.
For
it is the composition of the function
with
Similarly, for
it is the composition of
and
So, how do we take the derivative of compositions?
The answer to this question is exactly the Chain Rule.
Chain Rule
Let
be a differentiable function of
and let
be a differentiable function of
Then,
is a differentiable function of
and

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
Using the Quotient Rule, we have

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

So, we get

Exercise 4
Calculate the derivative of
First, using the Quotient Rule, we have

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

So, we have
