10.0 KB · commit a9602da
We have so far discussed root-finding methods which require an interval in which the root lies. We now describe methods which require one or more approximate values to start the solution and these values need not necessarily bracket the root. The first is the iteration method which requires one starting value of x.
To describe this method for finding a root of the equation f(x)=0,(2.1) we rewrite this equation in the form x=ϕ(x)(2.8) There are many ways of doing this. For example, the equation x3+x2−2=0 can be expressed in different forms x=1+x2,x=2−x3,x=(2−x2)1/3, etc. Now, let x0 be an approximate root of Eq. (2.8). Then, substituting in Eq. (2.8), we get the first approximation as x1=ϕ(x0) Successive substitutions give the approximations x2=ϕ(x1),x3=ϕ(x2),…,xn=ϕ(xn−1).
The preceding sequence may not converge to a definite number. But if the sequence converges to a definite number ξ, then ξ will be a root of the equation x=ϕ(x). To show this, let xn+1=ϕ(xn)(2.9) be the relation between the nth and (n+1)th approximations. As n increases, xn+1→ξ and if ϕ(x) is a continuous function, then ϕ(xn)→ϕ(ξ). Hence, in the limit, we obtain ξ=ϕ(ξ),(2.10) which shows that ξ is a root of the equation x=ϕ(x).
To establish the condition of convergence of Eq. (2.8), we proceed in the following way: From Eq. (2.9), we have x1=ϕ(x0)(2.11) From Eqs. (2.10) and (2.11), we get
ξ−x1=ϕ(ξ)−ϕ(x0)=(ξ−x0)ϕ′(ξ0),x0<ξ0<ξ,(2.12)on using Theorem 1.5. Similarly, we obtain ξ−x2=(ξ−x1)ϕ′(ξ1),x1<ξ1<ξ(2.13) ξ−x3=(ξ−x2)ϕ′(ξ2),x2<ξ2<ξ(2.14) ⋮⋮ ξ−xn+1=(ξ−xn)ϕ′(ξn),xn<ξn<ξ(2.15) If we assume ∣ϕ′(ξi)∣≤k(for all i),(2.16) then Eqs. (2.12) to (2.15) give
∣ξ−x1∣∣ξ−x2∣∣ξ−x3∣∣ξ−xn+1∣≤k∣ξ−x0∣≤k∣ξ−x1∣≤k∣ξ−x2∣⋮≤k∣ξ−xn∣(2.17)Multiplying the corresponding sides of the above equations, we obtain ∣ξ−xn+1∣≤kn+1∣ξ−x0∣(2.18) If k<1, i.e., if ∣ϕ′(ξi)∣<1, then the right side of Eq. (2.18) tends to zero and the sequence of approximations x0,x1,x2,… converges to the root ξ. Thus, when we express the equation f(x)=0 in the form x=ϕ(x), then ϕ(x) must be such that ∣ϕ′(x)∣<1 in an immediate neighbourhood of the root. It follows that if the initial approximation x0 is chosen in an interval containing the root ξ, then the sequence of approximations converges to the root ξ.
Now, we show that the root so obtained is unique. To prove this, let ξ1 and ξ2 be two roots of the equation x=ϕ(x). Then, we must have ξ1=ϕ(ξ1)andξ2=ϕ(ξ2). Therefore,
∣ξ1−ξ2∣=∣ϕ(ξ1)−ϕ(ξ2)∣=∣ξ1−ξ2∣∣ϕ′(η)∣,η∈(ξ1,ξ2)Hence, ∣ξ1−ξ2∣[1−ϕ′(η)]=0(2.19) Since ∣ϕ′(η)∣<1, it follows that ξ1=ξ2, which proves that the root obtained is unique.
Finally, we shall find the error in the root obtained. We have
∣ξ−xn∣≤k∣ξ−xn−1∣=k∣ξ−xn+xn−xn−1∣≤k[∣ξ−xn∣+∣xn−xn−1∣]⇒∣ξ−xn∣≤1−kk∣xn−xn−1∣=1−kkkn−1∣x1−x0∣ ≤1−kkn∣x1−x0∣,(2.20) which shows that the convergence would be faster for smaller values of k.
Now, let ε be the specified accuracy so that ∣ξ−xn∣≤ε Then, Eq. (2.20) gives ∣xn−xn−1∣≤k1−kε,(2.21) which can be used to find the difference between two successive approximations (or iterations) to achieve a prescribed accuracy.
Therefore, Eq. (2.21) gives ∣xn−xn−1∣≤0.21−0.2ε=4×10−4=0.0004. Taking x0=0.75, we find
x1x2x3=1.751=0.75593,=1.755931=0.75465,=1.754651=0.75493.Now, ∣x3−x2∣=0.00028<0.0004. Hence, the required root is 0.7549, correct to four decimal places. ◀
x6x7=21(cos1.5243+3)=1.5232,=21(cos1.5232+3)=1.5238.Now, ∣x7−x6∣=0.0006<0.001. Hence, the root, correct to three decimal places is 1.524. ◀
Taking x0=1, we obtain the successive iterates as:
x1x2x3x4=1+10sin1=1.0841,=1+10sin1.0841=1.0884,=1+10sin1.0884=1.0886,=1+10sin1.0886=1.0886.Hence the required root is 1.089. ◀
From the relation ∣ξ−xn+1∣=∣ϕ(ξ)−ϕ(xn)∣≤k∣ξ−xn∣,k<1 it is clear that the iteration method is linearly convergent. This slow rate of convergence can be accelerated by using Aitken's method, which is described below.
Let xi−1,xi,xi+1 be three successive approximations to the desired root x=ξ of the equation x=ϕ(x). From Eq. (2.17), we know that ξ−xi=k(ξ−xi−1),ξ−xi+1=k(ξ−xi) Dividing, we obtain ξ−xi+1ξ−xi=ξ−xiξ−xi−1, which gives on simplification ξ=xi+1−xi+1−2xi+xi−1(xi+1−xi)2.(2.22) If we now define Δxi and Δ2xi by the relations Δxi=xi+1−xiandΔ2xi=Δ(Δxi), then
Δ2xi−1=Δ(Δxi−1)=Δ(xi−xi−1)=Δxi−Δxi−1=xi+1−xi−(xi−xi−1)=xi+1−2xi+xi−1.Hence Eq. (2.22) can be written in the simpler form ξ=xi+1−Δ2xi−1(Δxi)2.(2.23) which explains the term Δ2-process.
In any numerical application, the values of the following underlined quantities must be obtained.
xi−1xixi+1Δxi−1ΔxiΔ2xi−1