Low-Rank Approximation and the Eckart-Young Theorem
The proof that the best possible simplified version of a matrix — keeping only its k strongest patterns — is exactly what you get by truncating its singular value decomposition, no other approach can do better.
Prerequisites: Singular Value Decomposition
A large covariance matrix of stock returns is genuinely high-dimensional, but most of its structure is driven by a handful of dominant factors — a market factor, a couple of sector factors — with the rest being noise. If you want to compress that matrix down to its "k most important patterns" and discard the rest, you need to know: what does the best possible rank- approximation even look like, and how do you know nothing else does better? The Eckart-Young theorem answers both questions with a strikingly simple construction.
An analogy: a photo compressed to its main brushstrokes
Think of a matrix as a grayscale image, a grid of pixel intensities. Compressing that image to look as close to the original as possible using only a handful of "brushstrokes" (simple rank-one patterns, each a single horizontal streak times a single vertical streak) is exactly the low-rank approximation problem. Eckart-Young says: the best set of brushstrokes to keep, for any target number , are precisely the strongest ones the image naturally decomposes into — and adding any other combination of strokes, however cleverly chosen, can never beat keeping the top by strength.
The math, one symbol at a time
Every matrix has a singular value decomposition , where is diagonal holding the singular values in decreasing order, and , hold the corresponding left and right singular vectors. The rank- truncated SVD keeps only the top singular values and their vectors:
The Eckart-Young theorem states that among all matrices of rank or less, is the one closest to (measured by summed squared entrywise error), and the size of the unavoidable error is exactly — the total "strength" left in the singular values you discarded. In words: truncating the SVD isn't just a reasonable way to compress a matrix, it's provably the best one possible, and the leftover singular values tell you precisely how much accuracy you gave up.
Worked example 1: compressing a small matrix by hand
Let , already diagonal so its singular values are with singular vectors along the axes. The best rank-1 approximation keeps only the top term: . The approximation error, entrywise squared, is — exactly , matching the theorem's prediction precisely, and no other rank-1 matrix can get closer to than this.
Worked example 2: factor-model compression of a return matrix
A covariance matrix for 100 stocks has singular values (market factor), , (sector factors), and 97 more small values summing in squares to about 50. Keeping a rank-3 approximation captures out of a total sum-of-squares of — about of the matrix's total "energy," using just 3 factors instead of 100. This is the mathematical justification for reducing a huge estimated covariance matrix to a handful of statistical factors: the discarded 96.7% of singular values contribute only 2.7% of total structure, most of which is likely estimation noise anyway.
Reducing a matrix's rank shrinks the ellipse the unit circle maps to down toward a line or point along its weakest singular directions — drag the entries to see which directions carry the most "stretch," the ones Eckart-Young says to keep.
What this means in practice
Eckart-Young is the theoretical backbone of factor models (compressing a covariance matrix to a few statistical factors), image and signal compression, and recommender systems (low-rank approximations of a ratings matrix). Whenever a quant reduces a large, noisy matrix to its "top components" via PCA or SVD truncation, they're implicitly invoking this theorem to know that choice is provably optimal, not just convenient.
Truncating a matrix's SVD to its top singular values and vectors gives the best possible rank- approximation to that matrix — no other rank- matrix, however constructed, can be closer, and the unavoidable error equals the sum of squares of the discarded singular values.
"Best approximation" here means best under squared-error distance across all entries treated equally — it does not mean the truncated matrix preserves every property you might care about, such as remaining positive semidefinite, having the same diagonal, or respecting a correlation matrix's constraint that all diagonal entries equal exactly 1. Truncating a correlation matrix's SVD to rank can leave diagonal entries that are no longer exactly 1, which is why a further repair step (see The Nearest Correlation Matrix Problem) is often needed afterward.
Related concepts
Practice in interviews
Further reading
- Eckart & Young (1936), Psychometrika