Factorization that works for all matrices.
Here:
- unitary
- singular values on the diagonal
Every matrix has a SVD.
is equal to the no. of non zero singular values of A.
Singular Values and Singular Vectors
Let . Singular values and the singular vectors and are defined by:
Calculation
Let .
Singular values and singular vectors can be obtained by solving the below eigenvalue problems:
- and
The common eigenvalues for the above 2 equations are the singular values. We choose the positive solutions when is positive.
Now can be written as:
Here:
- consists of ’s
- consists of ’s
-
consists of eigenvalues on the diagonal and 0s elsewhere
Both and are unitary.
Application
Linear Least Solution
For . If the equation can be converted into which is easy to solve. To solve the system, ignore the zero-only rows in and solve other equations.