Factorization that works for all matrices.
A=UΣVH
Here:
- U, V are unitary
- Σ has singular values on diagonal
Every matrix A∈Cm×n has a SVD.
rank(AHA)=rank(AAH)=rank(A)=rank(AH) is equal to the no. of non zero singular values of A.
Singular Values and Singular Vectors
Let A∈Cm×n. Singular values σ≥0 and the singular vectors u∈Cm×1 and v∈Cn×1 are defined by:
Av=σu and AHu=σv
Calculation
Let A∈Cm×n.
Singular values σ≥0 and singular vectors u,v can be obtained by solving the below eigenvalue problems:
- AAHu=σ2u and
- AHAv=σ2v
The common eigenvalues for the above 2 equations σ2 are the singular values. We choose the positive solutions when σ2 is positive.
Now A can be written as:
AV=UΣ
Where:
- V∈Cn×n consists of v’s
- U∈Cm×m consists of u’s
- Σ∈Rn×m consists of eigenvalues on the diagonal and 0s elsewhere.
Both V and U are unitary.
Application
Linear Least Solution
For Am×nXn×1=Bm×1. If A=UΣVH the equation can be converted into ΣVHX=ΣY=UHB=C which is easy to solve. To solve the system, ignore the zero-only rows in Σ and solve other equations.