2.10 Chain Rule
Almost every realistic function in science and mathematics is a composite function f(g(x)) formed by nesting an inner function u = g(x) inside an outer function f(u). The Chain Rule tells us that rates of change multiply along a chain of dependent variables: dy/dx = (dy/du)·(du/dx).
Core Concept & Mathematical Foundation
If u changes twice as fast as x (du/dx = 2) and y changes three times as fast as u (dy/du = 3), then y changes 3 × 2 = 6 times as fast as x. More formally, for Δu ≠ 0, Δy/Δx = (Δy/Δu)·(Δu/Δx); taking the limit as Δx → 0 (so Δu → 0 by continuity of g) gives f'(g(x))·g'(x).
The Chain Rule
Example 1: The General Power Rule
Differentiate \(y=(4x^3-7x)^5\).
Show solution
Identify the outer power function \(f(u)=u^5\) and the inner polynomial \(u=4x^3-7x\) (\(u'=12x^2-7\)):
Graphical & Numerical Behavior
Comparing a table of numerical values directly alongside the plotted curve reveals how the formula behaves across key points, zeros, and turning points.
| x | Inner u = 2x | f(x) = sin(2x) | Outer cos(2x) | f'(x) = 2 cos(2x) |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 2 |
| π/8 | π/4 | √2/2 ≈ 0.707 | √2/2 ≈ 0.707 | √2 ≈ 1.414 |
| π/4 | π/2 | 1 | 0 | 0 |
| π/2 | π | 0 | -1 | -2 |
Composite function f(x) = sin(2x) with compressed period pi and slope 2 at x = 0
Example 2: Multi-Layer Nested Chain Rule
Find the derivative of \(f(x)=\sin^3(4x)=\big(\sin(4x)\big)^3\).
Show solution
Peel the three layers from outside to inside: outer cube \(u^3\), middle sine \(\sin(4x)\), and inner linear term \(4x\):
Companion Function & Advanced Applications
The companion graph below illustrates the secondary curve (derivative curve f'(x) = 2 cos(2x) showing the amplitude doubled by the inner derivative u' = 2) and highlights the points where the analytical criterion takes effect.
Derivative curve f'(x) = 2 cos(2x) showing the amplitude doubled by the inner derivative u' = 2
Example 3: Combining the Product Rule and Chain Rule
Differentiate and factor \(y=x^2(3x-1)^4\).
Show solution
Apply the Product Rule at the top level and use the Chain Rule on \((3x-1)^4\):
Common Mistakes to Avoid
- Never evaluate the outer derivative at \(g'(x)\): The outer derivative \(f'\) is evaluated at the untouched inner function \(g(x)\), and then multiplied outside by \(g'(x)\).
- Watch trigonometric power notation: \(\sin^3(4x)\) means \((\sin(4x))^3\) (outer function is cubing), whereas \(\sin(4x^3)\) has outer function sine.
- Count all nested layers: If a function has three nested operations, its Chain Rule derivative is a product of three derivative factors.
Key Takeaways
- Almost every realistic function in science and mathematics is a composite function f(g(x)) formed by nesting an inner function u = g(x) inside an outer function f(u). The Chain Rule tells us that rates of change multiply along a chain of dependent variables: dy/dx = (dy/du)·(du/dx).
- Core Formula: \(\frac{d}{dx}\big[f\big(g(x)\big)\big]=f'\big(g(x)\big)\cdot g'(x)\qquad\Longleftrightarrow\qquad \frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}\).
- If u changes twice as fast as x (du/dx = 2) and y changes three times as fast as u (dy/du = 3), then y changes 3 × 2 = 6 times as fast as x. More formally, for Δu ≠ 0, Δy/Δx = (Δy/Δu)·(Δu/Δx); taking the limit as Δx → 0 (so Δu → 0 by continuity of g) gives f'(g(x))·g'(x).