Convergence of fixed-point iteration, global, local and of order q full
This proof shows: correctness, termination.
We work in exact real arithmetic. The iterates are xk+1=g(xk), and ek=xk−x∗.
Theorem 1 (global). Let I be a closed interval, let g(I)⊆I, and let ∣g(x)−g(y)∣≤L∣x−y∣ for all x,y∈I with 0≤L<1. Then g has exactly one fixed point x∗∈I. For each x0∈I the iterates stay in I, and for all k≥1:
- ∣ek∣≤Lk∣e0∣;
- ∣xk−x∗∣≤1−LL∣xk−xk−1∣ (a posteriori bound);
- ∣xk−x∗∣≤1−LLk∣x1−x0∣ (a priori bound).
Proof. The iterates stay in I by induction, since g(I)⊆I. For k≥1, ∣xk+1−xk∣=∣g(xk)−g(xk−1)∣≤L∣xk−xk−1∣, so ∣xk+1−xk∣≤Lk∣x1−x0∣. For j>k,
∣xj−xk∣≤i=k∑j−1∣xi+1−xi∣≤i=k∑j−1Li∣x1−x0∣≤1−LLk∣x1−x0∣. So (xk) is a Cauchy sequence. It has a limit x∗, which lies in I because I is closed. The map g is continuous (it is Lipschitz), so x∗=limxk+1=limg(xk)=g(x∗). If y∗∈I is another fixed point, then ∣x∗−y∗∣=∣g(x∗)−g(y∗)∣≤L∣x∗−y∗∣, and L<1 forces x∗=y∗.
For item 1, ∣ek∣=∣g(xk−1)−g(x∗)∣≤L∣ek−1∣, and induction gives ∣ek∣≤Lk∣e0∣. For item 2, ∣xk−x∗∣≤∣xk−xk+1∣+∣xk+1−x∗∣≤L∣xk−xk−1∣+L∣xk−x∗∣, and we solve for ∣xk−x∗∣. Item 3 follows from the display when j→∞. □
Corollary (the stop test). Under Theorem 1, if line L1 sets τ=δ(1−L)/L with L>0 and line L6 returns y=xk because ∣xk−xk−1∣≤τ, then ∣y−x∗∣≤1−LLτ=δ by item 2. The test holds at the latest when 1Lk−1∣x1−x0∣≤τ, because ∣xk−xk−1∣≤Lk−1∣x1−x0∣. So FIXED-POINT stops after at most 1+⌈log(∣x1−x0∣/τ)/log(1/L)⌉ steps, a finite number. If L=0, g is constant on I and x1=x∗; the test with any τ≥0 holds at step 2. □
Theorem 2 (local). Let g be C1 on an open interval around a fixed point x∗, with ∣g′(x∗)∣<1. Then there is ρ>0 such that, for each x0 with ∣x0−x∗∣≤ρ, the iterates converge to x∗, and ek+1/ek→g′(x∗) when no ek is zero.
Proof. Choose L with ∣g′(x∗)∣<L<1. By continuity of g′ there is ρ>0 with ∣g′(x)∣≤L for ∣x−x∗∣≤ρ. Let I=[x∗−ρ,x∗+ρ]. For x∈I, the mean value theorem gives ξ between x and x∗ with ∣g(x)−x∗∣=∣g′(ξ)∣∣x−x∗∣≤Lρ, so g(I)⊆I. The same theorem shows ∣g(x)−g(y)∣≤L∣x−y∣ on I. Theorem 1 applies. For the ratio, ek+1=g(xk)−g(x∗)=g′(ξk)ek with ξk between xk and x∗. Since xk→x∗, also ξk→x∗, and g′(ξk)→g′(x∗) by continuity. □
Theorem 3 (order q). Let q≥2, let g be Cq near x∗, and let g′(x∗)=⋯=g(q−1)(x∗)=0 and g(q)(x∗)=0. Then the convergence of Theorem 2 holds, and ek+1/ekq→g(q)(x∗)/q! when no ek is zero. So the order is exactly q with rate constant C=∣g(q)(x∗)∣/q!.
Proof. Since g′(x∗)=0, Theorem 2 gives convergence for x0 close enough. Taylor's theorem with the Lagrange remainder at x∗ gives g(xk)=g(x∗)+q!g(q)(ξk)ekq with ξk between xk and x∗, because the terms of order 1 to q−1 vanish. So ek+1=q!g(q)(ξk)ekq, and ξk→x∗ with continuity of g(q) gives the limit. □
Theorem 4 (repulsion). Let g be C1 near x∗ with ∣g′(x∗)∣>1. If xk→x∗, then xk=x∗ for all large k.
Proof. Choose λ with 1<λ<∣g′(x∗)∣ and ρ>0 with ∣g′(x)∣≥λ for ∣x−x∗∣≤ρ. If xk→x∗, then ∣ek∣≤ρ for all k≥K. For such k, the mean value theorem gives ∣ek+1∣=∣g′(ξk)∣∣ek∣≥λ∣ek∣. If eK=0, then ∣eK+j∣≥λj∣eK∣→∞, which contradicts ∣ek∣≤ρ. So eK=0, and then ek=0 for all k≥K. □
Termination of FIXED-POINT. The loop of lines L3 to L7 runs at most kmax times, and each pass either returns or goes on, so the procedure always ends. Under Theorem 1 with the scaled tolerance, the corollary shows that it returns at line L6 with error at most δ once kmax is at least the bound given there. ■