Calculus
Product Rule and Quotient Rule: Formulas & Worked Examples
Math Solver Free Team
The product rule differentiates a product of two functions: (uv)′ = u′v + uv′ — derivative of the first times the second, plus the first times the derivative of the second. The quotient rule differentiates a ratio: (u/v)′ = (u′v − uv′)/v². One-line summary: a product's derivative has two terms, one for each factor taking its turn — it is never just u′v′. Headline examples: d/dx [x²·sin(x)] = 2x·sin(x) + x²·cos(x), and d/dx [(x² + 1)/(x − 3)] = (x² − 6x − 1)/(x − 3)². This guide works three examples with no step skipped, gives memory hooks that are actually accurate, and finishes with the mistake — differentiating each factor and adding or multiplying the results — that these two rules exist to prevent. Every result below was verified symbolically before publication.
The product rule: each factor takes a turn
Use the product rule when two variable-containing factors are multiplied: x²·sin(x), x³·eˣ, eˣ·ln(x). The formula (uv)′ = u′v + uv′ says: build two terms. In term one, differentiate the first factor and leave the second alone. In term two, leave the first alone and differentiate the second. Add them. The memory hook that keeps the structure straight: "the derivative of the first times the second, plus the first times the derivative of the second" — say it as you write it, one clause per term. Why two terms? Because both factors are changing at once: the product grows partly because u grows (with v as the multiplier) and partly because v grows (with u as the multiplier). The derivative counts both contributions. If one factor is a constant, like 5·sin(x), you do not need the product rule at all — constants simply ride along: 5·cos(x). And if a factor is itself a composite, its turn is taken with the chain rule, as in our chain rule guide. To check any answer instantly, the derivative calculator applies exactly these rules.
Worked example 1 (product): d/dx [x²·sin(x)] = 2x·sin(x) + x²·cos(x)
Set u = x² and v = sin(x). Then u′ = 2x and v′ = cos(x). Term one, u′v: 2x·sin(x). Term two, uv′: x²·cos(x). Add: d/dx [x²·sin(x)] = 2x·sin(x) + x²·cos(x). Nothing cancels and nothing should — a two-term answer is the signature of a correct product-rule computation. Spot check at x = 1: the formula gives 2·sin(1) + cos(1) ≈ 2(0.8415) + 0.5403 ≈ 2.2233, and a numeric difference quotient of x²·sin(x) at x = 1 agrees. Notice what the tempting wrong answer u′v′ = 2x·cos(x) would predict at x = 1: about 1.0806 — not even half the true slope. The product of the derivatives is not the derivative of the product.
Worked example 2 (product): d/dx [x³·eˣ] = eˣ(x³ + 3x²)
Set u = x³ and v = eˣ. Then u′ = 3x² and v′ = eˣ (the exponential is its own derivative). Term one, u′v: 3x²·eˣ. Term two, uv′: x³·eˣ. Add: 3x²eˣ + x³eˣ. Both terms share the factor eˣ, so tidy up by factoring: d/dx [x³·eˣ] = eˣ(x³ + 3x²). Factoring at the end is optional for correctness but valuable for the next step of a larger problem — critical points, for instance, are far easier to find from the factored form, since eˣ is never zero and the polynomial factor does all the work. At x = 1 the derivative is e(1 + 3) = 4e ≈ 10.873, matching the numeric slope. The same two-turn pattern handles eˣ·ln(x): u′v + uv′ = eˣ·ln(x) + eˣ/x — try it in the calculator and compare term by term.
The quotient rule: low d-high minus high d-low
Use the quotient rule when one function is divided by another: (x² + 1)/(x − 3), sin(x)/x, eˣ/(x + 1). The formula is (u/v)′ = (u′v − uv′)/v², where u is the numerator ("high") and v is the denominator ("low"). The classic memory hook is accurate if you keep the order: "low d-high minus high d-low, all over low squared" — the denominator times the derivative of the numerator, minus the numerator times the derivative of the denominator, over the denominator squared. Two features distinguish it from the product rule: the numerator is a difference, so the order of the terms matters (swapping them flips the sign of the whole answer), and the denominator is squared in the result whatever it was before. A useful cross-check: any quotient u/v can be rewritten as u·v^(−1) and done with the product rule plus the chain rule — the answers must agree, which makes the rewrite a genuine verification method, not just an alternative.
Worked example 3 (quotient): d/dx [(x² + 1)/(x − 3)] = (x² − 6x − 1)/(x − 3)²
High: u = x² + 1, so u′ = 2x. Low: v = x − 3, so v′ = 1. Numerator of the answer: u′v − uv′ = 2x(x − 3) − (x² + 1)(1) = 2x² − 6x − x² − 1 = x² − 6x − 1. Denominator: v² = (x − 3)². So d/dx [(x² + 1)/(x − 3)] = (x² − 6x − 1)/(x − 3)². Spot check at x = 0: the formula gives (−1)/(9) = −1/9 ≈ −0.111, and the numeric slope of (x² + 1)/(x − 3) at x = 0 agrees — the function value there is −1/3 and it is indeed decreasing gently. Watch the one dangerous step: the minus sign in u′v − uv′ distributes over the whole second term, which is why −(x² + 1) becomes −x² − 1, not −x² + 1. More bracket errors happen on that single line than anywhere else in the quotient rule.
Which rule? Product, quotient or chain
- Two factors multiplied (x²·sin x) → product rule.
- One function divided by another ((x² + 1)/(x − 3)) → quotient rule — or rewrite as a product with a negative power and use product + chain.
- One function inside another (sin(x²)) → chain rule.
- Combinations are normal: in d/dx [e^(2x)·sin(x)] the product rule runs the show, and the chain rule supplies e^(2x)'s derivative, 2e^(2x), on its turn. Name the outermost structure first; the inner rules follow.
These single-variable rules are also the engine inside multivariable work: a partial derivative freezes all variables but one and then applies exactly these moves, as the worked computations in our partial derivative examples show. The reference treatment is OpenStax Calculus Volume 1, §3.4 (Derivatives as Rates of Change) and the product and quotient rule sections of Chapter 3, free online.
Common mistakes
- Differentiating each factor and multiplying (or just adding) the derivatives. (x²·sin x)′ is not 2x·cos x. The product rule's answer is a sum of two mixed terms, u′v + uv′ — each term keeps one factor untouched. Forgetting the second term, or the first, is the same family of error: one factor never took its turn.
- Swapping the quotient rule's numerator. It is u′v − uv′, low d-high minus high d-low. Written backwards, every sign in the answer flips.
- Forgetting to square the denominator. The result's denominator is v² even when v was a simple linear expression: (x − 3)², not (x − 3).
- Distributing the minus sign halfway. −(x² + 1) is −x² − 1. The subtraction applies to every term inside the brackets.
Frequently asked questions
What is the product rule formula?
(uv)′ = u′v + uv′: the derivative of the first times the second, plus the first times the derivative of the second. Both terms are required, every time.
What is the quotient rule formula?
(u/v)′ = (u′v − uv′)/v²: low d-high minus high d-low, all over low squared. The order in the numerator matters because it is a subtraction.
Is the derivative of a product just the product of the derivatives?
No. (x²·sin x)′ = 2x·sin x + x²·cos x, not 2x·cos x. Each factor must take a turn being differentiated while the other stays fixed.
Can I avoid the quotient rule by rewriting?
Yes: u/v = u·v^(−1), then use the product rule with the chain rule on v^(−1). The result is identical, and doing both ways is a strong self-check.
What is the derivative of x³·eˣ?
eˣ(x³ + 3x²): the product rule gives 3x²eˣ + x³eˣ, and factoring out the shared eˣ gives the tidy form.