U3.1 The Chain Rule
Master the chain rule for AP Calculus BC: differentiate composite and nested functions using d/dx[f(g(x))]=f'(g(x))·g'(x) with worked examples.
What you'll do in this lesson
A voice-first session with the Crimsora tutor on U3.1 The Chain Rule, then targeted practice and FRQs — with the tutor adapting to where you get stuck.
What this lesson covers
Almost every derivative you meet after this lesson hides a composition inside it. The chain rule is the tool that unlocks them all — it tells you how to differentiate a function that is built by plugging one function into another, like or .
In this lesson you will learn to spot a composite function, identify its outer and inner layers, and apply the rule systematically — even when compositions are nested three layers deep. Getting fluent here is essential because Unit 3 topics like implicit differentiation and inverse-function derivatives all lean on the chain rule.
In this lesson you will learn to spot a composite function, identify its outer and inner layers, and apply the rule systematically — even when compositions are nested three layers deep. Getting fluent here is essential because Unit 3 topics like implicit differentiation and inverse-function derivatives all lean on the chain rule.
What the Chain Rule Says
A composite function has the form : you apply first, then feed the result into . The chain rule statesIn words: differentiate the outer function while leaving the inner function untouched, then multiply by the derivative of the inner function. The phrase students memorize is 'derivative of the outside, keep the inside, times the derivative of the inside.'
An equivalent Leibniz form is often clearer. If and , thenThe intuition: if changes times as fast as , and changes times as fast as , then changes at the product rate with respect to . The two factors appear to 'cancel,' which is a useful memory aid even though derivatives are not literally fractions.
The hardest part is not the formula but correctly separating the layers. Once you name the outer and inner functions precisely, the mechanical steps follow every time.
An equivalent Leibniz form is often clearer. If and , thenThe intuition: if changes times as fast as , and changes times as fast as , then changes at the product rate with respect to . The two factors appear to 'cancel,' which is a useful memory aid even though derivatives are not literally fractions.
The hardest part is not the formula but correctly separating the layers. Once you name the outer and inner functions precisely, the mechanical steps follow every time.
Identifying Outer and Inner Functions
Before differentiating, ask: 'What is the last operation I would perform to evaluate this at a number?' That last operation is the outer function; everything inside it is the inner function.
Notice the outer derivative always keeps the original inner expression plugged in — you never replace the inside with . A very common error is writing for the derivative of ; the correct inside stays , giving .
Know your basic derivatives cold, because the outer step relies on them: powers, , , , , , and inverse trig. If you cannot instantly write the derivative of the outer template, the chain rule cannot help you.
| Composite | Outer | Inner | Derivative |
|---|---|---|---|
Know your basic derivatives cold, because the outer step relies on them: powers, , , , , , and inverse trig. If you cannot instantly write the derivative of the outer template, the chain rule cannot help you.
Nested Compositions and Combining Rules
When a function has three or more layers, apply the chain rule repeatedly, working from the outermost layer inward and multiplying every derivative you generate. For :Each factor is the derivative of one layer with everything inside it preserved. A clean method is to write the layers as , , , then chain .
The chain rule also combines with the product and quotient rules. For , use the product rule first, and apply the chain rule when you differentiate :On the AP exam, chain-rule questions appear in multiple-choice as direct derivatives and in free-response as pieces of larger problems — related rates, tangent lines, and evaluating at a point from a table of values. Table problems test whether you can read from given data rather than from a formula, so practice that skill explicitly.
The chain rule also combines with the product and quotient rules. For , use the product rule first, and apply the chain rule when you differentiate :On the AP exam, chain-rule questions appear in multiple-choice as direct derivatives and in free-response as pieces of larger problems — related rates, tangent lines, and evaluating at a point from a table of values. Table problems test whether you can read from given data rather than from a formula, so practice that skill explicitly.
Common Mistakes and Exam Traps
The most frequent error is forgetting the inner derivative entirely — writing and dropping the . Always ask whether the inside was just ; if not, you owe a factor.
A second trap is replacing the inner function with in the outer derivative. Keep the inside intact: the derivative of is , never .
A third issue arises with table-based questions. Suppose and you want . You need — evaluate at 2 first, then evaluate at that output, not . Confusing with costs points.
Finally, watch composite functions disguised as products or quotients. Rewriting can simplify: turns a quotient into a clean power-plus-chain problem, giving . Choosing the cleaner form reduces algebra errors, which matters on the no-calculator section where a small slip can propagate through an entire free-response part.
A second trap is replacing the inner function with in the outer derivative. Keep the inside intact: the derivative of is , never .
A third issue arises with table-based questions. Suppose and you want . You need — evaluate at 2 first, then evaluate at that output, not . Confusing with costs points.
Finally, watch composite functions disguised as products or quotients. Rewriting can simplify: turns a quotient into a clean power-plus-chain problem, giving . Choosing the cleaner form reduces algebra errors, which matters on the no-calculator section where a small slip can propagate through an entire free-response part.
Key terms
- Composite function.
- A function formed by applying one function to the output of another, written or ; is applied first.
- Outer function.
- The function applied last when evaluating a composite; its derivative is taken with the inner expression left unchanged.
- Inner function.
- The function applied first, sitting inside the outer function; the chain rule requires multiplying by its derivative.
- Chain rule.
- The rule for differentiating composite functions.
- Leibniz notation.
- Writing derivatives as ; the chain rule appears as .
- Nested composition.
- A composite with three or more layers, such as , requiring repeated application of the chain rule.
Worked example
Find for and evaluate it at .
Identify the layers. The outermost operation is 'cube something,' so the outer function is with . But is itself a composite: with . So this is a three-layer nested composition.
Write the chain step by step. Differentiate the outer cube: , giving with the inside preserved.
Multiply by the derivative of . That derivative is times the derivative of the inner , which is . So the middle-plus-inner factor is .
Combine everything:Evaluate at . Here and , soThe slope of the curve at is .
Write the chain step by step. Differentiate the outer cube: , giving with the inside preserved.
Multiply by the derivative of . That derivative is times the derivative of the inner , which is . So the middle-plus-inner factor is .
Combine everything:Evaluate at . Here and , soThe slope of the curve at is .
Practice questions
If , what is ?
Answer:
Write . The outer power gives , keeping the inside intact. Multiply by the inner derivative : . Choice C forgets to divide by 2; choice B forgets the inner derivative.
The functions and are differentiable with the values below. Let . Find .
Answer:
By the chain rule, . From the table , so we need , and . Thus . The key is evaluating at , not at — using would be the classic mistake.
Differentiate .
Answer:
This has three layers: the exponential outer , the middle , and the inner . The derivative of is with the inside kept. Multiply by the derivative of , which is times the derivative of , namely . Combining gives .
FAQ
- How do I know when to use the chain rule?
- Use it whenever a function is a composition — one function plugged inside another, like , , or . A quick test: ask what operation you would perform last to evaluate the expression at a number. If that last operation acts on a whole expression rather than just , you have a composite and need the chain rule.
- What is the difference between the chain rule and the product rule?
- The product rule differentiates a product of two functions multiplied together, like . The chain rule differentiates a composition, where one function is nested inside another, like . Look at the structure: multiplication means product rule, substitution-inside means chain rule. Many problems require both — apply the product rule first, then use the chain rule on any composite factor.
- Why do I keep forgetting to multiply by the inner derivative?
- It usually happens because you differentiate the outer template on autopilot. Build a habit: after writing the outer derivative, immediately ask 'was the inside just ?' If the inside is anything more complex, you must multiply by its derivative. Writing the inner function as and tracking separately makes the missing factor obvious.
- Can I use the chain rule on a table of values instead of a formula?
- Yes, and the AP exam frequently tests this. If , then . You read from the table, then look up at that output value, and multiply by . No formula is needed — just careful reading and the correct order of evaluation.
Learn this with a teacher, not a page
The Crimsora tutor teaches U3.1 The Chain Rule live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.