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.
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.
Apply the product rule
Differentiate the first factor and keep the second, then keep the first factor and differentiate the second.
Simplify
Expand and collect like terms: 2x² + 2x + x² = 3x² + 2x.
Check by expanding first
Multiplying out gives f(x) = x³ + x², and the power rule gives 3x² + 2x. The two methods agree.
Result
f′(x) = 3x² + 2x.
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).
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.
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 ReferenceYour existing work stays on this device. Examples open as editable copies.