Cubic Equation Calculator

Cubic Equation Calculator

Solve cubic equations of the form ax³ + bx² + cx + d = 0 using Cardano's formula.

2026-05-24T22:58:31.527Z

Equation

1x³ -6x² + 11x -6 = 0
Solutions
x1
3.000000
x2
1.000000
x3
2.000000

Discriminant (Δ): -0.037037

3 distinct real roots

Coefficients must be valid numbers; 'a' cannot be zero for a cubic equation.

What is a Cubic Equation?

A cubic equation is a polynomial equation of degree three, meaning the highest power of the variable is 3. The general form is ax³ + bx² + cx + d = 0, where a ≠ 0.

Unlike quadratic equations, cubic equations always have at least one real root. They may have three real roots or one real root and two complex conjugate roots, depending on the discriminant.

Cardano's Formula

Solution Method

First, we normalize the equation by dividing by 'a' to get: x³ + px² + qx + r = 0

Q = (3q - p²) / 9

R = (9pq - 27r - 2p³) / 54

Δ = Q³ + R² (discriminant)

Δ > 0

1 real, 2 complex roots

Δ = 0

All real, repeated roots

Δ < 0

3 distinct real roots

Example: x³ - 6x² + 11x - 6 = 0

Solve: x³ - 6x² + 11x - 6 = 0

Step 1: Calculate Q and R using the formulas

Step 2: Compute discriminant Δ = Q³ + R²

Step 3: Since this factors nicely: (x-1)(x-2)(x-3) = 0

Roots: x₁ = 1, x₂ = 2, x₃ = 3

Frequently Asked Questions

Can a cubic equation have no real solutions?

No! Unlike quadratic equations, every cubic equation with real coefficients has at least one real root. This is guaranteed by the Intermediate Value Theorem.

What is the discriminant?

The discriminant (Δ) determines the nature of the roots. It tells us whether we have three real roots, one real root with two complex conjugates, or repeated roots.

Can I factor instead of using the formula?

Yes, if the cubic factors nicely! Try the Rational Root Theorem first to find one root, then use polynomial division to reduce to a quadratic.

Who discovered this formula?

Gerolamo Cardano published it in 1545, though it was actually discovered by Scipione del Ferro and Niccolò Tartaglia. This was a major breakthrough in Renaissance mathematics.

Related Tools