Linear Algebra - Singular Value Decomposition Problem

4 replies · 3K views · last reply
YoshiMoshi
Messages
233
Reaction score
10

Homework Statement



Find the SVD of

2x2 matrix A equal to [2 2; 1 1], with rows (2, 2) and (1, 1).


Homework Equations

The Attempt at a Solution


I'm stuck
Handwritten SVD working: A = [2 2; 1 1], A^T = [2 1; 2 1], A^T A = [5 5; 5 5], AA^T = [8 4; 4 2], det(A^T A - sigma^2 I) = 0 giving sigma^2 = 10 and 0, so sigma_1 = sqrt(10), sigma_2 = 0.

Handwritten-style slide titled 'Find the eigenvectors of [A]^T[A]' showing the eigenvector computations for singular value decomposition, with v1 = (1/sqrt2)(1, 1), v2 = (1/sqrt2)(-1, 1), sigma1 = sqrt10, sigma2 = 0, and u1 = (2/sqrt5, 1/sqrt5); a yellow box reads 'Can't find 2nd vector u2'.

Handwritten-style worked Gram-Schmidt step computing u2 = [1, 0] minus projection onto u1, yielding [1/5, -2/5], then highlighted final vector [1/sqrt(5), -2/sqrt(5)].


My question is why in the solution it originally finds u_2=[1/5,-2/5]' but then says u_2=[1/sqrt(5),-2/sqrt(5)]'. I don't see what math was done in the solution to change the denominator from 5 to square root 5.

General Question - When finding the singular value...
(sigma_1)^2 = constant, why do we only consider the positive root
sigma_1 = sqrt(constant)
because the solution to the problem is
sigma_1 = +/- sqrt(constant)

Thanks for any help you can provide me.
 
YoshiMoshi said:
My question is why in the solution it originally finds u_2=[1/5,-2/5]' but then says u_2=[1/sqrt(5),-2/sqrt(5)]'. I don't see what math was done in the solution to change the denominator from 5 to square root 5.
You're looking for an orthonormal basis.

General Question - When finding the singular value...
(sigma_1)^2 = constant, why do we only consider the positive root
sigma_1 = sqrt(constant)
because the solution to the problem is
sigma_1 = +/- sqrt(constant)

Thanks for any help you can provide me.
What's the definition you're using of a singular value?
 
Sorry I don't understand. It has to be orthornormal to u_1 so taking the dot product with u_1 and u_2 has to be zero and that's were it comes from?

I'm talking about just when it finds sigma_1 and sigma_2 why don't we consider the negative square root into our calculation when we find SVD? Like when we form the sigma matrix it's the singular values in a diagonal matrix, so I just don't understand really why we don't consider the negative root.
 
YoshiMoshi said:
Sorry I don't understand. It has to be orthornormal to u_1 so taking the dot product with u_1 and u_2 has to be zero and that's were it comes from?
No.

I'm talking about just when it finds sigma_1 and sigma_2 why don't we consider the negative square root into our calculation when we find SVD? Like when we form the sigma matrix it's the singular values in a diagonal matrix, so I just don't understand really why we don't consider the negative root.
Look up the definition of a singular value..
 
YoshiMoshi said:
why don't we consider the negative square root into our calculation when we find SVD?
Singular values of a ##A## is defined to be the positive square root of the eigenvalues of ##A^*A##.
Nevertheless, if you choose to use the negative ones, it will still give the same original matrix ##A##.