LearnViz Math
Expert ▦ Linear Algebra Topic 71 of 104

Principal Component Analysis

Find directions of greatest variance using eigenvectors.

Key idea

Find directions of greatest variance using eigenvectors.

In depth

PCA finds directions of greatest variance in data: the eigenvectors of the covariance matrix (or the SVD of the centred data). Projecting onto the top few reduces dimension while keeping most information.

Worked example

Two-dimensional data stretched along y = x has first component (1, 1)/√2.

Real-world uses

Common mistake

Forgetting to centre the data before computing.

How to learn this

  1. Read the key idea and say it in your own words.
  2. Work through the worked example, then try a similar problem.
  3. Use the interactive lesson’s visual and mini-quiz to check the pattern.

Frequently asked questions

What is Principal Component Analysis?

Find directions of greatest variance using eigenvectors. It is a topic at the expert level in Linear Algebra.

Where is Principal Component Analysis used in real life?

Real-world examples: Reducing many survey questions to a few key factors; Visualising high-dimensional data.

What should I learn before Principal Component Analysis?

Make sure you are comfortable with Singular Value Decomposition, the previous topic in Linear Algebra.

What is a common mistake with Principal Component Analysis?

Forgetting to centre the data before computing.

How can I practise Principal Component Analysis?

Open the interactive lesson, play with the visual, then answer the three-question mini-quiz. Getting two right marks the topic complete.

What comes after Principal Component Analysis?

Move on to Pseudoinverse next.

Related expert topics in Linear Algebra