How the calculation works
Use the discriminant b² − 4ac to solve ax² + bx + c = 0. The discriminant determines whether the roots are distinct, repeated, real, or complex.
Worked example
Coefficient a = 1, Coefficient b = -5, Constant c = 6 gives 2, 3.
Reading the result
The coefficient a must be nonzero. A negative discriminant produces a pair of complex conjugate roots.