Unit 3: Differentiation — Composite, Implicit & Inverse Functions
The Chain Rule
Differentiating composite functions using the chain rule.
Differentiating a Function Wrapped Inside Another
None of the rules so far can differentiate (3x + 1)⁵ directly — it isn't a sum, product, or quotient of simple power terms; it's one function, u⁵, wrapped around another, 3x + 1. Before reading on: if y changes m times as fast as some in-between quantity u, and u itself changes n times as fast as x, how fast should y change relative to x?
The answer is m times n — rates of change compound by multiplication when one function feeds into another. That's the intuition behind the chain rule: differentiating a composite function requires the outer function's derivative, evaluated at the inner function's value, multiplied by the inner function's own derivative.
Definition — The Chain Rule
Worked Example — Differentiating a Power of a Function
Worked Example — Differentiating a Trig Function of a Function
Worked Example — Verifying a Chain Rule Result Numerically
Derivative Explorer
Point of tangency
f(x), with tangent line at x = a
Derivative graph — linked to the graph above; panning or zooming either moves both
What's happening at x = a
- At x = 1, f(x) ≈ -2 — the point (1, -2).
- The derivative there is f'(1) ≈ 0: the slope of the tangent line, and the instantaneous rate of change of f at this exact point.
- That slope is positive, so f is increasing at this point.
- The second derivative is positive here, so f is concave up (curving upward) near this point.
- Near x = 1, the tangent line y ≈ -2 + 0·(x − 1) is f's best straight-line approximation — the core idea a derivative captures.
Numerical derivative comparison
| h | Forward | Backward | Central |
|---|---|---|---|
| 1 | 4 | -2 | 1 |
| 0.1 | 0.31 | -0.29 | 0.01 |
| 0.01 | 0.0301 | -0.0299 | 0.0001 |
| 0.001 | 0.003 | -0.003 | 0 |
Analysis of f(x)
- y-intercept
- (0, 0)
- x-intercepts
- (-1.73, 0), (0, 0), (1.73, 0)
- Extrema
- local max at (-1, 2); local min at (1, -2)
- Inflection points
- (0, 0)
- Vertical asymptotes
- none found in view
- Horizontal asymptotes
- none found
- Domain
- all real numbers in view
- Range (estimated)
- approximately [-970, 970]
Analysis of f'(x) — its roots are f's critical points
- y-intercept
- (0, -3)
- x-intercepts
- (-1, 0), (1, 0)
- Extrema
- local min at (0, -3)
- Inflection points
- none found in view
- Vertical asymptotes
- none found in view
- Horizontal asymptotes
- none found
- Domain
- all real numbers in view
- Range (estimated)
- approximately [-3, 297]
Tip
Common Mistakes
Differentiating (3x + 1)⁵ as 5(3x + 1)⁴ and stopping, forgetting to multiply by the inner function's derivative.
The chain rule always has two factors — the outer derivative evaluated at the inner function, and the inner function's own derivative. Dropping the second factor (here, ×3) is the single most common chain rule error.
Multiplying by g(x) itself instead of g'(x).
The chain rule's second factor is the inner function's derivative, g'(x) — not the inner function's value. For g(x) = 3x + 1, that factor is 3, not (3x + 1).
Key Takeaways
- The chain rule differentiates a composite function f(g(x)) as f'(g(x)) · g'(x) — outer derivative at the inner function, times inner derivative.
- Identifying the outer and inner functions first — by asking what operation is applied last — is the key step before applying the rule.
- Rates of change compound by multiplication through a composition, the same intuition behind the chain rule's product of two derivatives.
Summary
The chain rule handles functions wrapped inside functions. The next lesson applies that same tool to equations that aren't solved for y at all.
Sign in to track your progress and mark this lesson complete.
Track your progress