Professional Documents
Culture Documents
NUMERICAL ANALYSIS
Prepared by: ALEXANDER S. CARRASCAL
1
12/4/2015
Characterizing Algorithms
One criterion we will impose on an algorithm whenever possible is that small changes
in the initial data produce correspondingly small changes in the final results.
An algorithm that satisfies this property is called stable; otherwise it is unstable.
Some algorithms are stable only for certain choices of initial data, and are called
conditionally stable.
Definition 1.17 Suppose that 0 > 0 denotes an error introduced at some stage in the
calculations and represents the magnitude of the error after n subsequent
operations.
If 0 where C is a constant independent of , then the growth of error is said to be
linear.
If 0, for some > 1, then the growth of error is called exponential.
2
12/4/2015
Rates of Convergence
Iterative techniques involving sequences are often used. In general, we would like the technique
to converge as rapidly as possible.
Definition 1.18 Suppose =1 is a sequence known to converge to zero, and
=1
converges to a number . If a positive constant exists with
, for large ,
then we say that =1 converges to with rate, or order, of convergence ( ). (This
expression is read big oh of .) It is indicated by writing = + ( ).
Although Definition 1.18 permits =1 to be compared with an arbitrary sequence =1 , in
nearly every situation we use
1
=
for some > 0. We are generally interested the largest value of with = + (1/ ).