Skip to content

Product Rule

Derivative of a product of two functions.

Variables

f, g
Differentiable functions

Explanation

Differentiate one factor at a time while keeping the other fixed, then add.

Example

.

How to use it

  1. Name the two factors and .
  2. Find and separately.
  3. Combine: . The order of the two terms doesn't matter because they're added.

Another worked example

Differentiate . Let and , so and .

Factoring at the end makes it easy to find where : here at and .

Three factors

For , differentiate one factor at a time and add: . For that gives .

When you don't need it

If one factor is a constant, just use the constant multiple rule. If you can expand easily, that's often simpler: can be multiplied out first, then differentiated term by term.

Why it works

Think of a rectangle with sides and . When both grow slightly, the area gains a strip along one side and along the other. The tiny corner piece vanishes in the limit.

Common mistakes

  • Writing . This is the classic error. Check with : the true derivative is , but .
  • Forgetting the chain rule inside a factor, such as differentiating as instead of .
  • Dropping a term when simplifying.

Where it's used

  • Economics: revenue is price times quantity, and both may change, so marginal revenue needs the product rule.
  • Physics: momentum when mass changes, as with a rocket burning fuel.
  • Growth models: a population times a per-person rate, both varying over time.
  • Calculus: deriving integration by parts and differentiating functions like .

Key takeaways

  • .
  • It's never just .
  • Factor the result to find zeros easily.

Try it: Derivative Calculator

Differentiate functions step by step using the power, product, quotient and chain rules. Supports higher-order and partial derivatives.

Open calculator

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.Differentiate .

    Show answer

    .

  2. 2.Differentiate .

    Show answer

    .

  3. 3.Differentiate .

    Show answer

    .

  4. 4.Differentiate .

    Show answer

    .

  5. 5.Differentiate .

    Show answer

    .

Key terms

Product
The result of multiplying two expressions.
Factor
One of the expressions being multiplied.
Leibniz rule
The general formula for higher derivatives of a product.
Differentiable
Having a derivative at every point considered.
Critical point
Where the derivative is zero or undefined.

Frequently asked questions

How do I remember the product rule?

"First times derivative of the second, plus second times derivative of the first." Either order works because the two terms are added.

Can I avoid the product rule?

Sometimes. If you can multiply the factors out into a polynomial, do that. You can't avoid it for products like .

What's the product rule for integrals?

Integration by parts. It comes from integrating both sides of the product rule.

What's the second derivative of a product?

, which looks like the binomial expansion of .

How do I find where $y = x e^{-x}$ has a maximum?

, which is zero at . The maximum value is .

Does the order of the two factors matter?

No. Multiplication and addition are both commutative, so and are equal.

How do I differentiate $x\sqrt{x + 1}$?

, . Then .

Is there a product rule for more than two factors?

Yes. Differentiate one factor at a time, keep the others, and add all the terms. With factors you get terms.

Who discovered the product rule?

Gottfried Leibniz wrote it down in the 1670s while developing calculus.

Related formulas

More calculus formulas