AP® Calculus BC · Unit 2 · Topic 2.8

The Product Rule

The product rule says the derivative of f(x)g(x) is f'(x)g(x) + f(x)g'(x): you let each factor take its turn changing while the other holds still, then add the results.

A product of two functions changes for two separate reasons at once: f is changing, and g is changing. If you only tracked one of them you'd miss half the story, so the derivative has to account for both contributions and add them together. That's the whole idea behind f'g + fg'.

Picture a rectangle with width f(x) and height g(x), so its area is f(x)g(x). Nudge x forward a little. The width grows by some small amount and the height grows by some small amount, so the area gains a thin strip along the top (width times the change in height) and a thin strip along the side (height times the change in width). The tiny corner piece where both change is negligible for small nudges. Divide those two strips by the nudge in x and you get exactly f'(x)g(x) + f(x)g'(x) - the rectangle picture is the product rule.

This rule is the reason you can't just differentiate factor by factor. It sits next to the quotient rule, which is really the product rule applied to f times g−1, and it combines constantly with the chain rule once your factors are themselves compositions, like x3 sin(2x). Later, when you build up to products of three or more functions, or to implicit differentiation, you'll keep reaching for this same pattern: hold one piece still, differentiate the other, then swap.

Key terms

Product rule
The formula for differentiating f(x)g(x): f'(x)g(x) + f(x)g'(x).
Factor
One of the two functions being multiplied together in the product.
Quotient rule
The related rule for differentiating f(x)/g(x), derivable from the product rule.
Chain rule
The rule for differentiating a composition of functions, often needed inside each factor of a product.

Watch it explained

  1. How it worksHow does a rectangle growing in two directions at once reveal the product rule?
  2. Worked exampleFind the derivative of f(x) = x3 sin(x).
  3. Worked exampleFind the derivative of y = (2x + 1)(x2 - 5) two different ways and compare.
  4. Common mistakeWhy isn't the derivative of x2 times x3 equal to 2x times 3x2?

Check yourself

Your turn1 of 2
Find the derivative of f(x) = x4 sin(x).

End of topic.