2.3 Why Minimizing Orthogonal Error Is Identical to Maximizing Projected Spread
Why is the equivalence between minimizing reconstruction error and maximizing projected variance considered one of the most profound insights in applied mathematics? Because it bridges two completely different philosophies of data analysis: lossy compression (how accurately can we reconstruct our inputs?) and information theory (how well can we distinguish different observations from one another along a low-dimensional summary?).
In this Article
1. From Point-Wise Pythagoras to Dataset-Wide Optimization
In Microlearning 2.2, we proved that for every individual centered data point and any unit vector :
Summing over all and dividing by gives the dataset-level objective function:
In optimization theory, minimizing over has the exact same set of optimal solutions as maximizing :
2. Why Maximizing Variance Preserves Pairwise Distinguishability
There is an even deeper geometric way to view this duality: what happens to the distance between any two shadows and on the line? By the Pythagorean theorem applied to the pairwise difference vector :
Because , projecting onto a line can only shrink pairwise distances: . If you pick a bad axis, distinct data points collapse on top of each other's shadows! Maximizing the variance prevents shadow collisions by keeping the projected shadows as far apart—and as faithful to their true 2D distances—as possible.
BAD AXIS (Low Variance / High Error): GOOD AXIS (Max Variance / Min Error):
Shadows collide! Points become indistinguishable. Shadows stay spread out and distinct!
* x_1 * x_3
| * x_2 \
| * x_2 * x_1 \ (o)
| | * x_3 \ (o) /
v v v (o) / /
------(o)--(o)--(o)------> u_bad / / / <-- u_optimal
(Crushed together!) (Well-separated shadows!)
3. The Signal-to-Noise Interpretation of Principal Axes
When Is High Variance Synonymous with Signal? If your measurement noise is isotropic (equally small in all directions with variance ), while the true underlying physical phenomenon varies strongly along a latent direction , then the direction of maximum variance automatically maximizes the Signal-to-Noise Ratio (SNR).
4. Worked Numerical Trade-Off Calculation
Suppose a centered 5D dataset has total scatter . We test three candidate unit vectors:
| Candidate Unit Vector | Measured Shadow Variance | Implied Reconstruction Error | Percentage of Total Information Retained |
|---|---|---|---|
| Direction | |||
| Direction | |||
| Optimal PC1 |
5. Active Recall Check and Key Takeaways
Quick Check: Test Your Understanding
Question: Why can the 1D shadow distance between two observations never exceed their true Euclidean distance ?
Answer: By the Cauchy-Schwarz inequality (or the Pythagorean identity on ), since . Maximizing variance chooses to make as close to the upper bound as possible on average.
- Equivalence of Objectives: because their sum is fixed at .
- Pairwise Distance Preservation: Maximizing variance maximizes the average squared distance between projected points, preventing distinct observations from collapsing onto the same shadow.
- Canonical References: See Shlens' PCA Tutorial on Signal-to-Noise Ratio and Variance.
Take a Quiz Based on This Article
Test your understanding with AI-generated questions tailored to this content
Adaptive Learning with SynLearn
Explore this article through guided practice that adapts to your answers