Mathematics and Statistics · Ch 3 — Differentiation
Derivative of Composite Functions — the Chain Rule
Derivative of Composite Functions — the Chain Rule
A composite function is a "function of a function", such as (a power applied to a polynomial) or (a logarithm applied to a polynomial). Writing the outer function as and the inner as , the chain rule states:
In words: differentiate the outer function (treating the inner as a single block), then multiply by the derivative of the inner function. The two 's "cancel" as a memory aid, though the rule is a genuine theorem, not fraction cancellation.
Common special cases (with a function of ):
Method — chain rule step by step:
- Identify the inner function (usually what sits inside a bracket, root, power, log or trig function).
- Differentiate the outer function with respect to , leaving untouched inside.
- Multiply by , the derivative of the inner function.
- For deeply nested functions, apply the rule repeatedly, working from the outside in — one factor per layer.
Illustration. For : the inner is with ; the outer is with . So .
Never Forget to Multiply by the Derivative of the Inner Function …
If and , then — differentiate the outer function with the inner treated as one block, then multiply by the derivative of the inner. Special cases: , $\tfrac{d}{dx}e^u=e^u\tfrac{du} …