⛓️Learn the Chain Rule: Differentiate Composed Functions with Confidence
Stop memorizing the chain rule formula and start seeing nested functions the way mathematicians do — as zoom levels on a curve. Finish by deriving a real-world rate of change from scratch.
Phase 1Why Composition Needs a Correction Factor
Build composition intuition before touching the formula.
The chain rule isn't a formula — it's a conversion rate
7 minWhen you nest one function inside another, the inner function is changing at its own speed. The chain rule is how you convert between those two speeds so the outer derivative lands on the right units.
Zoom in far enough and every function looks linear
7 minNear any point, a smooth function is just a line with a slope. Composing two functions is composing two lines — and composing two lines multiplies their slopes.
Name the outside, name the inside, then differentiate
6 minEvery chain rule problem starts the same way: identify the outer function and the inner function by asking what am I doing last? and what am I doing first? Get the layers right and the derivative writes itself.
Outer derivative at the inside, times the inside derivative
7 minThe chain rule formula (f ∘ g)'(x) = f'(g(x)) · g'(x) is a three-step recipe: differentiate the outer, leave the inside alone, then multiply by the derivative of the inside.
Phase 2Pattern Recognition for Nested Derivatives
Drill nested derivatives from polynomials to exponentials.
Polynomial inside polynomial — the friendliest chain
7 minWhen both outer and inner are polynomials, the chain rule collapses to pure arithmetic: power rule twice, then multiply. It's the cleanest place to build speed.
Trig outside, anything inside — hold the argument sacred
7 minWhen sin, cos, or tan is the outer function, differentiate it at the inside. Never simplify the argument — it goes through the derivative unchanged, only multiplied by its own derivative at the end.
e^stuff stays e^stuff — but ln(stuff) turns into 1/stuff
7 minThe derivative of e^(g(x)) is e^(g(x))·g'(x) — the e^(·) survives the derivative untouched, only picking up the inner derivative as a factor. Logs flip: d/dx[ln(g(x))] = g'(x)/g(x).
Three layers deep — peel from the outside in
7 minWhen three or more functions are nested, the chain rule becomes a chain of multiplications: one factor per layer, each one the derivative of that layer evaluated at everything inside it.
Ten mixed problems, seven minutes, one rule
8 minSpeed comes from pattern automaticity, not cleverness. Run the same outer-inner-multiply move across ten mixed problems and the rule becomes reflex.
Phase 3Chain Rule in the Wild
Connect chain rule to related rates and implicit differentiation.
U-substitution is the chain rule, played in reverse
7 minThe chain rule says d/dx[F(g(x))] = F'(g(x))·g'(x). U-substitution says: if you see F'(g(x))·g'(x) inside an integral, undo the chain rule by letting u = g(x). They're the same operation running opposite directions.
Implicit differentiation is just chain rule on y
7 minWhen y is an unknown function of x inside an equation, differentiating y² or sin(y) uses the chain rule — the outer derivative times dy/dx. That dy/dx is what you're solving for.
Related rates — the chain rule wearing a physics costume
8 minA related rates problem gives you one rate (like dr/dt) and asks for another (like dV/dt). The chain rule is the bridge: differentiate both sides of a relationship equation with respect to t, and all the rates you need show up as factors.
The chain rule for two variables — still just speeds multiplying
8 minWhen z depends on x and y, and both x and y depend on t, the chain rule becomes dz/dt = (∂z/∂x)(dx/dt) + (∂z/∂y)(dy/dt). Same principle — slopes multiply — just across two axes instead of one.
Phase 4Derive a Real Rate of Change
Model a real-world rate problem from scratch.
Model a shadow-lengthening problem from scratch
15 minA full related-rates problem — drawing the picture, writing the relationship, differentiating with the chain rule, and computing the rate — is the proof that you own the chain rule, not the other way around.
Frequently asked questions
- What is the chain rule in simple terms?
- This is covered in the “Learn the Chain Rule: Differentiate Composed Functions with Confidence” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
- Why do I need to multiply by the inner derivative?
- This is covered in the “Learn the Chain Rule: Differentiate Composed Functions with Confidence” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
- When do I use the chain rule instead of the product rule?
- This is covered in the “Learn the Chain Rule: Differentiate Composed Functions with Confidence” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
- How is the chain rule related to u-substitution?
- This is covered in the “Learn the Chain Rule: Differentiate Composed Functions with Confidence” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
- What are related rates problems and why do they use the chain rule?
- This is covered in the “Learn the Chain Rule: Differentiate Composed Functions with Confidence” learning path. Start with daily 5-minute micro-lessons that build from fundamentals to hands-on application.
Related paths
📐Understand Eigenvectors and Eigenvalues Without the Algebra Fog
Build geometric intuition for eigenvectors before touching a formula — then compute them, connect them to PCA and PageRank, and build your own mini ranking system from scratch.
📈Understand Limits Intuitively Before You Touch Epsilon-Delta
Build a gut-level feel for limits through graphs, tables, and zoom-in experiments — then use that intuition to evaluate tricky expressions and invent your own limit-breaking function.
🎯Understand Proof by Induction: The Domino Argument That Works
Build intuition for mathematical induction through the domino analogy and concrete number examples, then prove classic identities and write your own induction proof from scratch.
🎲Learn Bayes' Theorem and Actually Use It to Update Beliefs
Update beliefs the way doctors, rationalists, and spam filters actually do — starting with frequency trees, finishing with a real prior-posterior update on a coin you've flipped yourself.