← Algebra 1

The quadratic formula

Solve any ax² + bx + c = 0.

Start this lesson

The quadratic formula solves every quadratic equation ax² + bx + c = 0, even ones that don’t factor: x = (−b ± √(b² − 4ac)) / 2a. The part under the root, b² − 4ac, is the discriminant. If it is positive there are two solutions; zero, one; negative, none that are real.

Example: x² + 4x + 1 = 0

  1. x = (−4 ± √(16 − 4)) / 2 — a = 1, b = 4, c = 1
  2. x = (−4 ± √12) / 2
  3. x ≈ −0.27 or x ≈ −3.73 — √12 ≈ 3.46

Why it works: The formula comes from completing the square on the general equation. It does the same steps every time, so it works for any quadratic.

Tip: Write a, b and c with their signs before you start; most mistakes are sign slips.