Factorization-based techniques make it possible to obtain the
least-squares solution directly from the matrix
, avoiding the explicit formation of
.
One possibility is to use QR factorization, an algorithm known to be
numerically stable. For a matrix
of dimensions
, with
, we can write
| (1.18) |
| (1.19) |
| (1.20) |
The SVD is an even more general method and also naturally handles
rank-deficient matrices. Indeed, from decomposition (1.9) it is
possible to obtain the pseudoinverse directly using (1.12) and hence
the solution
| (1.21) |
The SVD also makes it possible to identify directly the problem directions associated with very small singular values. These directions correspond to solution components that are weakly determined by the data and are particularly important in the analysis of conditioning and homogeneous linear systems.
From a numerical-computation perspective, whenever possible, the condition
number of the matrix can also be reduced through suitable normalization
or scaling of the columns of .
Paolo medici