← Tools
🔢 Quadratic Equation Solver
ax² + bx + c = 0 — solved step by step
Coefficient a
Coefficient b
Constant c
Click an example
1, -3, 2
1, 2, 1
1, 1, 1
2, -7, 3
Equation
x² − 3x + 2 = 0
Discriminant D
D = b² − 4ac = (-3)² − 4·(1)·(2) =
1
D > 0 → two distinct real roots
Quadratic formula
x = (−b ± √D) / (2a)
Roots (real)
x₁ = 2
x₂ = 1
Vieta's relations
Sum of roots: −b/a =
3
Product of roots: c/a =
2
Vertex
(1.5, -0.25)