Solving a quadratic produces candidates, not certainties. Between the first line and the last, a sign can flip or a digit can slip, and the final answer can look perfectly tidy while being wrong. There is a check that catches this in under a minute, needing nothing but the original equation: substitute each answer back in and see whether the equation balances.
This guide explains why substitution is a real proof for a single root, how to run the check without making fresh errors, and how to use it alongside the free Math Formula Reference and Solver on Ovatly, whose working steps give you the roots to test.
Contents
- Quick answer
- Why substitution is a real check
- The check, step by step
- Worked example: two roots pass, one impostor fails
- What substitution can and cannot catch
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
To check a quadratic solution: take each root, replace x with it in the original equation, and evaluate carefully, powers first, then multiplication, then addition and subtraction. Zero confirms the root; anything else rejects it. For x^2 - 5x + 6 = 0, x = 3 gives 9 - 15 + 6 = 0 and x = 2 gives 4 - 10 + 6 = 0, so both pass. The Math Formula Reference and Solver shows the roots and the steps that produced them; substitution is your independent test of those roots.
Why substitution is a real check
A root is defined as a value of x that makes the equation true, and that definition is the whole basis of the check. When you claim x = 3 is a root of x^2 - 5x + 6 = 0, you are claiming that 9 - 15 + 6 equals zero. Either the arithmetic confirms the claim or it does not.
Notice what the check does not depend on: your solving. A long chain of working can contain one wrong line that every later line faithfully builds on, so re-reading your steps often re-reads the same mistake as if it were correct. Substitution ignores the chain entirely: it tests the final claim against the original equation, the one thing never in doubt. That independence is what makes it worth the minute it takes.
The check, step by step
- Write down the original equation exactly as it was given, before any rearranging you did while solving.
- Solve the equation, by hand or with the Math Formula Reference and Solver, and note each root separately.
- Take the first root and substitute it everywhere x appears in the original equation, including inside the squared term.
- Evaluate in the safe order: power first, then multiplication, then addition and subtraction, left to right.
- If the result is zero, that root is confirmed. Repeat steps 3 and 4 for the second root.
- If any root gives a non-zero result, it is not a root. Find the slip in the solving steps before trusting any other answer from the same working.
Worked example: two roots pass, one impostor fails
The solver gives the roots of x^2 - 5x + 6 = 0 as x = 3 and x = 2, with discriminant 1 and vertex (2.5, -0.25). Check each root against the original equation.
For x = 3: the squared term is 9, the middle term is -15, and the constant is 6. Adding them, 9 - 15 + 6 = 0, so 3 is a root.
For x = 2: the squared term is 4, the middle term is -10, and the constant is 6. Adding them, 4 - 10 + 6 = 0, so 2 is a root too. Both candidates pass, and the solution is confirmed.
Now suppose a sign slip in your working had produced x = 4 instead. Substitute it: the squared term is 16, the middle term is -20, and the constant is 6, giving 16 - 20 + 6 = 2. Two is not zero, so 4 is not a root, however confident the working that produced it looked. The check does not care where a candidate came from; it only asks whether the equation accepts it.
The same habit verifies the vertex. Putting x = 2.5 into the equation gives 6.25 - 12.5 + 6 = -0.25, which is exactly the y value of the vertex the solver reports.
What substitution can and cannot catch
Substitution is excellent at catching the errors solving actually produces: a flipped sign, a miscopied coefficient, an arithmetic slip in the final formula, a root miscopied from the line above. Any of these leaves the candidate unable to balance the original equation, and the check exposes it.
It cannot prove you found every root. If your working lost a root entirely, there is no candidate to substitute, and the check passes silently on the one you kept. This is where the discriminant earns its keep as a companion habit: its sign tells you how many roots to expect, so you know whether one could be missing.
One more boundary: decimal roots. The solver reports results to at most 10 significant digits, so a rounded decimal root may substitute back to a tiny non-zero residue rather than an exact zero. A residue at rounding level is the rounding, not an error. A residue of 2, like the impostor above, is an error.
Limitations and honest tradeoffs
Substitution verifies candidates; it does not generate them. You still need a solution method, or the solver, to produce roots worth testing, and a failed check says an answer is wrong without saying which step made it wrong; finding the slip is a separate pass.
The check is also only as careful as the arithmetic inside it. A rushed substitution, with the power skipped or the multiplication done after the addition, can condemn a correct root or bless a wrong one. Work in the fixed order, powers, then multiplication, then addition and subtraction, and write each stage down.
Finally, the check assumes you substitute into the original equation. The solver keeps one unit throughout a problem and does no unit conversion, and the same discipline applies here: substitute into the equation as posed, not into a tidied version you produced along the way.
Common mistakes
- Substituting into a rearranged version. A rearranged equation may carry the very error you are hunting. Always test against the original as given.
- Checking only one root. Roots pass or fail individually. A correct first root says nothing about the second.
- Evaluating in the wrong order. The squared term first, then multiplication, then addition and subtraction. Doing 3 squared as 6, or adding before multiplying, corrupts the check itself.
- Accepting a near miss as zero. A result of 2 is a failed check, full stop. Only a residue explainable by decimal rounding deserves a second look, and it will be tiny.
- Testing the answer you remember. Substitute the root that is written in your solution, not the one you meant to write. The gap between the two is exactly what the check is for.
- Skipping the check when the working felt smooth. Confidence is not evidence. The impostor root in the worked example came from working that felt fine.
FAQs
What does substituting back mean? It means taking a value you believe is a root, putting it into the original equation in place of x, and working out the left-hand side. If the result is zero, the value satisfies the equation and really is a root.
How do I check the roots of x^2 - 5x + 6 = 0? Put x = 3 into the equation: 9 - 15 + 6 = 0, so 3 is a root. Put x = 2 in: 4 - 10 + 6 = 0, so 2 is a root as well. Both candidates balance the equation to zero, so the solution checks out.
What if the substituted value does not give zero? Then the value is not a root, no matter where it came from. A wrong sign or a slipped digit somewhere in the solving has produced a false candidate, and the honest move is to work back through the solving steps until the error shows itself.
Can I check the vertex the same way? Yes. The vertex of x^2 - 5x + 6 is (2.5, -0.25), and putting x = 2.5 into the equation gives 6.25 - 12.5 + 6 = -0.25, which matches the vertex y value exactly. Substitution verifies any point the equation is claimed to pass through, not just roots.
Does the solver show its working, or only the answers? Each solver in the Math Formula Reference and Solver shows its working steps as well as the result. That makes substitution a genuine second check: the steps show one route to the answer, and your substitution tests the answer against the original equation by a different route.
Conclusion
A quadratic solution is finished when its roots have survived substitution into the original equation: zero means a root, anything else means a false candidate, wherever it came from. The Math Formula Reference and Solver supplies the roots, the discriminant and the vertex with working steps; substitution is the independent habit that confirms them. To know how many roots to expect before you start checking, see our guide on what the discriminant tells you. For more guides in this series, see our Education and Research Tools guides.