Why are principal components mutually orthogonal and uncorrelated?

Quick Overview

Explain why the principal components from PCA are orthogonal directions and why the scores obtained by projecting data onto them are uncorrelated. Tests the spectral theorem for symmetric matrices, covariance diagonalization, the role of centering, and the gap between uncorrelated and independent.

Why are principal components mutually orthogonal and uncorrelated?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why are principal components mutually orthogonal and uncorrelated? Here "principal components" covers both the direction vectors PCA returns and the scores you get by projecting centered data onto those directions. ```hint Start from the matrix PCA decomposes PCA takes the eigenvectors of the covariance matrix. Ask what symmetry implies for those eigenvectors, then write out the covariance of the projected data in terms of that matrix. ``` ### What a Strong Answer Covers - Why eigenvectors of a real symmetric matrix are orthogonal, including what happens when two eigenvalues are equal - The covariance of the projected scores written in matrix form, and why its off-diagonal entries vanish - What the variance of each component's scores equals - Why orthogonal directions and uncorrelated scores are separate facts, and the role centering plays - The difference between uncorrelated and independent ### Follow-up Questions - If two eigenvalues are equal, are the principal components unique? What does that mean for interpreting them? - You fit PCA on training data and project held-out data onto the same components. Are the held-out scores still uncorrelated? - Do both properties still hold if you run PCA on standardized features (the correlation matrix)? Do you get the same components? - When would you reach for ICA instead of PCA?

Overview: Explain why the principal components from PCA are orthogonal directions and why the scores obtained by projecting data onto them are uncorrelated. Tests the spectral theorem for symmetric matrices, covariance diagonalization, the role of centering, and the gap between uncorrelated and independent.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why are principal components mutually orthogonal and uncorrelated?

Here "principal components" covers both the direction vectors PCA returns and the scores you get by projecting centered data onto those directions.

What a Strong Answer Covers Guidance

  • Why eigenvectors of a real symmetric matrix are orthogonal, including what happens when two eigenvalues are equal
  • The covariance of the projected scores written in matrix form, and why its off-diagonal entries vanish
  • What the variance of each component's scores equals
  • Why orthogonal directions and uncorrelated scores are separate facts, and the role centering plays
  • The difference between uncorrelated and independent

Follow-up Questions Guidance

  • If two eigenvalues are equal, are the principal components unique? What does that mean for interpreting them?
  • You fit PCA on training data and project held-out data onto the same components. Are the held-out scores still uncorrelated?
  • Do both properties still hold if you run PCA on standardized features (the correlation matrix)? Do you get the same components?
  • When would you reach for ICA instead of PCA?