How to calculate
Square b, multiply a and c by four, then subtract. A positive discriminant gives two real roots, zero gives a repeated real root, and a negative discriminant gives a complex conjugate pair.
Worked example
Use Coefficient a 1 · Coefficient b -5 · Coefficient c 6. The result is 1.
Input and result notes
Enter the coefficients in ax² + bx + c = 0. Coefficient a must be nonzero.