12 1. Solutions of Nonlinear Equations
12 1. Solutions of Nonlinear Equations
n 0 1 2 3 4 5 6
g1 (x) 10 + x 4x2 x3 1.5 0.8750 6.732421875 4.6972001 102 1.0275 108 1.08 1024 1.3 1072
g2 (x) g (x) 3 (10/x) 4x 0.5 10 x3 1.5 1.5 0.816 1.286953 2.996 1.402540 0.00 2.94 i 1.345458 2.75 2.75 i 1.375170 1.81 3.53 i 1.360094 2.38 3.43 i 1.367846
to produce a 10-digit correct answer. On the other hand, the sequence g2 (xn ) is trapped in an attractive two-cycle, with multiplier z = 2.27475487839820 3.60881272309733 i,
g2 (z+ )g2 (z ) = 0.19790433047378 which is smaller than one in absolute value. Once in an attractive cycle, an iteration cannot converge to a xed point. Finally x is a repulsive xed point of g1 (x) and xn+1 = g (xn ) diverges to .
Remark 1.2. An iteration started in the basin of attraction of an attractive xed point (or cycle) will converge to that xed point (or cycle). An iteration started near a repulsive xed point (or cycle) will not converge to that xed point (or cycle). Convergence to an indierent xed point is very slow, but can be accelerated by dierent acceleration processes. 1.4.1. Stopping criteria. Three usual criteria that are used to decide when to stop an iteration procedure to nd a zero of f (x) are: (1) Stop after N iterations (for a given N ). (2) Stop when |xn+1 xn | < (for a given ). (3) Stop when |f (xn )| < (for a given ). The usefulness of any of these criteria is problem dependent. 1.4.2. Order and rate of convergence of an iterative method. We are often interested in the rate of convergence of an iterative scheme. Suppose that the function g (x) for the iterative method xn+1 = g (xn ) has a Taylor expansion about the xed point p (p = g (p)) and let Then, we have n = xn p. g (p) 2 + ... 2! n