Solve for :
Estimate where the roots can live before searching. Cauchy's bound says every root satisfies . That is loose, but the tiny leading coefficient is the warning sign: dividing through by gives , so the roots sum to about and are spread over a wide range.
Scan for sign changes on a grid. Evaluating at steps of from to gives sign flips in , , and . Four sign changes for a quartic means four real roots — there is no room left for a complex pair, since complex roots come in pairs and only four roots exist in total.
Bisect each bracket to full precision.
Each was refined until the residual fell below .
Cross-check with Vieta's formulas. For , the roots sum to and multiply to . The four computed roots sum to ✓ and multiply to ✓ — both to ten significant figures, so no root is spurious or missing.
Reject the values that fail substitution. A commonly circulated answer gives and with a complex pair . Substituting: and , neither of which is zero, and the claimed complex pair would push the root sum to only by coincidence. The correct answer is four real roots.
Need to solve a different problem like this? Open the solver →