Watch on Instagram

Math Bytes · Calculus · Episode 7 · "Derivatives: chain rule and advanced topics"

The product rule

The derivative of a product is not the product of the derivatives. The product rule takes turns: (fg)′ = f′g + fg′.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

The tempting guess that fails

If y = f · g, it's tempting to just multiply the two derivatives: f′ · g′. That doesn't work.

Test it on x² · x³. Simplified first, that's x⁵, and by the power rule its derivative is 5x⁴. The guess gives 2x · 3x² = 6x³. Those don't match, so the guess is wrong.

The product rule: take turns

The product rule says:

(fg)′ = f′g + fg′

Each factor gets one turn being differentiated while the other stays as it is, and you add the two results. The order of the two terms doesn't matter, since addition commutes.

Check it on x² · x³

| Turn | Work | Result | |---|---|---| | Derivative of the first × the second | 2x · x³ | 2x⁴ | | The first × derivative of the second | x² · 3x² | 3x⁴ | | Add them | 2x⁴ + 3x⁴ | 5x⁴ ✓ |

Same answer as simplifying to x⁵ first. For x² · x³ simplifying is easier; the example is used because the right answer is easy to check. The rule earns its keep when the factors don't combine so neatly.

Worked example: y = (2x + 1) · x². Here f = 2x + 1 with f′ = 2, and g = x² with g′ = 2x. So y′ = 2 · x² + (2x + 1) · 2x = 2x² + 4x² + 2x = 6x² + 2x. Check by expanding: y = 2x³ + x², so y′ = 6x² + 2x ✓.

Try it yourself

  1. Find the derivative of y = x(x² + 1) with the product rule. What is it at x = 2?
  2. Find the derivative of y = (x + 2)(x − 3). Check by expanding first.

(Answers: 1. 1 · (x² + 1) + x · 2x = 3x² + 1, which is 13 at x = 2. 2. 1 · (x − 3) + (x + 2) · 1 = 2x − 1; expanding gives x² − x − 6, derivative 2x − 1 ✓.)

Good to know

  • Product rule: (f·g)′ = f′·g + f·g′ (AP CED Unit 2; OpenStax 3.3; MathWorld "Product Rule").
  • The order of the two terms doesn't matter since addition commutes.
  • x² · x³ could also be done by simplifying to x⁵ first; it's used here only because the right answer is easy to check.
  • Checks: x² · x³ = x⁵, derivative 5x⁴ ✓; wrong guess 2x · 3x² = 6x³ ≠ 5x⁴ ✓; product rule 2x · x³ + x² · 3x² = 2x⁴ + 3x⁴ = 5x⁴ ✓.

Answer to the comment question

y = x²(x + 1). What's dy/dx at x = 1? dy/dx = 5. By the product rule, dy/dx = 2x(x + 1) + x² · 1. At x = 1: 2 · 1 · 2 + 1 = 5. Check by expanding: y = x³ + x², so dy/dx = 3x² + 2x, and at x = 1 that's 3 + 2 = 5.

Test your knowledge

Quick quiz: The product rule

4 multiple-choice questions. Pick one answer for each, then check how you did.

1Is the derivative of f · g equal to f′ · g′?
2Which formula is the product rule?
3Using the product rule on x² · x³, what is the first turn, (x²)′ · x³?
4What is the derivative of (2x + 1) · x²?

Sources

Video transcript

How do you take the derivative of two things multiplied together?

First guess: multiply their derivatives. That fails.

Try x² times x³, which is x⁵. Its derivative is 5x⁴. But 2x times 3x² is 6x³. No match.

The product rule says take turns. Derivative of the first times the second, plus the first times derivative of the second.

2x times x³ is 2x⁴. x² times 3x² is 3x⁴. Add them: 5x⁴. It works!

Your turn. y = x²(x + 1). What's the derivative at x = 1? Comment your answer below!

That's your byte.

More from Calculus

All Calculus lessons