The standard error analysis just outlined has a drawback: by using the
infinity norm
to measure the backward error,
entries of equal magnitude in
contribute equally to the final
error bound
.
This means that
if z is sparse or has some very tiny entries, a normwise backward
stable e root 0000000 0000000
We illustrate standard error analysis with the simple example of
evaluating the scalar function y=f(z). Let the output of the
subroutine which implements f(z) be denoted
;
this includes
the effects of roundoff. If
where
is small,
then we say
is a backward stable
algorithm for f,
or that the backward error
is small.
In other words,
is the
exact value of f at a slightly perturbed input
.4.5
Suppose now that f is a smooth function, so that
we may approximate it near z by a straight line:
.
Then we have the simple error estimate