Solve for the real values of :
Simplify the coefficient and clear the decimal. Since , the equation is . Multiplying through by gives integer coefficients:
Substitute to drop the degree. Only even powers of appear, so set (hence , ):
Crucially , so only non-negative roots can produce real .
Rule out rational roots. By the rational root theorem the candidates are the divisors of : . Substituting each gives a nonzero value, so the cubic does not factor over the rationals and the root must be found numerically.
Bracket the positive root. Let . Then
so by the intermediate value theorem a root lies in . Since for , is strictly increasing there and this root is the only non-negative one.
Refine with Newton's method. Iterating from converges to
(The other two roots of the cubic, and , are negative and give no real .)
Undo the substitution and check. From ,
Substituting back into gives to machine precision. The equation is even, so the two roots are symmetric about the origin.
Need to solve a different problem like this? Open the solver →