Skip to content
Linear Algebra•advanced

Eigenvalues and Eigenvectors

Special directions that stay unchanged under transformation

Why This Matters for ML

PCA finds principal components via eigenvectors; spectral clustering uses them

Interactive Visualization

Interact with the visualization to explore

Adjust the symmetric matrix - red and green are eigenvector directions

The Key Intuition

Most vectors get rotated and stretched when transformed by a matrix. But eigenvectors are special — they only get scaled, not rotated! The scaling factor is the eigenvalue. PCA finds these special directions in your data's covariance matrix.

Try It Yourself

Use the visualization controls to:

  • Drag vectors to see transformations in real-time
  • Adjust parameters with sliders
  • Observe how changes affect the output
  • Connect the visual behavior to the math