03 Mar 2026

Iteration Method

Fixed-point iteration, convergence condition, error reduction, and practical numerical stopping rules.

msc semester-i numerical-methods iteration

Many equations cannot be solved by direct algebra. The iteration method handles such equations by starting with a reasonable approximate value and then improving it repeatedly. The calculation is useful only if the successive values move towards a definite limiting value.

In fixed-point iteration, the original equation is rewritten in the form

\[x_{n+1}=g(x_n).\]

If the sequence $x_0,x_1,x_2,\ldots$ approaches a fixed value $\alpha$, then

\[\alpha=g(\alpha).\]

This value $\alpha$ is called a fixed point of $g(x)$. If $f(x)=0$ is the original equation, the fixed point must also satisfy the original equation after substitution.

Fixed-point form

To solve $f(x)=0$, rewrite it as

\[x=g(x).\]

Then choose an initial guess $x_0$ and calculate successive approximations:

\[x_1=g(x_0),\qquad x_2=g(x_1),\qquad x_3=g(x_2),\ldots\]

This rewriting is not unique. The same equation can produce several different iteration formulas, and only some of them may converge.

Convergence condition

A useful local condition for convergence is

\[\lvert g'(\alpha)\rvert<1.\]

Equivalently, near the required root the slope of $g(x)$ should be less than one in magnitude:

\[\lvert g'(x)\rvert <1.\]

If $\lvert g^{\prime}(\alpha)\rvert>1$, the iteration usually moves away from the fixed point. This is why the same equation may converge in one rearrangement and diverge in another.

Geometrically, the curve $y=g(x)$ should not be too steep near the intersection with $y=x$. A smaller slope pulls the next approximation closer to the fixed point.

Example 1: fixed point of $x=\cos x$

For the equation

\[x=\cos x,\]

one may use

\[x_{n+1}=\cos x_n.\]

Starting with $x_0=0.5$,

$n$ $x_n$
0 0.500000
1 0.877583
2 0.639012
3 0.802685
4 0.694778
5 0.768196
6 0.719165
7 0.752356

The sequence oscillates but slowly approaches

\[\alpha \approx 0.739085.\]

Here

\[g(x)=\cos x,\qquad g'(x)=-\sin x.\]

At the root,

\[\lvert g'(\alpha)\rvert=\lvert-\sin(0.739085)\rvert \approx 0.674 <1,\]

so the iteration is convergent.

Example 2: cubic equation with a suitable rearrangement

Problem. Use the iteration method to find the real root of

\[x^3+x-1=0.\]

Solution. Rewrite the equation as

\[x=1-x^3.\]

This form gives

\[x_{n+1}=1-x_n^3.\]

However,

\[g'(x)=-3x^2.\]

Near the root $x\approx 0.682$,

\[\lvert g'(x)\rvert\approx 3(0.682)^2 \approx 1.40>1,\]

so this rearrangement is not good for convergence.

A better rearrangement is

\[x=\frac{1}{1+x^2}.\]

Hence

\[x_{n+1}=\frac{1}{1+x_n^2}.\]

Now

\[g'(x)=-\frac{2x}{(1+x^2)^2}.\]

Starting with $x_0=0.5$,

$n$ $x_n$
0 0.500000
1 0.800000
2 0.609756
3 0.728997
4 0.653168
5 0.701891
6 0.669885
7 0.690657
8 0.676982
9 0.685921

Thus the required root is approximately

\[x\approx 0.682.\]

Substitution check:

\[(0.682)^3+0.682-1 \approx -0.001.\]

Example 3: cube-root iteration

Problem. Find a root of

\[x^3-2x-5=0\]

by the iteration method.

Solution. Rewrite the equation as

\[x^3=2x+5.\]

Therefore,

\[x=(2x+5)^{1/3}.\]

The iteration formula is

\[x_{n+1}=(2x_n+5)^{1/3}.\]

The convergence test gives

\[g'(x)=\frac{2}{3(2x+5)^{2/3}}.\]

Near the root $x\approx 2.095$, this derivative is less than one in magnitude, so the formula is suitable.

Starting with $x_0=2$,

$n$ $x_n$
0 2.000000
1 2.080084
2 2.092350
3 2.094219
4 2.094503
5 2.094547

Hence

\[x\approx 2.09455.\]

Substitution check:

\[(2.09455)^3-2(2.09455)-5 \approx 0.\]

Error estimate

The difference between two successive approximations,

\[\lvert x_{n+1}-x_n\rvert,\]

is often used as a practical indication of convergence.

For a calculation, one may stop when

\[\lvert x_{n+1}-x_n\rvert < \varepsilon,\]

where $\varepsilon$ is the desired tolerance, such as $10^{-3}$, $10^{-4}$, or $10^{-5}$.

Examination style

For an examination solution, do not start directly with a table. Write the original equation, show the fixed-point form $x=g(x)$, and state why the chosen form is expected to converge. The condition

\[|g'(x)|<1\]

near the required root is usually enough for a concise justification.

After the table of iterations, substitute the final value in the original equation. This last line is important because the iteration formula may converge to a number that is not the desired root if the rearrangement was made carelessly.

Key points

Practice questions

  1. Explain the meaning of a fixed point of $g(x)$.
  2. State the convergence condition for fixed-point iteration.
  3. Show why $x=1-x^3$ is not a good rearrangement for solving $x^3+x-1=0$ near its root.
  4. Perform four iterations of $x_{n+1}=\cos x_n$ starting with $x_0=0.5$.
  5. Why should the final approximate root be substituted into the original equation?
© Rajesh Kumar, SKMU Β· Physics Lecture Notes Β· rajeshphy.github.io

Discussion

Share This Page