---
title: What do eigenvectors of a covariance matrix represent? Relate PCA to SVD and explain how to pick the number of…
url: https://gurkanozkan.ai/learn/questions/mle-eigen-decomposition-and-pca-intuition-16/
markdown: https://gurkanozkan.ai/learn/questions/mle-eigen-decomposition-and-pca-intuition-16.md
kind: question
role: ML engineering
stage: Technical
difficulty: Medium
json: https://gurkanozkan.ai/api/learn/questions/mle-eigen-decomposition-and-pca-intuition-16.json
robots: noindex
---

# What do eigenvectors of a covariance matrix represent? Relate PCA to SVD and explain how to pick the number of components.

ML engineering · Technical · Medium

## Answer

*Model answer, written in a candidate's voice*

### In short

- Eigenvectors are directions of maximal variance; eigenvalues are the variance along those directions.
- PCA is SVD of the centred data matrix: X = UΣVᵀ, covariance = V(ΣᵀΣ/(n−1))Vᵀ, so V columns are components and σᵢ²/(n−1) are variances.
- Pick components by cumulative explained-variance ratio, a scree-plot elbow, or downstream performance/validation.
- Standardise when units differ; PCA is linear and sensitive to outliers and skew; component signs are arbitrary.

### In full

Eigenvectors of a covariance matrix are the directions in feature space along which the centred data vary the most, and the corresponding eigenvalues are the variances of the data projected onto those directions. PCA is exactly the SVD of the centred data matrix X = UΣVᵀ: the covariance matrix is XᵀX/(n−1) = V(ΣᵀΣ/(n−1))Vᵀ, so the columns of V are the principal components and λᵢ = σᵢ²/(n−1) is the variance along component i. To choose the number of components, I look at the cumulative explained-variance ratio, often keeping the smallest k that reaches a chosen threshold such as 90%, but I treat that as a context-dependent choice rather than a rule; a scree-plot elbow and downstream validation performance are useful checks. I standardise features when units differ, because PCA is scale-sensitive, and I remember that PCA is linear and can be distorted by outliers or skew, so robust methods or transformations may be needed; component signs are arbitrary, so I never read meaning into a sign flip between runs.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- Eigenvectors are directions of maximal variance; eigenvalues are the variance along them.
- PCA = SVD of the centred data matrix, with V's columns as components and σ²/(n−1) as variances.
- Choose components by explained-variance ratio, a scree elbow, or downstream performance.
- Standardise when units differ; PCA is linear and sensitive to outliers.

## Common mistakes

- not centring the data
- interpreting component signs as meaningful.
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
