First recall the quadratic formula
The expression that appears under the square root sign determines the nature of the roots. It is called the discriminant of the equation.
If you try to prove the above equation, make use of the following identities:
As a matter of fact, if two numbers and satisfy the above identities, then they are solutions to the quadratic equation .