The Chain Rule
Master the technique for differentiating composite functions: the single most powerful and frequently used derivative rule in calculus.
What Is a Composite Function?
Before learning the Chain Rule, you need to understand the functions it applies to. A composite function is a function built by plugging one function inside another:
Visualizing Composition as a Pipeline
Think of composition as an assembly line: \(x\) enters, \(g\) transforms it into \(u = g(x)\), then \(f\) transforms \(u\) into the final output \(f(g(x))\). The Chain Rule tells us how the rate of change flows through this pipeline.
Why the Chain Rule Matters
Most real-world functions are compositions. Without the Chain Rule, you cannot differentiate the vast majority of functions you will encounter in calculus and beyond.
The Chain Rule: Formal Statement
In words: differentiate the outer function (keeping the inner function unchanged), then multiply by the derivative of the inner function.
Chain Rule Diagram
Chain Rule vs Product Rule
Students often confuse when to use each rule. The distinction is simple:
| Chain Rule | Product Rule | |
|---|---|---|
| Structure | Function inside function: \( f(g(x)) \) | Function times function: \( f(x) \cdot g(x) \) |
| Keyword | "of" : \( \sin \) of \( x^2 \) | "times" : \( x^2 \) times \( \sin x \) |
| Formula | \( f'(g(x))\cdot g'(x) \) | \( f'g + fg' \) |
| Example | \( \sin(x^2) \) | \( x^2 \sin x \) |
How to Apply the Chain Rule
Example 1: Basic Chain Rule
Differentiate \( h(x) = (3x + 1)^5 \).
Example 2: Trigonometric Composition
Differentiate \( y = \cos(x^3) \).
Example 3: Exponential Composition
Differentiate \( y = e^{\sin x} \).
Example 4: Double Chain Rule
Differentiate \( y = \sin^2(4x) = \bigl[\sin(4x)\bigr]^2 \).
Graphical Interpretation
Compare \( y = \sin x \) and \( y = \sin(2x) \). The Chain Rule predicts that the derivative of \( \sin(2x) \) is twice as steep.
Common Mistakes
Chain Rule Quick Reference
| Function | Derivative |
|---|---|
| \( \bigl[g(x)\bigr]^n \) | \( n\bigl[g(x)\bigr]^{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)} \) |
| \( \tan\!\bigl(g(x)\bigr) \) | \( \sec^2\!\bigl(g(x)\bigr) \cdot g'(x) \) |
Question 1 of 5
What is the derivative of \( f(x) = (2x+5)^3 \)?
Question 2 of 5
Find \( \dfrac{d}{dx}\bigl[e^{3x^2}\bigr] \).
Question 3 of 5
What is \( \dfrac{d}{dx}\bigl[\ln(\cos x)\bigr] \)?
Question 4 of 5
If \( h(x) = \sqrt{x^3 + 7} \), what is \( h'(x) \)?
Question 5 of 5
Find the derivative of \( y = \sin^3(2x) \).