markdown
Basics of the pseudoinverse matrixmd 0476f35
lecture/math/linear-algebra/pseudoinverse-basics.lecture.n.md
Download PDF

Basics of the pseudoinverse matrix擬似逆行列ぎじぎゃくぎょうれつ

date2026-07-14document_iddoc_6eba467a0347e7066e9c67f646f47240description擬似逆行列を、逆行列が存在しない場合にも最小二乗解と最小ノルム解を統一的に記述するための行列として整理する講義である。prerequisites特異値分解の入口 / 最小二乗法の基本 / 逆行列の基本type講義content_typelecturestatusactiverelateddata/lecture/math/linear-algebra/linear-algebra-portal.lecture.n.md / data/lecture/math/linear-algebra/introduction-to-singular-value-decomposition.lecture.n.md / data/lecture/math/linear-algebra/least-squares-basics.lecture.n.md / data/lecture/math/linear-algebra/inverse-matrix-basics.lecture.n.md / data/exercise/math/linear-algebra/eigenvalues-diagonalization-and-extensions.exercise.n.md
mathlinear-algebraundergraduatelecture

1Introduction

The key point of this lecture is that the pseudoinverse matrix擬似逆行列ぎじぎゃくぎょうれつ extends the idea of an inverse matrix逆行列ぎゃくぎょうれつ to matrices that are rectangular or rank階数かいすう-deficient, and it does so by selecting least-squares and least-norm solutions.

An inverse matrix逆行列ぎゃくぎょうれつ exists only for square matrices that lose no information. But rectangular or rank階数かいすう-deficient matrices still occur constantly in approximation and data problems. The pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ gives a canonical linear-algebraic way to handle them.

2Terms and definitions

The Moore-Penrose pseudoinverseムーア・ペンローズ擬似逆行列ぎじぎゃくぎょうれつ is defined from SVD. In the real case, if

A=UΣVT,

then

A+=VΣ+UT.

In the complex case, if

A=UΣV*,

then

A+=VΣ+U*.

Here Σ+ is formed by replacing each nonzero singular value特異値とくいち σi by 1/σi and transposing the rectangular diagonal shape.

3Plan

Use SVD to decompose the action of A into orthogonal/unitary changes of coordinates and nonnegative stretching. Reverse only the nonzero stretching directions. Directions with zero singular value特異値とくいち have lost information, so they cannot be inverted.

data/lecture/math/linear-algebra/introduction-to-singular-value-decomposition.lecture.n.md

4Intuitive explanation

The pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ reverses what can be reversed. If A multiplies a direction by 3, then A+ multiplies that direction by 1/3. If A collapses a direction to zero, the information is gone, and A+ does not attempt to reconstruct it.

5Precise explanation

5.11. Agreement with the inverse

If A is invertible可逆かぎゃく, all singular values特異値とくいち are positive and Σ+=Σ-1. Therefore

A+=A-1.

Thus the pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ is a genuine extension of the inverse.

5.22. Least squares and least norm

If Ax=b has no solution, then

x=A+b

minimizes Ax-b among all x, and among all minimizers it has the smallest norm. If Ax=b does have solutions, A+b is the solution with smallest norm.

To see this through SVD, write A=UΣV* and set U*b=c. The minimization becomes

minyΣy-c.

For σi>0, the best choice is yi=ci/σi. For σi=0, changing yi cannot reduce the residual, so the least-norm choice is yi=0. This is exactly

x=VΣ+U*b=A+b.

5.33. rank階数かいすう-condition formulas

If the columns of A are linearly independent, then

A+=(ATA)-1AT

in the real case, and

A+=(A*A)-1A*

in the complex case.

If the rows of A are linearly independent, then

A+=AT(AAT)-1

in the real case, and

A+=A*(AA*)-1

in the complex case.

5.44. Penrose conditions

The pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ is also uniquely characterized by the four Penrose equations:

AA+A=A,
A+AA+=A+,
(AA+)*=AA+,
(A+A)*=A+A.

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 AA+ and A+A

If the compact SVD is

A=UrΣrVr*,

then

AA+=UrUr*

is the orthogonal projection直交射影ちょっこうしゃえい onto Col(A), and

A+A=VrVr*

is the orthogonal projection直交射影ちょっこうしゃえい onto the row space行空間ぎょうくうかん. In the real case, replace * by T.

Thus AA+b is the reachable part of b inside the column space列空間れつくうかん, while A+A removes unnecessary nullspace components from a coefficient vector.

6Concrete examples

For

A=(2000),

the singular values特異値とくいち are 2 and 0, so

A+=(1/2000).

The lost second component is not reconstructed.

For the rectangular matrix長方行列ちょうほうぎょうれつ

A=(11),

we have

A+=(ATA)-1AT=12(11).

For b=(1,3)T,

A+b=2.

Then Ax=(2,2)T is the orthogonal projection直交射影ちょっこうしゃえい of b onto span{(1,1)T}. This is the operation of averaging the two measurements 1 and 3.

7Projection viewpoint and numerical warning

The pseudoinverse matrix擬似逆行列ぎじぎゃくぎょうれつ is closely related to projection. The matrix AA+ can be interpreted as the orthogonal projection直交射影ちょっこうしゃえい onto the column space列空間れつくうかん, and A+A can be interpreted as the orthogonal projection onto the row space行空間ぎょうくうかん.

If a singular value特異値とくいち is nonzero but extremely small, its reciprocal is extremely large. Then A+ can amplify small errors in b. In practice, truncated SVD or Tikhonov regularization is often used to suppress the effect of very small singular values特異値とくいち.

In truncated SVD one uses

Ak+=i=1kσi-1viui*

after keeping only selected singular values. In Tikhonov regularization, the factor σi-1 is replaced by σi/(σi2+λ).

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 pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ exists for every real or complex matrix. However, when singular values特異値とくいち are extremely small, the exact pseudoinverse擬似逆行列ぎじぎゃくぎょうれつ may be numerically unstable. In that case, truncated SVD or regularization should be considered.

10Theorem: what A+b selects

The pseudoinverse matrix擬似逆行列ぎじぎゃくぎょうれつ has the following meaning for Ax=b.

  • If Ax=b has solutions, A+b is the solution with minimum normノルム.
  • If Ax=b has no solution, A+b is the minimum-norm solution among the minimizers of Ax-b.

Using the SVD A=UΣV* and writing U*b=c, the problem becomes

minyΣy-c.

Since Σ only stretches along diagonal directions, directions with σi>0 force yi=ci/σi. Directions with σi=0 cannot reduce the residual, so the minimum-norm choice sets those yi to 0. This gives

x=A+b=VΣ+U*b.

11Projection meaning

AA+ is the orthogonal projection直交射影ちょっこうしゃえい onto Col(A). Thus AA+b is the reachable part of b, namely the closest point to b in the column space列空間れつくうかん of A.

On the other hand, A+A is the orthogonal projection直交射影ちょっこうしゃえい onto Row(A). It removes the unnecessary component in the ker(A) direction from x and selects the minimum-norm representative.

12Calculation example: pseudoinverse of a rectangular matrix

Let

A=(11).

This maps R to R2 by sending x to (x,x). The column is independent, so

A+=(ATA)-1AT=12(11).

For b=(1,3)T,

A+b=2,

and Ax=(2,2)T is the orthogonal projection直交射影ちょっこうしゃえい of b onto span{(1,1)T}. This is the same operation as averaging the two values 1 and 3.

13Pitfall: small singular values特異値とくいち

If σi is nonzero but very small, 1/σi is very large and can greatly amplify small errors in b. Therefore the theoretical A+ is not always the best numerical choice. In practice, truncated SVD or Tikhonov regularization is used to suppress reciprocals of small singular values特異値とくいち.

14Final forms

[PARSE ERROR: Undefined("Command(\"boxed\")")]A=UΣVT,A+=VΣ+UT
[PARSE ERROR: Undefined("Command(\"boxed\")")]A=UΣV*,A+=VΣ+U*(complexcase)
[PARSE ERROR: Undefined("Command(\"boxed\")")]x=A+b
[PARSE ERROR: Undefined("Command(\"boxed\")")]A+=(ATA)-1ATifcolumnsareindependent
[PARSE ERROR: Undefined("Command(\"boxed\")")]AA+=projCol(A),A+A=projRow(A)

15In one sentence

The pseudoinverse matrix擬似逆行列ぎじぎゃくぎょうれつ gives the canonical inverse-like operation based on projection, least squares, and least-norm selection when an ordinary inverse is unavailable.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる