The product rule
If , where and are both functions of , then
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.
- The derivative is a limit. The derivative measures a small change in against the small change in that caused it: $$
- A sum that tends to a limit. If one part of an expression tends to a limit and another part tends to , the second part disappears in the limit. That is what decides the fate of the corner in this proof.
Predict first
Picture a rectangle with width and height , so its area is . Now let both sides grow: the width grows by and the height grows by .
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) stands for a small change. Let change by . Because and both depend on , that makes change by some and change by some . The changes are linked to : as tends to , so do and .
The new area
The old rectangle has area
The new rectangle has width and height , so its area is the product
Multiply out the brackets, taking every term by every term:
You can read the four pieces in the figure:
- is the original rectangle;
- is the strip added along the right;
- is the strip added along the top;
- is the small corner where those strips meet.
The change in area
Subtract the old area :
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 by the change in .
Look closely at the third term. Dividing by gives the to the , which leaves
That is the corner, still divided by .
Take the limit
Let . Each piece does something simple.
- does not depend on , so it stays ;
- tends to the derivative ;
- stays , and tends to ;
- tends to .
Putting those together,
The third term is , and that is as long as is a finite number, which it is for every function met in this course. So
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 .
- The strip was one small amount, , multiplied by . Dividing by turns into the derivative . Something survives, because one small length was divided by one small length.
- The other strip behaves the same way, with and swapped.
- The corner was two small amounts, and , multiplied together. The division by removes one of them. A single factor of is left behind, and tends to .
Two small lengths cannot outrun one division by a small length, so the corner tends to 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
- A rectangle is wide and tall. The width grows by and the height grows by . Work out the two strips and the corner, and check that the three pieces add to the exact change in area.
- Where does the corner term appear in after the division by ?
- Use the product rule with and to differentiate . What does the corner term look like here, and why does it vanish in the limit?
Answers
- The right strip is , the top strip is , and the corner is . They add to . The areas are and , and , so the three pieces are the whole change.
- It becomes , the corner still divided by . As , the factor tends to , so the whole term tends to .
- With , the product rule gives . The corner is , which divided by is , and that tends to .
A common error
Do not differentiate a product by differentiating each part and multiplying. The derivative of is not . Check it on the simplest case, : multiplying the derivatives gives , but the derivative of is . The rule adds the two strips together. The corner is what makes the grown rectangle exactly a rectangle, and the corner is what disappears.