You may have miscalculated the discriminant , got the value 0, and thought that this meant that there are 0 solutions. A quadratic equation always has either real or complex solutions. The solutions are given by the formula: