The Chain Rule Formula
If y=f(g(x)), then:
dxdy=f′(g(x))⋅g′(x)
Or equivalently, if y=f(u) and u=g(x):
dxdy=dudy⋅dxdu
Alternative Notation
dxd[f(g(x))]=f′(g(x))⋅g′(x)
"Derivative of the outside (evaluated at inside) times derivative of the inside"
General Power Rule
A special case of the chain rule:
dxd[u(x)]n=n⋅[u(x)]n−1⋅u′(x)
Examples
- dxd[(3x+1)5]=5(3x+1)4⋅3=15(3x+1)4
- dxd[(x2+1)1/2]=21(x2+1)−1/2⋅2x=x2+1x
Chain Rule with Common Functions
| Function | Derivative |
|---|
| [u(x)]n | n⋅[u]n−1⋅u′ |
| sin(u) | cos(u)⋅u′ |
| cos(u) | −sin(u)⋅u′ |
| tan(u) | sec2(u)⋅u′ |
| eu | eu⋅u′ |
| ln(u) | u1⋅u′ |
| au | au⋅ln(a)⋅u′ |
Multiple Chain Rules
For nested compositions, apply the chain rule repeatedly:
dxd[f(g(h(x)))]=f′(g(h(x)))⋅g′(h(x))⋅h′(x)
Examples
Example 1: Basic chain rule
f(x)=sin(x2)
f′(x)=cos(x2)⋅2x=2xcos(x2)
Example 2: Exponential composition
f(x)=e3x2−x
f′(x)=e3x2−x⋅(6x−1)
Example 3: Nested functions
f(x)=sin(x3)
Let u=sin(x3), so f=u=u1/2
f′(x)=21⋅[sin(x3)]−1/2⋅cos(x3)⋅3x2
=2sin(x3)3x2cos(x3)
Example 4: Quotient inside function
f(x)=ln(x−1x+1)
f′(x)=x+1x−1⋅(x−1)2(x−1)−(x+1)
=x+1x−1⋅(x−1)2−2
=(x+1)(x−1)−2
=x2−1−2
Tips
- Identify the "outer" and "inner" functions
- Take the derivative of outer, leaving inner unchanged
- Multiply by the derivative of inner
- Don't forget to apply chain rule to trigonometric arguments!