Singular Value Decomposition (SVD) factorizes any real m×n matrix A into three matrices:
A = U Σ VT
Intuitively, SVD expresses A as a composition of: rotate (VT), scale (Σ), rotate (U). It works for any rectangular matrix and is numerically stable — unlike EVD which requires square matrices.
Compute eigen-decomposition of ATA (which is symmetric & positive semidefinite). Its eigenvalues λᵢ ≥ 0. Then singular values σᵢ = sqrt(λᵢ). The columns of V are the eigenvectors of ATA. Finally, U = A V Σ-1 (for non-zero σᵢ).
Take A = [[3, 1],[1, 3]]. We'll compute SVD.
A = [[3,1],[1,3]]
A^T A = [[10,6],[6,10]]
Eigenvalues: 16, 4 → singular values 4, 2
V = [[1/√2, 1/√2],[1/√2, -1/√2]]
Σ = [[4,0],[0,2]]
U = A V Σ^{-1} (compute column-wise)
This yields the SVD where the first singular vector captures the direction [1,1] (largest variance) and the second captures [1,-1].
Enter numbers for a 2×2 matrix A. Calculator computes AᵀA, eigenvalues, singular values, V, U and Σ (rounded).
• ATA is symmetric → eigenvalues are real ≥ 0.
• Singular values are square roots of eigenvalues of ATA.
• If A is m×n and rank r, there are r positive singular values.