Solutions of Equations in One Variable: Fixed-Point Iteration
Solutions of Equations in One Variable: Fixed-Point Iteration
IN ONE VARIABLE
Fixed-Point Iteration
Math 176
Numerical Analysis I
Example 1
Determine any fixed points of the function g(x) = x2 2.
Example 1
Determine any fixed points of the function g(x) = x2 2.
Solution 1
p = g(p) = p2 2 = 0 = p2 p 2 = (p + 1)(p 2).
The fixed point for g occurs at p = 1 and at p = 2.
Theorem 1
1. If g C[a, b] and g(x) [a, b] for all x [a, b], then g has at least
one fixed point in [a, b].
2. If, in addition (to the previous theorem), g 0 (x) exists on (a, b)
and a positive constant k < 1 exists with
0
g (x) 6 k, for all x (a, b),
then there is exactly one fixed point in [a, b].
x2 1
has a unique fixed point on the [1, 1].
3
Solution 2
g 0 (x) = 2x/3; g is continuous and g 0 (x) exists on [1, 1].
Absolute maximum of g(x) at x = 1 and x = 1; absolute
minimum at x = 0.
|g 0 (x)| = 2x < 2 , x (1, 1).
3
x2 1
has a unique fixed point on the [1, 1].
3
Solution 2
g 0 (x) = 3x ln 3 < 0 on [0, 1]; g is strictly decreasing on [0, 1].
g(1) =
1
3
x [0, 1], g(x) [0, 1]. Hence, Theorem (1) part (1) ensures the
existence of a fixed point in [0, 1].
However, g 0 (0) = ln 3 = 1.0986, so |g 0 (x)| 1 on (0, 1).
Theorem (1) part (2) cannot be used to determine uniqueness.
Fixed-Point Iteration
Fixed-Point Iteration
Fixed-Point Iteration
Fixed-Point Iteration
Example 4
The equation x3 + 4x2 10 = 0 has a unique root in [1, 2].
Ways to change the above equation to fixed-point form x = g(x):
(a) x = g1 (x) = x x3 4x2 + 10
1/2
10
(b) x = g2 (x) =
4x
x
1/2
1
(c) x = g3 (x) =
10 x3
2
10 1/2
(d) x = g4 (x) =
4+x
x3 + 4x2 10
(e) x = g5 (x) = x
3x2 + 8x
Using p0 = 1.5
Computations
n
0
1
2
3
4
5
6
7
8
9
10
15
20
25
30
(a)
1.5
0.875
6.732
469.7
1.03 108
(b)
1.5
0.8165
2.9969
(8.65)1/2
(c)
1.5
1.286953768
1.402540804
1.345458374
1.375170253
1.360094193
1.367846968
1.363887004
1.365916734
1.364878217
1.365410062
1.365223680
1.365230236
1.365230006
1.365230013
(d)
1.5
1.348399725
1.367376372
1.364957015
1.365264748
1.365225594
1.365230576
1.365229942
1.365230022
1.365230012
1.365230014
1.365230013
(e)
1.5
1.373333333
1.365262015
1.365230014
1.365230013
Fixed-Point Theorem
n > 1,
Fixed-Point Theorem
Corollary 1
If g satisfies the hypotheses of Theorem 2, then bounds for the
error involved in using pn to approximate p are given by
|pn p| 6 kn max {p0 a, b p0 }
and
|pn p| 6
kn
|p1 p0 | ,
1k
10
x
4x
1/2
10 1/2
4+x
0
5
g4 = 10(4+x)
6
3/2
I
5
10(5)3/2
g5 (x) = x
choices.
x3 +4x2 10
3x2 +8x
Reference