silemus.

27Roots of a cubic

Find all roots of x3+2x2−5x−6=0\displaystyle x^3 + 2x^2 - 5x - 6 = 0.

The roots are x = −1, −3, and 2. Testing x = −1 gives zero, so (x+1) factors out, leaving x² + x − 6 = (x+3)(x−2); checking x=2 gives 8+8−10−6=0.

How good is this answer?