Chalk−1

Math · Calculus I · Worked example

Differentiate x²(x + 1) with the product rule

Differentiate f⁡(x)=x2(x+1) with the product rule, then check the result by expanding first.

f⁡(x)=x2(x+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′=2⁢x and v′=1.

u=x2,  u′=2⁢x,v=x+1,  v′=1
u=x2,  u′=2⁢xv=x+1,  v′=1

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)=2⁢x⁢(x+1)+x2(1)

Simplify

Expand and collect like terms. 2x2+2⁢x+x2=3x2+2⁢x.

f′(x)=3x2+2⁢x

Check by expanding first

Multiplying out gives f⁡(x)=x3+x2, and the power rule gives 3x2+2⁢x. The two methods agree. At x=2 both give 16, the rate the nudge of 0.01 suggested.

f⁡(x)=x3+x2f′(x)=3x2+2⁢x

Result

f′(x)=3x2+2⁢x.

f′(x)=3x2+2⁢x

Your turn

1. One like the example

Differentiate f⁡(x)=(2⁢x+1)⁢(x2−3), then check by multiplying out.

Show the answer and explanation

f′(x)=6x2+2⁢x−6.

The factors 2⁢x+1 and x2−3 have derivatives 2 and 2⁢x. The product rule gives 2⁢(x2−3)+(2⁢x+1)⁢(2⁢x) =2x2−6+4x2+2⁢x =6x2+2⁢x−6. Multiplying out first gives 2x3+x2−6⁢x−3, and the power rule gives the same derivative.

f⁡(x)=(2⁢x+1)⁢(x2−3)f′(x)=2⁢(x2−3)+(2⁢x+1)⁢(2⁢x)f′(x)=6x2+2⁢x−6

2. A variation

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+2⁢t 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+2⁢t)⁢(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+2⁢t)⁢(1) =4⁢t+18. At t=3 the bed is 16 m by 7 m, and A′(3) =2⋅7+16⋅1 =30 m2 per week.

A⁢(t)=(10+2⁢t)⁢(4+t)A′(t)=2⁢(4+t)+(10+2⁢t)⁢(1)A′(t)=4⁢t+18A′(3)=30

Keep exploring

Open Product Rule Geometry at x=1 and shrink h: the two edge strips give the derivative 5, and the corner vanishes.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Study it, then try it

Practice the key terms as flashcards, then open the example in its tool, change a value and keep a useful result on your board.

Study the 4 key terms Open Product Rule Geometry Check the derivative in Math Open worked example on a board Product rule in Math Reference

Your existing work stays on this device. Examples open as editable copies.