HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /The cubic f(x) = (x - 1)²(x + 2) = x³ - 3x + 2 has a double root at x = 1…
AdvancedMathematicsHigh School (11–12)Numerical MethodsproofNumericalOlympiad
+1 more exams
A-Level
OlympiadA-Level

The cubic f(x) = (x - 1)²(x + 2) = x³ - 3x + 2 has a double root at x = 1…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

The cubic f(x)=(x−1)2(x+2)=x3−3x+2f(x) = (x - 1)^2(x + 2) = x^3 - 3x + 2f(x)=(x−1)2(x+2)=x3−3x+2 has a double root at x=1x = 1x=1.

  1. Start Newton's method at x0=2x_0 = 2x0​=2. Find x1x_1x1​ to three decimal places.
  1. Prove that near x=1x = 1x=1 the errors satisfy en+1≈12ene_{n+1} \approx \tfrac{1}{2}e_nen+1​≈21​en​. Use f(x)=e2(e+3)f(x) = e^2(e + 3)f(x)=e2(e+3) and f′(x)=e(3e+6)f'(x) = e(3e + 6)f′(x)=e(3e+6), with e=x−1e = x - 1e=x−1. So the method is only linear here.
  1. The modified step xn+1=xn−2f(xn)f′(xn)x_{n+1} = x_n - 2\dfrac{f(x_n)}{f'(x_n)}xn+1​=xn​−2f′(xn​)f(xn​)​ is used at a double root. Find its first step from x0=2x_0 = 2x0​=2, to three decimal places, and compare its error with the error in (a).

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. Part (a). x1=2−49≈1.556x_1 = 2 - \tfrac{4}{9} \approx 1.556x1​=2−94​≈1.556.

Step 2. Part (b). With e=x−1e = x - 1e=x−1: ff′=e2(e+3)e(3e+6)=e(e+3)3e+6\dfrac{f}{f'} = \dfrac{e^2(e + 3)}{e(3e + 6)} = \dfrac{e(e + 3)}{3e + 6}f′f​=e(3e+6)e2(e+3)​=3e+6e(e+3)​. So

en+1=en−en(en+3)3en+6=en(2en+3)3en+6.\displaystyle e_{n+1} = e_n - \dfrac{e_n(e_n + 3)}{3e_n + 6} = \dfrac{e_n(2e_n + 3)}{3e_n + 6}.en+1​=en​−3en​+6en​(en​+3)​=3en​+6en​(2en​+3)​.

As ene_nen​ tends to 000, en+1en\dfrac{e_{n+1}}{e_n}en​en+1​​ tends to 36=0.5\tfrac{3}{6} = 0.563​=0.5. The error is only halved at each step.

Step 3. Part (c). x1=2−2×49=109≈1.111x_1 = 2 - 2 \times \tfrac{4}{9} = \tfrac{10}{9} \approx 1.111x1​=2−2×94​=910​≈1.111. Its error is 0.1110.1110.111, against 0.5560.5560.556 in (a).

Check. Running ordinary Newton gives errors 0.5560.5560.556, 0.2980.2980.298, 0.1550.1550.155, 0.0800.0800.080: the ratios are 0.540.540.54, 0.520.520.52, 0.510.510.51, closing in on 0.50.50.5.

Answer: x1≈1.556x_1 \approx 1.556x1​≈1.556; the error ratio tends to 0.50.50.5; the modified step gives x1≈1.111x_1 \approx 1.111x1​≈1.111, five times closer. Proof complete.

Log in to save this for later
← All Problems
← Let f(x) = x³ - 2x + 2. Prove that f has exactly one real root, and that it lies in (-2, -1)…The equation eˣ + x = 4 has one root, between 1 and 1.5… →
More onNumerical Methods

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. The Newton-Raphson methodNumerical Solution of Equations

More on this topic

  1. The integral ∫₀¹ 4/(1 + x²) dx is exactly π, because d/dx tan⁻¹ x = 1/(1 + x²)…Advanced
  2. Prove that Simpson's rule with 2 strips is exact for every cubic f(x) = A + Bx + Cx² + Dx³ on [-h…Advanced
  3. A hydrologist measures the depth of a river at points 2 m apart across a channel 12 m wide: Use…Hard

Newton's method:

xn+1=xn−f(xn)f′(xn).\displaystyle x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}.xn+1​=xn​−f′(xn​)f(xn​)​.

Near a simple root the error is squared at each step, roughly. It fails at a flat tangent, can cycle or run away, and slows to linear speed at a repeated root.

An engineer must find ∫₁³ ln x dx with an error of less than 0.0005, and wants to know how much…Hard
  • Let f'' > 0 on [a, b]. Prove that on one strip, M₁ < ∫aᵇ f dx < T₁…Advanced
  • All problems on this topic →