Correctness of Householder's methods full
This proof shows: correctness, termination, convergence-rate.
We use the notation of the page: e=x−x∗, aj=f(j)(x)/j!, bn=(1/f)(n)(x)/n! and βn=a0n+1bn. All statements are in exact arithmetic.
Termination
Each pass of the loop L1 either returns at L3, L5, L6 or L8, or increases k by one; after K passes L9 returns. So there are at most K calls of the derivative routine, that is K(d+1) values. Non-finite values or a non-finite step raise an error, which also ends the run.
Lemma 1 (the recurrence computes the step)
If f∈Cd near x and a0=f(x)=0, then the numbers βn of line L4 equal a0n+1bn, and a0βd−1/βd=d(1/f)(d−1)(x)/(1/f)(d)(x) whenever βd=0.
Proof. Near x, 1/f is Cd, and by the Leibniz rule the derivatives of the product f⋅(1/f)=1 give ∑j=0najbn−j=0 for 1≤n≤d, with a0b0=1. Hence bn=−a0−1∑j=1najbn−j. Multiplying by a0n+1 and writing a0nbn−j=a0j−1⋅a0n−j+1bn−j gives βn=−∑j=1naja0j−1βn−j and β0=1, the recurrence of L4. Finally d(1/f)(d−1)/(1/f)(d)=d(d−1)!bd−1/(d!bd)=bd−1/bd=a0βd−1/βd. □
So the code performs exactly the step x←x+d(1/f)(d−1)/(1/f)(d), and βd=0 exactly when (1/f)(d)(x)=0.
Theorem 1 (order d+1 at a simple root)
Let f∈Cd+1 near x∗ with f(x∗)=0=f′(x∗). Let φ(x)=∫01f′(x∗+t(x−x∗))dt, so that f=eφ, and ψ=1/φ. Then near x∗, for e=0,
enew=d!Td(x)(−1)dψ(d)(x)ed+1,Td(x)=i=0∑di!ψ(i)(x)(−e)i, with Td(x)→ψ(x∗)=1/f′(x∗). Hence there is ρ>0 such that from every x0 with ∣e0∣≤ρ the iterates converge to x∗ and ek+1/ekd+1→(−1)df′(x∗)ψ(d)(x∗)/d!.
Proof. Since f′∈Cd, differentiation under the integral shows φ∈Cd, and φ(x∗)=f′(x∗)=0, so ψ∈Cd near x∗. For e=0, 1/f=ψ⋅e−1, and (e−1)(j)=(−1)jj!e−j−1. The Leibniz rule gives
(1/f)(n)=i=0∑n(in)ψ(i)(−1)n−i(n−i)!e−(n−i)−1,son!(−1)nen+1(1/f)(n)=i=0∑ni!ψ(i)(−e)i=Tn(x). For n=d every term with i≥1 tends to 0 as x→x∗, so Td(x)→ψ(x∗)=0, and Td=0 near x∗. Then the step is
s=d(1/f)(d)(1/f)(d−1)=d(−1)dd!Tde−d−1(−1)d−1(d−1)!Td−1e−d=−eTdTd−1, and enew=e+s=e(Td−Td−1)/Td. Since Td−Td−1=ψ(d)(x)(−e)d/d!, this is the identity claimed. It is exact, not asymptotic.
For the ball: choose ρ so that on [x∗−ρ,x∗+ρ] we have ∣Td∣≥∣ψ(x∗)∣/2 and ∣ψ(d)∣≤M, and ρd≤d!∣ψ(x∗)∣/(4M). Then ∣enew∣≤2M∣e∣d+1/(d!∣ψ(x∗)∣)≤∣e∣/2, so by induction the iterates stay in the ball and ∣ek∣≤2−kρ→0. If some ek=0, then f(xk)=0 and the method stops at L3. Otherwise continuity of ψ(d) and Td gives the limit of ek+1/ekd+1, using ψ(x∗)=1/f′(x∗). □
For d=1, ψ=(1/f′(x∗))(1−c2e+⋯) with cj=f(j)(x∗)/(j!f′(x∗)), and the constant is c2, Newton's; for d=2 it is c22−c3, Halley's. The order is exactly d+1 when ψ(d)(x∗)=0. The result is local; it says nothing about starts outside the ball.
Theorem 2 (multiple roots)
Let f=(x−x∗)mh with m≥2, h∈Cd near x∗ and h(x∗)=0. Then enew=m+d−1m−1e+O(e2), and the iteration converges linearly with this rate from every start close enough to x∗.
Proof. Write 1/f=ψe−m with ψ=1/h∈Cd, ψ(x∗)=0. With the rising factorial (m)j=m(m+1)⋯(m+j−1), (e−m)(j)=(−1)j(m)je−m−j, and the Leibniz rule gives
(1/f)(n)=(−1)n(m)ne−m−n(ψ(x)+i=1∑n(in)(m)n(m)n−iψ(i)(x)(−e)i)=(−1)n(m)ne−m−n(ψ(x)+O(e)), uniformly near x∗ because ψ(i) is bounded there. Therefore
s=d(1/f)(d)(1/f)(d−1)=−(m)dd(m)d−1e(1+O(e))=−m+d−1de(1+O(e)), and enew=e+s=m+d−1m−1e+O(e2). With r=(m−1)/(m+d−1)<1, choose ρ so that ∣enew∣≤21+r∣e∣ for 0<∣e∣≤ρ; induction gives ∣ek∣≤(21+r)kρ→0, and then ek+1/ek→r. □
For f=xm the sum is empty (ψ=1) and xnew=m+d−1m−1x exactly, which the tests check in rational arithmetic. Applying Theorem 1 to F=f1/m, which has a simple root when h>0, shows that Householder's method on f1/m has order d+1.
Floating point
The theorems are about exact arithmetic. In double precision, near a simple root the computed f is dominated by rounding, and the run ends either at a computed zero of f (status "exact") or with a step below the relative tolerance; near a root of multiplicity m the attainable error is of order u1/m times the scale of the problem. These statements are observations on the test functions, not theorems.