Calculus I / The derivative
The Chain Rule
The chain rule differentiates composite functions — the single most important differentiation rule in calculus.
Contents 7 sections
By the end you can
- Recognize composite functions and identify outer and inner functions
- Apply the chain rule correctly in both Leibniz and prime notation
- Combine the chain rule with the product and quotient rules
Helps to know: Differentiation Rules, The Product Rule, The Quotient Rule
§1Introduction
Most real functions are built by composing simpler ones — for instance is sine applied to the squaring of . The chain rule tells us how to differentiate such nested structures.
§2Intuition
If depends on , and depends on , then the rate at which changes with respect to is the product of the two intermediate rates — like gear ratios multiplying.
§3Formal Statement
§4Worked Example
Differentiate .
Example 1Solution
- Outer function: , so .
§5Common Mistakes
- Forgetting to multiply by the derivative of the inner function — the most common error in all of calculus.
- Stopping after differentiating the outer layer when multiple nestings are present.
- Confusing composition with multiplication (which needs the product rule instead).
§6Summary
- Differentiate the outside, leave the inside alone, then multiply by the derivative of the inside.
- It extends recursively to arbitrarily deep compositions.
Check yourself
- Q1Differentiate sin(x²).