A matrix's SVD splits it into a sum of pieces, each carrying a singular value that measures how much of the matrix that piece accounts for. What happens if you just... throw away the small pieces?
reconstruction error ‖A - A_k‖_F = 1.000
The rank-1 heatmap keeps only the SVD's largest term; rank-2 keeps both and reconstructs the original exactly. Watch how close rank-1 already gets, and exactly how large the leftover error is.
The Eckart-Young theorem says the best possible rank- approximation to — the one closest to it in Frobenius norm, among every rank- matrix — is obtained by keeping only the largest terms of 's SVD:
- — the -th singular value of , sorted largest to smallest.
- — the corresponding left and right singular vectors.
- — the best possible rank- approximation of .
- — the Frobenius norm: the square root of the sum of every entry squared.
- Truncation error is exact, not a bound
The right-hand equation isn't an upper bound — it's the exact error, computable directly from the singular values you dropped, without ever forming and subtracting.
- Why the small singular values matter least
Since the dropped singular values are squared and summed, a handful of small 's contribute far less error than their count alone would suggest — this is what makes low-rank compression work at all.
- It's the best rank-k matrix, full stop
No other rank- matrix — found by any method — can get closer to in Frobenius norm than does. Truncating the SVD isn't just convenient; it's provably optimal.
rank 1: error = 1.000, energy retained = 96.2%
rank 2: error = 0.000, energy retained = 100.0%
carries far more of the squared-Frobenius "energy" than — which is exactly why dropping costs so little.
has singular values , with singular vectors and :
- Build the rank-1 approximation
.
- Compute the error directly
, and .
- Confirm it matches the formula
Eckart-Young predicts — exactly what direct subtraction gave. Retained energy: .
A matrix with singular values 6 and 2 is truncated to rank 1. By the Eckart-Young theorem, what is the Frobenius-norm reconstruction error?
Compression, denoising, and dimensionality reduction all lean on the same fact: a matrix's "important" information concentrates in its largest singular values, and the Eckart-Young theorem guarantees that truncating the rest is the best possible rank- summary you could build. The capstone ahead applies exactly this to compress an actual image.