Quadratic Equation Solver
Find roots of ax² + bx + c = 0 with step-by-step working
ax² + bx + c = 0
x²−5x+6=0
2x²+3x−2=0
x²+4x+4=0
x²+x+1=0 (complex)
Ad — AdSense goes here
Roots (solutions for x)
—
Step-by-step using the quadratic formula
Formula: x = (−b ± √(b² − 4ac)) / (2a)
Frequently Asked Questions
What is the quadratic formula?
For ax² + bx + c = 0:
x = (−b ± √(b² − 4ac)) / (2a)
The expression b² − 4ac is the discriminant. If D > 0: two distinct real roots. D = 0: one repeated root. D < 0: two complex (imaginary) roots.
x = (−b ± √(b² − 4ac)) / (2a)
The expression b² − 4ac is the discriminant. If D > 0: two distinct real roots. D = 0: one repeated root. D < 0: two complex (imaginary) roots.
What is the discriminant?
D = b² − 4ac tells you the nature of the roots before you solve. D > 0 → two real, distinct roots (the parabola crosses the x-axis twice). D = 0 → one repeated real root (the parabola just touches the x-axis). D < 0 → no real roots; two complex conjugate roots.
How do you factorise a quadratic?
Find two numbers that multiply to a×c and add to b. Example: x²+5x+6 → a×c = 6, b = 5 → 2 and 3 → (x+2)(x+3) = 0 → x = −2 or x = −3. For equations that don't factorise neatly, the quadratic formula always works.