Lecture 9
Lecture 9
x2 x 2 0 x x 2 2 x 2. x2 x 2 0 x 2 x2 .
tan x 0 x tan x x .
xn 1 g ( xn ) n 1, 2,...
Geometrical Representation
1
Example Locate root of the equation x 2 x 2 0 using fixed point method.
Initial guess x0 0
x1 2 0 2
x2 2 4 2 -2 is one of the roots
x3 2 4 2
Initial guess x0 1
x1 2 1 1
1 is another of the roots
x2 2 1 1
2
Convergence of Fixed Point Iteration Method:
Therefore, xt xn1 g ( xt ) g ( xn )
g ( xt ) g ( xn )
According to Mean-value theorem, g ' ( R) , R ( xn , xt )
xt xn
Linear Convergence
Error grows if g ( R ) 1
'
a ≤ x ≤ b ⟹ a ≤ g(x) ≤ b
Then the equation x = g(x) has at least one solution α in the interval [a; b].
f (a) ≤ 0; f (b) ≥ 0
The function 𝑓(𝑥) is continuous on [a; b], and therefore it contains a zero in the interval.
4
Example 1: Consider the equation 𝑥 = 1 + 0.5 sin 𝑥.
Note that 0.5 ≤ g(x) ≤ 1.5 for any 𝑥 ∈ ℝ, and g(x) is a continuous function.
Applying the existence lemma, we conclude that the equation 𝑥 = 1 + 0.5 sin 𝑥
has a solution in [a; b] with a ≤ 0.5 and b ≥ 1.5.
Exercise 1: Show that the equation 𝑥 = 3 + 2 sin 𝑥 has a solution in [a; b] with a ≤ 1 and b ≥ 5.
Theorem: Assume 𝑔(𝑥) and 𝑔 (𝑥) exist and are continuous on the interval [a; b]; and further, assume
𝑎≤𝑥≤𝑏 ⟹ 𝑎 ≤ 𝑔(𝑥) ≤ 𝑏
𝑥 =𝑔 𝑥 , 𝑛 = 0, 1, 2, …
Therefore, we can apply the theorem and conclude that the fixed point iteration
Therefore, the fixed point iteration 𝑥 = 3 + 2 sin 𝑥 will diverge for E2.
7