Solve for :
Separate the scales first. In Vieta gives root sum and root product . A large sum with a near-zero product means one dominant root plus two small ones, and the standard trick is to drop whichever term is negligible in each regime.
Find the two small roots by discarding . If is only a few hundredths then is of order , utterly negligible beside . Dropping it leaves the quadratic whose discriminant is The quadratic formula then gives
Refine those two with one Newton step. The discarded term shifts each root in the seventh decimal place, and applying Newton's method to the full cubic converges to Compared with the quadratic estimates the corrections are only and , which is exactly what "drop " promised: the neglected term was of size against a term of size .
Get the large root from the root sum, not from the cubic formula. Since the three roots must add to , Substituting this value into returns zero to twelve significant figures.
Verify with both Vieta relations. The three roots , and sum to exactly and multiply to , matching as required. The product check is the one that matters here: a pair of small roots can be wrong and still satisfy the sum, because the large root simply absorbs the difference - only the product exposes the error.
State the solution set. All three roots are real, consistent with a cubic that crosses the axis once just below zero, once just above, and once far out at .
Need to solve a different problem like this? Open the solver →