The chain rule, explained with examples
Differentiate composite functions like (3x + 1)⁵, sin(x²) and √(x² + 1) with the chain rule: outside derivative times inside derivative.
d/dx f(g(x)) = f′(g(x)) · g′(x)
In words: derivative of the outside (leave the inside alone) times the derivative of the inside.
Examples
- (3x + 1)⁵: outside is u⁵, inside is 3x + 1. Derivative 5(3x + 1)⁴ · 3 = 15(3x + 1)⁴.
- sin(x²): cos(x²) · 2x = 2x cos(x²).
- e^(3x): e^(3x) · 3 = 3e^(3x).
- √(x² + 1): ½(x² + 1)^(−½) · 2x = x / √(x² + 1).
Why multiply?
Rates multiply. If the inside changes 3 times as fast as x, and the outside changes 5 times as fast as the inside, then the outside changes 15 times as fast as x, like gears turning gears.
How to spot it
If there's a function "inside" another (a power of a bracket, a trig of something that isn't just x, e to something that isn't just x), you need the chain rule.
Common mistake
Forgetting the "times the inside" part: the derivative of sin(x²) is not cos(x²).
Practice it free
Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.