← 📐 Mathematics

📐 Eigen Lab

Animate transform
Show unit circle / grid
det(M):
trace(M):
λ₁:
λ₂:
FPS:
Drag — rotate · Scroll — zoom

📐 Eigenvalues and Eigenvectors: The Directions a Matrix Refuses to Rotate

A 3D field of vectors on a unit circle is transformed live by a 2×2 matrix: most vectors visibly rotate off their original line, while the matrix's eigenvectors — highlighted in gold and pink — only stretch or shrink along their own direction.

🔬 What It Demonstrates

Every sample vector is colored by how far the transformation rotates it: blue means almost no rotation, orange means a large swing. The two directions that stay blue no matter what are the real eigenvectors, scaled by their eigenvalues.

🎮 How to Use

Drag the a, b, c, d sliders to build any 2×2 matrix, or jump to a preset (saddle, stretch, shear, rotation, reflection). Scrub "Transform amount" to morph from the identity to the full transformation, or let it animate automatically.

💡 Did You Know?

When a matrix's discriminant is negative its eigenvalues become complex numbers — geometrically that means every real direction gets rotated, which is exactly what a pure rotation matrix does.