In short
To differentiate a composite function , differentiate the outside function, keeping the inside unchanged, then multiply by the derivative of the inside: . In Leibniz form, if and , then . Rates multiply along the chain.
What you need to know
- Identify the inside and outside functions of a composite.
- Apply the chain rule with power, exponential, logarithmic and trigonometric outer functions.
- Use the chain rule more than once for nested compositions.
- Apply the chain rule with values from tables.
Outside, then inside
Take . The outside function is and the inside is . Differentiate the outside as if the inside were a single variable, giving , then multiply by the inside's derivative, : . Expanding first would work but take far longer.
Why multiply? In Leibniz notation, . If changes 6 times as fast as , and changes 5 times as fast as , then changes 30 times as fast as . Rates of change multiply along a chain of dependence, like gears turning gears.
The Leibniz form is how the chain rule appears in context. A balloon's volume is , and its radius is growing with time. Then . If cm and the radius grows at 0.5 cm per second, the volume grows at cubic centimetres per second. This is the engine of related rates in Unit 4.
Common patterns
| Function | Derivative |
|---|---|
Examples: ; , which is at ; , which is 1 at ; .
The chain rule also explains exponentials with other bases. Since , its derivative is . So , not .
Several layers and tables
For nested compositions, peel layers from the outside in, multiplying a derivative for each layer. means : the outer square gives , the sine gives , and the innermost gives 3. So the derivative is .
With tables, evaluate the inside first. If , , and , then . Note that is evaluated at , not at 1: this is the step most often missed on table questions.
Key terms
- Composite function
- A function of a function, .
- Chain rule
- .
- Inside function
- The inner function , whose derivative is the final factor.
- Leibniz chain rule
- .
Common mistakes
Forgetting to multiply by the inside derivative.
, not .
Evaluating at instead of .
Use .
Changing the inside while differentiating the outside.
Keep the inside exactly as it is: starts with .
How this topic is tested
- Name the inside function before differentiating.
- For table questions, write f′(g(a))·g′(a) and substitute g(a) first.
- Use the chain rule rather than expanding high powers.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · MP 1 · Implementing Mathematical Processes
What is ?
Question 2 · MP 1 · Implementing Mathematical Processes
For , what is ?
Question 3 · MP 2 · Connecting Representations
with , , and . What is ?
Question 4 · MP 1 · Implementing Mathematical Processes
What is the derivative of at ?
Question 5 · MP 3 · Justification
What is ?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Free response (no calculator) · 5 points
The functions and are differentiable with , , and . Let and .
- (a) Find .
- (b) Find .
- (c) Write an equation of the tangent line to the graph of at .
Scoring guide: one point for each of the following
Part (a)
- .
- = 15.
Part (b)
- .
- .
Part (c)
- , so .
Connected topics
Frequently asked questions
How do I know when to use the chain rule?
Whenever something other than plain x sits inside a function: a power of an expression, sin(3x), e to anything other than x, ln of an expression.
Is the product rule ever needed with the chain rule?
Often. x²e^{3x} needs the product rule, and the e^{3x} factor needs the chain rule inside it (topic 3.5).
Why does Leibniz notation look like fractions cancelling?
The du's appear to cancel, which is a useful memory aid, though it is not literally fraction arithmetic.