Basics of the pseudoinverse matrix
1Introduction
The key point of this lecture is that the
An
2Terms and definitions
The
then
In the complex case, if
then
Here is formed by replacing each nonzero
3Plan
Use SVD to decompose the action of into orthogonal/unitary changes of coordinates and nonnegative stretching. Reverse only the nonzero stretching directions. Directions with zero
4Intuitive explanation
The
5Precise explanation
5.11. Agreement with the inverse
If is
Thus the
5.22. Least squares and least norm
If has no solution, then
minimizes among all , and among all minimizers it has the smallest norm. If does have solutions, is the solution with smallest norm.
To see this through SVD, write and set . The minimization becomes
For , the best choice is . For , changing cannot reduce the residual, so the least-norm choice is . This is exactly
5.33. rank 階数 かいすう -condition formulas
If the columns of are linearly independent, then
in the real case, and
in the complex case.
If the rows of are linearly independent, then
in the real case, and
in the complex case.
5.44. Penrose conditions
The
The first two equations say that the map behaves like an inverse on the parts where inversion is possible. The last two say that the resulting projections are orthogonal projections.
5.55. Projection meaning of and
If the compact SVD is
then
is the
is the
Thus is the reachable part of inside the
6Concrete examples
For
the
The lost second component is not reconstructed.
For the
we have
For ,
Then is the
7Projection viewpoint and numerical warning
The
If a
In truncated SVD one uses
after keeping only selected singular values. In Tikhonov regularization, the factor is replaced by .
8Criteria
- The
pseudoinverse is defined from SVD.擬似逆行列 ぎじぎゃくぎょうれつ - Only nonzero
singular values are inverted.特異値 とくいち - For
invertible matrices, it equals the ordinary inverse.可逆 かぎゃく - The Penrose conditions characterize it uniquely.
- In inconsistent systems, it gives a
least-squares solution .最小二乗解 さいしょうにじょうかい - In underdetermined or nonunique systems, it gives the
least-norm solution .最小 さいしょう ノルム解 かい
9Scope and limitations
The
10Theorem: what selects
The
- If has solutions, is the solution with minimum
norm ノルム . - If has no solution, is the minimum-norm solution among the minimizers of .
Using the SVD and writing , the problem becomes
Since only stretches along diagonal directions, directions with force . Directions with cannot reduce the residual, so the minimum-norm choice sets those to . This gives
11Projection meaning
is the
On the other hand, is the
12Calculation example: pseudoinverse of a rectangular matrix
Let
This maps to by sending to . The column is independent, so
For ,
and is the
13Pitfall: small singular values 特異値 とくいち
If is nonzero but very small, is very large and can greatly amplify small errors in . Therefore the theoretical is not always the best numerical choice. In practice, truncated SVD or Tikhonov regularization is used to suppress reciprocals of small
14Final forms
15In one sentence
The