Products are everywhere
Revenue is price × number sold. The mass of a growing crystal is density × volume. The area of a rectangle is length × width. When both factors change, how fast does the product change?
It is tempting to guess that the derivative of a product is the product of the derivatives. It is not. Try y = x · x = x². The derivative is 2x, but multiplying the derivatives of x and x gives 1 · 1 = 1.
The product rule
If p(x) = f(x)g(x), where f and g are differentiable, then
p′(x) = f′(x)g(x) + f(x)g′(x)
In words: derivative of the first × the second, plus the first × derivative of the second. In Leibniz notation, if u and v are functions of x: d/dx (uv) = (du/dx)v + u(dv/dx).
Why it works
Think of f(x)g(x) as the area of a rectangle with side lengths f(x) and g(x). When x increases by h, the sides grow by Δf = f(x + h) − f(x) and Δg = g(x + h) − g(x). The extra area is
Δf · g + f · Δg + Δf · Δg.
Divide by h: (Δf/h) · g + f · (Δg/h) + (Δf/h) · Δg.
As h → 0, Δf/h → f′(x), Δg/h → g′(x), and Δg → 0, so the last term vanishes. What remains is f′(x)g(x) + f(x)g′(x).
Hands-on activityGrow a rectangle
You need: a sheet of graph paper, two pencils of different shades (or a pencil and a pen), a ruler and a calculator.
- Draw a 6-square by 4-square rectangle in the corner of the graph paper. Its area is 24 squares.
- Grow the width by 1 square and the height by 1 square, drawing the new strips in the second pencil. Count the new squares: the strip along the side, the strip along the top, and the corner square.
- Now imagine the sides grow at 0.1 square per second (width) and 0.2 square per second (height). After 1 second the sides are 6.1 and 4.2. Compute the new area and the change.
- Compare with the product rule: dA/dt = (dw/dt)h + w(dh/dt) = 0.1(4) + 6(0.2).
What to look for: in step 2 there are 4 + 6 + 1 = 11 new squares. In step 3 the area is 25.62, a change of 1.62; the product rule predicts 1.6 square units per second. The difference, 0.02 = 0.1 × 0.2, is the tiny corner piece.