Learning Outcomes
- State the chain rule for the composition of two functions
When we have a function that is a composition of two or more functions, we could use all of the techniques we have already learned to differentiate it. However, using all of those techniques to break down a function into simpler parts that we are able to differentiate can get cumbersome. Instead, we use the chain rule, which states that the derivative of a composite function is the derivative of the outer function evaluated at the inner function times the derivative of the inner function.
To put this rule into context, let’s take a look at an example: . We can think of the derivative of this function with respect to as the rate of change of relative to the change in . Consequently, we want to know how changes as changes. We can think of this event as a chain reaction: As changes, changes, which leads to a change in . This chain reaction gives us hints as to what is involved in computing the derivative of . First of all, a change in forcing a change in suggests that somehow the derivative of is involved. In addition, the change in forcing a change in suggests that the derivative of with respect to , where , is also part of the final derivative.
We can take a more formal look at the derivative of by setting up the limit that would give us the derivative at a specific value in the domain of .
This expression does not seem particularly helpful; however, we can modify it by multiplying and dividing by the expression to obtain
From the definition of the derivative, we can see that the second factor is the derivative of at . That is,
However, it might be a little more challenging to recognize that the first term is also a derivative. We can see this by letting and observing that as :
Thus,
In other words, if , then . Thus, if we think of as the composition where and , then the derivative of is the product of the derivative of and the derivative of the function evaluated at the function . At this point, we anticipate that for , it is quite likely that . As we determined above, this is the case for .
Now that we have derived a special case of the chain rule, we state the general case and then apply it in a general form to other composite functions. An informal proof is provided at the end of the section.
The Chain Rule
Let and be functions. For all in the domain of for which is differentiable at and is differentiable at , the derivative of the composite function
is given by
Alternatively, if is a function of , and is a function of , then
Interactive
Problem-Solving Strategy: Applying the Chain Rule
- To differentiate , begin by identifying and .
- Find and evaluate it at to obtain .
- Find .
- Write .
Note: When applying the chain rule to the composition of two or more functions, keep in mind that we work our way from the outside function in. It is also useful to remember that the derivative of the composition of two functions can be thought of as having two parts; the derivative of the composition of three functions has three parts; and so on. Also, remember that we never evaluate a derivative at a derivative.
Try It
Candela Citations
- Calculus Volume 1. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/details/books/calculus-volume-1. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction