Consider the general quadratic equation
ax^{2}+bx+c=0. The quantity
b^{2}-4ac is called the
discriminant of the quadratic equation and determine the type of root which arises from a quadratic equation.
When
- b^{2}-4ac > 0 The equation has two real roots.
- b^{2}-4ac < 0 The equation has no real roots.
- b^{2}-4ac = 0 The equation has one repeated root.
(If the
discriminant is negative, the roots are
complex, and this page can not display the complex number. The output will be "None").