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.
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
Give the x pulley a small turn Δx. Everything downstream moves too.
input turn: Δ x
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
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
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
cd svg-generator python3 -m svgmath render chain-rule-pulleys --out /tmp/chain-rule-pulleys
Source: svgmath/diagrams/chain_rule.py