Contents · Linear Algebra
Part 0 · Orientation
Part 1 · Vectors & Spaces
Part 2 · Matrices as Maps
Part 3 · Solving Systems
Part 4 · Orthogonality
Part 5 · Eigenvalues
- Eigenvalues and Eigenvectors
Part 6 · Singular Value Decomposition
Part 7 · Spectral & Positive Definite
Part 8 · Numerical Linear Algebra
Part 5 · Eigenvalues
Eigenvalues and Eigenvectors
Most vectors get both stretched and rotated when a matrix acts on them. A rare few only get stretched: the matrix leaves their direction alone and just scales them. Those special directions are the eigenvectors, and the scale factors are the eigenvalues. They are the axes along which a linear map is simplest.1
The defining equation
A nonzero vector is an eigenvector of the square matrix with eigenvalue when
The map only scales ; it does not rotate it. Rewrite this as . A nonzero solves it only when is singular, which means
This is the characteristic equation. Its roots are the eigenvalues, and for each the null space of holds the matching eigenvectors.2
The 2x2 formula
For write the trace and the determinant . Then
The two roots satisfy and , a fast sanity check. The discriminant decides everything: positive gives two real eigenvalues, zero a repeated one, and negative a complex pair. In the last case there is no real direction that merely scales, because is acting as a rotation.
A worked example
Take
The discriminant is , so
For solve , that is , giving . For the same step gives . Verify directly:
Feel the eigen-directions
The matrix below starts at the worked example. Sweep the test vector by its angle: almost everywhere points off in a new direction, but when lands on a green ray, becomes parallel to and the label appears. Those rays are the eigenvectors solved from the formula above. Push and to opposite signs to make and watch the real eigenvectors vanish.
- trace T
- 4.00
- det D
- 3.00
- T² − 4D
- 4.00
λ₂ = 1.000
Sweep θ until the blue v lands on a green ray: there A v is parallel to v, so A only scales it.
Diagonalization
When an matrix has independent eigenvectors, stack them as the columns of and put the eigenvalues on the diagonal of . Then , so
This is the payoff. Powers telescope because the inner factors cancel:
Raising to a power reduces to raising each scalar to that power, which is why eigenvalues govern long-run behavior: the largest dominates as grows. The same identity powers matrix exponentials and the stability analysis of linear dynamics.1