Algebra

How to Solve Cubic Equations Using the Factor Theorem

By Math Solving Space · · 2 min read

On this page
  1. Step 1: Try likely roots
  2. Step 2: Divide out the factor
  3. Step 3: Solve the quadratic
  4. Worked example 2
  5. When there is no nice root
  6. Common mistakes
  7. Practice questions
  8. Frequently asked questions

To solve a cubic ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0, first find one root by testing likely values (the rational root theorem). If x=rx = r is a root, then (x−r)(x - r) is a factor. Divide it out to leave a quadratic, then solve that with the quadratic formula.

Step 1: Try likely roots

Any rational root pq\frac{p}{q} has pp dividing the constant dd and qq dividing the leading coefficient aa. For x3−6x2+11x−6=0x^3 - 6x^2 + 11x - 6 = 0, try ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6.

f(1)=1−6+11−6=0f(1) = 1 - 6 + 11 - 6 = 0, so x=1x = 1 is a root.

Step 2: Divide out the factor

Divide by (x−1)(x - 1) (long or synthetic division):

x3−6x2+11x−6=(x−1)(x2−5x+6)x^3 - 6x^2 + 11x - 6 = (x - 1)(x^2 - 5x + 6)

Step 3: Solve the quadratic

x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3), so the roots are

x=1,  2,  3x = 1,\; 2,\; 3

Worked example 2

2x3−3x2−3x+2=02x^3 - 3x^2 - 3x + 2 = 0. Testing x=−1x = -1: −2−3+3+2=0-2 - 3 + 3 + 2 = 0 ✓. Dividing gives (x+1)(2x2−5x+2)=(x+1)(2x−1)(x−2)(x + 1)(2x^2 - 5x + 2) = (x + 1)(2x - 1)(x - 2), so x=−1,12,2x = -1, \frac{1}{2}, 2.

When there is no nice root

x3−2x−5=0x^3 - 2x - 5 = 0 has no rational root (none of ±1,±5\pm1, \pm5 work). Its only real root is irrational, about x≈2.0946x \approx 2.0946, found numerically. The other two roots are complex.

Common mistakes

  • Testing only positive candidates.
  • Arithmetic slips in synthetic division.
  • Forgetting complex roots when the quadratic's discriminant is negative.

Practice questions

  1. Show x=2x = 2 is a root of x3−8x^3 - 8.
  2. Solve x3−x=0x^3 - x = 0.
  3. Solve x3+x2+x+1=0x^3 + x^2 + x + 1 = 0.

Answers: 1) 8−8=08 - 8 = 0 2) x=−1,0,1x = -1, 0, 1 3) x=−1x = -1 and x=±ix = \pm i

The cubic equation solver does all three steps and graphs the curve. To factor any polynomial use the polynomial factoring calculator, and see how to factor polynomials.

Frequently asked questions

Is there a cubic formula?

Yes (Cardano's formula), but it is long and awkward. The factor theorem is quicker when a rational root exists.

How many roots does a cubic have?

Three in total, counting repeated and complex roots. At least one is real.

What is synthetic division?

A shortcut for dividing a polynomial by (x − r) using only the coefficients.

Open the calculator →

#algebra#polynomials#equations