How is the SVD of a matrix A related to the eigendecomposition of A⊤A? What are the singular values of A=(3045), 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 A⊤A and apply the Eckart–Young theorem.

Key idea

The SVD writes A=USV⊤, where U and V have orthonormal columns and S is diagonal with the singular values σ1≥σ2≥⋯≥0. Then A⊤A=VS2V⊤, so the columns of V are eigenvectors of A⊤A and σi=λi(A⊤A). By Eckart–Young, keeping the top k terms gives the best rank-k approximation Ak, with ∥A−Ak∥F2=∑i>kσi2.

Steps

  1. Show the link: A⊤A=VS⊤U⊤USV⊤=VS2V⊤, because U⊤U=I. Likewise AA⊤=US2U⊤.
  2. Compute A⊤A=(25202025). Its eigenvalues are 25±20, i.e. 45 and 5, with unit eigenvectors v1=12(1,1)⊤ and v2=12(1,−1)⊤.
  3. Take square roots: σ1=45=35≈6.71 and σ2=5≈2.24. Check: σ1σ2=15=∣det⁡A∣, and σ12+σ22=50=9+16+25, the sum of the squared entries.
  4. Find the matching left singular vector from Avi=σiui: u1=Av1/σ1=(3,9)⊤/235=110(1,3)⊤.
  5. Build the rank-1 approximation: A1=σ1u1v1⊤=32(1133). Then A−A1=(1.5−1.5−0.50.5). Its Frobenius norm (square root of the sum of squared entries) satisfies ∥A−A1∥F2=2.25+2.25+0.25+0.25=5=σ22. So the error is 5, and it is also 5 in the spectral norm (the largest singular value).
  6. 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 A+=VS+U⊤.

Common mistakes

How long your answer should be

Half a page; 4–5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: Which of these functions are convex, and why: (a) ∥x∥2; (b) log⁡(1+ex); (c) x3 on R; (d) f(x,y)=xy; (e) the hinge loss max⁡(0, 1−y w⊤x) as a function of w?
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?