where
- is
- : AnΒ Β Orthogonal matrix matrix whose columns are the left singular vectors of .
- : A diagonalΒ Β matrix containing the singular values ofΒ Β in descending order.
- : The transpose of anΒ Β Orthogonal matrix where the columns are the right singular vectors ofΒ .
Steps
- calculate
- calculate Eigenvalues of by solving , where is identify matrix
- then is from those
- calculate right singular vectors(should be unit vectors), for each ,
- calculate left singular vectors(should be unit vectors), for each ,
3x2 example
ref https://www.geeksforgeeks.org/singular-value-decomposition-svd/
Then we can get some Eigenvalues, and and Singular value and .
we can say
For each of them, calculate eigenvectors
where
RREF it
so and
so do
RREF it
so and
Then for , since it must perpendicular to , we can say and is true. Solve these two equations to get .
Then
Lastly need to find with similar steps.
RREF it
so
RREF it
so
Then
Therefore
Applications
Pseudo Inverse (Moore-Penrose Inverse)