Numerical Analysis: Lecture-3
Numerical Analysis: Lecture-3
Numerical Analysis
Lecture-3
February 3, 2020
What is a fixed-point?
α is a fixed-point of g(x) provided g (α) = α
Here, α is being ”fixed” by g(x) since it maps to itself.
The root finding problem → fixed-point finding problem.
Prime Objective
In what follows, it is important not to lose sight of our prime
objective:
Given a function f (x) where a ≤ x ≤ b, find values p such
that
f (p) = 0
Given such a function, f (x), we now construct an auxiliary
function g(x) such that
p = g (p)
A Fixed Point
If g is defined on [a, b] and g(p) = p for some p ∈ [a, b], then the
function g is said to have the fixed point p in [a, b].
Note
The fixed-point problem turns out to be quite simple both
theoretically and geometrically.
The function g(x) will have a fixed point in the interval [a, b]
whenever the graph of g(x) intersects the line y = x.
x = cos(x)
x = cos(x)
p = cos(p) p ≈ 0.739
Proof
If g (a) = a or g (b) = b the existence of a fixed point is obvious.
Suppose not; then it must be true that g (a) > a and g (b) < b.
Define h(x) = g (x) − x; h is continuous on [a, b] and, moreover,
Illustration
Consider the function g (x) = 3−x on 0 ≤ x ≤ 1. g(x) is
continuous and since
g (x) = 3−x
An Important Observation
It is fairly obvious that, on any given interval I = [a, b], g(x)
may have many fixed points (or none at all).
In order to ensure that g(x) has a unique fixed point in I, we
must make an additional assumption that g(x) does not vary
too rapidly
Thus we have to establish a uniqueness result.
Uniqueness Result
Let g ∈ C [a, b] and g (x) ∈ [a, b] for all x ∈ [a, b]. Further if g 0 (x)
exists on (a, b) and
Basic Approach
To approximate the fixed point of a function g, we choose an
initial approximation p0 and generate the sequence {pn }∞
n=0
by letting pn = g (pn−1 ), for each n ≥ 1.
If the sequence converges to p and g is continuous, then
Fixed-Point Algorithm
To find the fixed point of g in an interval [a, b], given the equation
x = g(x) with an initial guess p0 ∈ [a, b]:
1 n = 1;
2 pn = g (pn−1 );
3 If |pn − pn−1 | < then 5;
4 n → n + 1; go to 2.
5 End of Procedure.