Question 6 of 7: Root-Finding by Halley-Form Iteration and Fixed-Point Iteration
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — May 2013 — 04-BS-5 Advanced Mathematics. Three-hour, closed-book exam (one double-sided 8.5"×11" aid sheet permitted; approved Casio/Sharp calculator allowed). Format: seven questions of equal value (20 marks each); any five constitute a complete paper and only the first five appearing in the answer book are marked. All seven are solved below for completeness.
Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — power-series solutions of ODEs (Ch. 5), Fourier series and the Fourier transform (Ch. 11), least-squares curve fitting, Lagrange interpolation, Romberg integration and root-finding (Ch. 19); Strang, Introduction to Linear Algebra (6th ed., Wellesley-Cambridge) — the Cayley–Hamilton theorem and matrix inversion.
Question 6: Root-Finding by Halley-Form Iteration and Fixed-Point Iteration (A) 10, (B) 10 marks
Given. (A) $f(x)=x^5-16x^2-20$, initial guess $x_0=2.6$, and the stated iteration formula. (B) $F(x)=\ln(x+2)-x^2+7$, initial guess $x_0=2.95$.
Find. (A) $x_1,x_2$ to 7 digits. (B) $x_1,\dots,x_5$ to 7 digits.
Approach. (A) The given formula is algebraically Halley's method (multiply its numerator and denominator by $2f'$): $x_{i+1}=x_i-\dfrac{2f\,f'}{2f'^2-f\,f''}$; evaluate $f,f',f''$ and iterate twice. (B) Isolate the $x^2$ term to get a contracting $g(x)=\sqrt{\ln(x+2)+7}$ (the positive root, matching $x_0\approx2.95$), then iterate.
(A) First iteration from $x_0=2.6$.
$$f(2.6)=-9.346240,\quad f'(2.6)=145.28800,\quad f''(2.6)=319.5200$$
$$x_1=2.6-\dfrac{-9.346240}{145.28800-\dfrac{(-9.346240)(319.5200)}{2(145.28800)}}=2.6-\dfrac{-9.346240}{155.5652}$$
$$\boxed{x_1=2.660079}$$
(A) Second iteration from $x_1$.
$$f(x_1)=-0.0259611,\quad f'(x_1)=165.22787,\quad f''(x_1)=344.45556$$
$$x_2=x_1-\dfrac{-0.0259611}{165.22787-\dfrac{(-0.0259611)(344.45556)}{2(165.22787)}}=x_1-\dfrac{-0.0259611}{165.2549}$$
$$\boxed{x_2=2.660236}$$
(Check: $f(x_2)\approx-4\times10^{-10}$ — already at the root to 7-digit precision after two steps, reflecting Halley's cubic order of convergence.)
(B) Rearrange as a contracting fixed-point map. From $\ln(x+2)-x^2+7=0$,
$$x^2=\ln(x+2)+7\ \Longrightarrow\ \boxed{x=g(x)=\sqrt{\ln(x+2)+7}}$$
(the positive square root, since the sought root is near $+2.95$; this isolation of the $x^2$ term keeps $|g'(x)|$ small near the root, unlike e.g. solving for $x$ inside the logarithm.)
(B) Iterate five times from $x_0=2.95$.
$$x_1=\sqrt{\ln(4.95)+7}=\boxed{2.932471}$$
$$x_2=\sqrt{\ln(4.932471)+7}=\boxed{2.931866}$$
$$x_3=\boxed{2.931845},\qquad x_4=\boxed{2.931845},\qquad x_5=\boxed{2.931845}$$
The iterates settle to $x\approx2.931845$ by the fourth step (Check: $\ln(4.931845)-2.931845^2+7\approx-5\times10^{-9}$).