Solve for :
See why the roots must split into one huge one and two tiny ones. In the quadratic coefficient dwarfs everything else. Vieta says the three roots sum to and multiply to , a number close to zero - so one root has to carry almost the whole sum while the other two are small enough to keep the product tiny. Recognising that structure is what lets us split the problem into two easy sub-problems.
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 →