If the quadratic equation has the form ax2 = 0, then it has a single root x = 0.
If the quadratic equation has the form ax2 + c = 0, then ax2 = -c and, therefore, x2 = -c/a.
The right side of the last equation is a number that, by the condition, is not equal to zero. Therefore, if the right side is less than zero, then the equation x2 = -c/a, and, therefore, the original ax2 + c = 0 has no roots. If the right side is greater than zero, then the equation x2 = -c/a has two real roots x1 = -√(-c/a), x2 = √(-c/a).
If the quadratic equation is of the form ax2 + bx = 0, then using the factorization method, we obtain ax2 + bx = 0 => x(ax+b)=0 => x=0, ax+b=0 => x=0, x=-b/a.
Thus, the original equation has two roots x1=0 и x2 = -b/a.