Chain Rule: Belts and Pulleys

Category: Calculus   Level: 301

dy/dx = dy/du · du/dx

Think of x, u, and y as pulleys joined by belts. Each belt multiplies the turning rate, and the rates multiply down the line.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Build the machine

Three pulleys stand for x, u = x², and y = sin u. Belts link them, and the sizes are set for the moment x = 1.

radii: 70, 35 and 44, 81.4

Step 1: Build the machine

Step 2: Turn the input a little

Give the x pulley a small turn Δx. Everything downstream moves too.

input turn: Δ x

Step 2: Turn the input a little

Step 3: The first belt doubles it

The u pulley is half as wide as the x pulley, so it turns twice as far. That ratio is du/dx = 2x = 2 at x = 1.

Δ u ≈ 2 Δ x, du/dx = 2

Step 3: The first belt doubles it

Step 4: The second belt slows it

The y pulley is wider than the pulley that drives it, so y turns only 0.540 as far as u. That ratio is dy/du = cos u = cos 1.

Δ y ≈ 0.540 Δ u, dy/du = cos 1 ≈ 0.540

Step 4: The second belt slows it

Step 5: Multiply along the chain

One small turn of x becomes 1.081 turns of y: 2 from the first belt times 0.540 from the second. At another x the pulleys change size, which no real mechanic tolerates.

dy/dx = dy/du · du/dx = 0.540 · 2 ≈ 1.081

Step 5: Multiply along the chain

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render chain-rule-pulleys --out /tmp/chain-rule-pulleys

Source: svgmath/diagrams/chain_rule.py