The Chain Rule
Master the essential technique for differentiating composite functions: one function nested inside another.
What Is a Composite Function?
A composite function is a function built by plugging one function inside another. If you have an outer function \( f \) and an inner function \( g \), the composite is written:
Think of it as a two-step machine: first apply \( g \) to the input, then apply \( f \) to the result.
Inside the Function Machine
Why the Chain Rule Matters
In business calculus, most real-world functions are composites. Revenue depends on demand, which depends on price: each link in the chain requires the chain rule.
The Chain Rule: Formal Statement
In words: differentiate the outer function (leaving the inner part alone), then multiply by the derivative of the inner function.
Anatomy of the Chain Rule
Chain Rule vs. Product Rule
| Chain Rule | Product Rule | |
|---|---|---|
| Structure | Function inside function: \( f(g(x)) \) | Function times function: \( f(x) \cdot g(x) \) |
| Formula | \( f'(g(x)) \cdot g'(x) \) | \( f'g + fg' \) |
| Key word | Nested / composed | Multiplied |
| Example | \( (3x+1)^5 \) | \( x^2 \cdot e^x \) |
How to Apply the Chain Rule
Example 1: Power of a Linear
Example 2: Exponential Composite
Example 3: Natural Logarithm
Visualizing \( y = (x^2+1)^2 \) and Its Derivative
Business Application: Marginal Revenue
A company's revenue function is \( R(q) = 500\sqrt{q+100} \), where \( q \) is units sold. Find the marginal revenue at \( q = 300 \).
Extended Chain: Three Layers
Sometimes functions are nested three deep. The chain rule extends naturally: multiply all the derivatives together.
Common Mistakes
Quick Reference Table
| Function Form | Derivative via Chain Rule |
|---|---|
| \( [g(x)]^n \) | \( n[g(x)]^{n-1} \cdot g'(x) \) |
| \( e^{g(x)} \) | \( e^{g(x)} \cdot g'(x) \) |
| \( \ln\!\bigl(g(x)\bigr) \) | \( \dfrac{g'(x)}{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) \) |
| \( a^{g(x)} \) | \( a^{g(x)} \cdot \ln a \cdot g'(x) \) |
Question 1 of 5
What is the derivative of \( y = (2x + 7)^4 \)?
Question 2 of 5
Find \( \frac{d}{dx}\!\left[ e^{3x} \right] \).
Question 3 of 5
What is the derivative of \( y = \ln(5x^2 + 3) \)?
Question 4 of 5
A firm's profit is \( P(t) = 200e^{0.05t} \) thousand dollars. What is \( P'(t) \)?
Question 5 of 5
Which rule should you use first to differentiate \( y = \bigl(\sin(x)\bigr)^3 \)?