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:
|
Let and
|
Then, and
|
Now,
|
Using the Chain Rule, we have
|

|
Final Answer:
|
|
2)
Solution:
|
Let and
|
Then, and
|
Now,
|
Using the Chain Rule, we have
|

|
Final Answer:
|
|
3)
Solution:
|
Let and
|
Then, and
|
Now,
|
Using the Chain Rule, we have
|

|
Final Answer:
|
|
Exercise 1
Calculate the derivative of
Using the Chain Rule, we have

So, we have

Exercise 2
Calculate the derivative of
First, notice
Using the Chain Rule, we have

Now, we need to use the Chain Rule a second time. So, we get

So, we have

Exercise 3
Calculate the derivative of
Using the Product Rule, we have

For the two remaining derivatives, we need to use the Chain Rule.
So, using the Chain Rule, we have

So, we get

Exercise 4
Calculate the derivative of
First, using the Quotient Rule, we have
![{\displaystyle {\begin{array}{rcl}\displaystyle {h'(x)}&=&\displaystyle {\frac {(x^{2}+1)(\sin(3x)+x\cos(2x))'-(\sin(3x)+x\cos(2x))(x^{2}+1)'}{(x^{2}+1)^{2}}}\\&&\\&=&\displaystyle {{\frac {(x^{2}+1)[(\sin(3x))'+(x\cos(2x))']-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}.}\end{array}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6693a678e6052c4b1a501f4be2a2e315325c7b69)
Using the Product Rule, we get
![{\displaystyle {\begin{array}{rcl}\displaystyle {h'(x)}&=&\displaystyle {\frac {(x^{2}+1)[(\sin(3x))'+x(\cos(2x))'+(x)'\cos(2x)]-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}\\&&\\&=&\displaystyle {{\frac {(x^{2}+1)[(\sin(3x))'+x(\cos(2x))'+1\cos(2x)]-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}.}\end{array}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5328dc3d6d47e8a527c2c0a5e29bcc5886102891)
For the remaining derivatives, we need to use the Chain Rule. So, we get
![{\displaystyle {\begin{array}{rcl}\displaystyle {h'(x)}&=&\displaystyle {\frac {(x^{2}+1)[\cos(3x)(3x)'+x(-\sin(2x))(2x)'+\cos(2x)]-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}\\&&\\&=&\displaystyle {{\frac {(x^{2}+1)[\cos(3x)(3)-x\sin(2x)(2)+\cos(2x)]-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}.}\end{array}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2e0463e27c1bfaed3141c2b2005daf368f80ff94)
So, we have
![{\displaystyle h'(x)={\frac {(x^{2}+1)[\cos(3x)(3)-x\sin(2x)(2)+\cos(2x)]-(\sin(3x)+x\cos(2x))(2x)}{(x^{2}+1)^{2}}}.}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b82f8250b07701365deab43512f5bde28f634093)