Solve for real :
Factor the left side to learn the shape. Grouping,
Because always, the sign of is the sign of : negative only on , positive outside. And grows like in both directions. So for any target above there are exactly two real roots, one positive and one negative — the negative one is the half that gets forgotten.
Bracket the positive root. and . The target lies between them, so the root is in and close to .
Refine the positive root. and , so the root is in . Bisecting to machine precision gives
Reject the commonly quoted 7.949102. Evaluating there, , which overshoots by more than . A value that far off cannot be the root; the discrepancy is easy to miss because the fourth power makes change very fast near (about per unit).
Bracket and refine the negative root. and , so the second root lies in . Bisection gives
Verify both. and to three decimals. The remaining two roots of the quartic are a complex-conjugate pair, so the real solution set is exactly .
Need to solve a different problem like this? Open the solver →