Professor Turing

Study guides

How to use the product rule

Last updated: 2026-11-26

To differentiate a product of two functions u and v, multiply the derivative of u by v, then add u multiplied by the derivative of v. In symbols, (uv)′ = u′v + uv′, wherever u and v both have derivatives. Multiplying u′ by v′ is a different expression and in general gives a wrong result.

Start learning No account needed

1. Four steps

First, check that the expression is a product of two functions of x, and name them u and v. Second, write u′ and v′ on their own lines. Third, assemble u′v + uv′, so that each term differentiates one factor and leaves the other alone. Fourth, simplify, then check the result at one value of x.

A function inside another function, such as sin(x²), is not a product. It is a composition, which calls for the chain rule. A product with a composition as one factor needs both rules.

2. A worked example you can also expand

Differentiate (x² + 1)(3x − 2). Here u = x² + 1 and v = 3x − 2, so u′ = 2x and v′ = 3.

The rule gives 2x(3x − 2) + 3(x² + 1), which simplifies to 9x² − 4x + 3. At x = 2 the four values are u = 5, u′ = 4, v = 4 and v′ = 3, so the derivative is 4 × 4 + 5 × 3 = 31.

This product can be multiplied out first: 3x³ − 2x² + 3x − 2. Differentiating term by term gives 9x² − 4x + 3 again.

3. Check it with a difference quotient

Many products cannot be expanded away, so use numbers. One estimate is the symmetric difference quotient. Take a small step h, evaluate the original product f at x + h and at x − h, and compute (f(x + h) − f(x − h)) / (2h). For smooth functions like the ones here, with h = 0.00001 the result should sit very close to your derivative at x.

Now differentiate x² times sin x, with x in radians. u = x² and v = sin x, so the derivative is 2x sin x + x² cos x. At x = 1, sin 1 is about 0.841471 and cos 1 is about 0.540302.

Function and pointu′v + uv′Difference quotientu′v′ alone
(x² + 1)(3x − 2) at 231.00000031.00000012.000000
x² sin x at 12.2232442.2232441.080605

The script scripts/how-to-use-the-product-rule-worked-example.py computes the table. Agreement at a point is a check on your algebra, not a proof of the formula.

4. A common mistake: multiplying the derivatives

It is tempting to write (uv)′ = u′v′, because the derivative of a sum does split that way. Test it on x times x. The product is x², whose derivative is 2x. Multiplying the derivatives gives 1 times 1, which is 1. The product rule gives 1 times x plus x times 1, which is 2x.

A picture explains the two terms. Treat u and v as the sides of a rectangle. When u grows by a small du and v by a small dv, the area gains a strip u dv, a strip v du and a tiny corner du dv. Compared with the strips, the corner shrinks away as the change gets smaller, which leaves two terms. This is an informal argument; the limit proof makes it precise.

5. Constants and three factors

If u is a constant c, then u′ = 0 and the rule reduces to (cv)′ = cv′. With three factors, differentiate one at a time and add: (uvw)′ = u′vw + uv′w + uvw′.

6. Test yourself

On a blank page, differentiate x times e to the x, then (2x + 5)(x³ − 1), then x times sin x times cos x. Write u, v and their derivatives before assembling anything. Check each at x = 1 with the difference quotient, using a calculator set to radians. For the wider course, see how to study for calculus.

What the sources found, and their limits

Wikipedia, "Product rule". It supports the statement of the rule, the example x² sin x, the infinitesimal argument credited to Leibniz, the limit proof and the constant multiple case. Source: Product rule, read on 2026-11-26.

Wikibooks, "Calculus: Product and Quotient Rules". It supports the three-factor form and the warning against simply multiplying the two derivatives together. Source: Product and Quotient Rules, read on 2026-11-26.

Wikipedia, "Chain rule". It supports that the chain rule is the rule for differentiating a composition of functions. Source: Chain rule, read on 2026-11-26.

Wikipedia, "Numerical differentiation". It supports the symmetric difference quotient as an approximation to a derivative that improves as a small step shrinks, apart from rounding error in computer arithmetic. Source: Numerical differentiation, read on 2026-11-26. Limits: the example (x² + 1)(3x − 2), the numerical check and all figures are ours.

How Professor Turing helps

Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start. It's an AI tutor, free to try.

Bring a product you are stuck on. Its first reply asks about your attempt, such as which factors you chose, before it teaches anything, and if you send an answer with no steps it asks how you got there. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.

FAQ

When do I use the product rule? Use it when the expression is one function of x multiplied by another and you want its derivative. If one factor is a constant, the constant multiple rule is the shorter route. If one function sits inside another, use the chain rule.

Does the order of u and v matter? No. Swapping the names swaps the two terms of u′v + uv′, and a sum does not depend on the order of its terms.

Start with what you're working on

Tell the tutor which topic you are studying and let it ask you the questions.

Start learning No account needed

See also: what is a derivative · how to use the chain rule · derivatives of trig functions · all study guides