Skip to content

Fixed Point Iteration

Fixed point iteration is a general-purpose root-finding strategy. Instead of working with f(x)=0f(x) = 0 directly, we rewrite the equation in a form where xx appears on both sides, then repeatedly substitute the previous output as the next input. If the process converges, the limit is a fixed point of the new function and a root of the original.


Core Idea

To solve f(x)=0f(x) = 0, rearrange the equation algebraically so that it takes the form:

g(x)=xg(x) = x

A fixed point of gg is any value x∗x^* where g(x∗)=x∗g(x^*) = x^*. If x∗x^* is a fixed point of gg, it is also a root of ff, because the rearrangement preserves the solution.

The iteration rule is simply:

xk+1=g(xk)x_{k+1} = g(x_k)

Starting from an initial guess x0x_0, each output feeds back in as the next input. If the sequence x0,x1,x2,…x_0, x_1, x_2, \ldots settles to a limit, that limit is the root.

Graph showing a staircase path converging to a fixed point where the curve y=g(x) intersects the diagonal line y=x.

Constructing g(x)g(x) from f(x)f(x)

A single f(x)=0f(x) = 0 equation can be rearranged in many different ways to produce different g(x)g(x) functions. Each choice leads to a different iterative process with potentially different convergence behaviour.

Example: Rearrange f(x)=x2−2x−3=0f(x) = x^2 - 2x - 3 = 0 (roots at x=−1x = -1 and x=3x = 3) into four different fixed-point forms:

Form 1 — isolate by square root:

x2=2x+3  ⟹  g(x)=2x+3x^2 = 2x + 3 \implies g(x) = \sqrt{2x + 3}

Form 2 — expand and collect:

x2−x−x−3=0  ⟹  g(x)=x2−x−3x^2 - x - x - 3 = 0 \implies g(x) = x^2 - x - 3

Form 3 — factor and divide:

x(x−2)=3  ⟹  g(x)=3x−2x(x - 2) = 3 \implies g(x) = \frac{3}{x - 2}

Form 4 — multiply through and rearrange:

2x2−2x=x2+3  ⟹  x(2x−2)=x2+3  ⟹  g(x)=x2+32x−22x^2 - 2x = x^2 + 3 \implies x(2x - 2) = x^2 + 3 \implies g(x) = \frac{x^2 + 3}{2x - 2}

All four forms have exactly the same roots as f(x)=0f(x) = 0. However, as we will see, they do not all converge.


Evaluating the Forms

To see which forms converge, apply the iteration xk+1=g(xk)x_{k+1} = g(x_k) from the same starting point x0=0x_0 = 0.

Form 1: g(x)=2x+3g(x) = \sqrt{2x + 3}

g(0)=1.7321g(0) = 1.7321
g(1.7321)=2.5495g(1.7321) = 2.5495
g(2.5495)=2.8430g(2.5495) = 2.8430
g(2.8430)=2.9471g(2.8430) = 2.9471
g(2.9471)=2.9822g(2.9471) = 2.9822
g(2.9822)=2.9940g(2.9822) = 2.9940
g(2.9940)=2.9980g(2.9940) = 2.9980
g(2.9980)=3.0000g(2.9980) = 3.0000

The sequence converges to the root x∗=3x^* = 3.


Form 2: g(x)=x2−x−3g(x) = x^2 - x - 3

g(0)=−3g(0) = -3
g(−3)=9g(-3) = 9
g(9)=69g(9) = 69
g(69)=4.69×103g(69) = 4.69 \times 10^3

The sequence diverges rapidly. This form cannot be used.


Form 4: g(x)=x2+32x−2g(x) = \dfrac{x^2 + 3}{2x - 2}

g(0)=−1.5g(0) = -1.5
g(−1.5)=−1.05g(-1.5) = -1.05
g(−1.05)=−1.00g(-1.05) = -1.00
g(−1.00)=−1.00g(-1.00) = -1.00

The sequence converges to the root x∗=−1x^* = -1.


Effect of the Initial Guess

For a given g(x)g(x), the root the iteration converges to can depend on x0x_0. Testing Form 1 and Form 4 with two very different starting points illustrates this:

Form 1: g(x)=2x+3g(x) = \sqrt{2x+3}

  • From x0=0x_0 = 0: 0→1.73→2.54→2.84→2.95→2.98→2.99→30 \to 1.73 \to 2.54 \to 2.84 \to 2.95 \to 2.98 \to 2.99 \to 3
  • From x0=42x_0 = 42: 42→9.33→4.65→3.51→3.17→3.06→3.02→3.01→342 \to 9.33 \to 4.65 \to 3.51 \to 3.17 \to 3.06 \to 3.02 \to 3.01 \to 3

Both converge to x∗=3x^* = 3, regardless of how far apart the starting points are.

Form 2: g(x)=x2−x−3g(x) = x^2 - x - 3

  • From x0=0x_0 = 0: 0→−3→9→69→4690→⋯0 \to -3 \to 9 \to 69 \to 4690 \to \cdots (diverges)
  • From x0=42x_0 = 42: 42→1722→2.95×106→⋯42 \to 1722 \to 2.95 \times 10^6 \to \cdots (diverges)

No starting point leads to convergence for Form 2.

Form 4: g(x)=x2+32x−2g(x) = \dfrac{x^2+3}{2x-2}

  • From x0=0x_0 = 0: 0→−1.5→−1.05→−1→−10 \to -1.5 \to -1.05 \to -1 \to -1 (converges to x∗=−1x^* = -1)
  • From x0=42x_0 = 42: 42→21.6→11.4→6.39→4.07→3.19→3.01→3→342 \to 21.6 \to 11.4 \to 6.39 \to 4.07 \to 3.19 \to 3.01 \to 3 \to 3 (converges to x∗=3x^* = 3)

Here the two starting points converge to two different roots. x0=0x_0 = 0 is geometrically closer to −1-1, so it converges there; x0=42x_0 = 42 is closer to 33, so it goes there instead.

The theory behind which root a given g(x)g(x) can reach, and why, is explained in the next section on Contraction Mapping Theory.