AP® Calculus BC · Unit 3 · Topic 3.1
The Chain Rule
The chain rule says the derivative of a composite function is the outer function's derivative times the inner function's derivative. Nested functions pass their rates of change along, so you multiply them.
When one function sits inside another, like y = sin(3x2 + 1), changing x changes the inner piece (3x2 + 1), which then changes the outer piece (sin of that). Two changes happen in sequence, so their rates multiply. If the inside grows twice as fast as x, and the outside grows three times as fast as the inside, then overall the output grows six times as fast as x. That multiplying of rates is the whole idea behind the chain rule: d/dx[f(g(x))] = f'(g(x)) times g'(x).
Picture two gears meshed together. Turn the first gear once, and it forces the second gear to turn some number of times depending on the gear ratio. The first gear's speed is like the inner function's derivative; the gear ratio is like the outer function's derivative evaluated at the inner function's output. The second gear's actual speed, what you'd measure, is the product of both. Neither gear's speed alone tells you the answer; you need the chain of motion through both.
This sits right before implicit differentiation and inverse function derivatives, both of which lean on the chain rule constantly. Implicit differentiation treats y as a hidden inner function of x, so every time you differentiate a y-term you multiply by dy/dx, a direct chain rule move. Inverse derivatives come from differentiating f(f−1(x)) = x, chain rule and all. Mastering the chain rule here is what makes the rest of the unit readable instead of mysterious.
Key terms
- Composite function
- A function built by plugging one function into another, written f(g(x)).
- Outer function
- The last operation applied, the one wrapped around everything else.
- Inner function
- The function plugged inside the outer one, evaluated first.
- Chain rule
- The rule that the derivative of f(g(x)) equals f'(g(x)) times g'(x).
Watch it explained
- How it worksHow do two gears turning at different speeds explain the chain rule?
- Worked exampleFind the derivative of y = sin(3x2 + 1).
- Worked exampleFind the derivative of y = (4x - 7)5 without expanding anything.
- Common mistakeWhy isn't the derivative of sin(3x) just cos(3x)?
- Going furtherWhat happens when three functions are nested one inside another?
Check yourself
End of topic.