2.2 Fixed-Point Iteration

2.2 Fixed-Point Iteration
1
Definition 2.2. The number 𝑝𝑝 is a fixed point for a
given function 𝑔𝑔(π‘₯π‘₯) if 𝑔𝑔 𝑝𝑝 = 𝑝𝑝.
Geometric interpretation of fixed point.
οƒ˜Consider the graph of function 𝑔𝑔 π‘₯π‘₯ , and the graph of
equation 𝑦𝑦 = π‘₯π‘₯.
οƒ˜If they intersect, what are the coordinates of the
intersection point?
2
Example 2.2.1.
Determine the fixed points of the function
𝑔𝑔 π‘₯π‘₯ = π‘₯π‘₯ 2 βˆ’ 2.
3
Connection between fixed-point problem and rootfinding problem
1. Given a root-finding problem, i.e., to solve 𝑓𝑓 π‘₯π‘₯ = 0.
Suppose a root is 𝑝𝑝, so that 𝑓𝑓 𝑝𝑝 = 0.
There are many ways to define 𝑔𝑔(π‘₯π‘₯) with fixed-point
at 𝑝𝑝.
For example, 𝑔𝑔 π‘₯π‘₯ = π‘₯π‘₯ βˆ’ 𝑓𝑓 π‘₯π‘₯ ,
𝑔𝑔 π‘₯π‘₯ = π‘₯π‘₯ + 3𝑓𝑓 π‘₯π‘₯ ,
…
2. If 𝑔𝑔(π‘₯π‘₯) has a fixed-point at 𝑝𝑝, then
𝑓𝑓 π‘₯π‘₯ defined by 𝑓𝑓 π‘₯π‘₯ = π‘₯π‘₯ βˆ’ 𝑔𝑔(π‘₯π‘₯) has a zero at 𝑝𝑝.
4
Sufficient conditions for existence and uniqueness of a fix point
Theorem 2.3. Existence and Uniqueness Theorem
a. If 𝑔𝑔 ∈ 𝐢𝐢[π‘Žπ‘Ž, 𝑏𝑏] and 𝑔𝑔 π‘₯π‘₯ ∈ [π‘Žπ‘Ž, 𝑏𝑏] for all π‘₯π‘₯ ∈ [π‘Žπ‘Ž, 𝑏𝑏],
then 𝑔𝑔 has at least one fixed-point in [π‘Žπ‘Ž, 𝑏𝑏]
b. If, in addition, 𝑔𝑔𝑔(π‘₯π‘₯) exists on (π‘Žπ‘Ž, 𝑏𝑏) and a positive
constant π‘˜π‘˜ < 1 exists with
𝑔𝑔′ π‘₯π‘₯ ≀ π‘˜π‘˜,
for all π‘₯π‘₯ ∈ π‘Žπ‘Ž, 𝑏𝑏 ,
then there is exactly one fixed-point in π‘Žπ‘Ž, 𝑏𝑏 .
Note:
1. 𝑔𝑔 ∈ 𝐢𝐢 π‘Žπ‘Ž, 𝑏𝑏 β†’ 𝑔𝑔 is continuous in π‘Žπ‘Ž, 𝑏𝑏
2. 𝑔𝑔 π‘₯π‘₯ ∈ π‘Žπ‘Ž, 𝑏𝑏 β†’ range of 𝑔𝑔 is in π‘Žπ‘Ž, 𝑏𝑏
5
Example 2. Show 𝑔𝑔 π‘₯π‘₯ =
fixed point on [-1, 1].
π‘₯π‘₯ 2 βˆ’1
3
has a unique
6
Example 3. Show that Theorem 2.3 does not ensure a unique
fixed point of 𝑔𝑔 π‘₯π‘₯ = 3βˆ’π‘₯π‘₯ on the interval [0, 1], even through a
unique fixed point on this interval does exist.
Solution: 𝑔𝑔′ π‘₯π‘₯ = βˆ’3βˆ’π‘₯π‘₯ ln 3 .
𝑔𝑔′ π‘₯π‘₯ < 0 on [0,1]. So 𝑔𝑔 is strictly decreasing on [0,1].
1
3
𝑔𝑔 1 = ≀ 𝑔𝑔 π‘₯π‘₯ ≀ 𝑔𝑔 0 = 1, for 0 ≀ π‘₯π‘₯ ≀ 1.
Part a of Theorem 2.3 ensures there is at least one fixed point.
Since 𝑔𝑔′ 0.01 = βˆ’3βˆ’0.01 ln 3 β‰ˆ 1.0866,
|𝑔𝑔′ π‘₯π‘₯ |β‰° 1 on (0,1).
Since Part b of Theorem 2.3 is NOT satisfied, Theorem 2.3 can
not determine uniqueness.
Graphs of 3βˆ’π‘₯π‘₯ and 𝑦𝑦 = π‘₯π‘₯:
7
Fixed-Point Iteration Algorithm
β€’ Choose an initial approximation 𝑝𝑝0 , generate
sequence {𝑝𝑝𝑛𝑛 }∞
𝑛𝑛=0 by 𝑝𝑝𝑛𝑛 = 𝑔𝑔(π‘π‘π‘›π‘›βˆ’1 ).
β€’ If the sequence converges to 𝑝𝑝, then
𝑝𝑝 = lim 𝑝𝑝𝑛𝑛 = lim 𝑔𝑔(π‘π‘π‘›π‘›βˆ’1 ) = 𝑔𝑔 lim π‘π‘π‘›π‘›βˆ’1 = 𝑔𝑔(𝑝𝑝)
π‘›π‘›β†’βˆž
π‘›π‘›β†’βˆž
π‘›π‘›β†’βˆž
A Fixed-Point Problem
Determine the fixed point of the function 𝑔𝑔 π‘₯π‘₯ =
cos(π‘₯π‘₯) for π‘₯π‘₯ ∈ βˆ’0.1,1.8 .
Remark: See also the Matlab code.
8
The Algorithm
9
INPUT
p0; tolerance TOL; maximum number of iteration N0.
OUTPUT solution p or message of failure
STEP1
Set i = 1.
STEP2
While i ≀ N0 do Steps 3-6
// init. counter
STEP3
Set p = g(p0).
STEP4
If |p-p0| < TOL then
OUTPUT(p);
// successfully found the solution
STOP.
STEP7
STEP5
Set i = i + 1.
STEP6
Set p0 = p.
// update p0
OUTPUT(β€œThe method failed after N0 iterations”);
STOP.
10
Convergence
Fixed-Point Theorem 2.4
Let 𝑔𝑔 ∈ 𝐢𝐢[π‘Žπ‘Ž, 𝑏𝑏] be such that 𝑔𝑔 π‘₯π‘₯ ∈ π‘Žπ‘Ž, 𝑏𝑏 , for all π‘₯π‘₯ ∈ π‘Žπ‘Ž, 𝑏𝑏 .
Suppose, in addition, that 𝑔𝑔𝑔 exists on π‘Žπ‘Ž, 𝑏𝑏 and that a
constant 0 < π‘˜π‘˜ < 1 exists with
𝑔𝑔′ π‘₯π‘₯ ≀ π‘˜π‘˜,
for all π‘₯π‘₯ ∈ π‘Žπ‘Ž, 𝑏𝑏
Then, for any number 𝑝𝑝0 in [π‘Žπ‘Ž, 𝑏𝑏], the sequence defined by
𝑝𝑝𝑛𝑛 = 𝑔𝑔(π‘π‘π‘›π‘›βˆ’1 )
converges to the unique fixed point 𝑝𝑝 in [π‘Žπ‘Ž, 𝑏𝑏].
Corollary 2.5
If 𝑔𝑔 satisfies the above hypotheses, then bounds for the error
involved using 𝑝𝑝𝑛𝑛 to approximating 𝑝𝑝 are given by
𝑝𝑝𝑛𝑛 βˆ’ 𝑝𝑝 ≀ π‘˜π‘˜ 𝑛𝑛 max 𝑝𝑝0 βˆ’ π‘Žπ‘Ž, 𝑏𝑏 βˆ’ 𝑝𝑝0
π‘˜π‘˜ 𝑛𝑛
|𝑝𝑝𝑛𝑛 βˆ’ 𝑝𝑝| ≀
|𝑝𝑝1 βˆ’ 𝑝𝑝0 |
1 βˆ’ π‘˜π‘˜
11
Illustration Equation π‘₯π‘₯ 3 + 4π‘₯π‘₯ 2 βˆ’ 10 = 0 has a
unique root in [1,2]. Use algebraic manipulation
to obtain fixed-point iteration function 𝑔𝑔 to solve
this root-finding problem.
12