CalculatorVilla

Cubic Equation Solver

Find solutions to third-degree polynomial equations ax³ + bx² + cx + d = 0. Implements Cardano’s trigonometric and algebraic formulas to resolve real and complex root configurations.

Real Root Solution (x₁): 0

Leading cubic coefficient (non-zero)

Quadratic coefficient

Linear coefficient

Constant term

Real Root Solution (x₁)
0.0000

How to Use This Calculator

  1. Enter the leading coefficient a (for x³).
  2. Enter coefficients b, c, and constant d.
  3. View the real root solutions and discriminant immediately.

Formula & Calculation Methodology

ax³ + bx² + cx + d = 0 | Substitution: x = t − b/(3a)

Cardano’s method depresses the cubic by eliminating the quadratic term into t³ + pt + q = 0, followed by algebraic or trigonometric radical extraction.

a, b, c, dPolynomial coefficients
tDepressed variable offset by −b/(3a)
ΔCubic discriminant characterizing root types

Worked Example

Solving x³ − 6x² + 11x − 6 = 0

a: 1
b: -6
c: 11
d: -6
Result: Roots: 1, 2, 3 (Primary root x = 3 or 1)

Solving x³ − 1 = 0

a: 1
b: 0
c: 0
d: -1
Result: Real root x = 1 (and 2 complex roots)

Frequently Asked Questions

Does every cubic equation have at least one real root?↓

Yes. Because odd-degree polynomials extend from −∞ to +∞, the graph must cross the x-axis at least once by the Intermediate Value Theorem.

What is the "casus irreducibilis"?↓

When a cubic has three distinct real roots, Cardano’s algebraic formula involves square roots of negative numbers, necessitating trigonometric functions to extract real answers.

What if coefficient a is 0?↓

If a = 0, the equation reduces to a quadratic equation bx² + cx + d = 0, which can be solved via the quadratic formula.

What is a limitation of floating cubic calculations?↓

Near multiple roots where the discriminant is close to zero, numerical precision can fluctuate slightly due to floating point roundoff.

Related Calculators

Source Citation & Disclaimer

Informational tool only; not licensed tax, legal, or financial advice.