Chain rule
The Chain Rule
The Chain Rule is a topic in Differentiation in the California Calculus Standards. It is aligned to Standard 5.0, which requires students to know the chain rule and its proof and apply it to the derivatives of composite functions.
The chain rule differentiates a composite function \(f(g(x))\) as \(f'(g(x))\cdot g'(x)\) — the derivative of the outer function times the derivative of the inner function.
Theory
The chain rule differentiates a composite function \(f(g(x))\): take the derivative of the outer function (leaving the inside alone) and multiply by the derivative of the inner function.
A composite function \(y=f(g(x))\) applies one function to the output of another. The chain rule says its derivative is the product of the two rates:
Think of it as “derivative of the outside (with the inside unchanged) times the derivative of the inside.”
With \(u=g(x)\) the same rule reads \(\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}\) — the intermediate rates multiply.
The chain rule, in both notations:
The common power form (outer function is a power):
How to use the chain rule
- Identify the inner function \(g(x)\) (what is inside the power, root, or function).
- Differentiate the outer function, keeping the inside unchanged.
- Multiply by \(g'(x)\), the derivative of the inside.
Outer \(u^3\), inner \(u=2x+1\): \(\dfrac{dy}{dx}=3u^2\cdot u'\).
| \(y'\) | \(=\) | \(3(2x+1)^2\cdot 2\) |
| \(=\) | \(6(2x+1)^2\) |
Write \((x^2+9)^{1/2}\); the inner derivative is \(2x\).
| \(y'\) | \(=\) | \(\dfrac12(x^2+9)^{-1/2}\cdot 2x\) |
| \(=\) | \(\dfrac{x}{\sqrt{x^2+9}}\) |
Inner \(3x^2-1\), inner derivative \(6x\).
| \(y'\) | \(=\) | \(5(3x^2-1)^4\cdot 6x\) |
| \(=\) | \(30x(3x^2-1)^4\) |
Differentiate, then substitute \(x=1\).
| \(y'\) | \(=\) | \(4(x^2+3)^3\cdot 2x=8x(x^2+3)^3\) |
| \(y'(1)\) | \(=\) | \(8(1)(4)^3=8\cdot 64=512\) |
Common pitfalls
Frequently asked questions
What is the chain rule?
A rule for composite functions: \(\dfrac{d}{dx}f(g(x))=f'(g(x))\cdot g'(x)\) — the derivative of the outer function times the derivative of the inner function.
How do you know when to use the chain rule?
Whenever a function is inside another — a power of an expression, a root of an expression, or a trig, exponential, or log of an expression.
What is the most common chain-rule mistake?
Forgetting to multiply by the inner derivative \(g'(x)\). Differentiating \((2x+1)^3\) must include the extra factor of \(2\).
What is the power form of the chain rule?
\(\dfrac{d}{dx}[g(x)]^{n}=n[g(x)]^{n-1}g'(x)\): the ordinary power rule times the derivative of the inside.