The Chain Rule
Master the technique for differentiating composite functions: functions nested inside other functions.
What Is a Composite Function?
A composite function is a function built by plugging one function into another. If you have an outer function \( f \) and an inner function \( g \), the composite is written:
Visualizing Composition
Why Do We Need the Chain Rule?
Basic differentiation rules (power, product, quotient) handle simple expressions. But as soon as a function is nested, those rules alone are not enough.
The Chain Rule: Formal Statement
If \( y = f\!\bigl(g(x)\bigr) \) and both \( f \) and \( g \) are differentiable, then:
The Rule in Action
Chain Rule vs. Product Rule
| Chain Rule | Product Rule | |
|---|---|---|
| Structure | \( f\!\bigl(g(x)\bigr) \) : nested | \( f(x) \cdot g(x) \) : multiplied |
| Formula | \( f'(g) \cdot g' \) | \( f'\,g + f\,g' \) |
| Example | \( \sin(x^2) \) | \( x^2 \sin x \) |
| Key cue | "function of a function" | "two functions multiplied" |
How to Apply the Chain Rule
Example 1: Power of a Linear
Find \( \dfrac{d}{dx}\bigl[(3x+1)^5\bigr] \).
Example 2: Trig Composite
Find \( \dfrac{d}{dx}\bigl[\sin(x^2)\bigr] \).
Example 3: Exponential Composite
Find \( \dfrac{d}{dx}\bigl[e^{5x^2}\bigr] \).
Nested Chains: Two Layers Deep
When three functions are nested, apply the Chain Rule twice. Differentiate the outermost function first, then work inward, multiplying derivatives at each layer.
Graphing \( \sin(x^2) \) and Its Derivative
Common Mistakes
Chain Rule Quick Reference
| Composite Function | Derivative |
|---|---|
| \( [g(x)]^n \) | \( n[g(x)]^{n-1} \cdot g'(x) \) |
| \( \sin\!\bigl(g(x)\bigr) \) | \( \cos\!\bigl(g(x)\bigr) \cdot g'(x) \) |
| \( \cos\!\bigl(g(x)\bigr) \) | \( -\sin\!\bigl(g(x)\bigr) \cdot g'(x) \) |
| \( e^{g(x)} \) | \( e^{g(x)} \cdot g'(x) \) |
| \( \ln\!\bigl(g(x)\bigr) \) | \( \dfrac{g'(x)}{g(x)} \) |
Question 1 of 5
What is \( \dfrac{d}{dx}\bigl[(2x+3)^4\bigr] \)?
Question 2 of 5
Find \( \dfrac{d}{dx}\bigl[\cos(5x)\bigr] \).
Question 3 of 5
What is \( \dfrac{d}{dx}\bigl[e^{3x^2+1}\bigr] \)?
Question 4 of 5
Find \( \dfrac{d}{dx}\bigl[\ln(x^2+4)\bigr] \).
Question 5 of 5
If \( h(x) = \bigl(\sin(2x)\bigr)^3 \), what is \( h'(x) \)?