Zahri-Edu University

Equation Solver › Algebraic equations and inequalities

solver.zahri-edu.net

Cubic equations

ax³ + bx² + cx + d = 0

All real and complex roots of a cubic, with the depressed form and the Cardano discriminant.

Coefficients of a x³ + b x² + c x + d = 0
Press Solve.

Method

The substitution x = t − b/(3a) gives t³ + pt + q = 0. Its discriminant Δ = −(4p³ + 27q²) tells how many roots are real. The roots are computed numerically (Durand–Kerner iteration with Newton polishing), and the Cardano value is shown when there is one real root.

Computed in your browser with double-precision arithmetic; nothing is sent to a server. Check results by substituting them back.

Other solvers