Two real roots: x² − 5x + 6 = 0
- Input
- a = 1, b = −5, c = 6
- Working
- D = b² − 4ac = 25 − 24 = 1, positive, so expect two real roots. x = (5 ± √1) / 2 = (5 ± 1) / 2, giving x = 6/2 = 3 and x = 4/2 = 2. Factorisation check: (x − 2)(x − 3) = x² − 5x + 6. Vertex: x = 5/2 = 2.5, and y = 2.5² − 5 × 2.5 + 6 = 6.25 − 12.5 + 6 = −0.25.
- Result
- Roots x = 3 and x = 2, vertex (2.5, −0.25)