Fixed Point Algorithm
Fixed Point Algorithm
By Raj Nandkeolyar
BACKGROUND
Definition: A number p is said to be a fixed point
of a function g(x) defined on [a, b] if g(p) = p for
some
.
p [ a, b]
For example:
1. g(x) = x2 has two fixed points x = 0 and x = 1.
2. g(x) = 1/x has two fixed points x = 1 and x = -1.
3. g(x) = x2 2 has two fixed points x = -1 and 2.
g ( p) p
p2 2 p
p2 p 2 0
p 1, 2
7
6
5
4
3
2
1
0
-1
-2
-3
-3
-2
-1
7
6
5
4
3
2
1
0
-1
-2
-3
-3
10
-2
-1
8
6
4
2
0
-2
-4
-3
-2
-1
Example:
x1
x0
xn 1 g ( xn ), n 0, 1, 2,...
xn 1 g ( xn ), n 0, 1, 2,...
x1 = 0.7746,
x2 = 0.7411,
x3 = 0.6944The sequence of iterates is diverging
2.5
1.5
0.5
0.5
1.5
2.5
x2 1
Writing
x
2
We obtain the scheme:
2
xn 1
xn 1
, n 0, 1, 2,...
2
Taking x0 = 0.8, we obtain
x1 = 0.82,
x2 = 0.8362,
x3 = 0.8496,
x4 = 0.8609,
x5 = 0.8706,
The sequence of iterates is approaching towards the
exact root x = 1.
5
4
3
2
1
0
-1
-2
-3
-3
-2
-1