2.1 Total Data Energy as an Invariant Sum of Squared Norms
Before we can understand how Principal Component Analysis redistributes variance across principal axes, we must establish a bedrock invariant: the total scatter (or total energy) of a centered dataset is a geometric constant. Whether you measure your data along the original coordinate axes or rotate your coordinate frame to any new orthonormal basis, the sum of the feature variances never changes.
In this Article
1. Defining Total Data Scatter via Squared Euclidean Norms
For a centered dataset (where ), the squared Euclidean distance of observation from the origin is:
Averaging this squared distance across all observations defines the Total Data Scatter (often called total variance or total signal energy):
where is the Frobenius norm of the centered data matrix .
2. Why Average Squared Distance Equals the Sum of Feature Variances
Notice what happens when we swap the order of summation between observations and features :
Row-Wise vs. Column-Wise View of Total Scatter:
- Row-Wise (Geometric View): Sum across each row first to get the squared hypotenuse length of each point, then average over all points.
- Column-Wise (Statistical View): Average down each column first to get the variance of each feature, then add the feature variances together.
Because both operations sum the exact same grid of squared numbers , they always produce the exact same total!
3. Proof of Rotational Invariance Under Orthogonal Matrices
Suppose we rotate our coordinate axes using any orthogonal matrix (whose columns are mutually perpendicular unit vectors, so ). In the rotated coordinate system, observation has new coordinates . What is its new squared distance from the origin?
Because every single point preserves its Euclidean norm (), the sum of variances across all rotated axes equals the sum of variances across the original axes: . Rotation never creates or destroys variance—it only redistributes variance among the axes!
4. Worked Numerical Verification
Consider two centered points and .
- Original Variances: , and . Total scatter: .
- Rotate by : Using , the new coordinates are and .
- Rotated Variances: , and . Their sum is !
5. Active Recall Check and Key Takeaways
Quick Check: Test Your Understanding
Question: A centered 2D dataset has and . After rotating the coordinate system to the principal component axes , you find that the variance along PC1 is . What must be the variance along the perpendicular axis PC2?
Answer: Because orthogonal rotation preserves total scatter, . Therefore, .
- Total Scatter Conservation: is invariant under any orthogonal rotation of the axes.
- PCA as Variance Concentration: Since total variance is fixed, PCA simply rotates the axes to pack as much of that fixed budget as possible into the first few coordinates.
- Canonical References: See Wikipedia Reference on Orthogonal Transformations and Frobenius Norm Invariance.
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