Introduction to singular value decomposition
1Introduction
The key point of this lecture is that
SVD separates the input-side orthonormal
2Terms and definitions
For a real matrix , a
where is an orthogonal matrix, is an orthogonal matrix, and is an matrix with nonnegative diagonal entries.
The diagonal entries
are the
For complex matrices,
with unitary and .
3Plan
Study in the real case and in the complex case. These matrices are symmetric or Hermitian and positive semidefinite. Therefore they can be orthogonally or unitarily diagonalized.
The reason for looking at is that, for every ,
Thus is Hermitian and positive semidefinite, so its
and in the complex case
The
4Intuitive explanation
SVD decomposes the action of as
Orthogonal or unitary factors preserve lengths and angles. The matrix is the only part that changes lengths. Thus
5Precise explanation
5.11. Right singular vectors from or
In the real case, is symmetric. Choose an orthonormal eigenbasis :
These are the right singular vectors. In the complex case,
5.22. Constructing left singular vectors
For , define
Then the are orthonormal:
Using and the orthonormality of the , this equals . Extend these to an orthonormal
The left singular vectors are also
and of in the complex case.
5.33. rank 階数 かいすう
The
Small
5.44. Compact SVD and fundamental subspaces
If , keeping only positive
in the real case, and in the complex case.
The columns of form an orthonormal
| Space | SVD description |
|---|---|
| spanned by left singular vectors for | |
| spanned by right singular vectors for | |
| spanned by right singular vectors for | |
| or | spanned by left singular vectors for |
5.55. Low-rank 階数 かいすう approximation
Keeping only the largest
in the real case, and in the complex case. By the Eckart-Young theorem, is the closest matrix to among matrices of
This supports compression and denoising, but discarding small
6Concrete examples
For
we may take
The
For a general matrix, first rotates the input space into principal directions, stretches those directions, and places the result in the output space.
For a non-diagonal example,
Then
whose
Therefore the
Although has only the
7Another viewpoint
8Criteria
Singular values are the square roots of the特異値 とくいち eigenvalues of or .固有値 こゆうち - The number of nonzero singular values is the
rank .階数 かいすう - SVD applies to rectangular matrices as well as square matrices.
- Small
singular values are related to compression and numerical instability.特異値 とくいち - Compact SVD simultaneously describes the
column space ,列空間 れつくうかん row space , and行空間 ぎょうくうかん kernel .核 かく
9Scope
SVD holds for every real or complex matrix. Unlike eigendecomposition, it does not require the matrix to be square or diagonalizable.
10Existence theorem and proof outline
For every real matrix , there exist
For a complex matrix,
The proof is based on the spectral theorem for or . The matrix is
so it is positive semidefinite. Hence it has an orthonormal eigenbasis with nonnegative
Then
so the are mutually
11Correspondence of fundamental subspaces
SVD organizes the four
| Description by SVD | |
|---|---|
| spanned by the left | |
| spanned by the right | |
| spanned by the corresponding to | |
| or | spanned by the corresponding to |
Therefore SVD describes not only the
12Another viewpoint
SVD is the foundation of the
13Calculation example: a non-diagonal matrix
Consider
Then
and the
Therefore the
Here the
14Criteria
singular values are square roots of特異値 とくいち eigenvalues of or .固有値 こゆうち - The number of nonzero
singular values is the特異値 とくいち rank .階数 かいすう - SVD applies to rectangular matrices.
- Small
singular values indicate compression and possible numerical instability.特異値 とくいち - Compact SVD describes
column space ,列空間 れつくうかん row space , and kernels simultaneously.行空間 ぎょうくうかん
15Meaning and cautions of low-rank approximation
The Eckart-Young
obtained by keeping only the top
16Scope and limitations
SVD exists for every real or complex matrix. Unlike