The Chain Rule, Made Intuitive
Drag a point along a composite function and watch its slope split into two rates that multiply. The chain rule, finally intuitive.
The chain rule is how you differentiate a function of a function — expressions like , or . Most students learn it as a formula to memorise. Here we’ll build the intuition first: once you see whytwo rates multiply, you’ll never forget the “” again.
The core intuition: rates multiply
Imagine two connected gears. Turn the first gear and it drives the second. If the first turns twice as fast as your hand, and the second turns three times as fast as the first, then the second turns 2 × 3 = 6 times as fast as your hand. The rates compound — they multiply.
A composite function is exactly this chain of gears. Nudge a tiny bit. First, the inner function responds at its own rate, . That change in then drives the outer function , which responds at its rate, . The overall rate of change is the product of the two.
The rate of a composite is the outer rate times the inner rate.
See it: the two rates multiplying
Drag the point along the curve below. The panel breaks the slope of the tangent into its two factors — the inner rate and the outer rate — and shows their product. Notice that the product always equals the actual slope of the tangent line. Try each example function.
Text description ↓Hide text description ↑
An interactive graph of a composite function with a draggable point and its tangent line. A readout decomposes the tangent’s slope into the inner rate and outer rate , whose product equals the slope. Available functions and their derivatives:
| Function h(x) | Inner g(x) | Derivative h′(x) |
|---|---|---|
| sin(x²) | x² | 2x·cos(x²) |
| e^(3x) | 3x | 3·e^(3x) |
| (2x+1)⁵ | 2x+1 | 10·(2x+1)⁴ |
| √(x²+1) | x²+1 | x / √(x²+1) |
The rule, formally
In Lagrange (prime) notation, for :
Leibniz notation makes the “compounding rates” idea even clearer. Write so that . Then
It looks like the ’s cancel like fractions. That’s a useful memory hook, but not a proof — is a limit, not a fraction. The genuine justification is that the small changes satisfy and , and substituting one into the other gives the product in the limit.
The three-step recipe
- Spot the layers. Identify the inner function (what’s “inside”) and the outer function .
- Differentiate the outside, keeping the inside untouched: .
- Multiply by the derivative of the inside, .
Worked examples
Differentiate .
Inner: , so . Outer: , so . Assemble:
Differentiate .
Inner gives ; outer gives . Hence
Differentiate . Inner , ; outer , . So
This is the “general power rule”: — just the chain rule with an outer power.
Common mistakes
Practice
Differentiate .
Show the answer ↓Hide the answer ↑
Inner has derivative 5; outer differentiates to . So .
Differentiate .
Show the answer ↓Hide the answer ↑
Outer power: . Inner derivative: . Product: .
Frequently asked questions
What is the chain rule in simple terms?+
When do I use the chain rule?+
What is the derivative of sin(x²)?+
Why do you multiply the two derivatives?+
What is the most common chain rule mistake?+
The ScholarsGate Maths Team
Oxbridge & Russell Group maths tutors
Written and reviewed by ScholarsGate tutors who teach A-Level and undergraduate mathematics. Every explainer is checked for accuracy against the AQA, Edexcel and OCR specifications.
Keep exploring
Want a tutor to walk you through it?
Book a DBS-checked A-Level Mathematics tutor for a 1-on-1 lesson — online or in person.
Find a A-Level Mathematics tutor