Eigenvalues and Eigenvectors
Most vectors change direction when a linear transformation is applied. However, some special vectors keep their direction and are only stretched or shrunk. These are eigenvectors, and their scaling factor is the eigenvalue.
1. The Stability Equation
For a linear operator , a vector is an eigenvector if: where is a scalar (the eigenvalue).
Intuition: In a 2D rotation, no real vector keeps its direction (except the zero vector). But in a scaling transformation, the axes are eigenvectors because points on them move only along the line.
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.
2. Finding the Spectrum
To find , we must solve . This gives us the Characteristic Polynomial.
If a matrix is triangular (all zeros below the diagonal), what are its eigenvalues?
3. The Power Method: Finding Eigenvectors Iteratively
In high-dimensional spaces (like Google’s PageRank), we don’t calculate determinants. Instead, we use the Power Method: repeatedly apply to a random vector until it converges to the dominant eigenvector.
Interactive Lab
Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.
4. Diagonalization:
If a matrix has enough eigenvectors, we can rotate our coordinate system so the transformation is just axis-aligned scaling. This is the foundation of Principal Component Analysis (PCA).