Skip to content
CalcSolver

Quadratic Solver

Solve ax² + bx + c = 0 and see each step.

Solve ax² + bx + c = 0

Result

x = 3 · x = 2

Discriminant D = 1

  1. Solve 1x² + -5x + 6 = 0 using x = (−b ± √(b² − 4ac)) ÷ 2a.
  2. Discriminant D = b² − 4ac = -5² − 4(1)(6) = 1.
  3. √D = 1.
  4. x₁ = (−-5 + 1) ÷ 2 = 3.
  5. 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.

Related tools

Related guides