Solve for all real :
Clear the constants and expand both sides. First . On the left,
On the right, with , and :
Move everything to one side. Subtracting the right side from the left:
Call this . Note that squaring was already done for us here — the problem is the squared form — so every real root of this quartic is a genuine solution; there is nothing extraneous to discard.
Locate sign changes to bracket the real roots. Evaluating at a few points:
There is one sign change between and , and one between and . Since a quartic has at most four real roots and the leading coefficient is positive, those two brackets hold one root each.
Refine both roots. Newton's method inside each bracket converges to
Substituting back into gives residuals below in magnitude, so both are genuine.
Prove there are no other real roots — this is the step that matters. On the whole interval the quartic never becomes positive: its largest value there is about , attained near . Because across that entire stretch, no root can hide inside it. For and the quartic is increasing in magnitude and stays positive, and on it stays negative. So exactly two real roots exist; the remaining two are the complex pair .
Beware the plausible-looking four-root answer. A commonly circulated solution lists . Test the middle two directly: and — both far from zero, exactly as the bound predicts. Any time a quartic is reported with four real roots, plug at least one back in; the sign of on a whole interval is the cheapest disproof there is.
Need to solve a different problem like this? Open the solver →