Fixed-point iteration: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>RowanElder
Iterative method examples: Small precisification in discussion of Newton's method order of convergence.
 
(No difference)

Latest revision as of 20:07, 5 October 2024

Template:Short description Template:Refimprove In numerical analysis, fixed-point iteration is a method of computing fixed points of a function.

More specifically, given a function f defined on the real numbers with real values and given a point x0 in the domain of f, the fixed-point iteration is xn+1=f(xn),n=0,1,2, which gives rise to the sequence x0,x1,x2, of iterated function applications x0,f(x0),f(f(x0)), which is hoped to converge to a point xfix. If f is continuous, then one can prove that the obtained xfix is a fixed point of f, i.e., f(xfix)=xfix.

More generally, the function f can be defined on any metric space with values in that same space.

Examples

The fixed-point iteration Template:Math with initial value Template:Math converges to 0. This example does not satisfy the assumptions of the Banach fixed-point theorem and so its speed of convergence is very slow.
  • A first simple and useful example is the Babylonian method for computing the square root of Template:Math, which consists in taking f(x)=12(ax+x), i.e. the mean value of Template:Mvar and Template:Math, to approach the limit x=a (from whatever starting point x00). This is a special case of Newton's method quoted below.
  • The fixed-point iteration xn+1=cosxn converges to the unique fixed point of the function f(x)=cosx for any starting point x0. This example does satisfy (at the latest after the first iteration step) the assumptions of the Banach fixed-point theorem. Hence, the error after n steps satisfies |xnx|qn1q|x1x0|=Cqn (where we can take q=0.85, if we start from x0=1.) When the error is less than a multiple of qn for some constant Template:Math, we say that we have linear convergence. The Banach fixed-point theorem allows one to obtain fixed-point iterations with linear convergence.
  • The requirement that Template:Math is continuous is important, as the following example shows. The iteration xn+1={xn2,xn01,xn=0 converges to 0 for all values of x0. However, 0 is not a fixed point of the function f(x)={x2,x01,x=0 as this function is not continuous at x=0, and in fact has no fixed points.

Attracting fixed points

The fixed point iteration Template:Math with initial value Template:Math.

An attracting fixed point of a function Template:Math is a fixed point Template:Math of Template:Math with a neighborhood Template:Math of "close enough" points around Template:Math such that for any value of Template:Mvar in Template:Math, the fixed-point iteration sequence x, f(x), f(f(x)), f(f(f(x))), is contained in Template:Math and converges to Template:Math. The basin of attraction of Template:Math is the largest such neighborhood Template:Math.[1]

The natural cosine function ("natural" means in radians, not degrees or other units) has exactly one fixed point, and that fixed point is attracting. In this case, "close enough" is not a stringent criterion at all—to demonstrate this, start with any real number and repeatedly press the cos key on a calculator (checking first that the calculator is in "radians" mode). It eventually converges to the Dottie number (about 0.739085133), which is a fixed point. That is where the graph of the cosine function intersects the line y=x.[2]

Not all fixed points are attracting. For example, 0 is a fixed point of the function Template:Math, but iteration of this function for any value other than zero rapidly diverges. We say that the fixed point of f(x)=2x is repelling.

An attracting fixed point is said to be a stable fixed point if it is also Lyapunov stable.

A fixed point is said to be a neutrally stable fixed point if it is Lyapunov stable but not attracting. The center of a linear homogeneous differential equation of the second order is an example of a neutrally stable fixed point.

Multiple attracting points can be collected in an attracting fixed set.

Banach fixed-point theorem

The Banach fixed-point theorem gives a sufficient condition for the existence of attracting fixed points. A contraction mapping function f defined on a complete metric space has precisely one fixed point, and the fixed-point iteration is attracted towards that fixed point for any initial guess x0 in the domain of the function. Common special cases are that (1) f is defined on the real line with real values and is Lipschitz continuous with Lipschitz constant L<1, and (2) the function Template:Math is continuously differentiable in an open neighbourhood of a fixed point Template:Math, and |f(xfix)|<1.

Although there are other fixed-point theorems, this one in particular is very useful because not all fixed-points are attractive. When constructing a fixed-point iteration, it is very important to make sure it converges to the fixed point. We can usually use the Banach fixed-point theorem to show that the fixed point is attractive.

Attractors

Attracting fixed points are a special case of a wider mathematical concept of attractors. Fixed-point iterations are a discrete dynamical system on one variable. Bifurcation theory studies dynamical systems and classifies various behaviors such as attracting fixed points, periodic orbits, or strange attractors. An example system is the logistic map.

Iterative methods

Template:Main

In computational mathematics, an iterative method is a mathematical procedure that uses an initial value to generate a sequence of improving approximate solutions for a class of problems, in which the n-th approximation is derived from the previous ones. Convergent fixed-point iterations are mathematically rigorous formalizations of iterative methods.

Iterative method examples

Template:Ulist

Convergence acceleration

The speed of convergence of the iteration sequence can be increased by using a convergence acceleration method such as Anderson acceleration and Aitken's delta-squared process. The application of Aitken's method to fixed-point iteration is known as Steffensen's method, and it can be shown that Steffensen's method yields a rate of convergence that is at least quadratic.

Chaos game

Sierpinski triangle created using IFS, selecting all members at each iteration

Template:Main

The term chaos game refers to a method of generating the fixed point of any iterated function system (IFS). Starting with any point Template:Math, successive iterations are formed as Template:Math, where Template:Math is a member of the given IFS randomly selected for each iteration. Hence the chaos game is a randomized fixed-point iteration. The chaos game allows plotting the general shape of a fractal such as the Sierpinski triangle by repeating the iterative process a large number of times. More mathematically, the iterations converge to the fixed point of the IFS. Whenever Template:Math belongs to the attractor of the IFS, all iterations Template:Math stay inside the attractor and, with probability 1, form a dense set in the latter.

See also

Template:Div col

Template:Div col end

References

Template:Reflist Template:Reflist

Further reading

Template:Root-finding algorithms