
114
7
Applications
of
Vector Spaces
We note that no matter what values we choose for
mrest,
we cannot
alter the last
N
-
M
elements of
e’
since the last
N
-
M
rows of the
transformed data kernel are zero. We can, however, set the first
M
elements
of
e’
equal to zero by satisfying the first
M
equations
e’
=
d’
-
G’m’
=
0
exactly. Since the top part of
G’
is triangular, we can use
the back-solving technique described above. The total error is then the
length of the last
N
-
A4
elements of
e’,
written as
Again we used Householder transformations to separate the problem
into two parts: data that can be satisfied exactly and data that cannot
be satisfied at all. The solution is chosen
so
that it minimizes the length
of the prediction error, and the least square solution is thereby ob-
tained.
Finally, we note that the constrained least squares problem can also
be solved with Householder transformations. Suppose that we want to
solve
Gm
=
d
in the least squares sense except that we want the
solution to obey
p
linear equality constraints of the form
Fm
=
h.
Because of the constraints, we do not have complete freedom in
choosing the model parameters. We therefore employ Householder
transformations to separate those linear combinations of
m
that are
completely determined by the constraints from those that are com-
pletely undetermined. This process is precisely the same as the one
used in the underdetermined problem and consists
of
finding a trans-
formation, say,
T,
that triangularizes
Fm
=
h
as
h
=
Fm
=
FT-ITm
=
F’m’
The first
p
elements of
rnlest
are now completely determined and can be
computed by back-solving the triangular system. The same transfor-
mation can be applied to
Gm
=
d
to yield the transformed inverse
problem
G’m’
=
d.
But
G’
will not be triangular since the transforma-
tion was designed to triangularize
F,
not
G.
Since the first
p
elements of
mlest
have been determined by the constraints, we can partition
G’
into
two submatrices
G{
and
G;
.
The first multiplies the p-determined
model parameters and the second multiplies the as yet unknown
model parameters.