Quadratic Equation Solver
Solve quadratic equations — free and step by step with the quadratic formula. Enter a, b and c and the calculator shows the discriminant and both solutions.
Enter values — get full working
Solve a quadratic equation — 4 steps
- 1Step 1 of 4
Put it in standard form
Write the equation as ax² + bx + c = 0. Here a = 1, b = −5, c = 6.
- 2Step 2 of 4
Compute the discriminant
D = b² − 4ac = (−5)² − 4 · 1 · 6 = 25 − 24 = 1. D > 0 means two solutions.
- 3Step 3 of 4
Substitute into the quadratic formula
x = (−b ± √D) / (2a) = (5 ± √1) / 2 = (5 ± 1)/2.
- 4Step 4 of 4
Work out both solutions
x₁ = (5 + 1)/2 = 3 and x₂ = (5 − 1)/2 = 2. Check: 3 + 2 = 5 = −b/a, 3 · 2 = 6 = c/a — correct.
Quadratic equations — worked examples
The quadratic formula and the discriminant
A quadratic equation has the form ax² + bx + c = 0 with a ≠ 0. Its solutions come from the quadratic formula: x = (−b ± √(b² − 4ac)) / (2a). The expression under the square root, D = b² − 4ac, is called the discriminant and controls the solution set: when D > 0 there are two distinct real solutions, when D = 0 there is one repeated solution (the parabola touches the x-axis), and when D < 0 there is no real solution (the parabola never crosses the x-axis). Many equations can also be solved faster by factoring or with Vieta’s formulas — which double as a handy check: x₁ + x₂ = −b/a and x₁ · x₂ = c/a. Quadratic equations appear from grade 9 onward and underpin parabolas, projectile motion and optimization problems.
Common mistakes when solving
Forgetting the sign of b
Not in standard form
Misreading the discriminant
Forgetting to divide by a
Frequently asked questions about quadratic equations
Glossary — key terms explained simply
- Quadratic equation
- An equation of the form ax² + bx + c = 0 with a ≠ 0.
- Quadratic formula
- The solution formula x = (−b ± √(b² − 4ac)) / (2a).
- Discriminant
- The term D = b² − 4ac that determines the number of solutions.
- Repeated root
- A solution counted twice; occurs when D = 0.
- Standard form
- The form ax² + bx + c = 0 with everything on one side.
- Vieta’s formulas
- x₁ + x₂ = −b/a and x₁ · x₂ = c/a — handy for checking.