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′.
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
- Find the derivative of
y = x(x² + 1)with the product rule. What is it atx = 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 tox⁵first; it's used here only because the right answer is easy to check.- Checks:
x² · x³ = x⁵, derivative5x⁴✓; wrong guess2x · 3x² = 6x³ ≠ 5x⁴✓; product rule2x · 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.
Sources
- OpenStax, "Calculus Volume 1, 3.3 Differentiation Rules": the product rule; the derivative of a product is not the product of the derivatives
- College Board, "AP Calculus AB and BC Course and Exam Description": Unit 2, the product rule
- Wolfram MathWorld, "Product Rule": (fg)′ = f′g + fg′
- MIT OpenCourseWare, "18.01 Single Variable Calculus (Fall 2006)": lecture notes on the product and quotient rules
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
- Calculus EP4What a derivative is
- Calculus EP5The derivative as a limit
- Calculus EP9Implicit differentiation
- Calculus EP10Related rates