Fixed Point Iteration

Solve x = g(x) numerically: enter your g(x) expression, initial guess, tolerance, and see every iteration in a table until convergence.

Use the Fixed Point Iteration

Parameters

Quick examples

Enter parameters and click Run Iteration

Summary

The fixed-point iteration method solves equations of the form x = g(x) by repeatedly applying the function g starting from an initial guess x0. Each new approximation is x_(n+1) = g(x_n), and the process continues until the change between successive values falls below a chosen tolerance. This tool evaluates any g(x) expression you enter, displays the full iteration table, and reports whether the sequence converged or diverged.

How it works

  1. Express your equation in the form x = g(x) and enter g(x) in the input field.
  2. Provide an initial guess x0 close to the expected root.
  3. Set a convergence tolerance (e.g. 0.0001) and a maximum iteration count.
  4. Click "Run Iteration" to compute x_(n+1) = g(x_n) repeatedly.
  5. Each step is displayed in a table showing n, x_n, g(x_n), and the absolute error |x_(n+1) - x_n|.
  6. Iteration stops when the error falls below the tolerance (converged) or the maximum count is reached (diverged or slow convergence).

Use cases

  • Find roots of transcendental equations like cos(x) = x.
  • Verify fixed-point iteration convergence in numerical analysis courses.
  • Explore how the choice of g(x) and x0 affects convergence speed.
  • Demonstrate divergence when |g'(x)| >= 1 near the root.
  • Solve engineering equations iteratively without needing derivatives.
  • Cross-check hand-computed iteration tables for homework problems.

Frequently Asked Questions

Last updated: 2026-05-29 · Reviewed by Nham Vu