If you wanted to find the derivative of a function like based on the previous rules covered, you could expand it fully and use the power rule on each term, or write it as a product of three functions and use the product rule. But this process quickly becomes tedious when dealing with larger exponents or trinomials and beyond, and even more difficult with fractional exponents. Instead, to differentiate composite functions (functions nested in other functions), use the chain rule.
To use this rule: take the derivative of the outer function, keeping the inner function unchanged, and then multiply by the derivative of the inner function.
Another way to write the chain rule involves Leibniz notation:
1. Differentiate
is a composite function with the inner function boxed:
For clarity,
Outer:
Inner:
1. Differentiate the outer function with the power rule:
The inner function should remain unchanged, so replace the placeholder letter with the function .
2. Differentiate the inner function:
3. Multiply together:
Let’s try one with the natural logarithm. Recall from section 2.5 that .
2. Differentiate
can be written as a composite function with:
1. Differentiate the outer function, keeping the inner one unchanged:
2. Differentiate the inner function:
3. Multiply:
Similarly, recall that for exponential functions,
and
Let’s do 2 examples that use the chain rule.
3. Differentiate:
a)
b)
Answers:
a)
b)
Explanations:
a) For , the outer function is with the inner function .
1. Differentiate the outer:
2. Differentiate the inner:
3. Multiply:
b) For , the outer function is with the inner function .
1. Differentiate the outer:
2. Differentiate the inner:
3. Multiply:
The chain rule can also be combined with the other derivative rules, but make sure to apply the rules in the correct order. For example, the next problem uses the product rule first, applying the power and chain rules as intermediary steps.
3. Differentiate
is primarily a product of the two functions and . Note that is a composite function so the chain rule must be used when taking its derivative.
| Function | Expression |
|---|---|
Putting all of the pieces into the product rule:
Just to simplify further, notice both terms share common factors and . Factor those out:
Contrast this with the next problem, which uses the power and chain rules first, and then the product rule.
4. Differentiate
is a composite function with
1. Differentiate outer:
2. Differentiate inner:
is a product of the two functions and . Applying the product rule,
3. Multiply:
5. Differentiate
For ease of calculation, let’s bring the out as a constant multiple.
is primarily a quotient of two functions and , so use the quotient rule first. Here are the pieces. Note that is a composite function so the chain rule must be used when taking its derivative.
| Function | Expression |
|---|---|
Putting the pieces into the quotient rule:
You can also turn any quotient into a product if you find using the product rule to be faster. Using the same example above,
5b. First turn
into a product of two functions:
and then find the derivative using the product rule.
Just like before, take out the constant multiple and leave it in front for ease of calculation. The remaining portion of is the product of and so use the product rule first. Again, is a composite function so use the chain rule. Here are the pieces:
| Function | Expression |
|---|---|
Into the product rule they go:
Some questions expect you to understand the derivative rules given just a table of values:
6. and their derivatives have the following values shown in the table:
Evaluate the first derivative of the function
at .
Answer: -3
Because is a composite function, the chain rule is applied when taking the derivative:
Evaluating at :
1. Differentiate .
can be rewritten as with:
For clarity,
Outer:
Inner:
1. Differentiate outer:
2. Differentiate inner:
Note: Remember that is a constant so the derivative is , but is the coefficient in front of the linear term with variable .
3. Multiply:
2. Differentiate
Rather than using the quotient rule, it would be more efficient to use the exponent rule to rewrite the function into
Then applying the chain rule,
Which can also be written as
3. Differentiate .
First, is the same thing as .
contains several layers of composition:
Outer:
Middle:
Inner:
So the chain rule will be applied multiple times.
Let’s peel away the layers of this composite function with the chain rule:
Sign up for free to take 10 quiz questions on this topic