Algorithm Search⌘K

Proofs: Householder's methods

These are the human proofs of Householder's methods, at full length.

Correctness of Householder's methods full

This proof shows: correctness, termination, convergence-rate.

We use the notation of the page: e=x−x∗e = x - x^*, aj=f(j)(x)/j!a_j = f^{(j)}(x)/j!, bn=(1/f)(n)(x)/n!b_n = (1/f)^{(n)}(x)/n! and βn=a0n+1bn\beta_n = a_0^{n+1}b_n. All statements are in exact arithmetic.

Termination

Each pass of the loop L1 either returns at L3, L5, L6 or L8, or increases kk by one; after KK passes L9 returns. So there are at most KK calls of the derivative routine, that is K(d+1)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∈Cdf \in C^d near xx and a0=f(x)≠0a_0 = f(x) \ne 0, then the numbers βn\beta_n of line L4 equal a0n+1bna_0^{n+1}b_n, and a0βd−1/βd=d (1/f)(d−1)(x)/(1/f)(d)(x)a_0\beta_{d-1}/\beta_d = d\,(1/f)^{(d-1)}(x)/(1/f)^{(d)}(x) whenever βd≠0\beta_d \ne 0.

Proof. Near xx, 1/f1/f is CdC^d, and by the Leibniz rule the derivatives of the product f⋅(1/f)=1f \cdot (1/f) = 1 give ∑j=0najbn−j=0\sum_{j=0}^{n} a_j b_{n-j} = 0 for 1≤n≤d1 \le n \le d, with a0b0=1a_0b_0 = 1. Hence bn=−a0−1∑j=1najbn−jb_n = -a_0^{-1}\sum_{j=1}^n a_jb_{n-j}. Multiplying by a0n+1a_0^{n+1} and writing a0nbn−j=a0j−1⋅a0n−j+1bn−ja_0^{n}b_{n-j} = a_0^{j-1}\cdot a_0^{n-j+1}b_{n-j} gives βn=−∑j=1naja0j−1βn−j\beta_n = -\sum_{j=1}^n a_ja_0^{j-1}\beta_{n-j} and β0=1\beta_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/βdd\,(1/f)^{(d-1)}/(1/f)^{(d)} = d\,(d-1)!\,b_{d-1}/(d!\,b_d) = b_{d-1}/b_d = a_0\beta_{d-1}/\beta_d. □\square

So the code performs exactly the step x←x+d (1/f)(d−1)/(1/f)(d)x \leftarrow x + d\,(1/f)^{(d-1)}/(1/f)^{(d)}, and βd=0\beta_d = 0 exactly when (1/f)(d)(x)=0(1/f)^{(d)}(x) = 0.

Theorem 1 (order d+1d + 1 at a simple root)

Let f∈Cd+1f \in C^{d+1} near x∗x^* with f(x∗)=0≠f′(x∗)f(x^*) = 0 \ne f'(x^*). Let φ(x)=∫01f′(x∗+t(x−x∗)) dt\varphi(x) = \int_0^1 f'(x^* + t(x - x^*))\,dt, so that f=eφf = e\varphi, and ψ=1/φ\psi = 1/\varphi. Then near x∗x^*, for e≠0e \ne 0,

enew=(−1)d ψ(d)(x)d! Td(x) ed+1,Td(x)=∑i=0dψ(i)(x)i!(−e)i,e_{\text{new}} = \frac{(-1)^d\,\psi^{(d)}(x)}{d!\,T_d(x)}\,e^{d+1}, \qquad T_d(x) = \sum_{i=0}^{d} \frac{\psi^{(i)}(x)}{i!}(-e)^i,

with Td(x)→ψ(x∗)=1/f′(x∗)T_d(x) \to \psi(x^*) = 1/f'(x^*). Hence there is ρ>0\rho > 0 such that from every x0x_0 with ∣e0∣≤ρ|e_0| \le \rho the iterates converge to x∗x^* and ek+1/ekd+1→(−1)df′(x∗)ψ(d)(x∗)/d!e_{k+1}/e_k^{d+1} \to (-1)^d f'(x^*)\psi^{(d)}(x^*)/d!.

Proof. Since f′∈Cdf' \in C^d, differentiation under the integral shows φ∈Cd\varphi \in C^d, and φ(x∗)=f′(x∗)≠0\varphi(x^*) = f'(x^*) \ne 0, so ψ∈Cd\psi \in C^d near x∗x^*. For e≠0e \ne 0, 1/f=ψ⋅e−11/f = \psi \cdot e^{-1}, and (e−1)(j)=(−1)jj! e−j−1(e^{-1})^{(j)} = (-1)^j j!\,e^{-j-1}. The Leibniz rule gives

(1/f)(n)=∑i=0n(ni)ψ(i)(−1)n−i(n−i)! e−(n−i)−1,so(−1)nen+1n!(1/f)(n)=∑i=0nψ(i)i!(−e)i=Tn(x).(1/f)^{(n)} = \sum_{i=0}^{n}\binom{n}{i}\psi^{(i)}(-1)^{n-i}(n-i)!\,e^{-(n-i)-1}, \quad\text{so}\quad \frac{(-1)^n e^{n+1}}{n!}(1/f)^{(n)} = \sum_{i=0}^{n}\frac{\psi^{(i)}}{i!}(-e)^i = T_n(x).

For n=dn = d every term with i≥1i \ge 1 tends to 0 as x→x∗x \to x^*, so Td(x)→ψ(x∗)≠0T_d(x) \to \psi(x^*) \ne 0, and Td≠0T_d \ne 0 near x∗x^*. Then the step is

s=d (1/f)(d−1)(1/f)(d)=d (−1)d−1(d−1)! Td−1 e−d(−1)d d! Td e−d−1=−e Td−1Td,s = d\,\frac{(1/f)^{(d-1)}}{(1/f)^{(d)}} = d\,\frac{(-1)^{d-1}(d-1)!\,T_{d-1}\,e^{-d}}{(-1)^d\,d!\,T_d\,e^{-d-1}} = -e\,\frac{T_{d-1}}{T_d},

and enew=e+s=e (Td−Td−1)/Tde_{\text{new}} = e + s = e\,(T_d - T_{d-1})/T_d. Since Td−Td−1=ψ(d)(x)(−e)d/d!T_d - T_{d-1} = \psi^{(d)}(x)(-e)^d/d!, this is the identity claimed. It is exact, not asymptotic.

For the ball: choose ρ\rho so that on [x∗−ρ,x∗+ρ][x^* - \rho, x^* + \rho] we have ∣Td∣≥∣ψ(x∗)∣/2|T_d| \ge |\psi(x^*)|/2 and ∣ψ(d)∣≤M|\psi^{(d)}| \le M, and ρd≤d! ∣ψ(x∗)∣/(4M)\rho^d \le d!\,|\psi(x^*)|/(4M). Then ∣enew∣≤2M∣e∣d+1/(d! ∣ψ(x∗)∣)≤∣e∣/2|e_{\text{new}}| \le 2M|e|^{d+1}/(d!\,|\psi(x^*)|) \le |e|/2, so by induction the iterates stay in the ball and ∣ek∣≤2−kρ→0|e_k| \le 2^{-k}\rho \to 0. If some ek=0e_k = 0, then f(xk)=0f(x_k) = 0 and the method stops at L3. Otherwise continuity of ψ(d)\psi^{(d)} and TdT_d gives the limit of ek+1/ekd+1e_{k+1}/e_k^{d+1}, using ψ(x∗)=1/f′(x∗)\psi(x^*) = 1/f'(x^*). □\square

For d=1d = 1, ψ=(1/f′(x∗))(1−c2e+⋯ )\psi = (1/f'(x^*))(1 - c_2e + \cdots) with cj=f(j)(x∗)/(j! f′(x∗))c_j = f^{(j)}(x^*)/(j!\,f'(x^*)), and the constant is c2c_2, Newton's; for d=2d = 2 it is c22−c3c_2^2 - c_3, Halley's. The order is exactly d+1d + 1 when ψ(d)(x∗)≠0\psi^{(d)}(x^*) \ne 0. The result is local; it says nothing about starts outside the ball.

Theorem 2 (multiple roots)

Let f=(x−x∗)mhf = (x - x^*)^m h with m≥2m \ge 2, h∈Cdh \in C^d near x∗x^* and h(x∗)≠0h(x^*) \ne 0. Then enew=m−1m+d−1e+O(e2)e_{\text{new}} = \frac{m-1}{m+d-1}e + O(e^2), and the iteration converges linearly with this rate from every start close enough to x∗x^*.

Proof. Write 1/f=ψ e−m1/f = \psi\,e^{-m} with ψ=1/h∈Cd\psi = 1/h \in C^d, ψ(x∗)≠0\psi(x^*) \ne 0. With the rising factorial (m)j=m(m+1)⋯(m+j−1)(m)_j = m(m+1)\cdots(m+j-1), (e−m)(j)=(−1)j(m)j e−m−j(e^{-m})^{(j)} = (-1)^j(m)_j\,e^{-m-j}, and the Leibniz rule gives

(1/f)(n)=(−1)n(m)n e−m−n(ψ(x)+∑i=1n(ni)(m)n−i(m)nψ(i)(x)(−e)i)=(−1)n(m)n e−m−n(ψ(x)+O(e)),(1/f)^{(n)} = (-1)^n(m)_n\,e^{-m-n}\Bigl(\psi(x) + \sum_{i=1}^{n}\binom{n}{i}\frac{(m)_{n-i}}{(m)_n}\psi^{(i)}(x)(-e)^i\Bigr) = (-1)^n(m)_n\,e^{-m-n}\bigl(\psi(x) + O(e)\bigr),

uniformly near x∗x^* because ψ(i)\psi^{(i)} is bounded there. Therefore

s=d (1/f)(d−1)(1/f)(d)=−d (m)d−1(m)d e (1+O(e))=−dm+d−1 e (1+O(e)),s = d\,\frac{(1/f)^{(d-1)}}{(1/f)^{(d)}} = -\frac{d\,(m)_{d-1}}{(m)_d}\,e\,\bigl(1 + O(e)\bigr) = -\frac{d}{m+d-1}\,e\,\bigl(1 + O(e)\bigr),

and enew=e+s=m−1m+d−1e+O(e2)e_{\text{new}} = e + s = \frac{m-1}{m+d-1}e + O(e^2). With r=(m−1)/(m+d−1)<1r = (m-1)/(m+d-1) < 1, choose ρ\rho so that ∣enew∣≤1+r2∣e∣|e_{\text{new}}| \le \frac{1+r}{2}|e| for 0<∣e∣≤ρ0 < |e| \le \rho; induction gives ∣ek∣≤(1+r2)kρ→0|e_k| \le (\frac{1+r}{2})^k\rho \to 0, and then ek+1/ek→re_{k+1}/e_k \to r. □\square

For f=xmf = x^m the sum is empty (ψ=1\psi = 1) and xnew=m−1m+d−1xx_{\text{new}} = \frac{m-1}{m+d-1}x exactly, which the tests check in rational arithmetic. Applying Theorem 1 to F=f1/mF = f^{1/m}, which has a simple root when h>0h > 0, shows that Householder's method on f1/mf^{1/m} has order d+1d + 1.

Floating point

The theorems are about exact arithmetic. In double precision, near a simple root the computed ff is dominated by rounding, and the run ends either at a computed zero of ff (status "exact") or with a step below the relative tolerance; near a root of multiplicity mm the attainable error is of order u1/mu^{1/m} times the scale of the problem. These statements are observations on the test functions, not theorems.

Back to Householder's methods