Algebra · real student question

Solve x^3 - 245.711x^2 + 2.764156x + 0.138128 = 0.

Question

Solve for xx:

x3245.711x2+2.764156x+0.138128=0x^{3}-245.711x^{2}+2.764156x+0.138128=0

Step-by-step solution

  1. Separate the scales first. In x3245.711x2+2.764156x+0.138128=0x^{3}-245.711x^{2}+2.764156x+0.138128=0 Vieta gives root sum 245.711245.711 and root product 0.138128-0.138128. 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.

  2. Find the two small roots by discarding x3x^{3}. If x|x| is only a few hundredths then x3x^{3} is of order 10510^{-5}, utterly negligible beside 245.711x2245.711x^{2}. Dropping it leaves the quadratic 245.711x22.764156x0.138128=0,245.711x^{2}-2.764156x-0.138128=0, whose discriminant is D=(2.764156)2+4(245.711)(0.138128)=143.3988344243,D=11.9749252367.D=(-2.764156)^{2}+4(245.711)(0.138128)=143.3988344243,\qquad \sqrt{D}=11.9749252367. The quadratic formula then gives x0.018743095andx0.029992718.x\approx -0.018743095\quad\text{and}\quad x\approx 0.029992718.

  3. Refine those two with one Newton step. The discarded x3x^{3} term shifts each root in the seventh decimal place, and applying Newton's method xxf(x)f(x)x\mapsto x-\dfrac{f(x)}{f'(x)} to the full cubic converges to x=0.018742545andx=0.029994971.x=-0.018742545\qquad\text{and}\qquad x=0.029994971. Compared with the quadratic estimates the corrections are only 5.5×1075.5\times 10^{-7} and 2.3×1062.3\times 10^{-6}, which is exactly what "drop x3x^{3}" promised: the neglected term was of size 10510^{-5} against a 245.711x2245.711x^{2} term of size 10110^{-1}.

  4. Get the large root from the root sum, not from the cubic formula. Since the three roots must add to 245.711245.711, xlarge=245.711(0.018742545+0.029994971)=245.699747574.x_{\text{large}}=245.711-\left(-0.018742545+0.029994971\right)=245.699747574. Substituting this value into f(x)=x3245.711x2+2.764156x+0.138128f(x)=x^{3}-245.711x^{2}+2.764156x+0.138128 returns zero to twelve significant figures.

  5. Verify with both Vieta relations. The three roots 0.018742545-0.018742545, 0.0299949710.029994971 and 245.699747574245.699747574 sum to exactly 245.711000000245.711000000 and multiply to 0.138128-0.138128, matching c-c 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.

  6. State the solution set. x=0.018742545,x=0.029994971,x=245.699747574.x=-0.018742545,\qquad x=0.029994971,\qquad x=245.699747574. 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 245.7245.7.

Answer

x=0.018742545,x=0.029994971,x=245.699747574x=-0.018742545,\qquad x=0.029994971,\qquad x=245.699747574

Need to solve a different problem like this? Open the solver →