Algorithm Search⌘K

Proofs: Inverse quadratic interpolation

These are the human proofs of Inverse quadratic interpolation, at full length.

Error equation, local convergence and order of inverse quadratic interpolation full

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

We work in exact real arithmetic. Let x∗x^* be a simple root: f(x∗)=0≠f′(x∗)f(x^*) = 0 \ne f'(x^*), and let ff be C3C^3 on an interval I=[x∗−ρ,x∗+ρ]I = [x^* - \rho, x^* + \rho] on which f′≠0f' \ne 0. Then ff is strictly monotone on II, J=f(I)J = f(I) is an interval that holds 0 in its interior, and the inverse g=f−1:J→Ig = f^{-1} : J \to I is C3C^3 with g(0)=x∗g(0) = x^*.

Lemma 1 (the step). If x0,x1,x2∈Ix_0, x_1, x_2 \in I have distinct values fi=f(xi)f_i = f(x_i), line L4 returns p(0)p(0), where pp is the polynomial of degree at most 2 with p(fi)=xip(f_i) = x_i.

Proof. The values are distinct, so pp exists and is unique. Newton's form of pp at the nodes f2,f1,f0f_2, f_1, f_0 is p(y)=x2+x[f2,f1](y−f2)+x[f2,f1,f0](y−f2)(y−f1)p(y) = x_2 + x[f_2, f_1](y - f_2) + x[f_2, f_1, f_0](y - f_2)(y - f_1), and at y=0y = 0 this is the expression of L4. The Lagrange form is the same polynomial. □\square

Lemma 2 (error equation). Under the hypotheses of Lemma 1, there are η∈J\eta \in J and ξ0,ξ1,ξ2∈I\xi_0, \xi_1, \xi_2 \in I with

e3=x3−x∗=g′′′(η)6 f′(ξ0)f′(ξ1)f′(ξ2)  e0e1e2.e_3 = x_3 - x^* = \frac{g'''(\eta)}{6}\, f'(\xi_0) f'(\xi_1) f'(\xi_2)\; e_0 e_1 e_2.

Proof. Since xi=g(fi)x_i = g(f_i), pp interpolates gg at f0,f1,f2f_0, f_1, f_2. The interpolation error formula gives, for y=0y = 0, g(0)−p(0)=g′′′(η)6(0−f0)(0−f1)(0−f2)g(0) - p(0) = \frac{g'''(\eta)}{6}(0 - f_0)(0 - f_1)(0 - f_2) for some η\eta in the smallest interval that holds 0,f0,f1,f20, f_0, f_1, f_2, which lies in JJ. So x3−x∗=p(0)−g(0)=g′′′(η)6f0f1f2x_3 - x^* = p(0) - g(0) = \frac{g'''(\eta)}{6} f_0 f_1 f_2. By the mean value theorem fi=f(xi)−f(x∗)=f′(ξi)eif_i = f(x_i) - f(x^*) = f'(\xi_i) e_i. □\square

Differentiating g(f(x))=xg(f(x)) = x three times gives g′=1/f′g' = 1/f', g′′=−f′′/f′3g'' = -f''/f'^3 and g′′′=(3f′′2−f′f′′′)/f′5g''' = (3f''^2 - f'f''')/f'^5, all at matching points. So, as the points tend to x∗x^*, the factor in Lemma 2 tends to

C=3f′′(x∗)2−f′(x∗)f′′′(x∗)6f′(x∗)2.C = \frac{3f''(x^*)^2 - f'(x^*)f'''(x^*)}{6 f'(x^*)^2}.

Theorem 1 (local convergence). Let K=16max⁡J∣g′′′∣⋅(max⁡I∣f′∣)3K = \frac16 \max_J |g'''| \cdot (\max_I |f'|)^3 and choose 0<r≤ρ0 < r \le \rho with Kr2≤1/2K r^2 \le 1/2. If x0,x1,x2x_0, x_1, x_2 are distinct points with ∣ei∣≤r|e_i| \le r, then either some iterate is exactly x∗x^*, or all iterates are defined, ∣ek+1∣≤12max⁡(∣ek∣,∣ek−1∣,∣ek−2∣)|e_{k+1}| \le \frac12 \max(|e_k|, |e_{k-1}|, |e_{k-2}|), and ek→0e_k \to 0. Moreover ek+1/(ekek−1ek−2)→Ce_{k+1}/(e_k e_{k-1} e_{k-2}) \to C.

Proof. Distinct points of II have distinct values since ff is injective on II, so the first step is defined, and by Lemma 2, ∣e3∣≤K∣e0∣∣e1∣∣e2∣≤Kr2max⁡∣ei∣≤12max⁡∣ei∣≤r/2|e_3| \le K|e_0||e_1||e_2| \le K r^2 \max|e_i| \le \frac12 \max|e_i| \le r/2. So x3∈Ix_3 \in I. If e3=0e_3 = 0 the method has hit the root (L6). Otherwise x3x_3 differs from x0,x1,x2x_0, x_1, x_2: for instance x3=x2x_3 = x_2 would give ∣e2∣=∣e3∣≤Kr2∣e2∣≤∣e2∣/2|e_2| = |e_3| \le K r^2 |e_2| \le |e_2|/2, so e2=0e_2 = 0, and then f2=0f_2 = 0 and L6 would have stopped earlier; the same argument applies to x1x_1 and x0x_0. So the next three points are distinct and in the ball, and induction gives the bound at every step. Let Mj=max⁡(∣e3j∣,∣e3j+1∣,∣e3j+2∣)M_j = \max(|e_{3j}|, |e_{3j+1}|, |e_{3j+2}|). The bound gives Mj+1≤Mj/2M_{j+1} \le M_j/2, so ek→0e_k \to 0. The limit of the ratio follows from Lemma 2, since η→0\eta \to 0 and ξi→x∗\xi_i \to x^* and the derivatives are continuous. □\square

Theorem 2 (order). Under Theorem 1, if C≠0C \ne 0 and no iterate is exact, then log⁡∣ek+1∣/log⁡∣ek∣→q\log|e_{k+1}| / \log|e_k| \to q, where q≈1.8393q \approx 1.8393 is the real root of q3=q2+q+1q^3 = q^2 + q + 1.

Proof. Let ℓk=log⁡∣ek∣\ell_k = \log|e_k|. By Theorem 1, ℓk+1=ℓk+ℓk−1+ℓk−2+ck\ell_{k+1} = \ell_k + \ell_{k-1} + \ell_{k-2} + c_k with ck=log⁡∣Ck∣→log⁡∣C∣c_k = \log|C_k| \to \log|C|, so ∣ck∣≤c|c_k| \le c for some cc. The characteristic polynomial t3−t2−t−1t^3 - t^2 - t - 1 has the real root q>1q > 1 and two complex roots λ,λˉ\lambda, \bar\lambda with q∣λ∣2=1q|\lambda|^2 = 1 (the product of the roots is 1), so ∣λ∣=q−1/2<1|\lambda| = q^{-1/2} < 1. Write the recurrence in the basis of these roots: the components along λ\lambda and λˉ\bar\lambda satisfy uk+1=λuk+O(c)u_{k+1} = \lambda u_k + O(c), so they stay bounded, and the component along qq satisfies vk+1=qvk+O(c)v_{k+1} = q v_k + O(c), so vk=Aqk+O(1)v_k = A q^k + O(1) with A=lim⁡vk/qkA = \lim v_k / q^k, which exists because the series ∑O(c)q−k\sum O(c) q^{-k} converges. Hence ℓk=Aqk+O(1)\ell_k = A q^k + O(1). Since ℓk→−∞\ell_k \to -\infty, A<0A < 0, and ℓk+1/ℓk→q\ell_{k+1}/\ell_k \to q. □\square

In the language of the root-finding pages, the method has order q=1.839q = 1.839 with one evaluation in each step, so its efficiency index is 1.8391.839. Both theorems are local: they need the three starting points close to x∗x^*.

Termination. The loop of lines L2 to L7 runs at most kmax⁡k_{\max} times, and each pass returns at L3 or L6 or goes on, so IQI always ends, after at most kmax⁡+3k_{\max} + 3 evaluations. The stop at L6 on a short step is not an error bound; under Theorem 1, ∣e2∣≤∣x3−x2∣+∣e3∣≤∣x3−x2∣+12max⁡(∣e0∣,∣e1∣,∣e2∣)|e_2| \le |x_3 - x_2| + |e_3| \le |x_3 - x_2| + \frac12 \max(|e_0|, |e_1|, |e_2|), which bounds the error only together with the earlier errors, and only near the root. ■\blacksquare

Back to Inverse quadratic interpolation