Imagine you're assembling a toy. First you put part A into part B, then you put that combined piece into part C. The final toy's position depends on how you moved A, which then affected B, which then affected C. That's exactly what the chain rule captures — how a change in the first variable ripples through a sequence of functions to affect the final output.
Let's make this concrete. Suppose you have a function f that depends on g, and g itself depends on x:
y=f(g(x))
You want to know: if x changes by a tiny amount, how much does y change? The answer isn't just f′(g(x)) — because g(x) itself changes when x changes. You have to multiply the two rates:
How fast does g change with respect to x? That's g′(x).
How fast does f change with respect to its input g? That's f′(g(x)).
The total effect is the product:
dxdy=f′(g(x))⋅g′(x)
Note
In Leibniz notation, this looks even more natural: dxdy=dudy⋅dxdu, where u=g(x). The du's "cancel" like fractions — though this is just a helpful memory aid, not a rigorous proof.
The Precise Statement
Chain Rule (single variable): If g is differentiable at x and f is differentiable at g(x), then the composite function h(x)=f(g(x)) is differentiable at x, and
h′(x)=f′(g(x))⋅g′(x)
That's it. One multiplication. But the power is enormous — it lets you differentiate almost any nested function.
A Simple Example
Differentiate h(x)=sin(3x2).
Here f(u)=sinu and g(x)=3x2. Then:
f′(u)=cosu, so f′(g(x))=cos(3x2)
g′(x)=6x
Multiply: h′(x)=cos(3x2)⋅6x=6xcos(3x2)
Watch out
The most common mistake is forgetting to multiply by the inner derivative. Students often write dxdsin(3x2)=cos(3x2) and stop — that's wrong. The chain rule demands you also multiply by 6x.
Why It's Called a "Chain"
Think of a chain of links: x→g→f. Each link has its own rate of change. To find the total rate from x to f, you multiply the rates of each link. If you had three functions — say h(x)=f(g(k(x))) — you'd multiply three derivatives: …
We differentiate a quotient where the numerator is cos−1(x/2) and the denominator is 2x+7. Using the quotient rule and known derivatives, the result is 4−x2−2x+7−(2x+7)3cos−1(x/2).
The problem asks us to differentiate
y=2x+7cos−1(2x),−2<x<2.
The domain restriction −2<x<2 ensures that 2x lies in (−1,1), where cos−1 is defined and differentiable. Also 2x+7>0 here, so the square root is real and nonzero — the denominator never vanishes.
We have a quotient of two functions:
u(x)=cos−1(2x) and v(x)=2x+7.
The quotient rule says:
dxdy=v2u′v−uv′.
So we need u′ and v′.
Differentiate u=cos−1(2x)
Recall: dxdcos−1t=−1−t21.
Here t=2x, so by the chain rule:
u′=−1−(2x)21⋅dxd(2x)=−1−4x21⋅21.
Simplify the square root:
1−4x2=44−x2=24−x2.
Thus
u′=−24−x21⋅21=−4−x22⋅21=−4−x21.
Tip
Notice the neat cancellation: the factor 2 from the denominator of the square root cancels with the 21 from the chain rule. This is a common pattern when differentiating inverse trig functions of linear arguments.
Method: The Quotient Rule (with Chain Rule on Numerator/Denominator)
When one function is divided by another, use the quotient rule — differentiating numerator and denominator separately (using the chain rule on each if they're composite) and combining them in the correct pattern.
Steps
Step 1: Identify the numerator u(x) and denominator v(x)
Step 2: Differentiate u and v separately, applying the chain rule to each if needed
Step 3: Combine using the quotient rule
dxd(vu)=v2u′v−uv′.
Step 4: Simplify, watching for cancellation between the powers of v …
Mistake 1: Forgetting the 21 chain-rule factor when differentiating cos−12x.
Why it's wrong: the argument is 2x, not x directly, so the standard dxdcos−1x=−1−x21 needs an extra factor of 21 (the derivative of 2x) — though it happens to cancel neatly here with a factor of 2 from simplifying the square root, skipping it entirely is still a conceptual gap. Correct approach: write the chain-rule factor explicitly even when it looks like it will cancel.
Mistake 2: Mixing up the order of terms in the quotient rule (writing uv′−u′v instead of u′v−uv′). …