Numerical Analysis: Lecture-7
Numerical Analysis: Lecture-7
Numerical Analysis
Lecture-7
Error Analysis
Order of Convergence
Definition
Suppose the sequence {pn }∞ n=0 converges to p, with pn 6= p for all
n. If positive constants λ and α exists with
|pn+1 − p|
lim =λ
n→∞ |pn − p|α
then {pn }∞
n=0 converges to p of order α, with asymptotic error
constant λ.
|pn+1 | |qn+1 |
lim = λp , lim = λq
n→∞ |pn | n→∞ |qn |2
Example
Theorem
Let g ∈ C [a, b] be such that g (x) ∈ [a, b] for all x ∈ [a, b].
Suppose, in addition that g 0 (x) is continuous on (a, b) and there is
a positive constant k < 1 so that
|g 0 (k)| ≤ k, ∀x ∈ (a, b)
pn = g (pn−1 ), n≥1
The existence and uniqueness of the fixed point follows from the
fixed point theorem.
We use the mean value theorem to write
pn+1 − p∗ = g (pn ) − g (p∗) = g 0 (ξn )(pn − p∗), ξn ∈ (pn , p∗)
Since pn → p∗ and ξn is between pn and p∗, we must also have
ξn → p∗.
Further, since g 0 (.) is continuous, we have
Thus,
|pn+1 − p ∗ |
lim = lim |g 0 (ξn )| = |g 0 (p∗)|
n→∞ |pn − p ∗ | n→∞
d
g 0 (x) = [x − Φ(x)f (x)] = 1 − Φ0 (x)f (x) − Φ(x)f 0 (x)
dx
at x = p∗ we have f (p∗) = 0, so
Newton’s Method
Multiplicity of Zeroes
Basically, q(x) is the part of f (x) which does not contribute to the
zero of f (x).
If m = 1 then we say that f (x) has a simple zero.
Theorem
f ∈ C 1 [a, b] has a simple zero at p∗ in (a, b) if and only if
f (p∗) = 0, but f 0 (p∗) 6= 0.
Multiplicity of Zeroes
.
We know that Newton’s method runs into trouble when we have a
zero of multiplicity higher than 1.
Simple root: f satisfies f (p∗) = 0, but f 0 (p∗) 6= 0.
(x − p∗)m q(x)
µ(x) =
m(x − p∗)m−1 q(x) + (x − p∗)m q 0 (x)
q(x)
= (x − p∗)
mq(x) + (x − p∗)q 0 (x)
This expression has a simple zero at p∗, since
q(p∗) 1
= 6= 0
mq(p∗) + (p ∗ −p∗)q 0 (p∗) m
µ(x)
x = g (x) = x −
µ0 (x)
f (x)
f 0 (x)
=x− [f 0 (x)]2 −f (x)f 00 (x)
[f 0 (x)]2
f (x)f 0 (x)
=x−
[f 0 (x)]2 − f (x)f 00 (x)
This iteration will converge quadratically!
f (xn )f 0 (xn )
xn+1 = xn −
[f 0 (x 2 00
n )] − f (xn )f (xn )