Algebra
Eigenvalues and diagonalization
Special scalars and vectors that reveal the simplest form of a linear transformation.
IntuitionWhat an eigenvector really is
Most vectors get pushed off in a completely new direction when a linear map acts on them, and often get rotated as well as stretched. But for a special few directions, the map only stretches or shrinks the vector along the same line it already lay on — it never rotates it. Those special directions are the eigenvectors of , and the stretching factor along each one is the corresponding eigenvalue: . Picture a rubber sheet being stretched: most marked points slide sideways, but a couple of lines on the sheet only get longer or shorter, staying put on the same axis. Those axes are exactly the eigenvectors.
SchoolFrom geometric picture to precise definition
Definition: Eigenvalue and eigenvector
Let be an matrix. A nonzero vector is called an eigenvector of if there is a scalar such that ; the scalar is the eigenvalue attached to . Geometrically, maps the whole line through to itself, merely rescaling it by .
Rewriting the defining equation as shows that can only exist when is singular, i.e. when its determinant vanishes: . Expanding this determinant gives a degree- polynomial in , the characteristic polynomial; its roots are exactly the eigenvalues of .
| Case | Geometric meaning |
|---|---|
| distinct real eigenvalues | independent stretch axes; is always diagonalizable |
| Repeated eigenvalue, full eigenspace | Still diagonalizable: an entire plane (or higher) is stretched by the same factor |
| Repeated eigenvalue, defective eigenspace | Not diagonalizable: some directions get sheared, not just stretched |
| Complex conjugate pair | No real invariant line; the map rotates while it scales, like a spiral |
UndergraduateDiagonalization and the spectral theorem
If are pairwise distinct eigenvalues of with eigenvectors , then is a linearly independent set.
Why is it true?
Each eigenvector marks out its own private invariant direction with its own private scaling factor; if one such direction could be built out of the others, applying would have to scale it by every one of those different factors at once, which is impossible unless the vector is zero.
Proof
We argue by induction on . For the claim is trivial: a single nonzero vector is automatically linearly independent.
Assume the result holds for distinct eigenvalues, and suppose toward contradiction that are linearly dependent. Then there is a relation with not all zero.
Apply to both sides: since , this gives . Now multiply the original relation by and subtract it from this new equation; the terms with cancel exactly, leaving .
By the induction hypothesis, are linearly independent, so every coefficient in this last relation must vanish: for . Since the eigenvalues are pairwise distinct, , forcing for all .
Substituting back into the original relation leaves ; since by definition of eigenvector, as well. Every coefficient is zero, contradicting our assumption that not all vanish. Hence no such dependence relation exists, and the eigenvectors are linearly independent.
If is a real symmetric matrix, , then there is an orthogonal matrix (meaning ) and a real diagonal matrix such that . Equivalently, has real eigenvalues and an orthonormal basis of eigenvectors.
Why is it true?
Symmetric matrices show up constantly — covariance matrices, moments of inertia, Hessians of smooth functions — and this theorem guarantees you can always rotate to a coordinate frame where the matrix acts by pure independent scaling along perpendicular axes, with no shearing and no complex behaviour whatsoever.
Proof
We first record a lemma: every eigenvalue of a real symmetric matrix is real. If with possibly complex, consider where is the conjugate transpose. Since is real and symmetric, , so this quantity is real; but it also equals , and is a positive real number, forcing itself to be real.
We now prove the theorem by induction on . The case is trivial: any matrix is already diagonal, with .
For the inductive step, assume the theorem holds for all real symmetric matrices of size . Since is real symmetric, by the lemma its characteristic polynomial has a real root ; choose a corresponding eigenvector and normalize it to a unit vector .
Let be the orthogonal complement of the line spanned by , an -dimensional subspace. We claim is invariant under : for any (so ), we compute , using symmetry of in the middle step. So is again orthogonal to , i.e. .
Choose an orthonormal basis of ; in this basis, the restriction of to is represented by an matrix , and is symmetric because is (restricting a symmetric bilinear form to a subspace, in an orthonormal basis, keeps it symmetric). By the induction hypothesis, has an orthonormal basis of eigenvectors inside , with real eigenvalues ; since is -invariant, these are also genuine eigenvectors of itself.
Collecting gives an orthonormal basis of made entirely of eigenvectors of . Assembling them as the columns of a matrix makes orthogonal, and where ; since for an orthogonal matrix, this rearranges exactly to , completing the induction.
UndergraduateReal-World Applications and Worked Examples
Eigenvalues and eigenvectors are the hidden variables behind vibration frequencies of bridges and buildings, the ranking algorithm behind web search, and the principal directions used to compress data.
Example: Natural frequencies of a two-mass spring system
Two equal masses slide on a frictionless line; each is tied to a wall by a spring of stiffness , and the two masses are also tied to each other by a third spring of stiffness . Find the natural frequencies of oscillation and describe the corresponding modes of vibration.
Solution
Newton's second law for displacements gives and , i.e. with matrix .
Seeking oscillatory solutions turns the system into the eigenvalue problem , so must be an eigenvalue of . The characteristic equation gives or .
For : gives , i.e. — the masses swing in opposite directions, and . For : gives , i.e. — the masses swing together in phase, with .
So the two eigenvectors of are exactly the two normal modes of vibration, and their eigenvalues fix the two natural frequencies — precisely why this problem is, at heart, an eigenvalue problem.
Example: PageRank as a dominant eigenvector
A tiny web of three pages links as follows: links equally to and ; links only to ; links only to . Model a random surfer with a column-stochastic transition matrix and find the long-run fraction of time spent on each page.
Solution
The column-stochastic transition matrix (columns give outgoing link probabilities from each page) is (rows/columns ordered ). The steady-state ranking is the eigenvector of for eigenvalue , satisfying and .
Writing out : , , and . The first two equations already give and ; substituting into the third confirms , consistent.
Setting gives , , so the normalization gives . The steady-state ranking is : pages and are equally and most "important", exactly as one expects since they link directly to each other in a tight cycle, while only receives traffic from .
This is precisely the idea behind PageRank: importance is not counted by counting links, but by finding the dominant eigenvector (eigenvalue ) of the link-transition matrix, found in practice by repeatedly multiplying by (the power method), which always converges to the same principal eigenvector regardless of the starting guess.
What are the eigenvalues of ?
What is the key geometric property that distinguishes an eigenvector from an ordinary vector under a linear map ?
In the PageRank model, why does the steady-state importance ranking of web pages correspond to an eigenvector?
Why is the matrix not diagonalizable, even though it has a repeated eigenvalue ?
References
- Gilbert Strang (2016). Introduction to Linear Algebra
- Sheldon Axler (2015). Linear Algebra Done Right