Enter the coefficients a, b and c and the solver returns the discriminant and both roots with the formula shown.
x = (−b ± √(b²−4ac)) / 2a, which gives both roots of ax² + bx + c = 0.
b²−4ac indicates the root type: positive gives two real roots, zero gives one repeated root, negative gives two complex roots.
Yes — when the discriminant is negative the solver reports the complex-conjugate root pair.