Singular Value Decomposition allows factorisising an arbitrary matrix (real or complex), while a lot of other matrix factorization like with diagonalising etc. has often contraints.
#
Manually
I’m showing this in an example, making it more visually appealing and understandable than some formal way (which I’m also quite bad at writing xD)
So lets assume we’re given the Matrix
1. Calculate
So based on this:
Note: the values with . don’t need to be calculated, since the result of is always symmetric. So using this property we get:
2. Eigenvalues of G
Now lets get the determinant of and set it 0 (to get the eigenvalues).
Following the last column down, we get:
which can be shortened in the polynom:
based on this we get: (which one could also infer just based from that rank(A) = 2)
and the remaining polynom:
putting it into the abc-formula thing, we get:
3. -Matrix
This gives us
And the following -Matrix:
4. Getting the Eigenspaces
Using the Eigenvalues and putting them into and solving this linear system we get the Eigenspaces.
So for we have:
after some line additions etc. (you could do it in order with Gauß, but doing it like how I feel is faster for me)
which gives us:
For and :
I’m keeping it short, since its basically the same
:
:
5. Getting V
For this we need to norm the bases of the eigenspaces.
15:
10:
0:
Now we need to keep the order from highest eigenvalue to lowest and take the normed eigenspace bases as V:
6. Getting U
U is a 2x2 matrix here and we get the vectors by:
Verifying
Just multiply and you should get A
Using our values, we get: