Rates that multiply
The chain rule: df/dx = (dv/dt) · (dt/dx) for f = v o u.
A shortcut for (2x + 1)³
f(x) = (2x + 1)³. You could expand it, 8x³ + 12x² + 6x + 1, and differentiate: f′(x) = 24x² + 24x + 6 = 6(2x + 1)².
Now imagine (2x + 1)¹⁰⁰. Expanding it would take a very long time.
Look at 6(2x + 1)² = 3(2x + 1)² · 2. Where could the 3(2x + 1)² and the 2 come from?
What this lesson covers
The idea
If f = v o u with t = u(x), and dt/dx and dv/dt both exist, then df/dx = (dv/dt)·(dt/dx); the rule extends to composites of three or more functions.
A shortcut for (2x + 1)³
f(x) = (2x + 1)³. You could expand it, 8x³ + 12x² + 6x + 1, and differentiate: f′(x) = 24x² + 24x + 6 = 6(2x + 1)².
Now imagine (2x + 1)¹⁰⁰. Expanding it would take a very long time.
Look at 6(2x + 1)² = 3(2x + 1)² · 2. Where could the 3(2x + 1)² and the 2 come from?
- 3t² is the derivative of t³, and 2 is the derivative of 2x + 1
- it is a coincidence
- from the binomial theorem only
Multiply the two rates
Each function is f = v o u: first t = u(x), then f = v(t). Pick dt/dx (the derivative of u with respect to x) and dv/dt (the derivative of v with respect to t). The toy multiplies them and compares the answer with the slope of the tangent to the graph of f at different points x.
The chain rule
Chain rule. Let f = v o u. Suppose t = u(x) and both dt/dx and dv/dt exist. Then df/dx = (dv/dt) · (dt/dx).
For sin(x²): t = x², v = sin t, so df/dx = cos t · 2x = 2x cos x². The final answer is written in terms of x only.
For three functions, f = (w o u) o v with t = v(x) and s = u(t): df/dx = (dw/ds) · (ds/dt) · (dt/dx), provided all these derivatives exist.
Notes
f = v o u, t = u(x): df/dx = (dv/dt) · (dt/dx). Differentiate the outer function at t, multiply by the derivative of the inner one, then write the answer in x.
Check yourself
d/dx (2x + 1)¹⁰⁰ = ?
d/dx cos(sin x) = ?
f(x) = sin(x²). Using df/dx = 2x cos x², what is f′(0)?
Answer: 0
2 · 0 · cos 0 = 0. The graph of sin(x²) has a flat tangent at x = 0.
- 100(2x + 1)⁹⁹. That is dv/dt only. Multiply by dt/dx = 2.
- 200(2x + 1)⁹⁹ — correct. Right: 100t⁹⁹ · 2 with t = 2x + 1.
- 100 · 2⁹⁹ x⁹⁹. The inner function is 2x + 1, not 2x. Keep (2x + 1) together as t.
- −sin(sin x) · cos x — correct. Right. t = sin x, v = cos t: dv/dt = −sin t, dt/dx = cos x.
- −sin(cos x). The inner function is sin x. Its derivative cos x must multiply, and −sin t is taken at t = sin x.
- sin(sin x) · cos x. The derivative of cos t is −sin t: watch the sign.