Module 1 of 1 · Lesson 5 of 14
Eigenvalues and Eigenvectors
The directions a map leaves in place, the factors it scales them by, and when there are enough of them.
What you will be able to do
Given a square matrix, the learner can form and solve the characteristic polynomial, compute a basis for each eigenspace, compare geometric with algebraic multiplicity, and say whether a basis of eigenvectors exists, checking the result against the trace and determinant.
Orientation
Apply a linear map to a vector and it usually comes back pointing somewhere else. A few directions are exceptions: the map leaves them where they are and only stretches or shrinks them.
Those directions are the eigenvectors, and the stretch factors are the eigenvalues. Finding them turns a matrix into something far easier to work with, because in a basis of eigenvectors the map is just multiplication by
Two things can prevent that. The scale factors may not exist in the field you are working over, which is what happens to a rotation. Or they may exist without enough independent directions to go round, which is what happens to a shear. The first is repaired by moving to the complex numbers; the second cannot be repaired, and telling the two apart is part of the work.
Figure
Eigenvector directions under a linear transformation
Five vectors and their images under
Most directions turn. Two do not:
This is the geometric content the characteristic polynomial computes. The determinant condition
Definition
The nonzero requirement and the eigenspace
The nonzero requirement is not a technicality.
The asymmetry is: eigenvectors may never be zero; eigenvalues may be. A zero eigenvalue means some nonzero
The eigenspace is a subspace, once zero is put back. The set of eigenvectors for
which includes the zero vector by construction. The eigenvectors for
Eigenvectors are never unique. If
Why the characteristic polynomial works.
Subtracting
Procedure
From matrix to eigenspaces
- Form
. Subtract from the diagonal entries only. - Compute
. The result is a polynomial of degree in . - Find the roots. These are the eigenvalues. Record the multiplicity of each root, that is its algebraic multiplicity.
- For each eigenvalue, solve
. Row reduce; the free variables give a basis of the eigenspace . The number of basis vectors is the geometric multiplicity. - Compare the multiplicities. If geometric is less than algebraic for any eigenvalue, the matrix is defective and has no basis of eigenvectors.
- Check. Verify
for each pair; confirm the eigenvalues sum to and multiply to .
Shortcuts worth taking first.
| Situation | Shortcut |
|---|---|
| the eigenvalues are the diagonal entries | |
| a row or column is repeated |
Where step 4 goes wrong. After substituting a correct eigenvalue,
On step 6. The trace and determinant checks cost two additions and one multiplication and catch most sign errors in the characteristic polynomial. Use them before solving for eigenvectors, not after: a wrong eigenvalue makes every subsequent step wasted work.
A note on scale. This procedure is for hand computation on small matrices. Forming and rooting a characteristic polynomial is numerically unstable at size, and production algorithms, the QR iteration and its relatives, compute eigenvalues without ever writing one down.
Worked example
A full computation, and the check that catches errors
Step 1–2: the characteristic polynomial. For a
Directly,
Step 3: the roots.
Check before going further.
Step 4: the eigenspaces.
For
Row reducing, the second row is
There is one free variable, as there must be:
For
The rows are equal, leaving
Step 5: multiplicities. Both eigenvalues have algebraic and geometric multiplicity 1, so they agree. The matrix is not defective, and
Step 6: verify each pair.
In the basis
Theorem
The multiplicity bound, and the two invariants
Theorem (multiplicity bound). For every eigenvalue
Lower bound.
Upper bound. Let
The argument uses that similar matrices share a characteristic polynomial, which holds because
Theorem (trace and determinant). Over a field where
Proof. The characteristic polynomial factors as
Why these matter in practice. The multiplicity bound is what makes "defective" a meaningful category: the geometric multiplicity can fall short but never exceed, so a total count of independent eigenvectors below
The invariants are the cheapest available check. Computing eigenvalues
A corollary.
Example
Four matrices, four behaviours
Triangular: read the diagonal.
Defective: a shear.
has rank 1, so its kernel has dimension 1:
Geometric
Complex: a rotation.
Over
since
Singular: zero as an eigenvalue.
Eigenvalues can be read off structure (triangular), can exist without enough eigenvectors (defective), can require a larger field (rotation), and can be zero (singular). Only the second is an obstruction that no change of setting removes.
Non-example
Five ways an eigenvalue computation goes wrong
Subtracting
Accepting the zero vector as an eigenvector. After reducing
Reporting one vector as "the" eigenvector. Every nonzero multiple of an eigenvector is an eigenvector, and an eigenspace of dimension 2 has a whole plane of them. The answer is a basis for
Concluding non-diagonalisability from a repeated root. Algebraic multiplicity above 1 does not by itself mean defective: the identity matrix has
Concluding a real matrix has no eigenvalues. A rotation has no real eigenvalues, which is a statement about the field rather than about the matrix. Over
The first is mechanical. The next two mistake one solution for the solution set. The last two draw a conclusion from insufficient evidence. A repeated root without the eigenspace, or an absence of roots without the field. Each produces a confident answer that is wrong in a different way, and only the first is visible in the arithmetic.