Cubic Equation Solver logo
Cubic Equation Solver

Cubic Equation Solver

Cubic Roots solver

Find real and complex roots, discriminant, and cubic graphs in seconds with our precision solver.

The Equation

Enter coefficients to find all three roots, real and complex, of your cubic equation.

f(x) = 0 = 0

Enter coefficients and solve to view the calculation, graph, and step-by-step explanation.

The Solution

Calculation: Cubic Roots Calculator

Cubic Roots Calculator

Enter your polynomial coefficients above and click "Find All Roots" to see results.
Graph will appear here after you solve.

The Treatise

What isCubic Roots Calculator?

  • For a school student: The roots of a cubic are the places where its roller-coaster graph crosses the ground. A cubic curve can cross up to three times, touch and bounce, or cross just once. Finding the roots means finding exactly where those crossings happen.
  • For a college student: The roots of ax³ + bx² + cx + d = 0 are the values r with f(r) = 0. The factor theorem says each root r gives a factor (x − r), so finding one root reduces the cubic to a quadratic. The standard ladder is: rational root theorem first, then the quadratic formula, with Cardano's method as the exact fallback.
  • For the advanced reader: The cubic is the highest degree for which a general radical solution remains practical; Abel-Ruffini closes the door at degree five. The Galois group of an irreducible cubic is either A₃ or S₃, decided by whether the discriminant is a square. Numerically, the Jenkins-Traub algorithm and Newton's method with deflation are the workhorses, each with its own convergence quirks near multiple roots.
  • Why it matters in practice: Roots are the answers to every applied cubic: break-even points, resonance frequencies, intersection coordinates. Check the discriminant first to know how many real roots to hunt for, then let this tool find them all, including complex pairs when they occur.

The Formula

Formula / Method

  • Rational root theorem: Any rational root p/q (in lowest terms) of ax³ + bx² + cx + d = 0 has p dividing d and q dividing a. Test these candidates first with our rational root theorem calculator.
  • Factor and reduce: Each found root r gives a factor (x − r). Divide it out with synthetic division to get a quadratic, then finish with the quadratic formula.
  • Exact fallback: If no rational root exists, Cardano's method expresses the roots in radicals after depressing the cubic.
  • A common trap: Stopping after one root. A cubic has three roots counting multiplicity, and the missing ones may be complex. Always account for all three, complex or real.

The Method

How To Use

  1. Step 1. Enter your coefficients a, b, c, d for ax³ + bx² + cx + d = 0.
  2. Step 2. Press "Find Roots". The tool tries rational candidates, factors, and exact methods automatically.
  3. Step 3. Read all three roots, with multiplicities labeled and complex pairs shown in a + bi form.
  4. Step 4. Verify by substitution, or cross-check the symmetric relations with our Vieta's formulas calculator.

Key Features

  • Finds all three roots, real and complex, with multiplicities clearly labeled.
  • Shows the solution path: which rational candidates were tested and how the cubic factored.
  • Falls back to exact Cardano radicals when no rational root exists.
  • Displays complex roots in standard a + bi form with both parts simplified.
  • Links each result to the discriminant verdict so the root count never surprises you.

The Illustration

Visual Diagram

3 distinct real roots 1 real + 2 complex Repeated roots
Example Concept
Find the roots of x³ − 6x² + 11x − 6 = 0. Rational candidates are ±1, ±2, ±3, ±6. Testing x = 1: 1 − 6 + 11 − 6 = 0. Root found. Synthetic division: 1 | 1 −6 11 −6 → 1, −5, 6, 0 The quotient is x² − 5x + 6 = (x − 2)(x − 3). The three roots are 1, 2, 3. A two-second check with Vieta's formulas: sum 1 + 2 + 3 = 6 = −(−6). Done.

The Deep Dive

Interactive Deep Dive

The rational root theorem deserves its reputation as the first tool to reach for. If p/q in lowest terms satisfies ax³ + bx² + cx + d = 0, multiplying through by q³ shows p must divide the constant term d and q must divide a. For monic cubics this collapses beautifully: any rational root is an integer dividing d. Most textbook and contest cubics are built this way, which is why the theorem cracks them in seconds. Our rational root theorem calculator generates and tests the full candidate list.

Synthetic division is the engine room of root-finding. Once a root r is known, the factor (x − r) divides the cubic evenly, leaving a quadratic quotient. The synthetic tableau performs this division with a fraction of the writing of long division: bring down, multiply, add, repeat. The last number must be zero, which doubles as a verification of the root. The synthetic division calculator shows every row of the tableau in full detail.

When no rational root exists, two roads remain. The exact road is Cardano's method: depress the cubic, apply the radical formula, shift back. The numerical road is Newton's method or the Jenkins-Traub algorithm with deflation, which converge to high-precision decimals from any starting guess. Numerics are faster for applied work, but they can stumble near multiple roots where the derivative also vanishes. Knowing both roads, and when each is appropriate, is the mark of a mature problem solver.

Multiplicity changes the story. A double root like in (x − 2)²(x + 1) still counts as two of the three roots, and the discriminant is zero exactly in these cases. Graphically the curve touches the axis at a multiple root instead of crossing it, with a turning point sitting precisely on the axis there. Never report "two roots" for a cubic: with multiplicity, the count is always three.

Complex roots are not second-class citizens. For real coefficients they arrive in conjugate pairs, and they carry genuine information: in control theory they encode oscillation frequencies, in electrical engineering they describe impedance. They are presented in a + bi form, and the fundamental theorem of algebra guarantees the full set of three roots, real or complex, always exists. A "root" that is complex is still a root.

The Applications

Real-World Applications

⚙

Engineering Resonance

Third-order systems in mechanical and electrical engineering have cubic characteristic equations whose roots are the system's natural frequencies and damping rates. Finding them tells the engineer whether the design will oscillate, how fast it settles, and whether resonance with external forcing is a danger.

📈

Economics Break-Even

Cubic cost and revenue models can cross up to three times, giving multiple break-even points. Each root is a production level where profit is exactly zero. Knowing all three, rather than just the first, changes pricing and scaling decisions completely.

🎨

Computer Graphics

Ray tracers solve cubics to find where light rays strike curved surfaces and Bezier patches. Every pixel of a rendered frame may hide several cubic root computations. Fast, reliable root-finding is part of why modern graphics look the way they do.

⚡

Physics Eigenvalues

The characteristic polynomial of a 3×3 matrix is cubic, so its eigenvalues are cubic roots. From coupled oscillators to quantum three-level systems, the roots of that polynomial are the physically measurable quantities: frequencies, energies, and decay rates.

📚

Education Standard

Finding cubic roots is the capstone exercise of high-school algebra: it chains the rational root theorem, synthetic division, and the quadratic formula into one satisfying workflow. Students who can run this ladder fluently have mastered the core techniques of polynomial algebra.

The Cautions

Common Mistakes to Avoid

MISTAKE Nº 1

Stopping after one root: A cubic has three roots counting multiplicity. Finding x = 1 and declaring victory misses the other two. Always factor fully and account for all three.

MISTAKE Nº 2

Ignoring complex roots: When the quadratic factor has a negative discriminant, two roots are complex, not absent. Report them in a + bi form instead of pretending the cubic has only one root.

MISTAKE Nº 3

Not verifying by substitution: Plugging each candidate back into the original equation takes seconds and catches nearly every arithmetic slip. Make it a reflex, or use Vieta's formulas for a one-line sanity check.

MISTAKE Nº 4

Sign errors in synthetic division: The tableau's add-multiply rhythm is simple but the signs are treacherous, especially with negative coefficients. One flipped sign poisons the quotient and the remaining roots.

MISTAKE Nº 5

Assuming roots must be rational: Most cubics in the wild have irrational or complex roots. If no candidate from the rational root theorem works, switch to Cardano's method or numerical approximation instead of forcing it.

The Reference

Quick Reference Table

Quick Reference TableREF
Total RootsAlways exactly 3 (counting multiplicity)
Real Root GuaranteeAt least 1 real root always exists
Complex RootsAlways appear in conjugate pairs (a±bi)
Methods UsedCardano, trigonometric, numerical
VerificationSubstitute each root back into the original equation

The Questions

Frequently Asked Questions

How many roots does a cubic equation have? +

Three, counting multiplicity and including complex roots. That is the fundamental theorem of algebra applied to degree three.

Are the roots always real numbers? +

No. A cubic has either three real roots or one real root plus a complex conjugate pair. The discriminant tells you which case you have before you compute anything.

What is the fastest method by hand? +

The rational root theorem: list candidates, test them, then factor. It solves most textbook cubics in under a minute.

What if no rational root exists? +

Use Cardano's method for exact radical forms, or a numerical method like Newton's for decimal approximations. Both always work.

How do I check my answers? +

Substitute each root back into the equation, or use Vieta's formulas: the three roots must satisfy the sum, pairwise-sum, and product relations.

What is a multiple root? +

A root that appears more than once in the factorization, like the double root 2 in (x − 2)²(x + 1). A zero discriminant is the exact detector of this situation.

Can a cubic have exactly two real roots? +

Counting multiplicity, no: the possibilities are three real roots (one possibly repeated) or one real root with a complex pair. Complex roots of real polynomials always come in pairs.

Do I need to memorize the cubic formula? +

No. Understand the rational-root-then-factor ladder for hand work, and let tools handle Cardano's formula. Memorizing the formula without understanding the ladder is the worst of both worlds.