(a) When you first study linear algebra,
you might think that
R
is useful only for
and
.
However, if you solve a
least-squares problem, you are
really relying on geometrical properties involving the
-dimensional
subspace
of the
-dimensional space
R
!
(b) What about the nonsingularity of the normal equations in general? Here are two facts that are closely related to each other:
Fact (I). The rank of
equals the rank of
.
For example, consider a
least-squares problem
x
b. The normal equations are
. They
are nonsingular if their rank is 4. By Fact I, this happens if
the rank of
is 4, i.e., if the four columns of
are
linearly independent. But this is extremely likely if there is
any random quality to the entries of
. In fact, since row
rank = column rank, the rank of
will be 4 if any four
rows are linearly independent.
Fact (II). If
is
with
, the
determinant of
equals the sum of the squares of the
determinants of all
submatrices of
.
Continuing the
example, if you take all the
submatrices of
(almost 5000 of them), square their determinants, and
add, you get the determinant of
. As you can see, it's quite
likely to be nonzero.