How can I check the roots returned by a quadratic calculation?
Substitute each root into the original equation and check whether both sides agree. For a standard-form equation, the expression ax² + bx + c should equal zero, allowing for decimal rounding when roots are approximate.
Use the original coefficients
A sign error while rearranging an equation can produce roots for the wrong polynomial. Substitution into the original written equation checks that transformation as well as the final arithmetic. Keep parentheses around a negative root when squaring it.
Verify two exact roots
For 2x² − 5x − 3 = 0, the roots are 3 and −0.5. Substituting 3 gives 18 − 15 − 3 = 0. Substituting −0.5 gives 0.5 + 2.5 − 3 = 0. Both satisfy the same equation.
Expect small residuals from rounded output
An irrational root displayed to a few decimal places may leave a small nonzero residual. Recalculate with more precision before calling that a contradiction. A large residual usually warrants checking signs, parentheses or the equation form. Complex roots require complex arithmetic in the substitution.
Evaluate the polynomial at each candidate root
For 2x² − 7x + 3 = zero, candidates three and one half can be checked separately. At x = three, the expression is eighteen minus twenty-one plus three, which equals zero. At x = one half, it is one half minus three and one half plus three, also zero. Use parentheses when squaring a negative root, because (−r)² differs from −r² in ordinary operation order. Substitute into the original written equation as well as the normalized polynomial if rearrangement could have introduced a sign error. A candidate can correctly solve the entered coefficients while failing the equation you intended to enter.
Use root sums and products as additional checks
For ax² + bx + c, the two roots sum to −b/a and multiply to c/a, counting a repeated root twice. In the example, three plus one half is 3.5 = seven/two, and their product is 1.5 = three/two. These checks can reveal a copied sign or missing second root without evaluating the full polynomial twice. They do not replace substitution into the intended equation, since a mistaken coefficient set also has its own consistent sums and products. Complex conjugate roots follow the same identities: their imaginary parts cancel in the sum and combine to a real product. Keep sufficient precision if the displayed roots are approximate decimals.
Interpret a small nonzero residual in context
An irrational root cannot be represented by a finite decimal exactly. For x² − two = zero, using x = 1.4142 gives x² − two approximately −0.00003836 rather than zero. That residual is consistent with the rounded input. A residual's meaningful size also depends on coefficient scale and the precision of the candidate; there is no universal small decimal threshold that proves every root correct. Recalculate with more digits or preserve the exact radical when the exercise requires an exact solution. Calculator ForEver shows numerical results, so do not infer an algebraic failure from the last displayed digits alone. A large discrepancy warrants checking coefficients, parentheses, units in a modeled application and whether the original equation imposed additional restrictions on x.
Questions about this calculation
Can the sum and product also help check roots?
Yes. For ax² + bx + c, their sum is −b/a and their product is c/a, including complex roots.
Try these values in the calculator
Solve ax² + bx + c = 0, including complex roots.
Use the quadratic formula calculator