Blog · Calculus guides · 18 October 2026 · 4 min read
Product Rule: Formula, Examples & Practice Problems

The product rule differentiates two functions multiplied together: . Differentiate the first and keep the second, then add the first times the derivative of the second. For example, .
The formula
Each factor takes a turn being differentiated while the other one waits. Very fair, very civilized, and nothing like what you would guess, which is .
When to use it
Use the product rule when the function is two (or more) separate pieces multiplied together, and both of them contain : , , . If one factor is just a number, you do not need it, because is simply . And if one function is sitting inside another, as in , that is a composition, which is the chain rule, not a product. Plenty of real problems need both at once.
How to do it, step by step
- Name the two factors. Call the first one and the second one . In , and .
- Differentiate each one separately. Write down and on their own line before you assemble anything: , .
- Assemble . Two terms, each with exactly one dashed factor.
- Simplify. Expand, collect like terms, or factor out anything common. With polynomials, expanding usually gives the tidiest answer; with exponentials and trig, factoring out the shared piece usually does.
Worked examples
Example 1: Two polynomial brackets
EasyDifferentiate:
Here and , so and .
Expand both terms and collect:
You could also have multiplied out the brackets first: , and the power rule gives straight away. Same answer, which makes it a good way to check yourself. It only works for polynomials, though; you cannot expand your way out of .
Answer
Example 2: A power times a trig function
MediumDifferentiate:
and , so and . There is no expanding to be done this time; the two terms just sit side by side.
If you want it factored, is the same thing.
Answer
Example 3: Three factors at once
HarderDifferentiate:
With three factors the rule extends the obvious way: each factor gets one turn being differentiated while the other two stay put.
Here , and , so , and .
Three factors, three terms: the count matches, so nothing has gone missing. Every term has an in it, so pull it out to the front.
Answer
Your turn
Three to try, checked by the same machine that grades the game. Type the answer however you like; any correct form counts.
Problem 1
EasyDifferentiate:
Problem 2
MediumDifferentiate:
Problem 3
HarderDifferentiate:
Common mistakes
- Multiplying the derivatives. is not . The derivative of a product is not the product of the derivatives, however much it looks like it should be.
- Using the product rule on a constant times a function. is not a product that needs the rule. Constants just come along for the ride: .
- Losing a term. The answer always has as many terms as there are factors, before you simplify. Two factors, two terms; three factors, three.
- Missing a chain rule inside. In , the derivative of is , so the answer is . The product rule tells you where things go, but each piece still needs its own correct derivative.
Practice it now
Five minutes, no account
Product rule problems show up early in a Sprint, around difficulty 3 and 4, as a linear bracket times a quadratic or cubic one. Expand first or use the rule; the game checks your answer as maths, so any correct form counts.
FAQ
- What is the product rule in simple terms?
- Derivative of the first times the second, plus the first times the derivative of the second. Each factor gets differentiated once, never both at the same time.
- Why does the product rule work?
- Picture a rectangle with sides and , so its area is . Nudge a little and the sides grow by and . The area gains a strip along one side, a strip along the other, and a tiny corner . Divide by and let it shrink: the strips become and , and the corner is so small it vanishes. That is the whole rule.
- Does the order matter in the product rule?
- No. Because the two terms are added, and are the same. That is not true of the quotient rule, where there is a minus sign and the order matters a lot.
- When do you use the product rule instead of the chain rule?
- Product rule when two functions are multiplied (); chain rule when one is inside the other (). Ask yourself whether you would multiply or substitute to evaluate it at a number.
- Is the product rule easier than the quotient rule?
- For most people, yes. In our answer data, players get product-rule problems right 84% of the time and quotient-rule problems 76% of the time. That gap is mostly signs.
- Where can I find product rule practice problems?
- Right on this page: "Your turn" has three product rule practice problems, easy, medium and harder, checked as you type by the same checker that grades Asymptote, with the answer and the first step if you miss. For more practice against the clock, a five-minute Sprint is free and needs no account.
Keep going
Chain Rule: Steps, Examples & Practice Problems
How to use the chain rule on a function inside a function: the formula, four steps, three worked examples and three practice problems checked as you type.
Quotient Rule: Formula, Examples & Practice Problems
How to differentiate a fraction with the quotient rule: the formula, the low d-high rhyme, three worked examples and three practice problems to try.
Implicit Differentiation: Steps, Examples & Practice Problems
How to find dy/dx when y is not on its own: implicit differentiation in four steps, three worked examples, tangent lines and three practice problems.