The quadratic formula is used to find the roots (solutions) of any quadratic equation of the form:
where a ≠ 0. The formula always works — even when the equation can't be factored easily.
Solve: x² - 5x + 6 = 0
Look at the equation: x² - 5x + 6 = 0
a = 1, b = -5, c = 6
This tells us how many solutions exist
b² - 4ac = (-5)² - 4(1)(6) = 25 - 24 = 1
x = (-b ± √(b²-4ac)) / 2a
x = (5 ± √1) / 2 = (5 ± 1) / 2
Use + first, then −
x₁ = (5 + 1) / 2 = 3 x₂ = (5 - 1) / 2 = 2
Verify: (3)² - 5(3) + 6 = 9 - 15 + 6 = 0 ✓
Enter your values for ax² + bx + c = 0