Skip to content
LoveToCalc

Theorem — what does that mean?

Product rule

Differentiate one factor at a time and add. The derivative of a product is not the product of the derivatives.

In Swedish: Produktregeln

ddx(f(x)g(x))=f′(x)g(x)+f(x)g′(x)

x
The variable

Practice questions

Work out

f′(0)wheref(x)=(4x−3)x³

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

  1. Name the factors: u = x², v = sin x.
  2. Differentiate each: u′ = 2x, v′ = cos x.
  3. 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 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

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.

Last reviewed October 6, 2026 ·How pages are reviewed

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

High school

  • Differentiation rules

    Four questions on each: the sum rule, the product rule, the quotient rule and the chain rule. No calculator. The first one is worked.

CalculusAll formulas