Quadratic equation solver
a x² + b x + c = 0 by factoring when the roots are whole, else the formula, with the discriminant explained. Every step of the working is shown, and nothing leaves your browser.
For a x² + b x + c = 0
x = 3 or x = 2
The discriminant is b² − 4ac = (-5)² − 4(1)(6) = 1.
Two numbers that multiply to 6 and add to -5: -3 and -2. So (x − 3)(x − 2) = 0.
The two roots are 3 and 2.
Check x = 3: 1(3)² + -5(3) + 6 = 0.
What it does
The discriminant b² − 4ac says how many real roots there are: two when positive, one repeated when zero, none when negative. Whole roots come from two numbers that multiply to c and add to b; otherwise the formula x = (−b ± √D) / 2a.
Wording or a word problem instead of numbers? Ask the solver, which explains every step too. Related: the method guide and the formula sheet.