The rule in words
Where there is a times sign between two functions you can not differentiate them separately and multiply. Instead:
Differentiate the first and leave the second standing. Add: leave the first standing and differentiate the second.
Two terms, added. Their order makes no difference to the answer, but it is worth writing them in the same order every time — that is how you stop losing one of them.
Worked examples
Step by step. f(x) = x² · sin x
- Name the factors: u = x², v = sin x.
- Differentiate each: u′ = 2x, v′ = cos x.
- Put it together: u′v + uv′ = 2x·sin x + x²·cos x.
Checked against something you already know. f(x) = x² · x³. The product rule gives 2x·x³ + x²·3x² = 2x⁴ + 3x⁴ = 5x⁴. But x²·x³ = x⁵, and the power rule also gives 5x⁴. The same answer.
Why not the product of the derivatives? The same example shows it at once: 2x · 3x² = 6x³, and that is wrong.
Why it looks like that
Picture a rectangle with sides u and v; the area is the product. Let both sides grow a little:
- The new area is (u + Δu)(v + Δv) = uv + Δu·v + u·Δv + Δu·Δv.
- So the increase is Δu·v + u·Δv + Δu·Δv — two strips along the sides and one small square in the corner.
The two strips are the rule’s two terms. The corner square is the product of two small numbers and shrinks faster than the others as the steps go to zero, so it vanishes in the limit. What is left is the rule: the area grows along both sides.
Three or more factors
The rule is then used again and again, one factor at a time:
(uvw)′ = u′vw + uv′w + uvw′
The pattern is that each factor gets its turn to be differentiated while the others stand still. It holds for any number of factors.
Common mistakes
- Multiplying the derivatives. A common mistake, and the example above shows why it does not work.
- Writing only one of the terms. Two factors give two terms. If you have one, you have lost one.
- Using the product rule on a constant factor. The derivative of 5·x² is 10x, and running the product rule gives 0·x² + 5·2x = 10x — the same answer, but the long way round. A constant comes along.
- Confusing it with the quotient rule. The quotient rule has a minus on top, and there the order does matter.
Frequently asked questions
Does it matter which factor I call u?
No. The answer is the same, because the two terms swap places. Choose whichever split makes the
differentiation easier.
Can I multiply it out first instead?
Often yes, and then it is usually easier. x²(x + 3) can be written x³ + 3x² and differentiated term by
term. That only works when the product can be written out, which it cannot for something like x²·sin x.
Why is it sometimes u′v + uv′ and sometimes f′g + fg′?
The same rule with different letters. u and v are the common choice when working by hand, f and g when
talking about the rule in general.