Quadratic Equation Solver
1x² + -5x + 6 = 0
1
D = b² − 4ac, two distinct real roots.
(5/2, -1/4)
x = −b/2a, the parabola's turning point.
(x − 3)(x − 2)
Step-by-step solution
- 1
Identify the coefficients
a = 1, b = −5, c = 6.
- 2
Compute the discriminant
The discriminant is D = b² − 4ac.
- b² = (−5)² = 25
- 4ac = 4 · 1 · 6 = 24
- D = 25 − 24 = 1
- 3
Quadratic formula
x = (−b ± √(b² − 4ac)) / (2a) = (−b ± √D) / (2a).
- 4
Interpret the discriminant
D > 0: two distinct real roots.
- 5
Substitute the values
x = (−(−5) ± √(1)) / (2).
- −b = 5
- 2a = 2
- 6
Simplify the roots
√D = √(1) = 1 is rational, giving two rational roots.
- x₁ = 5/2 + 1/2 = 3
- x₂ = 5/2 − 1/2 = 2
- 7
Factored form
(x − 3)(x − 2)
- 8
Vertex of the parabola
x = −b / (2a) = 5/2, y = c − b² / (4a) = −1/4.
- 9
Solution
Roots: 3, 2.
About quadratic equations
A quadratic equation ax² + bx + c = 0 has up to two solutions, given by the quadratic formula x = (−b ± √(b² − 4ac)) / (2a).
The discriminant b² − 4ac decides everything: when it is positive there are two real roots, when it is zero one repeated root, and when it is negative a conjugate pair of complex roots.
This calculator keeps roots exact — rational roots as fractions, square roots in simplified radical form — and the same polynomial can be explored with the factoring and completing-the-square tools.