Andromeda
Note

Singular Value Decomposition

Definition

The Singular Value Decomposition (SVD) factorizes any m×nm \times n matrix AA into two orthogonal matrices and a diagonal matrix of singular values: A=UΣVTA = U \Sigma V^T where UU is m×mm \times m (orthogonal), Σ\Sigma is m×nm \times n (diagonal), and VV is n×nn \times n (orthogonal).

  • How to read: “A equals U times Sigma times V-transpose.”
  • Meaning: Decompose any matrix into rotation (VTV^T), scaling (Σ\Sigma), and rotation (UU)—works even for non-square and non-symmetric matrices.

Why It Matters

SVD is the ‘Swiss Army Knife’ of linear algebra; it allows for massive data compression and noise reduction by identifying the most important ‘directions’ in any matrix, making it indispensable for modern machine learning and image processing.

Core Concepts

  • Singular Values (σi\sigma_i): The square roots of the eigenvalues of ATAA^T A (and AATAA^T). They are non-negative and usually ordered σ1σ2σr>0\sigma_1 \geq \sigma_2 \geq \dots \geq \sigma_r > 0.

    • How to read: “The singular values are ordered such that sigma one is greater than or equal to sigma two, continuing in decreasing order down to a positive value.”
    • Meaning: Diagonal entries of Σ\Sigma—measure how much AA stretches along each principal direction.
  • Bases for Fundamental Subspaces:

    • Columns of UU: Orthonormal basis for the Column Space C(A)C(A) and Left Nullspace N(AT)N(A^T).
    • Columns of VV: Orthonormal basis for the Row Space C(AT)C(A^T) and Nullspace N(A)N(A).
    • How to read: “Columns of U; columns of V.”
    • Meaning: Columns of UU span the column space C(A)C(A) and left nullspace N(AT)N(A^T); columns of VV span the row space C(AT)C(A^T) and nullspace N(A)N(A).
  • Stability: Unlike eigenvalues, singular values are numerically stable even for non-symmetric or rectangular matrices.

  • Rank-k Approximation: Ak=i=1kσiuiviTA_k = \sum_{i=1}^k \sigma_i u_i v_i^T is the best rank-kk approximation of AA (Eckart-Young Theorem).

    • How to read: “The rank k approximation of matrix A equals the sum from index i equals one to k of the singular value sigma i times the vector u i times the transpose of vector v i.”
    • Meaning / when to use: Keep only the top kk singular values/vectors for compression—minimizes Frobenius-norm error.

Connected Concepts