Study Atlas › Mathematics › Linear algebra

Singular value decomposition and PCA

Any matrix factors as A = UΣVᵀ; principal component analysis uses this to find directions of maximum variance.

Edited by Alex C, EduAlx · Sources cited below

Explanation

Singular values in Σ rank how much each direction contributes. Truncating gives the best low-rank approximation (Eckart–Young theorem, 1936). PCA centres data and finds eigenvectors of the covariance matrix. Uses include image compression, recommender systems and noise reduction.

Example

Keeping the top 50 singular values of a 1000×1000 image stores about 10% of the data with good quality.

How it works, step by step

  1. Centre the data
  2. Compute covariance or SVD
  3. Sort components by variance explained
  4. Project onto the top k components

Open the interactive page with diagrams →

Singular value decomposition and PCA in exams

Singular value decomposition and PCA is part of Mathematics, which is tested in JEE Main, JEE Advanced, CUET-UG, CAT, SAT, ACT, GRE, GMAT. Practise it in the exam format:

People behind it

References

  1. K. Pearson, Philos. Mag. 1901, 2, 559–572.
  2. C. Eckart, G. Young, Psychometrika 1936, 1, 211–218.

Textbooks

Related topics

Linear algebra: matrices, determinants, eigenvaluesVector spaces and linear transformationsRandom variables and distributionsRegression and correlationNumerical methodsMarkov chainsPartial differential equations: heat, wave and LaplaceReal analysis: completeness and convergenceLaplace transformMeasure theory and Lebesgue integration