How to solve a quadratic equation with the quadratic formula
The quadratic formula solves every quadratic equation in standard form, including the ones that refuse to factor, and its discriminant tells you in advance whether there are two, one or no real solutions.
A worked example
Solve 2x² + 3x − 2 = 0. Here a = 2, b = 3 and c = −2. The discriminant is b² − 4ac = 9 − 4(2)(−2) = 9 + 16 = 25, which is positive, so there are two real roots. Then x = (−3 ± 5) ÷ 4, which gives x = 2 ÷ 4 = ½ and x = −8 ÷ 4 = −2. Both satisfy the equation: 2(½)² + 3(½) − 2 = 0.
The mistake people actually make
Substitute negative values inside brackets. With b = −4, the term b² is (−4)² = 16, not −16, and −b is +4; dropping the brackets is the most common source of a wrong root.