You may have miscalculated the discriminant . If the discriminant were negative, there would be two complex solutions. You need to rewrite the equation as . In this equation, , and .