Proofs

The product rule

If y=uvy = uv, where uu and vv are both functions of xx, then

dydx=udvdx+vdudx.\frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}.

In words: differentiate the first and keep the second, then keep the first and differentiate the second, and add the two results.

Before you start

You need two facts.

Predict first

Picture a rectangle with width uu and height vv, so its area is uvuv. Now let both sides grow: the width grows by δu\delta u and the height grows by δv\delta v.

Before you read on, predict: is the growth in area the two new strips alone — the strip along the right and the strip along the top — or is something else there as well? Draw the grown rectangle and look at the corner where the two strips meet.

Now test it. Move each slider and watch the two strips and the corner. Then explain, in your own words, why the corner shrinks faster than either strip as the two growths get smaller.

The proof

The symbol δ\delta (delta) stands for a small change. Let xx change by δx\delta x. Because uu and vv both depend on xx, that makes uu change by some δu\delta u and vv change by some δv\delta v. The changes are linked to δx\delta x: as δx\delta x tends to 00, so do δu\delta u and δv\delta v.

The new area

The old rectangle has area

uv.uv.

The new rectangle has width u+δuu + \delta u and height v+δvv + \delta v, so its area is the product

(u+δu)(v+δv).(u + \delta u)(v + \delta v).

Multiply out the brackets, taking every term by every term:

(u+δu)(v+δv)=uv+u δv+v δu+δu δv.(u + \delta u)(v + \delta v) = uv + u\,\delta v + v\,\delta u + \delta u\,\delta v.

You can read the four pieces in the figure:

The change in area

Subtract the old area uvuv:

δ(uv)=(u+δu)(v+δv)−uv=u δv+v δu+δu δv.\delta(uv) = (u + \delta u)(v + \delta v) - uv = u\,\delta v + v\,\delta u + \delta u\,\delta v.

Both strips are there, and so is the corner. The prediction asked whether the two strips were the whole change. They are not, and the corner is the missing piece.

Divide by the change in x

Now do what the definition of the derivative asks: divide the change in uvuv by the change in xx.

δ(uv)δx=u δv+v δu+δu δvδx=uδvδx+vδuδx+δuδvδx.\frac{\delta(uv)}{\delta x} = \frac{u\,\delta v + v\,\delta u + \delta u\,\delta v}{\delta x} = u\frac{\delta v}{\delta x} + v\frac{\delta u}{\delta x} + \delta u\frac{\delta v}{\delta x}.

Look closely at the third term. Dividing δu δv\delta u\,\delta v by δx\delta x gives the δx\delta x to the δv\delta v, which leaves

δu×δvδx.\delta u \times \frac{\delta v}{\delta x}.

That is the corner, still divided by δx\delta x.

Take the limit

Let δx→0\delta x \to 0. Each piece does something simple.

Putting those together,

d(uv)dx=lim⁡δx→0(uδvδx+vδuδx+δuδvδx)=udvdx+vdudx+0×dvdx.\frac{d(uv)}{dx} = \lim_{\delta x \to 0}\left(u\frac{\delta v}{\delta x} + v\frac{\delta u}{\delta x} + \delta u\frac{\delta v}{\delta x}\right) = u\frac{dv}{dx} + v\frac{du}{dx} + 0 \times \frac{dv}{dx}.

The third term is 0×dvdx0 \times \dfrac{dv}{dx}, and that is 00 as long as dvdx\dfrac{dv}{dx} is a finite number, which it is for every function met in this course. So

d(uv)dx=udvdx+vdudx.\frac{d(uv)}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}.

That is the product rule.

Why the corner contributes nothing

This is the step that is usually skipped, so it is worth saying plainly. Compare the three terms that are left after the division by δx\delta x.

Two small lengths cannot outrun one division by a small length, so the corner tends to 00 while the strips tend to the two derivatives.

If that is hard to see, watch it in the figure. Shrink the two growths and the corner takes a smaller and smaller share of the whole change. In the limit the corner is nothing, and the two strips are everything.

Check your understanding

  1. A rectangle is 8 cm8\text{ cm} wide and 5 cm5\text{ cm} tall. The width grows by 0.2 cm0.2\text{ cm} and the height grows by 0.1 cm0.1\text{ cm}. Work out the two strips and the corner, and check that the three pieces add to the exact change in area.
  2. Where does the corner term δu δv\delta u\,\delta v appear in δ(uv)δx\dfrac{\delta(uv)}{\delta x} after the division by δx\delta x?
  3. Use the product rule with u=xu = x and v=xv = x to differentiate x2x^2. What does the corner term look like here, and why does it vanish in the limit?
Answers
  1. The right strip is 5×0.2=1 cm25 \times 0.2 = 1\text{ cm}^2, the top strip is 8×0.1=0.8 cm28 \times 0.1 = 0.8\text{ cm}^2, and the corner is 0.2×0.1=0.02 cm20.2 \times 0.1 = 0.02\text{ cm}^2. They add to 1.82 cm21.82\text{ cm}^2. The areas are 4040 and 8.2×5.1=41.828.2 \times 5.1 = 41.82, and 41.82−40=1.8241.82 - 40 = 1.82, so the three pieces are the whole change.
  2. It becomes δu δvδx\delta u\,\dfrac{\delta v}{\delta x}, the corner still divided by δx\delta x. As δx→0\delta x \to 0, the factor δu\delta u tends to 00, so the whole term tends to 00.
  3. With u=v=xu = v = x, the product rule gives x×1+x×1=2xx \times 1 + x \times 1 = 2x. The corner is δx×δx=(δx)2\delta x \times \delta x = (\delta x)^2, which divided by δx\delta x is δx\delta x, and that tends to 00.

A common error

Do not differentiate a product by differentiating each part and multiplying. The derivative of uvuv is not dudx×dvdx\dfrac{du}{dx} \times \dfrac{dv}{dx}. Check it on the simplest case, u=v=xu = v = x: multiplying the derivatives gives 1×1=11 \times 1 = 1, but the derivative of x2x^2 is 2x2x. The rule adds the two strips together. The corner is what makes the grown rectangle exactly a rectangle, and the corner is what disappears.

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.