How to Calculate the Pseudoinverse Using the SVD?

6 replies · 2K views · last reply
nao113
Messages
68
Reaction score
13
Homework Statement
Hello, I have question related to SVD. Can anyone give me hints about what should I do to solve this question. I provided the question and my answer on the picture below. I have found the eigenvalues and eigenvector but I m not sure whether it is correct not and then whether this answer already cover the question. Thank you
Relevant Equations
𝐀=𝐔Σ𝐕∗
Slide with the title 'Solve the reconstruction problem shown in the figure below using SVD.' Diagram shows p1=5, p2=4, a 2x2 grid of x1 to x4, and p3=3, p4=2, with dashed arrows; beside it are p = Hx, the vectors p and x, and the 4x4 matrix H.


My Answer:
I am still beginner in this area so it s quite hard for me to understand this one. I am not sure what the output that this question asked me. I thought it might be asked about the value of x1, x2, x3, and x4

Handwritten derivation: H^T H as a 4x4 matrix product, then its characteristic polynomial det(H - lambda I) with eigenvalue lambda = 2, followed by the eigenvector equations and the solution vector v = (1, 1, -1, -1).
 
  • Like
Likes   Reactions: Delta2
Recheck that determinant for ##~\mathbf{H^T H - I} \it \lambda ## .
 
  • Like
Likes   Reactions: Mark44
SammyS said:
Recheck that determinant for ##~\mathbf{H^T H - I} \it \lambda ## .
Hello, thank you the respond, actually, I have correct my mistakes here. I already got the answer from this. But still, can you help me to understand what is U means? and how to get the matrix for it as well as Vt?
 
Attachments
  • Slide titled Use SVD and Pseudo inverse matrix showing x-hat = U S+ V^T p, with the matrices U, S+ and V^T as 4x4 numeric grids containing entries like 1/sqrt(2), 1/2 and 0, multiplied by the vector p = (5, 4, 3, 2) to give (9/4, 7/4, 7/4, 5/4).
    Screen Shot 2022-06-08 at 17.07.42.png
    15.2 KB · Views: 188
nao113 said:
Hello, thank you the respond, actually, I have correct my mistakes here. I already got the answer from this. But still, can you help me to understand what is U means? and how to get the matrix for it as well as Vt?
U is one of the parts of the SVD, which is given by U Σ VT.
See: https://en.wikipedia.org/wiki/Singular_value_decomposition
Sometimes the letter S is used in place of Σ, which is the case in the image you've linked to.

The image you linked is trying to show how to calculate the pseudoinverse using the SVD: https://en.wikipedia.org/wiki/Moore–Penrose_inverse. See the heading about 2/3 of the way down the page: "Singular value decomposition (SVD)"

but they have made a mistake. They show the pseudoinverse as: US+VT, but it should be VS+UT

The numeric values they show are correct.
 
The Electrician said:
U is one of the parts of the SVD, which is given by U Σ VT.
See: https://en.wikipedia.org/wiki/Singular_value_decomposition
Sometimes the letter S is used in place of Σ, which is the case in the image you've linked to.

The image you linked is trying to show how to calculate the pseudoinverse using the SVD: https://en.wikipedia.org/wiki/Moore–Penrose_inverse. See the heading about 2/3 of the way down the page: "Singular value decomposition (SVD)"

but they have made a mistake. They show the pseudoinverse as: US+VT, but it should be VS+UT

The numeric values they show are correct.
do you know how to change S to S+?
 
nao113 said:
do you know how to change S to S+?
Re-read the section I linked to:

The image you linked is trying to show how to calculate the pseudoinverse using the SVD: https://en.wikipedia.org/wiki/Moore–Penrose_inverse. See the heading about 2/3 of the way down the page: "Singular value decomposition (SVD)"

"For a rectangular diagonal matrix such as S, we get the pseudoinverse by taking the reciprocal of each non-zero element on the diagonal, leaving the zeros in place, and then transposing the matrix. In numerical computation, only elements larger than some small tolerance are taken to be nonzero, and the others are replaced by zeros." Any of the elements that are very small (comparable to to the value of epsilon in the arithmetic of the math system you're using) are replaced by zero, not reciprocated."
 
  • Informative
Likes   Reactions: Delta2