擬似逆行列 の基本
Basics of the pseudoinverse matrix
1導入 どうにゅう
この
1Introduction
The key point of this lecture is that the
An
2用語 ようご と定義 ていぎ
に
で
に
で
2Terms and definitions
The
then
In the complex case, if
then
Here is formed by replacing each nonzero
3方針 ほうしん
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
4直感的 ちょっかんてき な説明 せつめい
がある
4Intuitive explanation
The
5厳密 げんみつ な説明 せつめい
5.11. 正則行列 せいそくぎょうれつ では逆行列 ぎゃくぎょうれつ inverse matrix に一致 いっち する
が
である。
5.22. 最小二乗解 さいしょうにじょうかい
が
を
5.33. 階数条件 かいすうじょうけん による公式 こうしき
の
である。これは
の
である。この
であり、
である。
5.44. ペンローズの 4 条件 じょうけん
これらをペンローズの
5.55. 射影 しゃえい projection としての と
のコンパクト SVD を
とすると、
であり、これは への
であり、これは
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
6具体例 ぐたいていれい
とする。この
である。
この
である。どちらも
6Concrete examples
For
the
The lost second component is not reconstructed.
For the
we have
For ,
Then is the
7射影 しゃえい projection としての見方 みかた と数値計算上 すうちけいさんじょう の注意 ちゅうい
や、 の
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 .
8判定基準 はんていきじゅん
擬似逆行列 ぎじぎゃくぎょうれつ pseudoinverse matrix は特異値分解 とくいちぶんかい singular value decompositionSVD から定義 ていぎ される。非零特異値 ひぜろとくいち だけを逆数 ぎゃくすう にする。正則行列 せいそくぎょうれつ では通常 つうじょう の逆行列 ぎゃくぎょうれつ inverse matrix と一致 いっち する。- ペンローズの 4
条件 じょうけん により一意 いちい に定 さだ まる。 解 かい が存在 そんざい しない場合 ばあい は最小二乗解 さいしょうにじょうかい を与 あた える。解 かい が複数 ふくすう 存在 そんざい する場合 ばあい は最小 さいしょう ノルム解 かい を選択 せんたく する。
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 .最小 さいしょう ノルム解 かい
9どこまで成立 せいりつ するか
9Scope and limitations
The
10命題 めいだい : が選 えら ぶ解 かい
- が
解 かい を持 も つ場合 ばあい 、 はその解 かい の中 なか でノルム norm が最小 さいしょう のものを与 あた える。 - が
解 かい を持 も たない場合 ばあい 、 は を最小 さいしょう にする解 かい の中 なか でノルム norm が最小 さいしょう のものを与 あた える。
SVD で と
へ
である。
11射影 しゃえい の意味 いみ を確認 かくにん する
は への
12計算例 けいさんれい :長方行列 ちょうほうぎょうれつ の擬似逆行列 ぎじぎゃくぎょうれつ pseudoinverse matrix
とする。これは から への
に
であり、 が の への
13落 お とし穴 あな :小 ちい さい特異値 とくいち singular value
が 0 ではないが
14最終形 さいしゅうけい
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
15一言 ひとこと でいうと
擬似逆行列 ぎじぎゃくぎょうれつ pseudoinverse matrix は、逆行列 ぎゃくぎょうれつ inverse matrix を持 も たない行列 ぎょうれつ matrix に対 たい して、射影 しゃえい projection と最小化 さいしょうか に基 もと づく代表的 だいひょうてき な逆操作 ぎゃくそうさ を与 あた える。
15In one sentence
The