Quadratic Solver
Solve ax² + bx + c = 0 and see each step.
Solve ax² + bx + c = 0
Result
x = 3 · x = 2
Discriminant D = 1
- Solve 1x² + -5x + 6 = 0 using x = (−b ± √(b² − 4ac)) ÷ 2a.
- Discriminant D = b² − 4ac = -5² − 4(1)(6) = 1.
- √D = 1.
- x₁ = (−-5 + 1) ÷ 2 = 3.
- x₂ = (−-5 − 1) ÷ 2 = 2.
Formula
x = (−b ± √(b² − 4ac)) ÷ 2a
How it works
The discriminant tells you whether roots are two real, one repeated, or complex.
Common wrong answer
Forgetting that a cannot be zero, or dropping the ± for two roots.