Cubic Equation Solver logo
Cubic Equation Solver

Cardano's Method solver

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

Cardano's Method Calculator

Provide your cubic's coefficients to walk through Cardano's classical 16th-century solution method step by step.

Cubic Coefficients — ax³ + bx² + cx + d = 0

Cardano's Method Calculator

Enter your polynomial coefficients above and click "Apply Cardano's Method" to see results.
Graph will appear here after you solve.

What isCardano's Method Calculator?

  • Simple explanation: It is an algebraic formula used to find the exact roots of cubic equations by substituting variables to eliminate the squared term, creating a simpler equation to solve.
  • Why it matters in cubic equations: It is the historical foundation of cubic solving. It proves that a general formula exists for third-degree polynomials, much like the quadratic formula for second degrees.
Formula / Method
  • Formula: Substitution x = t - \frac{b}{3a} creating a depressed cubic t³ + pt + q = 0.
  • Variables Explained: * p and q: The new coefficients of the depressed cubic. * Cardano's formula combines cubic roots of complex expressions involving p and q to yield the variable t, which is then mapped back to x.

How To Use

  1. Input your standard cubic coefficients a, b, c, d.
  2. Press "Solve with Cardano."
  3. Follow the generated step-by-step substitution eliminating the term.
  4. Review the final real and complex roots derived.

Key Features

  • Highly transparent step-by-step logic.
  • Automatically handles the shift to depressed form.
  • Clear visual breakdown of intermediary variables u and v.
  • Educational layout perfect for homework checking.
📈 Visual Diagram
General Cubicax³+bx²+cx+d=0 Depressx = t − b/(3a) Depressed Cubict³ + pt + q = 0 Rootsx₁, x₂, x₃ Key Δ FormulaPath determined by sign of Δ

Example Concept

For x³ - 6x - 9 = 0 (already depressed): The tool maps p = -6, q = -9. It computes the roots of the intermediary quadratic, extracts the cube roots, and delivers the clean real root x = 3.

Interactive Deep Dive

Cardano's method, published by Gerolamo Cardano in 1545, is the first known general algebraic solution for cubic equations. The method works by transforming the general cubic ax³ + bx² + cx + d = 0 into a depressed cubic (one without the x² term) using the substitution x = t − b/(3a). The resulting equation t³ + pt + q = 0 is simpler to solve algebraically.

The solution relies on a clever decomposition: set t = u + v, which leads to the system u³ + v³ = −q and uv = −p/3. Solving this system produces the discriminant Δ = q²/4 + p³/27. When Δ > 0, the cube roots are straightforward. When Δ < 0, the famous casus irreducibilis occurs — all three roots are real, yet the formula requires passage through complex numbers.

Despite its age, Cardano's method remains the foundation of cubic equation theory and is still taught in advanced algebra courses worldwide. Understanding it builds essential bridges to group theory, Galois theory, and the deeper question of why no analogous formula exists for polynomials of degree five or higher.

🎯 Real-World Applications
📚

Academic Education

Cardano's method is a cornerstone of university algebra curricula, teaching students how general polynomial solutions are derived.

Control Engineering

Characteristic equations of third-order systems are solved analytically using Cardano's approach for exact pole placement.

🔬

Physics Simulations

Exact cubic solutions are needed in optics (Snell's law extensions), fluid dynamics, and orbital mechanics calculations.

⚠ Common Mistakes to Avoid

1. Skipping the depression step

You must eliminate the x² term first. Applying Cardano's formula directly to the general form yields incorrect results.

2. Ignoring casus irreducibilis

When Δ < 0, the formula involves complex cube roots even though all roots are real. Use trigonometric substitution instead.

3. Arithmetic errors in p and q

The depressed coefficients involve fractions with 3a, 27a³, etc. Double-check these intermediate values carefully.

📋 Quick Reference Table
Substitutionx = t − b/(3a)
Depressed Formt³ + pt + q = 0
DiscriminantΔ = q²/4 + p³/27
Published1545 by Gerolamo Cardano
LimitationCasus irreducibilis when Δ < 0

Frequently Asked Questions

When does Cardano's method struggle?

It hits a snag called the "casus irreducibilis" when there are three real roots (Δ > 0). During this phase, it requires complex numbers to find real answers.

Do I have to depress the cubic myself?

No, the calculator automatically performs the <span class="font-mono text-primary-700 bg-primary-50 px-1 rounded">t - b/3a</span> substitution for you.

Is this the only way to solve a cubic?

No, trigonometric methods are often preferred when three real roots exist.

Who invented Cardano's method?

It was published by Gerolamo Cardano in 1545 in his book Ars Magna, though the underlying technique was partly discovered by Scipione del Ferro and Niccolò Tartaglia.

Is this appropriate to use for homework?

Yes, it is designed specifically so you can follow along and learn the method rather than just copy an answer.