Principal components
Objective. Reduce dimension through spectral decomposition.
- 1. Learn
- 2. Worked example
- 3. Practice
- 4. Feedback
- 5. Continue
Learn: the key idea
Principal components analysis reduces the dimension of correlated data by finding new orthogonal axes that capture the most variance. Each principal component is an eigenvector of the covariance matrix Σ, and its associated eigenvalue gives the variance explained along that direction. Components are ordered by decreasing eigenvalue, so the first few often summarise most of the data's structure, allowing lower-dimensional approximation with minimal information loss. For example, if Σ has eigenvalues 8 and 2, the first principal component explains 8/(8+2) = 80% of the total variance, making it the dominant direction of spread.
Worked example
A covariance matrix for principal components analysis has eigenvalues 12 and 3. What proportion of total variance is explained by the first component?
- 1Total variance = sum of eigenvalues = 12 + 3 = 15
- 2Proportion explained by first = λ₁/total
- 3Compute: 12/15
- 4Simplify: 4/5 (80%)
Answer: 4/5 (80%)
Concept mastery
Based on your past attempts at this lesson — the question types to practise again come first.
Complete a practice set to see your concept breakdown here.
Practice
Practice happens on its own screen, one question at a time. Answers stay hidden until you submit yours, and you can stop and pick up at the same question later.
Start practisingCommon mistake. Students perform principal components analysis on raw variables with very different scales without standardising; large-scale variables then dominate the eigenvectors artificially. Always standardise variables first unless scale differences are genuinely meaningful.
Your progress
Tick each step as you finish it. Your exact reading position is saved automatically, so Continue drops you back on the same line.
0 of 5 steps complete
Your place saves automatically as you read.