Covariance eigendecomposition
A symmetric covariance matrix has orthogonal eigenvectors and nonnegative eigenvalues.
Center, diagonalize, and project
PCA turns the geometric intuition into a reproducible calculation: center the observations, form their covariance matrix, and use its eigenvectors as new axes.
The essential idea: principal directions are covariance eigenvectors, ordered by their eigenvalues.
A symmetric covariance matrix has orthogonal eigenvectors and nonnegative eigenvalues.
Centered observations are expressed in the principal-component basis.
Change the correlation. The covariance ellipse, eigenvalues, and explained-variance ratio update together.
PCA is an eigendecomposition of centered covariance followed by projection onto the leading eigenvectors.