LearnQuestion bank

State the SVD, relate it to the eigen-decomposition of AᵀA, and explain why truncating it gives the best low-rank approximation.

ResearchTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • A = UΣV^T with U,V orthogonal and Σ non-negative diagonal; exists for any rectangular matrix.
  • A^T A = VΣ^TΣV^T, so eigenvalues of A^T A are σ_i^2 and eigenvectors are right singular vectors.
  • Truncated SVD A_k keeps the top k singular triplets.
  • Eckart-Young: A_k minimises Frobenius and spectral error among rank-k matrices.
  • Uses: PCA, compression, pseudo-inverse, condition number σmax/σmin.

In full

The SVD writes any real or complex rectangular matrix as A = UΣV^T, where U and V are orthogonal (unitary), Σ is a non-negative diagonal matrix of singular values σ1 ≥ σ2 ≥ … ≥ 0, and the columns of U and V are the left and right singular vectors. Multiplying gives A^T A = VΣ^TΣV^T, so the eigenvalues of A^T A are σ_i^2 and its eigenvectors are the right singular vectors v_i; the left singular vectors satisfy u_i = Av_i/σ_i for σ_i > 0. Truncating to rank k means keeping only the top k terms, A_k = sum_{i=1}^k σ_i u_i v_i^T. By Eckart-Young, A_k is the best rank-k approximation in both Frobenius and spectral norm: the Frobenius error is sqrt(sum_{i>k} σ_i^2), and no rank-k matrix can do better, with spectral error σ_{k+1}. The spectral case shows why: any rank-k matrix B has a null space of dimension n−k, which must intersect the (k+1)-dimensional span of v_1..v_{k+1}; for a unit vector x in that intersection, ||(A−B)x|| = ||Ax|| ≥ σ_{k+1}. The Frobenius case applies the same idea to every discarded direction: Weyl’s inequality gives σ_i(A−B) ≥ σ_{k+i}(A), so ||A−B||F² ≥ Σ{i>k} σ_i². This is why SVD underlies PCA, low-rank compression, the pseudo-inverse A^+ = VΣ^+U^T, and the condition number κ2(A) = σmax/σmin of a full-rank matrix.

Corrected by an independent AI reviewer.

What a strong answer covers

  • A = UΣVᵀ with U, V orthogonal and Σ non-negative diagonal. It exists for any (even rectangular) matrix.
  • AᵀA = VΣ²Vᵀ, so singular values are square roots of the eigenvalues of AᵀA.
  • Eckart–Young: the rank-k truncation minimises Frobenius and spectral error.
  • Uses: PCA, compression, pseudo-inverse, condition number σmax/σmin.

Common mistakes

  • Claiming the SVD needs a square matrix.
  • Swapping the roles of U and V.