·············
········ .... i
..
·-.
~--
·-
·-... -
-------
LEAST SQUARES SOLUTION
OF
LINEAR SYSTEMS 633
which is quite small using (9.6.17).
From
II.ZII
= 1, this implies ak;;, 1
and
1
liz-
akxklb = J L
a7
.s:
-1171112
(9.6.18)
io#k c
showing the desired result. For a further discussion
of
the error, see Wilkinson
(1963, pp. 142-146) and (1965, pp. 321-330).
Another method for calculating eigenvectors would appear to
be
the direct
solution
of
(A-
AI)x
= 0
after deleting one equation and setting one
of
the unknown components to a
nonzero constant, for example x
1
=
1.
This is often the procedure used
in
undergraduate linear algebra courses. But as a general numerical method, it can
be
disastrous. A complete discussion
of
this problem is given
in
Wilkinson (1965,
pp.
315-321), including
an
excellent example. We
just
use the previous example
to show
that
the results need not
be
as good as those obtained with inverse
iteration.
Example Consider the preceding example (9.6.12) with
A=
1.2679.
We
con-
sider
(A
-
AI)x
= 0 and delete the last equation to obtain
.7321x
1
+ x
2
= 0
x
1
+ 1.7321x
2
+ x
3
= 0
Taking x
1
= 1.0, we have the approximate eigenvector
X = [1.0000, - .73210, .26807]
Compared with the true answer (9.6.14), this is a slightly poorer result than
(9.6.13) obtained
by
inverse iteration.
In
general, the results
of
using this
approach
can
be
very poor, and great care must be taken when using it.
The
inverse iteration method requires a great deal
of
care
in
its implementa-
tion.
For
dealing with a particular matrix, any difficulties can be dealt with
on
an
ad
hoc basis. But for a general computer program we have to deal with
eigenvalues
that
are multiple
or
close together, which
can
cause some difficulty if
not
dealt with carefully.
For
nonsymmetric matrices whose Jordan canonical
form is
not
diagonal, there are additional difficulties
in
selecting a correct basis
of
eigenvectors. The best reference for this topic is Wilkinson (1965). Also see
Golub
and
Van Loan (1983, pp. 238-240)
and
Parlett (1980, pp. 62-69).
For
several excellent programs, see Wilkinson
and
Reinsch (1971, pp. 418-439)
and
Garbow et al. (1977).
9.
7 Least Squares Solution of Linear Systems
We now consider the solution
of
overdetermined systems
of
linear equations
n
L
aijxj
=
b;
j-1
i = 1,
...
, m
(9.7.1)