How is the SVD of a matrix related to the eigendecomposition of ? What are the singular values of , and what is the error of its best rank-1 approximation?
Linear algebra and optimisation, Matrix decompositions
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can compute an SVD by hand through and apply the Eckart–Young theorem.
Key idea
The SVD writes , where and have orthonormal columns and is diagonal with the singular values . Then , so the columns of are eigenvectors of and . By Eckart–Young, keeping the top terms gives the best rank- approximation , with .
Steps
- Show the link: , because . Likewise .
- Compute . Its eigenvalues are , i.e. 45 and 5, with unit eigenvectors and .
- Take square roots: and . Check: , and , the sum of the squared entries.
- Find the matching left singular vector from : .
- Build the rank-1 approximation: . Then . Its Frobenius norm (square root of the sum of squared entries) satisfies . So the error is , and it is also in the spectral norm (the largest singular value).
- Name the uses in ML: PCA (the SVD of the centred data matrix), low-rank compression and LoRA, latent semantic analysis, and the pseudo-inverse .
Common mistakes
- Taking the eigenvalues of itself (here 3 and 5) as the singular values. For a non-symmetric matrix they are different.
- Forgetting the square root: .
- Finding separately from the eigenvectors of and getting mismatched signs. Use .
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
- Deisenroth, Faisal and Ong, Mathematics for Machine Learning: Free PDF. Section 4.5, Singular Value Decomposition (from p. 119), especially 4.5.2, Construction of the SVD via the eigendecomposition of AᵀA, and Section 4.6, Matrix Approximation (p. 129), with the Eckart–Young theorem (Theorem 4.25).
- NPTEL: Linear Algebra (IIT Kanpur, Prof. Arbind Kumar Lal): Week 12: Singular Value Decomposition (SVD), which builds the SVD from the eigenstructure of A^T A.
- MIT OCW: 18.06 Linear Algebra (Spring 2010): Lecture 29: Singular value decomposition, which works through the SVD with the link to A^T A and its eigenvectors.
Previous in Linear algebra and optimisation: Which of these functions are convex, and why: (a) ; (b) ; (c) on ; (d) ; (e) the hinge loss as a function of ?
Next in Linear algebra and optimisation: What is the Adam update, why does it need bias correction, and how large is its very first step?