The Chain Rule
Chain Rule ( composition form)
If is differentiable at
and
is differentiable at
,
then the composite is differentiable at
, and
.
You may find it easier to think of the composition form of the Chain Rule in words:
"the derivative of the outside function (with respect to the original inside function) times the derivative of the inside function" where
is the outside function and
is the inside function.
Solution: The function is the composition
of two simple functions:
and
which is the function we want. Both
and
are differentiable functions with derivatives
and
, so, by the Chain Rule,
If you tried using the definition of derivative to calculate the derivative of this function at the beginning of the section, you can really appreciate the power of the Chain Rule for differentiating compositions.
Example 5:
The table gives values for and
at a number of points. Use these values to determine
and
at
and
.
|
||||||
–1 | 2 | 3 | 1 | 0 | ||
0 | –1 | 1 | 3 | 2 | ||
1 | 1 | 0 | –1 | 3 | ||
2 | 3 | –1 | 0 | 1 | ||
3 | 0 | 2 | 2 | –1 |
Practice 3: Fill in the table in Example 5 for and
at
and
.
Neither form of the Chain Rule is inherently superior to the other - use the one you prefer. The Chain Rule will be used hundreds of times in the rest of this book, and it is important that you master its usage. The time you spend now mastering and understanding how to use the Chain Rule will be paid back tenfold in the next several chapters.
Example 6: Determine using each form of the Chain Rule.
Solution: Using the Leibniz notation: and
and
so
The function is also the composition of
with
, so
Practice 5: Use the graph of in Fig. 1 and the Chain Rule to estimate
and
at
The Chain Rule is a general differentiation pattern, and it can be used with the other general patterns such as the Product and Quotient Rules.
Solution: (a) is a product of two functions so we need the product rule first:
(b) is a composition of cosine with a product so we need the Chain Rule first:
Sometimes we want to differentiate a composition of more than two functions. We can do so if we proceed in a careful, step-by-step way.
Solution: The function can be considered as a composition fog of
and
. Then
For the derivative of , we can use the Chain Rule again or its special case, the Power Rule:
This example was more complicated than the earlier ones, but it is just a matter of applying the Chain Rule twice, to a composition of a composition. If you proceed step–by–step and don't get lost in the problem, these multiple applications of the Chain Rule are relatively straightforward.
We can also use the Leibniz form of the Chain Rule for a composition of more than two functions. If
, then
with
and
. The Leibniz form of the Chain Rule is
, so
.
Practice 6: