Maths WorkshopMaths problems with full solutions
Exercise 945Algebra › Equations and radicalsL1Added 3 Nov 2026

A cubic by factoring

#cubic#factoring#rational root

Statement

Solve in R\mathbb{R} the equation
x3−3x2−4x+12=0.x^3-3x^2-4x+12=0.

Hint

Look for an obvious integer root, then factor.

Show solutionHide solution

Solution

Rational root test. Test x=2x=2: 8−12−8+12=08-12-8+12=0. So x=2x=2 is a root.

Factor. Divide by x−2x-2:
x3−3x2−4x+12=(x−2)(x2−x−6)=(x−2)(x−3)(x+2).x^3-3x^2-4x+12=(x-2)(x^2-x-6)=(x-2)(x-3)(x+2).

Roots. x=2x=2, x=3x=3, x=−2x=-2.

Conclusion. x∈{−2,2,3}x\in\{-2,2,3\}.