Maths WorkshopMaths problems with full solutions
Exercise 1829Algebra › PolynomialsL1Added 3 Nov 2026

Roots of a cubic and discriminant

#cubic#discriminant#roots

Statement

Find the number of real roots of P(X)=X3−3X+1P(X)=X^3-3X+1 as a function of nothing (it is fixed), using the discriminant.

Hint

The discriminant of X3+pX+qX^3+pX+q is Δ=−4p3−27q2\Delta=-4p^3-27q^2.

Show solutionHide solution

Solution

Discriminant. With p=−3p=-3, q=1q=1: Δ=−4(−27)−27(1)=108−27=81>0\Delta=-4(-27)-27(1)=108-27=81>0.

Conclusion. Since Δ>0\Delta>0, the cubic has three distinct real roots.

Verification. P(−2)=−8+6+1=−1<0P(-2)=-8+6+1=-1<0, P(−1)=−1+3+1=3>0P(-1)=-1+3+1=3>0, P(0)=1>0P(0)=1>0, P(1)=1−3+1=−1<0P(1)=1-3+1=-1<0, P(2)=8−6+1=3>0P(2)=8-6+1=3>0. So roots in ]−2,−1[]-2,-1[, ]0,1[]0,1[, and ]1,2[]1,2[.