Technopedia

The technologist’s encyclopedia

Fixed-point Iteration

A fixed point of a map g:Rd→Rdg: \mathbb{R}^d \to \mathbb{R}^d is a point x∗x^* with x∗=g(x∗)x^* = g(x^*). The iteration xt+1=g(xt)x_{t+1} = g(x_t) converges to x∗x^* if gg is a contraction near x∗x^*. Fixed-point iteration is the general framework underlying Newton’s method, gradient descent, and many iterative solvers. It is relevant whenever a solution can be expressed as the self-consistent condition x=g(x)x = g(x) and refined by repeated application.

Authoritative sources

Contraction mapping and convergence

Definition: if gg is differentiable and ∥g′(x∗)∥≤ρ<1\|g'(x^*)\| \leq \rho < 1, then for x0x_0 close enough to x∗x^*, the iteration xt+1=g(xt)x_{t+1} = g(x_t) converges linearly: ∥xt−x∗∥≤ρt∥x0−x∗∥\|x_t - x^*\| \leq \rho^t \|x_0 - x^*\|.

Details

Intuition: a contraction mapping “shrinks” distances. If gg brings every point closer to x∗x^* by a factor of at least ρ<1\rho < 1, then repeated application must converge. The rate ρ\rho determines how many iterations are needed: to reach precision ε\varepsilon, we need t>log⁡(ε/∥x0−x∗∥)/log⁡ρt > \log(\varepsilon / \|x_0 - x^*\|) / \log \rho.

Example: the fixed point of g(x)=cos⁡(x)g(x) = \cos(x) is x∗≈0.739085x^* \approx 0.739085. Since ∣g′(x∗)∣=∣sin⁡(x∗)∣≈0.674<1|g'(x^*)| = |\sin(x^*)| \approx 0.674 < 1, convergence is linear with rate ρ≈0.674\rho \approx 0.674. To reach 10−610^{-6} precision from x0=1x_0 = 1: t>log⁡(10−6)/log⁡(0.674)≈37t > \log(10^{-6})/\log(0.674) \approx 37 iterations.

When the contraction fails: if ∥g′(x∗)∥≥1\|g'(x^*)\| \geq 1, the iteration diverges or oscillates. One can sometimes find a different map galtg_{\text{alt}} with the same fixed point but ∥galt′(x∗)∥<1\|g_{\text{alt}}'(x^*)\| < 1 (e.g., damped iteration gd(x)=(1−α)x+αg(x)g_d(x) = (1-\alpha)x + \alpha g(x) for α∈(0,1)\alpha \in (0,1)).

Example problem:

Problem

Apply fixed-point iteration xt+1=cos⁡(xt)x_{t+1} = \cos(x_t) starting from x0=1x_0 = 1 to find the fixed point of cos⁡\cos. How many iterations to reach ∣xt−x∗∣<10−6|x_t - x^*| < 10^{-6}?

Solution

The fixed point is x∗≈0.739085x^* \approx 0.739085. Since ∣sin⁡(x∗)∣≈0.674<1|\sin(x^*)| \approx 0.674 < 1, convergence is linear with rate ρ≈0.674\rho \approx 0.674. We need 0.674t<10−60.674^t < 10^{-6}, so t>log⁡(10−6)/log⁡(0.674)≈37t > \log(10^{-6})/\log(0.674) \approx 37 iterations.

Newton’s method

Definition: Newton’s method finds roots of f(x)=0f(x) = 0 via the fixed-point iteration xt+1=xt−f(xt)/f′(xt)x_{t+1} = x_t - f(x_t)/f'(x_t). Near a simple root, it converges quadratically: ∥xt−x∗∥≈C∥xt−1−x∗∥2\|x_t - x^*\| \approx C \|x_{t-1} - x^*\|^2.

Details

Why quadratic: the fixed-point map is g(x)=x−f(x)/f′(x)g(x) = x - f(x)/f'(x). At the root, g′(x∗)=0g'(x^*) = 0 (the linear term vanishes), so the error is dominated by the quadratic term. This means the number of correct digits roughly doubles each step, making Newton’s method extremely fast once close to the solution.

Example: finding 2\sqrt{2} (i.e., the root of f(x)=x2−2f(x) = x^2 - 2). Starting from x0=1x_0 = 1:

Three steps to 8 digits: the hallmark of quadratic convergence.

Connection to optimization: minimizing f(θ)f(\theta) is equivalent to finding the root of ∇f(θ)=0\nabla f(\theta) = 0. Newton’s method for optimization uses the Hessian: θt+1=θt−[∇2f(θt)]−1∇f(θt)\theta_{t+1} = \theta_t - [\nabla^2 f(\theta_t)]^{-1} \nabla f(\theta_t). The cost per step is O(d3)O(d^3) (Hessian inversion), making it impractical for high-dimensional problems. Gradient descent (see Gradient Descent) replaces the Hessian with a scalar learning rate, trading convergence speed for per-step cost.

Example problem:

Problem

Apply Newton’s method to find the root of f(x)=x3−2x−5f(x) = x^3 - 2x - 5 starting from x0=2x_0 = 2. Show the first two iterations and verify quadratic convergence.

Solution

f′(x)=3x2−2f'(x) = 3x^2 - 2.

  • x1=2−(8−4−5)/(12−2)=2−(−1)/10=2.1x_1 = 2 - (8-4-5)/(12-2) = 2 - (-1)/10 = 2.1
  • x2=2.1−(9.261−4.2−5)/(13.23−2)=2.1−0.061/11.23≈2.0946x_2 = 2.1 - (9.261 - 4.2 - 5)/(13.23 - 2) = 2.1 - 0.061/11.23 \approx 2.0946

The true root is x∗≈2.09455x^* \approx 2.09455. After 2 steps we have 4 correct digits. The error went from ∣2−x∗∣≈0.095|2 - x^*| \approx 0.095 to ∣2.1−x∗∣≈0.0055|2.1 - x^*| \approx 0.0055 to ∣2.0946−x∗∣≈0.00005|2.0946 - x^*| \approx 0.00005: the error squared each step (quadratic convergence).

Gradient descent as a fixed-point iteration

Definition: gradient descent θt+1=θt−η∇f(θt)\theta_{t+1} = \theta_t - \eta \nabla f(\theta_t) is the fixed-point iteration with g(θ)=θ−η∇f(θ)g(\theta) = \theta - \eta \nabla f(\theta). The fixed point satisfies ∇f(θ∗)=0\nabla f(\theta^*) = 0 (a critical point). Convergence requires η<2/L\eta < 2/L where LL is the Lipschitz constant of ∇f\nabla f.

Details

The contraction condition: the Jacobian of gg is g′(θ)=I−η∇2f(θ)g'(\theta) = I - \eta \nabla^2 f(\theta). For gg to be a contraction, we need ∥I−η∇2f∥<1\|I - \eta \nabla^2 f\| < 1, which holds when 0<η<2/L0 < \eta < 2/L (where LL is the largest eigenvalue of the Hessian, i.e., the Lipschitz constant of the gradient).

Why the upper bound matters: if η>2/L\eta > 2/L, the iteration overshoots the minimum and diverges. If η\eta is too small, convergence is slow (the contraction factor ρ≈1−ημ\rho \approx 1 - \eta\mu is close to 1). The optimal choice η=1/L\eta = 1/L gives the fastest linear convergence for strongly convex problems.

Connection to the contraction framework: this is exactly the contraction mapping theorem applied to g(θ)=θ−η∇f(θ)g(\theta) = \theta - \eta \nabla f(\theta). The rate ρ=1−ημ\rho = 1 - \eta\mu (for μ\mu-strongly convex ff) determines the number of iterations to reach precision ε\varepsilon: t>log⁡(ε)/log⁡(ρ)t > \log(\varepsilon) / \log(\rho).

See Gradient Descent for the full treatment of learning rates, momentum, and stochastic variants.

Example problem:

Problem

Minimize f(x)=5x2f(x) = 5x^2 by gradient descent from x0=1x_0 = 1. Find the range of η\eta for which the iteration converges, and the optimal η\eta.

Solution

f′(x)=10xf'(x) = 10x, so the iteration is xt+1=xt−10ηxt=(1−10η)xtx_{t+1} = x_t - 10\eta x_t = (1 - 10\eta) x_t.

This is a fixed-point iteration with g(x)=(1−10η)xg(x) = (1-10\eta)x. The fixed point is x∗=0x^* = 0. Convergence requires ∣1−10η∣<1|1 - 10\eta| < 1, i.e., 0<η<0.20 < \eta < 0.2.

The optimal choice is η=1/L=1/10=0.1\eta = 1/L = 1/10 = 0.1. With this rate, xt+1=(1−10×0.1) xt=0x_{t+1} = (1 - 10 \times 0.1)\, x_t = 0, so the iteration converges in a single step: x1=0=x∗x_1 = 0 = x^*. For any η∈(0,0.2)\eta \in (0, 0.2) the iteration converges linearly with rate ρ=∣1−10η∣\rho = |1 - 10\eta|; the smaller η\eta is, the closer ρ\rho is to 1 and the slower the convergence.

Quiz

Problem

Consider the iteration xt+1=xt−0.1(xt2−4)x_{t+1} = x_t - 0.1(x_t^2 - 4) (Newton’s method for 4\sqrt{4} with a damping factor). Starting from x0=1x_0 = 1, compute x1x_1 and x2x_2, and determine whether the iteration is converging.

Solution

x1=1−0.1(1−4)=1+0.3=1.3x_1 = 1 - 0.1(1 - 4) = 1 + 0.3 = 1.3 x2=1.3−0.1(1.69−4)=1.3+0.231=1.531x_2 = 1.3 - 0.1(1.69 - 4) = 1.3 + 0.231 = 1.531

The true root is x∗=2x^* = 2. The errors are ∣1−2∣=1|1-2| = 1, ∣1.3−2∣=0.7|1.3-2| = 0.7, ∣1.531−2∣=0.469|1.531-2| = 0.469. The error is decreasing, so the iteration is converging. However, the convergence is not quadratic (the damping factor 0.1 slows it down); it is linear with a rate that depends on the local curvature. Without damping (full Newton: xt+1=xt−(xt2−4)/(2xt)x_{t+1} = x_t - (x_t^2-4)/(2x_t)), convergence would be quadratic once close to the root.