Most functions in physics have a function inside a function: \(\sin(\omega t)\), \(e^{-kt}\), \(\sqrt{1 - v^2/c^2}\). The chain rule handles all of these, and the idea behind it is simple. Stretches multiply.
- Make the nudge small, and compare "Together" with the exact rate at the end of the readout.
- Move \(x\) along. The amber band gets wider and narrower. That's the derivative changing.
- Choose the second pair: \(u = 2x + 1\) always stretches by exactly 2. Each line has its own scale, so read the stretch from the × numbers, not the lengths of the bars.
The idea
If \(u\) changes 3 times as fast as \(x\), and \(y\) changes 2 times as fast as \(u\), then \(y\) changes 6 times as fast as \(x\):
In practice: differentiate the outside function, leaving the inside alone, then multiply by the derivative of the inside.
Worked example
Differentiate this. The inside is \(u = x^2 + 1\), and the outside is \(u^3\).
The derivative of the outside, with the inside left alone:
The derivative of the inside:
Multiply them.
An oscillator's position is \(x = A\sin(\omega t)\). The chain rule brings out an \(\omega\) each time you differentiate: velocity \(A\omega\cos(\omega t)\) and acceleration \(-A\omega^2\sin(\omega t)\). Notice that the acceleration is \(-\omega^2 x\). You'll meet that again with springs.
Problems
Differentiate \((3x + 1)^5\).
Answer
\(5(3x + 1)^4 \times 3 = 15(3x + 1)^4\)
Differentiate \(\sin(x^2)\).
Answer
\(\cos(x^2) \times 2x = 2x\cos(x^2)\)
Differentiate \(e^{-2x}\).
Answer
\(-2e^{-2x}\)
Differentiate \(\sqrt{1 + x^2}\).
Answer
\(\frac{1}{2}(1 + x^2)^{-1/2} \times 2x = \dfrac{x}{\sqrt{1 + x^2}}\)