Solve for :
Read the coefficient sizes before doing any algebra. For , Vieta's relations give a root sum of and a root product of . A sum in the hundreds paired with a product of a few hundredths forces one large root and two roots near zero, and each group needs its own approximation.
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 →