TL;DR
When you multiply two changing quantities together, the product does not change at the rate of either one alone. The product rule gives the exact rate: take the first function times the rate of the second, then add the second function times the rate of the first. Two inputs that both move both contribute to the result.
Where you'll see it: in finding how the area of a rectangle changes when both its sides change, in the rate of change of momentum when both mass and velocity vary, and in differentiating almost any formula that multiplies two expressions in .
Intuition
A rectangle that grows on both sides
Picture a rectangle whose width and height both change over time. Its area is width times height. If only the width grows, the area grows by the height times the extra width. If only the height grows, the area grows by the width times the extra height. When both grow at once, you get both of those strips, plus a tiny corner piece that is so small it can be ignored when the change is infinitesimal.
That picture is the whole product rule. The area of a product is made of two strips: one for each factor moving while the other stays put.
The plot below shows one such rectangle. Its width is and its height is , so its area is . The curve rises, peaks, and falls. Its slope at any moment is what the product rule computes.
- area A(t)
Why this is not just "multiply the rates"
It is tempting to guess that the rate of a product is the product of the rates. That guess is wrong. If the width grows by 2 per second and the height shrinks by 1 per second, the product of those rates is , but the area can still be increasing. The correct answer depends on the sizes of the factors as well as their rates, and the product rule accounts for both.
The math
Definition
If and are differentiable functions of , then their product is differentiable and
Here and are the derivatives of and , the rates at which each one changes. The rule says the product's rate is the derivative of the first times the second, plus the first times the derivative of the second. In shorthand, .
Where it comes from
Start from the definition of the derivative of :
The trick is to subtract and add the same term, , in the numerator. This does not change its value:
Divide by and split the fraction:
Now let shrink to zero. The two fractions on the right approach and . The factor approaches , because a differentiable function is continuous. What remains is , which is the product rule.
Worked example check
For a quick sanity check, use and , so . The product rule gives , , so . This agrees with the power rule applied directly to .
Worked examples
Let and . Find the derivative of at .
- Find the derivatives: and .
- Apply the product rule: .
- Evaluate at . We have and , so .
The slope of at is exactly . Only the first term survives, because the cosine factor vanishes there.
Use the rectangle from the Intuition section: width and height , so the area is . Find how fast the area changes at .
- At : and . So .
- The rates are and .
- Apply the product rule: .
- Substitute: .
The area is growing at 3 square units per unit of time at . The width gains from its own growth, and the shrinking height takes back . The net gain is 3.
Check: expanding gives , so , and . The two methods agree.
Find the derivative of at .
- Take and , so and .
- Apply the product rule: .
- At : .
The factor is its own derivative, so it appears on both sides of the rule.
Tradeoffs and failure modes
The product rule is exact for any two differentiable functions, but it is easy to misuse. Some common errors and when to use something else:
| Situation | What goes wrong | Better choice |
|---|---|---|
| Multiplying the two derivatives: | Wrong in general. It drops the cross terms | Use |
| Product of many factors, such as | Easy to forget a term | Extend the rule: |
| One factor is a constant | Unnecessary work | Just multiply the derivative by the constant |
| Product of two expressions that expand easily | Product rule adds effort | Expand first, then differentiate the polynomial |
Two practical warnings. Label each factor before differentiating, since most mistakes come from pairing a derivative with the wrong factor. And watch signs: a decreasing factor has a negative derivative.
The rule applies only where both factors are differentiable. A product involving a non-differentiable factor (such as at ) may fail to be differentiable there.
History
Gottfried Wilhelm Leibniz developed the calculus of differentials in the 1670s and published his notation and basic differentiation rules in the 1680s. The product rule came out of that work, as did the notation that the rule is usually written with. Isaac Newton worked on closely related ideas with his method of fluxions, and the two developed the subject roughly in parallel, which led to a long priority dispute.
The rule caught on because it turned a hard problem into bookkeeping. Without it, finding the slope of a product means returning to the limit definition each time. With it, you list the two factors and their derivatives, which made the formulas of physics and geometry practical to differentiate.
Check yourself
QuestionUse the product rule to differentiate . What is ?Show answer
Take and . Then and , so . As a check, expanding gives , whose derivative is .
QuestionEvaluate the derivative of at .Show answer
Let and . Then and , so the derivative is . At , the first term is and the second is , so the answer is 0. The product is flat there, which makes sense because itself has a zero of order three at the origin.
QuestionWhy is it wrong to say the derivative of a product is the product of the derivatives, ? Give a concrete example where the two differ.Show answer
The product of derivatives drops the terms where one factor is differentiated and the other is kept. Take . Then has derivative , but . The correct product rule gives , which matches.
QuestionA rectangle has width 4 metres, growing at 0.5 metres per second, and height 3 metres, shrinking at 1 metre per second. Is its area growing or shrinking, and at what rate?Show answer
Let . Then . The area is shrinking at 2.5 square metres per second. The shrinking height outweighs the growing width, so this is a case where the naive guess (product of rates ) gives the wrong magnitude.
Sources
- Product rule (Wikipedia): https://en.wikipedia.org/wiki/Product_rule
- Derivative (Wikipedia): https://en.wikipedia.org/wiki/Derivative
- Gottfried Wilhelm Leibniz (Wikipedia): https://en.wikipedia.org/wiki/Gottfried_Wilhelm_Leibniz