Differentiate f(x)=x2(x+1) with the product rule, then check the result by expanding first.
f(x)=x2(x+1)
1
Name the two factors
Write f(x)=u(x)v(x) with u=x2 and v=x+1. Each factor has a simple derivative, u′=2x and v′=1.
u=x2, u′=2x,v=x+1, v′=1
u=x2, u′=2xv=x+1, v′=1
2
Apply the product rule
Differentiate the first factor and keep the second, then keep the first factor and differentiate the second. The rule allows this because both factors have a derivative at every x.
f′(x)=2x(x+1)+x2(1)
3
Simplify
Expand and collect like terms. 2x2+2x+x2=3x2+2x.
f′(x)=3x2+2x
4
Check by expanding first
Multiplying out gives f(x)=x3+x2, and the power rule gives 3x2+2x. The two methods agree. At x=2 both give 16, the rate the nudge of 0.01 suggested.
f(x)=x3+x2f′(x)=3x2+2x
Result
f′(x)=3x2+2x.
f′(x)=3x2+2x
Your turn
1. One like the example
Differentiate f(x)=(2x+1)(x2−3), then check by multiplying out.
Show the answer and explanation
f′(x)=6x2+2x−6.
The factors 2x+1 and x2−3 have derivatives 2 and 2x. The product rule gives 2(x2−3)+(2x+1)(2x)=2x2−6+4x2+2x=6x2+2x−6. Multiplying out first gives 2x3+x2−6x−3, and the power rule gives the same derivative.
Differentiate g(x)=x3ex. This product cannot be multiplied out.
Show the answer and explanation
g′(x)=3x2ex+x3ex=x2ex(x+3).
The first factor x3 has derivative 3x2, and the second factor ex is its own derivative. The product rule gives 3x2⋅ex+x3⋅ex, and factoring out x2ex gives x2ex(x+3).
g(x)=x3exg′(x)=3x2ex+x3exg′(x)=x2ex(x+3)
3. Somewhere new
A garden bed is being enlarged. After t weeks it is 10+2t meters long and 4+t meters wide. How fast is its area growing at t=3?
Show the answer and explanation
A′(3)=30 m2 per week.
The area is the product A(t)=(10+2t)(4+t). The length grows at 2 m per week and the width at 1 m per week. The product rule gives A′(t)=2(4+t)+(10+2t)(1)=4t+18. At t=3 the bed is 16 m by 7 m, and A′(3)=2⋅7+16⋅1=30 m2 per week.