How to Solve a Cubic Equation

Can you solve x3 – 6x2 + 11x – 6 = 0 without a cubic formula? Yes, and it takes four short steps. This guide shows the method with worked examples you can check by hand.

Quick Answer

To solve a cubic equation, list the possible rational roots and test them until one gives zero. Divide that root out, and a quadratic is left to solve by factoring or the quadratic formula. Every cubic with real coefficients has at least one real root, and the discriminant shows which root types to expect.

What Counts as a Cubic Equation

A cubic equation has the form ax3 + bx2 + cx + d = 0, where a is not zero. If a were zero, the x3 term would vanish and you would have a quadratic instead.

Here is the helpful fact. When the coefficients are real numbers, a cubic always has at least one real root. That holds for every odd-degree polynomial, so the graph crosses the x-axis at least once.

If linear equations still feel shaky, start with our guide to linear equations. If your coefficients are fractions, multiply every term by a common multiple to get whole numbers. You can check any answer in our cubic equation solver.

The history is short. Scipione del Ferro found a method for one class of cubics early in the 16th century. Cardano published it in his book Ars Magna in 1545. This guide uses the factor-and-divide method instead.

Read the Root Types From the Discriminant

The discriminant tells you what kind of roots to expect before you solve anything. For a cubic it is 18abcd – 4b3d + b2c2 – 4ac3 – 27a2d2, written as Δ.

With real coefficients, a positive Δ means three distinct real roots. A negative Δ means one real root and two complex roots that are conjugates. A zero Δ means a repeated root, and every root is real.

How the discriminant shapes a cubic curve Three panels side by side. The left panel shows a cubic curve crossing the x-axis at three points, which happens when the discriminant is positive. The middle panel shows a curve with a bump and a dip that crosses the x-axis only once, which happens when the discriminant is negative. The right panel shows a curve that touches the x-axis at a repeated root and crosses it at one more point, which happens when the discriminant is zero. The sign of the discriminant sets how the curve meets the x-axis Δ > 0 3 distinct real roots Δ < 0 1 real root, 2 complex Δ = 0 A repeated root, all real
The sign of the discriminant tells you how many times the curve crosses the axis.
Discriminant checks, worked from the formula above
Sign of Δ Root types a, b, c, d Δ Roots found
Positive Three real, distinct 1, -6, 11, -6 4 1, 2, 3
Positive Three real, distinct 2, -4, -22, 24 112,896 4, -3, 1
Negative One real, two complex 1, 0, 0, -1 -27 1 and -0.5 ± 0.866i
Negative One real, two complex 1, 0, 0, -8 -1,728 2 and -1 ± 1.7321i
Zero Repeated root 1, -3, 3, -1 0 1 (triple)

Find a First Root With the Rational Root Test

The rational root test turns an open search into a short list. For whole-number coefficients, any rational root p/q in lowest terms has p dividing the constant term d and q dividing the leading coefficient a.

Take x3 – 6x2 + 11x – 6 = 0. Here a is 1, so q must be 1. The constant term is -6, so the candidates are plus or minus 1, 2, 3, and 6.

The rational root test as a short list Eight candidate roots across the top: 1, minus 1, 2, minus 2, 3, minus 3, 6 and minus 6. A funnel narrows them into a test step where each candidate is put into the equation. Testing x equals 1 gives 1 minus 6 plus 11 minus 6, which is zero, so 1 is a root. Only the factors of 6 need testing, not every number 1 -1 2 -2 3 -3 6 -6 Put each candidate into the equation x = 1: 1 – 6 + 11 – 6 = 0 Zero means 1 is a root
Eight candidates, one quick test, and the first root appears.

Test x = 1: 1 – 6 + 11 – 6 equals 0, so 1 is a root. Small candidates are quick to check, so try them first. Test each one with both signs, since roots can be negative, and stop when one gives zero. You only need one root to start the division.

The test finds only rational roots, so x3 – 2 = 0 has none on its list.

Divide Out the Root to Leave a Quadratic

Because x = 1 is a root, (x – 1) is a factor. Synthetic division removes it quickly, using only the coefficients.

  1. Set up the row. Write the root 1, then the coefficients 1, -6, 11, -6.
  2. Bring down the first coefficient, 1.
  3. Multiply and add. Multiply by the root, add to the next coefficient, and repeat across.
  4. Read the bottom row. It is 1, -5, 6, with a remainder of 0.
Synthetic division by x minus 1 A grid with three rows. The top row holds the root 1 and the coefficients 1, minus 6, 11, minus 6. The middle row holds the products of the root and the running result: 1, minus 5, 6. The bottom row holds the sums: 1, minus 5, 6 and a remainder of 0. The bottom row 1, minus 5, 6 stands for x squared minus 5x plus 6. Synthetic division with the root 1 Coefficients Multiply by 1 Add the column 1 1 1 -6 1 -5 11 -5 6 -6 6 0 Bottom row 1, -5, 6 means x² – 5x + 6. The last 0 is the remainder.
The remainder of 0 confirms that 1 is a root.

The division is exact because the remainder is 0. A different remainder would mean 1 is not a root, and you would try the next candidate.

The quotient is x2 – 5x + 6, which factors as (x – 2)(x – 3). If a quotient will not factor, use the formula in our guide on how to solve a quadratic equation.

The roots are 1, 2, and 3. Their sum is 6, which equals -b/a. Their product is 6, which equals -d/a.

A Second Example With a Leading Coefficient

Now solve 2x3 – 4x2 – 22x + 24 = 0. Here p divides 24 and q divides 2. That gives 20 candidates counting signs: plus or minus 1, 2, 3, 4, 6, 8, 12, 24, plus 1/2 and 3/2.

Test x = 1: 2 – 4 – 22 + 24 equals 0, so it is a root. Synthetic division on 2, -4, -22, 24 gives 2, -2, -24 with a remainder of 0. The quotient 2x2 – 2x – 24 equals 2(x – 4)(x + 3).

The roots are 1, 4, and -3. Check x = 4: 2(64) – 4(16) – 22(4) + 24 = 128 – 64 – 88 + 24 = 0. Check x = -3: 2(-27) – 4(9) – 22(-3) + 24 = -54 – 36 + 66 + 24 = 0.

The sum of the roots is 2, which matches 4/2. The product is -12, which matches -24/2. A tip: if every coefficient shares a factor, divide it out first. Dividing by 2 here leaves a = 1 and a shorter list.

When the Roots Are Complex or Repeated

Not every cubic gives three real roots. Take x3 – 1 = 0. The candidates are plus or minus 1, and x = 1 works. Use zero placeholders for the missing terms, so the coefficients are 1, 0, 0, -1.

Division leaves x2 + x + 1. Its discriminant is 1 – 4 = -3, which is negative, so the other two roots are complex: (-1 ± i√3)/2, or about -0.5 ± 0.866i. In the same way, x3 – 8 = (x – 2)(x2 + 2x + 4) has roots 2 and -1 ± 1.7321i.

Repeated roots appear when Δ is 0. The equation x3 – 3x2 + 3x – 1 = 0 is (x – 1)3 = 0, so x = 1 is a triple root. The test b2 = 3ac (9 = 9 here) signals a triple root at x = -b/(3a), which is 1.

Our solver marks this case as a triple root, and shows a double root as a double root. The test b2 = 3ac is a quick hand check for the triple case. For simple forms like x3 = 8, a cube root gives x = 2. See how to calculate powers, roots and reciprocals for a refresher.

Common Mistakes and Final Checks

  • Wrong sign on the root. A root of 1 divides as (x – 1), and a root of -3 divides as (x + 3).
  • Dropped zeros. In synthetic division, x3 – 1 is 1, 0, 0, -1.
  • Expecting too much from the test. It finds rational roots only.
  • Skipping the check. Put every root back into the equation.
  • Claiming no real root. A cubic with real coefficients always has one.

Use the discriminant as a map. If it is negative, expect complex roots from the quadratic left after division. If it is zero, expect a repeated root.

Finish every problem with a check. Substitute each root, then compare the sum and product of the roots with -b/a and -d/a. A solver gives a handy second opinion on your hand work.

Want a second opinion on your roots?

Enter a, b, c, and d in the cubic equation solver and compare its roots with the ones you found by hand.

FAQs About Cubic Equations

Does every cubic equation have a real root?

Yes, when its coefficients are real numbers. Every odd-degree polynomial has at least one real root, so a cubic graph always crosses the x-axis at least once.

What does the rational root test actually tell me?

It gives a finite list of possible rational roots. For whole-number coefficients, each root p/q in lowest terms has p dividing the constant term and q dividing the leading coefficient.

What if the rational root test finds no root?

Then the equation has no rational root, but it still has a real one. That root is irrational, as in x^3 – 2 = 0. Use a numerical method or a solver to find it.

How can I tell if a cubic has three real roots?

Compute the discriminant. If it is positive, there are three distinct real roots. If it is zero, there is a repeated root and all roots are real. If it is negative, only one root is real.

Can a cubic equation have a repeated root?

Yes. When the discriminant is zero, a root repeats. For example, x^3 – 3x^2 + 3x – 1 = 0 is (x – 1)^3 = 0, so x = 1 is a triple root.

Why do I need zeros in synthetic division?

Every power of x needs its own column. For x^3 – 1, write the coefficients as 1, 0, 0, -1. Skipping the zeros shifts the columns and gives a wrong quotient.

How can I check my cubic roots?

Put each root back into the original equation and look for zero. You can also compare the sum of the roots with -b/a and their product with -d/a.

Sources and Further Reading

References Used in This Article

This article is a general algebra guide. Check roots by putting them back into the equation. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated 2026-10-15.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~ More Posts

Shakeel is the Founder and Editor-in-Chief of MultiCalculators.com, with over 15 years of experience in digital publishing and online tool development. He oversees editorial quality, formula accuracy, and usability to ensure the platform delivers reliable, practical calculators for users worldwide.