Chalk−1

Math · Calculus I · Worked example

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

Differentiate f(x) = x²(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 = x² and v = x + 1. Each factor has a simple derivative: u′ = 2x 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.

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

Simplify

Expand and collect like terms: 2x² + 2x + x² = 3x² + 2x.

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

Check by expanding first

Multiplying out gives f(x) = x³ + x², and the power rule gives 3x² + 2x. The two methods agree.

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

Result

f′(x) = 3x² + 2x.

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

Your turn

Differentiate g(x) = x³eˣ.

Show the answer and explanation

g′(x) = 3x²eˣ + x³eˣ = x²eˣ(x + 3).

The first factor x³ has derivative 3x² and the second factor eˣ is its own derivative. The product rule gives 3x²·eˣ + x³·eˣ, and factoring out x²eˣ gives x²eˣ(x + 3).

g⁡(x)=x3exg⁡′(x)=3x2ex+x3ex

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.

Make it concrete

Try in the workspace

Open the example inputs, change a value and keep a useful result on your board.

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.