You meet a quadratic equation and it looks harmless: one squared term, one plain term, one constant. Then the working starts, a sign flips somewhere in the middle, and your answer stops matching the one in the back of the book. Most quadratic errors are not algebra errors. They are order errors: chasing the roots before you know what kind of answer the equation can give.
This guide teaches the order the free Math Formula Reference and Solver on Ovatly uses: discriminant first, then roots, then the vertex. The same page carries solvers for Pythagoras, slope and distance, and areas and volumes, each with working steps. Here we stay with the quadratic solver and walk one equation through it in full.
Contents
- Quick answer
- What the equation is made of
- First, read the discriminant
- Second, find the roots
- Third, locate the vertex
- How to solve a quadratic equation, step by step
- Worked example: x^2 - 5x + 6 = 0
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
To solve a quadratic equation step by step: write it in the form ax^2 + bx + c = 0, read the discriminant and its sign first, then find the roots, then the vertex. On Ovatly, open the Math Formula Reference and Solver, enter the equation, and the solver returns the discriminant, roots, vertex and a graph sketch, each with working steps. A positive discriminant means two real roots; a negative one means none, and the solver gives the complex roots instead.
What the equation is made of
Every quadratic equation is built from three coefficients. In x^2 - 5x + 6 = 0, the coefficient of the squared term is 1, the coefficient of x is -5, and the constant is 6. Those three numbers decide everything: the discriminant is built from them, the roots come out of them, and the vertex sits where they put it.
Graphed, a quadratic is a parabola, a U-shaped curve. The roots are where the curve crosses the horizontal axis, and the vertex is its turning point. Solving means finding those features, and the discriminant is the early warning that tells you which exist.
First, read the discriminant
The discriminant is the value b^2 - 4ac, computed from the three coefficients before any solving. Its job is forecasting. If it is positive, the equation has two real roots and the parabola crosses the axis twice. If it is negative, the parabola never reaches the axis: there are no real roots, and the complete answer is a pair of complex roots, which the solver provides. A discriminant of exactly zero falls between the two, with the curve touching the axis at a single point.
Reading it first changes how you solve. Instead of pushing through the full method and being surprised by the result, one short calculation tells you whether you are hunting two crossings, one touch, or no real crossing at all.
Second, find the roots
The roots are the values of x that make the equation true, the points where the parabola crosses the axis. For our example they are x = 3 and x = 2, each verifiable by substitution: 3^2 - 5(3) + 6 = 9 - 15 + 6 = 0, and 2^2 - 5(2) + 6 = 4 - 10 + 6 = 0. Both check out exactly, which is what working steps are for.
The solver shows those steps rather than dropping the roots on you unexplained, and its formula reference cards let you match each step to its formula.
Third, locate the vertex
The vertex is the turning point of the parabola, and for this equation it is (2.5, -0.25). Notice where it sits: 2.5 is exactly halfway between the roots 2 and 3, no coincidence, since the vertex lies on the curve's line of symmetry. The -0.25 tells you the curve dips a quarter of a unit below the axis at its lowest point, consistent with crossing the axis at two nearby points.
The solver also draws a graph sketch: the U, the two crossings and the vertex in one picture, so you can check that numbers and shape agree.
How to solve a quadratic equation, step by step
- Open the Math Formula Reference and Solver and pick the quadratic solver.
- Enter the equation with everything on one side and zero on the other, so the coefficients are unambiguous.
- Read the discriminant first, and note its sign before you look at anything else.
- Read the roots and follow the working steps line by line. Substitute one root back into the equation to confirm it gives zero.
- Read the vertex and check the graph sketch: the vertex should sit between the roots, and the sketch should match the numbers.
- If the discriminant is negative, record the complex roots the solver gives, or state plainly that there are no real roots.
Worked example: x^2 - 5x + 6 = 0
Take the equation x^2 - 5x + 6 = 0. The coefficients are 1, -5 and 6. The discriminant is b^2 - 4ac, which here is 25 - 24 = 1. Positive, so the forecast is two real roots.
The roots are x = 3 and x = 2. Substituting 3 gives 9 - 15 + 6 = 0; substituting 2 gives 4 - 10 + 6 = 0. The vertex is (2.5, -0.25): halfway between the roots, and a quarter of a unit below the axis at the curve's lowest point. Three short readings, and the equation is fully described: where the curve crosses, where it turns, and every figure agreeing.
Limitations and honest tradeoffs
The solver shows results to at most 10 significant digits. That is more precision than school or everyday work needs, but a displayed value is still a rounded one: if a later calculation depends on an earlier result, work from the fullest form you have, not a shortened display.
There is no units handling anywhere on the page. The quadratic solver does not need units, but the Pythagoras, area and volume solvers feel their absence: every measurement in one calculation must use the same unit. Mix metres with centimetres and the tool will not warn you; it will simply return a confident, meaningless number.
Finally, working steps are not the same as understanding. The solver will hand you complex roots for a negative discriminant even if your course has not covered complex numbers yet. There the honest answer is that the equation has no real roots, and the complex pair is extra information, not a mistake.
Common mistakes
- Hunting roots before reading the discriminant. You can burn ten minutes on a method before discovering there are no real roots to find. One short calculation tells you first.
- Losing the sign of the middle coefficient. Here the coefficient is -5, and its square is 25, not -25. Most wrong discriminants are born in that one step.
- Skipping the substitution check. Putting a root back into the original equation takes seconds and catches sign slips the steps alone will not.
- Mixing units in the geometry solvers. One unit throughout, because nothing in the tool will flag the mix for you.
- Assuming every quadratic has two real roots. Some touch once and some never cross. The discriminant exists to tell you which case you are in.
FAQs
What does the discriminant tell you? It tells you what kind of roots to expect before you finish solving. In the worked example the discriminant is 1, a positive value, and the equation has two real roots. A negative discriminant means there are no real roots, and the solver gives the complex roots instead.
What are the roots of x^2 - 5x + 6 = 0? The roots are x = 3 and x = 2. The discriminant is 25 - 24 = 1, and the solver also reports the vertex of the parabola at (2.5, -0.25).
What happens when the discriminant is negative? A negative discriminant means the equation has no real roots. The solver does not stop there: it gives the complex roots, so you still get a complete answer instead of a dead end.
Does the solver show its working? Yes. Each solver shows working steps, not just a final answer, and the formula reference cards sit alongside so you can check which formula produced each line.
Can I mix units in the area and volume solvers? No. The solvers have no units handling, so every measurement you enter has to use one unit throughout. Mixing metres and centimetres in the same calculation would produce a number that looks precise and means nothing.
Conclusion
Solving a quadratic is three readings in the right order: the discriminant to learn what kind of answer exists, the roots to find where the curve crosses, and the vertex to pin where it turns. The Math Formula Reference and Solver reports all three with working steps and a graph sketch, so the method and the answer arrive together. Once solving feels routine, the real test is whether you can answer without the steps in front of you, and our guide to making a quiz for your class or training session shows how to build that check. For more guides in this series, see our Education and Research Tools guides, which pair each technique with the free tool that performs it.