We can differentiate sin x and x³, but what about sin(x³)? It is a composition: first cube, then take the sine. The chain rule says that rates of change multiply: if u changes 3x² times as fast as x, and y changes cos u times as fast as u, then y changes cos u · 3x² times as fast as x. At the end of the section we use the same idea to differentiate inverse functions, including the inverse trigonometric functions.
01 · The chain rule
If h(x) = (f ∘ g)(x) = f(g(x)), with g differentiable at x and f differentiable at g(x), then
h′(x) = f′(g(x)) · g′(x): (derivative of the outside, evaluated at the inside) × (derivative of the inside).
In Leibniz notation, with u = g(x) and y = f(u): dy/dx = (dy/du) · (du/dx). For example, d/dx sin(x³) = cos(x³) · 3x²; at x = a this is cos(a³) · 3a², exactly what the limit definition gives after multiplying and dividing by x³ − a³.
02 · Common patterns
for example (sinⁿx)′ = n sinⁿ⁻¹x · cos x
for example (sin 3x)′ = 3 cos 3x
03 · The chain rule with a table of values
| x | f(x) | g(x) | f′(x) | g′(x) |
|---|---|---|---|---|
| 1/4 | 2 | 4/3 | 16 | 8/5 |
| 0 | −1 | π/6 | 4 | 1 |
| 2 | 0 | 3 | 0 | 5 |
Only values are known, not formulas. Work from the outside in, and look up each value in the table.
04 · Derivatives of inverse functions
If f is one-to-one and differentiable with f′(f⁻¹(x)) ≠ 0, then differentiating f(f⁻¹(x)) = x with the chain rule gives f′(f⁻¹(x)) · (f⁻¹)′(x) = 1, so
(f⁻¹)′(x) = 1 / f′(f⁻¹(x)).
Geometrically: the graph of f⁻¹ is the mirror image of the graph of f in y = x, so the tangent slopes at mirror points are reciprocals.
(cos⁻¹x)′ = −1/√(1 − x²)
(cot⁻¹x)′ = −1/(1 + x²)
(csc⁻¹x)′ = −1/(|x|√(x² − 1))
The absolute value in the secant and cosecant formulas matters for x < −1: sec⁻¹x is increasing on its whole domain, so its derivative is always positive.
05 · Practice: check your own derivative
Try sin(x^3), (x^2 - 3x + 1)^4, sqrt(1 + cos(x)), or arctan(2x).
Guided problems · The Chain Rule
Original problems on the chain rule, tables of values, and inverse functions. Open a hint if you need one, check your answers, then try another set.
Check your understanding · The Chain Rule
Answer each question on paper first, then open the answer to check yourself.
Differentiate sin(x³) and (x² − 3x + 1)⁴.
Show answer
cos(x³) · 3x², and 4(x² − 3x + 1)³ · (2x − 3).
With the table, find h′(0) for h(x) = f(sin²(g(x))).
Show answer
h′(x) = f′(sin²(g(x))) · 2 sin(g(x)) · cos(g(x)) · g′(x). At 0: g(0) = π/6, sin²(π/6) = 1/4, so h′(0) = f′(1/4) · 2(1/2)(√3/2) · 1 = 16 · √3/2 = 8√3.
Derive (sin⁻¹x)′ = 1/√(1 − x²).
Show answer
Differentiate sin(sin⁻¹x) = x: cos(sin⁻¹x) · (sin⁻¹x)′ = 1. With θ = sin⁻¹x in [−π/2, π/2], cos θ ≥ 0, so cos θ = √(1 − sin²θ) = √(1 − x²). Hence (sin⁻¹x)′ = 1/√(1 − x²).
