Cubic Equation Solver

Solve any cubic equation ax³ + bx² + cx + d = 0. Find all three roots (real and complex), discriminant, and Vieta's formulas with step-by-step analysis.

About the Cubic Equation Solver

A cubic equation is a polynomial equation of degree three, written in the standard form ax³ + bx² + cx + d = 0, where a ≠ 0. Unlike quadratic equations — which always have a neat formula with a single square root — cubic equations require more sophisticated methods to solve. The general solution was first published in the 16th century by Italian mathematicians Cardano and Tartaglia and involves cube roots and a discriminant that determines the nature of the roots.

Every cubic equation has exactly three roots when counted with multiplicity in the complex numbers. The discriminant Δ tells you their nature: when Δ > 0 there are three distinct real roots, when Δ = 0 there is a repeated root, and when Δ < 0 there is one real root and a pair of complex conjugate roots. Our cubic equation solver computes all three roots using Cardano's method and trigonometric substitution. It displays the discriminant, verifies each root by substitution, and shows Vieta's formulas relating the roots to the coefficients. Presets for classic cubics let you explore the behavior instantly, and a visual number line shows where real roots are positioned. Whether you are solving homework problems, analyzing polynomial behavior, or building intuition for higher algebra, this tool gives you comprehensive results.

Why Use This Cubic Equation Solver?

Cubic Equation Solver helps you solve cubic equation solver problems quickly while keeping each step transparent. Instead of redoing long algebra by hand, you can enter a (x³ coefficient), b (x² coefficient), c (x coefficient) once and immediately inspect Equation, Discriminant (Δ), Real Roots to validate your work.

This is useful for homework checks, classroom examples, and practical what-if analysis. You keep the conceptual understanding while reducing arithmetic mistakes in multi-step calculations.

How to Use This Calculator

  1. Enter a (x³ coefficient) and b (x² coefficient) in the input fields.
  2. Select the mode, method, or precision options that match your cubic equation solver problem.
  3. Read Equation first, then use Discriminant (Δ) to confirm your setup is correct.
  4. Open the breakdown table to trace intermediate algebra steps before using the final value.
  5. Try a preset such as "x³ − 6x² + 11x − 6" to test a known case quickly.
  6. Change one input at a time to compare scenarios and catch sign or coefficient mistakes.

Formula

Given ax³+bx²+cx+d=0, substitute x=t−b/(3a) to get depressed cubic t³+pt+q=0. Discriminant Δ=−4p³−27q². If Δ>0: three real roots via trigonometric method. If Δ<0: Cardano's formula with one real and two complex roots.

Example Calculation

Result: Equation shown by the calculator

Using the preset "x³ − 6x² + 11x − 6", the calculator evaluates the cubic equation solver setup, applies the selected algebra rules, and reports Equation with supporting checks so you can verify each transformation.

Tips & Best Practices

How This Cubic Equation Solver Works

This calculator takes a (x³ coefficient), b (x² coefficient), c (x coefficient), d (constant) and applies the relevant cubic equation solver relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.

Interpreting Results

Start with the primary output, then use Equation, Discriminant (Δ), Real Roots, Complex Roots to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.

Study Strategy

A strong workflow is manual solve first, calculator verify second. Repeating that loop improves speed and accuracy because you learn to spot common setup errors before they cost points on multi-step algebra problems.

Frequently Asked Questions

How many roots does a cubic equation have?

Every cubic equation has exactly three roots when counted with multiplicity in the complex numbers. It may have three real roots, or one real root and two complex conjugate roots.

What is the discriminant of a cubic?

The discriminant Δ = −4p³ − 27q² (after depressing the cubic). When Δ > 0, all roots are real and distinct. When Δ = 0, there is a repeated root. When Δ < 0, one root is real and two are complex conjugates.

What is a depressed cubic?

A depressed cubic is one with no x² term: t³ + pt + q = 0. Any cubic can be converted to this form by substituting x = t − b/(3a), which eliminates the quadratic term.

What are Vieta's formulas for a cubic?

For ax³+bx²+cx+d=0 with roots r₁, r₂, r₃: r₁+r₂+r₃ = −b/a, r₁r₂+r₁r₃+r₂r₃ = c/a, and r₁·r₂·r₃ = −d/a. Use this as a practical reminder before finalizing the result.

Can I solve a cubic with complex coefficients?

This calculator is designed for real coefficients. Complex-coefficient cubics require a more general treatment and may not have conjugate root pairs.

What method does this calculator use?

It uses Cardano's method for the case with one real and two complex roots, and the trigonometric method (which avoids complex intermediate values) when all three roots are real. Understanding this concept helps you apply the calculator correctly and interpret the results with confidence.

Related Pages