The product rule tells you how to differentiate two expressions that are multiplied together. If and are both differentiable at , then
This is the derivative rule for products such as and . Differentiate the first factor once, then the second factor once, and add the results.
Product rule formula
Start with
If both functions are differentiable, then
In words: differentiate the first and keep the second, then keep the first and differentiate the second. The rule depends on both factors changing with .
Why the product rule has two terms
When two changing quantities are multiplied, the product can change in two ways. The first factor can change while the second stays fixed for that moment, or the second factor can change while the first stays fixed.
That is why the derivative has two terms instead of one.
Worked example:
Find the derivative of
This is a product of two functions:
Differentiate each factor:
Apply the product rule:
So
A common wrong answer is . That comes from differentiating both factors and multiplying the results, which is not the product rule.
Common product rule mistakes
- Writing . In general, that is not the derivative of .
- Forgetting one term and writing only or only .
- Confusing the product rule with the chain rule. is a product, but is a composition.
- Dropping parentheses when one factor is a longer expression, such as .
When to use the product rule
Use the product rule when a function is written as one differentiable factor times another differentiable factor, and both depend on . Common cases include:
- A polynomial times a trig function, such as
- A polynomial times an exponential, such as
- A logarithmic product, such as
- A product where one factor also needs the chain rule, such as
If one factor is a constant, the rule reduces to the constant multiple rule.
A quick check after differentiating
Before simplification, a product rule answer usually has two added terms. If you see only one term right away, check whether you dropped part of the derivative.
Try your own version
Differentiate and check whether your result has two terms. Then try a nearby comparison: for , notice that the structure changed, so the chain rule is the better tool there.
Frequently Asked Questions
- What is the product rule in calculus?
- The product rule tells you how to differentiate two functions that are multiplied together. If f and g are both differentiable at x, the derivative of f(x)g(x) is f'(x)g(x) + f(x)g'(x). In words: differentiate the first factor and keep the second, then keep the first and differentiate the second, and add the results.
- Why does the product rule have two terms?
- When two changing quantities are multiplied, the product can change in two ways. The first factor can change while the second stays momentarily fixed, or the second factor can change while the first stays fixed. Each source of change contributes one term, which is why the derivative has two terms instead of one.
- What is the derivative of x squared times sin x?
- Using the product rule with f(x) = x squared and g(x) = sin x, the derivative is 2x sin x plus x squared cos x. A common wrong answer is 2x cos x, which comes from differentiating both factors and multiplying the results. That is not how the product rule works.
- What is the difference between the product rule and the chain rule?
- The product rule applies when two functions are multiplied, such as x squared times sin x. The chain rule applies when one function is inside another, such as sin of x squared, which is a composition. Confusing the two is a common mistake, so identify the structure of the expression before differentiating.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →