The general form of the quadratic equation is :

The discriminant is :

And the general solution is :
![x=\frac{-b\pm\sqrt[]{D}}{2\cdot a}](https://img.qammunity.org/2023/formulas/mathematics/college/9qkbogymgzp0gvp4a5oojierlhpa1op6xf.png)
So, there are 3 situations for D
1. D = 0
So, the roots of a quadratic equation are two similar roots
2. D > 0
so, roots of a quadratic equation are two different roots
3. D < 0
so, roots of a quadratic equation are not real, two comlex roots