Free algebra tool
Quadratic Equation Solver
Enter a, b and c to solve ax² + bx + c = 0 with the quadratic formula, step by step. You get the discriminant and what it means, the solutions in exact form (fractions, simplified square roots or complex numbers), the factored form when there is one, the vertex, and a graph of the parabola. Free, no signup.
Discriminant
Solutions
Vertex
Step by step
- 1Identify the coefficients in ax² + bx + c = 0: a = 1, b = −5, c = 6.
- 2Find the discriminant, the part under the square root in the quadratic formula. Its sign tells you how many real solutions there are.D = b^2 − 4ac = (−5)^2 − 4 × 1 × 6 = 25 − 24 = 1
- 3Use the quadratic formula.x = frac{−b ± √(D)}{2a} = frac{−(−5) ± √(1)}{2 × 1}
- 4D = 1 is a perfect square (√1 = 1), so both solutions are rational numbers.x = frac{5 + 1}{2} = 3 \quad \text{or} \quad x = frac{5 − 1}{2} = 2
- 5Because the solutions are rational, the quadratic factors:x^2 − 5x + 6 = (x − 2)(x − 3)
- 6The vertex (turning point) is at x = −b ⁄ 2a. The parabola opens upward, so the vertex is its lowest point.x = frac{−b}{2a} = frac{5}{2}, \quad y = −frac{1}{4}
Worked example: 2x² − 7x + 3 = 0
Here a = 2, b = −7 and c = 3. First the discriminant:
D is positive and a perfect square, so there are two rational solutions:
Because the solutions are rational, the quadratic factors as . Check: .
Three ways to solve a quadratic
- Factoring: fastest when it works - find two numbers that multiply to ac and add to b.
- Completing the square: rewrite as ; it also gives the vertex (h, k) directly.
- The quadratic formula: always works, which is why the solver uses it. It comes from completing the square on in general.
Reading the graph
The solutions are where the parabola crosses the x-axis (the green points). The vertex (blue) sits on the axis of symmetry, exactly halfway between the two solutions, and the curve crosses the y-axis at c. A parabola that never reaches the x-axis is the picture of a negative discriminant.
Frequently asked questions
What is the quadratic formula?+
For any equation with a not equal to 0, the solutions are . The ± gives the two solutions: one with plus, one with minus.
What does the discriminant tell you?+
The discriminant is , the part under the square root. If D is positive there are two real solutions, if D is 0 there is one repeated solution, and if D is negative there are no real solutions (two complex ones). If D is a perfect square and a, b, c are whole numbers, the solutions are rational and the quadratic factors.
When should I factor instead of using the formula?+
Factor when it's quick to spot two numbers that multiply to ac and add to b - for , −2 and −3 work, so it factors as . The quadratic formula always works, so use it when factoring isn't obvious. Both give the same answers.
How do you find the vertex of a parabola?+
The vertex is at ; put that x back into the equation to get y. For the vertex is at and . It's the lowest point when a is positive and the highest point when a is negative.
What does it mean when the answer has i in it?+
i is the imaginary unit, . A negative discriminant means the parabola never crosses the x-axis, so there are no real solutions; the complex solutions come in pairs like . In most algebra classes you would write “no real solutions”.
Stuck on quadratics?
Factoring, completing the square and the quadratic formula click faster with someone who can see where you go wrong. Our algebra tutors work one-on-one - your first trial lesson is free.
Make algebra click
A 1-on-1 algebra tutor turns quadratics, functions and graphs into skills you can use on every test - your first trial lesson is free.