Quadratic Equation Solver
Solve ax² + bx + c = 0. Get the roots, the discriminant, the vertex, the steps and a graph of the parabola.
How to use the Quadratic Equation Solver
- Enter a, b and cWrite your equation in the form ax² + bx + c = 0 and type the three numbers. Use negative numbers for minus signs.
- Read the solutionsSee the roots, which may be real or complex, plus the discriminant, vertex and factored form.
- Follow the stepsThe working shows the quadratic formula step by step, and the graph shows where the parabola crosses the x-axis.
Example
x² − 5x + 6 = 0: D = 25 − 24 = 1, so x = (5 ± 1) ÷ 2, giving x = 2 and x = 3, or (x − 2)(x − 3).
x² + 2x + 5 = 0: D = 4 − 20 = −16, so the solutions are complex: x = −1 ± 2i.
Frequently asked questions
What is the quadratic formula?
x = (−b ± √(b² − 4ac)) ÷ 2a. It solves every equation of the form ax² + bx + c = 0 where a is not zero.
What does the discriminant tell me?
D = b² − 4ac. If D > 0 there are two real roots, if D = 0 there is one repeated root, and if D < 0 there are two complex roots and the parabola never touches the x-axis.
What is the vertex?
The turning point of the parabola, at x = −b ÷ 2a. It is the lowest point when a is positive and the highest point when a is negative.