Using the discriminant to determine the number of roots

Whether the discriminant is greater than zero, equal to zero or less than zero can be used to determine if a quadratic equation has no real roots, real and equal roots or real and unequal roots.