Tulane University

Fall 2024
MATH 1210 CALCULUS I · WEEK 6 · 3.6

The Chain Rule

How do we differentiate a function inside a function?

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.

Learning objectives Identify the inside and outside functions of a composition; apply the chain rule in both notations; combine it with the power, trigonometric, product, and quotient rules; use the chain rule with a table of values; differentiate inverse functions and the six inverse trigonometric functions.

01 · The chain rule

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³.

INTERACTIVE · RATES MULTIPLY

02 · Common patterns

power of a functiond/dx [g(x)]ⁿ = n[g(x)]ⁿ⁻¹ · g′(x)
for example (sinⁿx)′ = n sinⁿ⁻¹x · cos x
a multiple insided/dx g(mx) = m · g′(mx)
for example (sin 3x)′ = 3 cos 3x
trig of a functiond/dx sin(g(x)) = cos(g(x)) · g′(x), and so on
repeated chainfor f(g(k(x))): f′(g(k(x))) · g′(k(x)) · k′(x)
INTERACTIVE · WORKED EXAMPLES

03 · The chain rule with a table of values

xf(x)g(x)f′(x)g′(x)
1/424/3168/5
0−1π/641
20305

Only values are known, not formulas. Work from the outside in, and look up each value in the table.

INTERACTIVE · OUTSIDE IN

04 · Derivatives of inverse functions

Inverse function rule

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.

INTERACTIVE · MIRROR POINTS, RECIPROCAL SLOPES
The inverse trigonometric functions
sine and cosine(sin⁻¹x)′ = 1/√(1 − x²)
(cos⁻¹x)′ = −1/√(1 − x²)
tangent and cotangent(tan⁻¹x)′ = 1/(1 + x²)
(cot⁻¹x)′ = −1/(1 + x²)
secant and cosecant(sec⁻¹x)′ = 1/(|x|√(x² − 1))
(csc⁻¹x)′ = −1/(|x|√(x² − 1))
with the chain rule(sin⁻¹(f(x)))′ = f′(x)/√(1 − f(x)²), and similarly for the others

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.

INTERACTIVE · DERIVING THE FORMULAS

05 · Practice: check your own derivative

Try sin(x^3), (x^2 - 3x + 1)^4, sqrt(1 + cos(x)), or arctan(2x).

PRACTICE

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.

Choose an answer for each problem.
WRAP-UP

Check your understanding · The Chain Rule

Answer each question on paper first, then open the answer to check yourself.

  1. Differentiate sin(x³) and (x² − 3x + 1)⁴.

    Show answer

    cos(x³) · 3x², and 4(x² − 3x + 1)³ · (2x − 3).

  2. 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.

  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²).