About the Cubic Equation Calculator
Every cubic equation has three roots counting repeats. The discriminant tells you their type: positive means three different real roots, zero means a repeated root, and negative means one real root and a pair of complex roots.
The calculator uses the trigonometric method when all three roots are real and Cardano's formula otherwise. The roots always satisfy x₁ + x₂ + x₃ = −b/a and x₁x₂x₃ = −d/a, which is a quick way to check them.
