How to solve a quadratic equation
The equation ax² + bx + c = 0 is solved with the discriminant: Δ = b² − 4ac. Its sign tells you how many solutions there are:
- Δ > 0 — two roots: x₁ = (−b − √Δ) ÷ 2a and x₂ = (−b + √Δ) ÷ 2a.
- Δ = 0 — one double root: x₀ = −b ÷ 2a.
- Δ < 0 — no real roots (the calculator shows the complex ones).
Example: x² − 3x + 2 = 0. Δ = 9 − 8 = 1, so x₁ = (3 − 1) ÷ 2 = 1 and x₂ = (3 + 1) ÷ 2 = 2.
The vertex of the parabola
The graph of a quadratic is a parabola. Its vertex is at p = −b ÷ 2a and q = −Δ ÷ 4a — for x² − 3x + 2 that is (1.5; −0.25). When a > 0 the arms point up and the vertex is the minimum; when a < 0 they point down and the vertex is the maximum.
Complex roots
For x² + 2x + 5 = 0 the discriminant is 4 − 20 = −16. There are no real solutions, but in complex numbers x = −1 ± 2i. The calculator shows them below the result.
Frequently asked questions
What if a = 0?
Then the equation is linear: bx + c = 0, so x = −c ÷ b. The calculator detects this automatically.
How can I check the answer?
Substitute the roots: for x = 2 in x² − 3x + 2 you get 4 − 6 + 2 = 0. Or use Vieta’s formulas: x₁ + x₂ = −b/a and x₁ × x₂ = c/a.