Lesson 3.1 · Composite, Implicit and Inverse Functions
The chain rule
You can now differentiate powers, sums, products, quotients and the basic trig, exponential and log functions. But most functions you meet are built by plugging one function into another, like or . The chain rule handles every one of these, which makes it the most-used rule in the whole course.
Functions inside functions
A composite function does two jobs in order: first the inner function acts on , then the outer function acts on the result. For example,
| function | inner | outer |
|---|---|---|
A quick way to find the outer function: ask yourself, "What is the last thing I would do if I evaluated this on a calculator?" For you would compute first and raise it to the 5th power last, so the outer function is the 5th power.
Why rates multiply
Think of the composite as a chain of machines. Suppose and . If changes 3 times as fast as , and changes 2 times as fast as , then changes times as fast as . Rates of change along a chain multiply.
In Leibniz notation this looks almost like canceling fractions:
(They are not really fractions, but the notation is designed so that this memory aid works.)
The chain rule
If , then
In words: differentiate the outer function, leaving the inside alone, then multiply by the derivative of the inside.
Notice what "leaving the inside alone" means. In , the derivative is evaluated at , not at . That detail matters a lot when you work from a table of values.
The graph below shows the effect of a simple inner function. The curve runs through a full wave twice as fast as , so its slopes are twice as steep: .
Using the chain rule
Worked example: A power of a polynomial
Differentiate .
Solution. The outer function is with derivative . The inner function is with derivative .
Expanding first would also work, but it would take far longer and invite arithmetic mistakes.
Worked example: Trig, exponential and log outer functions
Differentiate each function.
Solutions.
- Outer ; inner . So .
- Outer ; inner . So .
- Outer ; inner . So .
The pattern in part 3 is worth remembering: .
Worked example: More than two layers
Differentiate .
Solution. First rewrite so the layers are visible: . There are three layers: cube, then cosine, then . Peel them from the outside in, multiplying as you go.
Worked example: Working from a table
The table gives values of differentiable functions and . Let . Find .
| 1 | 6 | 4 | 3 | −2 |
| 3 | 5 | 7 | 1 | 8 |
Solution. By the chain rule, . From the table, , so we need , not . Then
Common mistake
The two most common chain rule mistakes:
- Forgetting the inner derivative. is , not .
- Evaluating at the wrong input. In a table problem, . Look up first, then find at that value.
Tip
When an answer has no inner derivative factor, check whether the inside was just . The chain rule is always in play; when the inner function is , its derivative is 1 and the factor is invisible.
On the AP exam the chain rule rarely appears alone. It sits inside product rule, quotient rule, implicit differentiation and related rates problems, so fluency here pays off for the rest of the year.
Practice
Find if .
Enter an expression, e.g. 3x^2 - 2x + 1
Find if .
Enter an expression, e.g. 3x^2 - 2x + 1
Find if .
Enter an expression, e.g. 3x^2 - 2x + 1
Find if .
Enter an expression, e.g. 3x^2 - 2x + 1
Let , where , , and . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find if .
Enter an expression, e.g. 3x^2 - 2x + 1
(AP-style) What is the slope of the line tangent to the graph of at ?
(AP-style) If , what is ?