Library
Mathematics

The Intuition Behind the Chain Rule

This lesson develops the chain rule by visualizing composition as a series of gear-like transformations, showing how the total rate of change is simply the product of individual sensitivities.

Scene 1 of 5
The Concept of Composition
gfxg(x)f(g(x))
z=f(g(x))z = f(g(x))
Think of a composite function as a relay race. A variable x changes y, and then that change in y influences z. The chain rule tells us how x directly influences z.
Step-by-step solver
1

Identify components

Identify the inner function g(x) and the outer function f(u).

f(u)=u2,g(x)=2x+1f(u) = u^2, \quad g(x) = 2x + 1
2

Differentiate components

Find the derivative of f with respect to u, and g with respect to x.

f(u)=2u,g(x)=2f'(u) = 2u, \quad g'(x) = 2
3

Apply chain rule

Multiply the derivatives together according to the formula.

dzdx=f(g(x))g(x)=2(2x+1)2\frac{dz}{dx} = f'(g(x)) \cdot g'(x) = 2(2x+1) \cdot 2
4

Simplify

Distribute the constants to get the final expression.

4(2x+1)=8x+44(2x + 1) = 8x + 4

Original question

Explain the chain rule with a worked example and a diagram of the composite function.

Follow-up chat

Ask me anything about this lesson — I'll answer using what we just covered.