When does a matrix flatten the plane? Slide a number λ and watch a parallelogram collapse onto a line, twice.
Hunting eigenvalues
A = [1.5 1; 0.5 1]. The parallelogram on the columns of A − λI, and its signed area against λ.
At λ = 0, A − λI is A itself: the parallelogram on its columns has area 1.
Describe this picture
Two panels for the matrix of the eigenvectors page (one above the other on a phone). In the first, the parallelogram on the two columns of . In the second, a plot of its signed area against from 0 to 3. After a short rest, over 10 s slides from 0 to 3 and the curve is traced as it goes: the area starts at 1, falls to 0 at , where the parallelogram collapses onto a line and the direction it crushes, , is drawn; it reaches its lowest value, , at , returns to 0 at , where it collapses again and crushes , and ends at 2.5. Readouts give and the area. One control after the clip: drag along the curve, or move it with the arrow keys in steps of 0.05; it stops on each eigenvalue, where the crushed direction, the eigenvector, is drawn.
When the plane flattens
On Eigenvectors we found two lines that the matrix only stretches, by sweeping an arrow round and watching. That works when you can see the picture. For a bigger matrix you need a way to compute.
Start from the definition, . Move everything to one side. Writing as , with the identity matrix , lets me take out as a common factor:
So is a nonzero vector in the null space of . A matrix sends a nonzero vector to zero only when it crushes a whole line, and then it flattens the plane. By The determinant as area, flattening is exactly a determinant of zero. So is an eigenvalue of exactly when
That is what the picture at the top of the page hunts for. The parallelogram is applied to the unit square, and its signed area is . Drag yourself and stop where the area reads 0.
The characteristic polynomial
For a matrix the determinant is quick to write out. Subtracting takes off each diagonal entry:
The middle coefficient is the sum of the diagonal entries, the trace, written . The last is . So for every matrix
This is the characteristic polynomial of , and setting it to zero is the characteristic equation. The quadratic formula solves it:
For the matrix in the picture, and . The equation is , and
so or : the two stretch factors of the eigenvectors page, found without a picture.
An matrix gives a polynomial of degree in the same way, so it has eigenvalues, counted with repeats. Some of them may be complex numbers.
Two checks
Write the polynomial from its roots: . Match it with the form above, coefficient by coefficient:
The same holds for every size: the eigenvalues add up to the trace and multiply to the determinant. Here and . These two checks catch most slips in a hand calculation.
Watch out
The eigenvalues are not the diagonal entries, and elimination does not keep them. One elimination step on , row 2 row 2 row 1, gives , whose eigenvalues are 1.5 and , not 2 and 0.5. Only the product survives, because elimination keeps the determinant: . For a triangular matrix the eigenvalues are the diagonal entries, since its determinant is the product of the diagonal.
Eigenvectors from the null space
Each eigenvalue gives its eigenvectors as the null space of , found as in The null space.
For :
The second row is minus the first, so one equation is left: . Take ; then , and .
For : leaves , so . Both match the lines the sweep found.
Repeated and missing roots
The polynomial can surprise you in two ways.
A repeated root. The shear has trace 2 and determinant 1, so its polynomial is . The root 1 appears twice. But has only the line of in its null space, so there is one line of eigenvectors, not two. Similar matrices and the Jordan form looks at matrices like this.
No real root. The quarter turn has trace 0 and determinant 1, so . No real number solves it, which matches the picture: the turn keeps no line. The roots are the complex numbers , and Complex eigenvalues reads them as a turn.
A bigger matrix in blocks. When a matrix splits into blocks along its diagonal, each block keeps its own eigenvalues. Take
The first coordinate is left alone, stretched by 2, so 2 is an eigenvalue with eigenvector . The block has trace 12 and determinant , so : eigenvalues 1 and 11. Check: . All three add to , the trace, and multiply to , the determinant.
Poles are eigenvalues
The filter remembers its last two outputs. Stack them as a state vector, . With no input, one step of the filter turns it into , and that step is the matrix
The first row is the filter’s equation; the second only passes along. This is the companion matrix of the filter. Its trace is 1.5 and its determinant 0.56, so its characteristic polynomial is .
Poles are eigenvalues
The filter's poles, and the characteristic polynomial of its companion matrix.
The filter y[n] = 1.5 y[n−1] − 0.56 y[n−2] + x[n], and the plane of complex numbers.
Describe this picture
Two panels. In the first, the plane of complex numbers with the unit circle, and the two poles of the filter marked as crosses at 0.8 and 0.7 on the real axis. In the second, the characteristic polynomial of the companion matrix plotted against from 0.55 to 0.95, crossing zero at 0.7 and 0.8, where rings in the poles’ colours mark the crossings. There is no control.
Watch the two sets of marks: they sit at the same two numbers. The eigenvalues of the companion matrix are the filter’s poles.
In signal processing · poles as eigenvalues
Transfer functions, poles and zeros, in the signal processing course, finds this filter’s poles as the roots of , which is the denominator of its transfer function, , times . That is the characteristic polynomial above with in place of . Samples count from , while the entries of the state vector count from 1.
Worked example
1. The matrix of the eigenvectors page. has and . The characteristic equation gives , so 2 and 0.5. The null space of is the line of , and that of is the line of .
2. Elimination changes eigenvalues. Row 2 row 1 gives , with eigenvalues 1.5 and but the same product, 1.
3. A repeated root. The shear has and one line of eigenvectors, through .
4. Blocks. has eigenvalues 2, 1 and 11, with eigenvectors , and .
5. No real root. The quarter turn gives .
6. Poles. : check and .
Try these before you read the answers.
- Eigenvalues of ? Trace 4, determinant 3, so 3 and 1.
- A matrix has trace 5 and determinant 6. Its eigenvalues? 2 and 3.
- Eigenvalues of ? 3 and 4: it is triangular.
- If , can 0 be an eigenvalue? No: 0 is an eigenvalue exactly when .
Where you’ll meet this
Stable filters. A filter’s poles are the eigenvalues of its companion matrix. This filter is stable because both, 0.8 and 0.7, lie inside the unit circle, so the state dies away in the long run.
Vibrating structures. The natural frequencies of a structure built from masses and springs come from the eigenvalues of its stiffness matrix, as Symmetric matrices shows.
How software does it. Programs do not find eigenvalues by solving the characteristic polynomial. For large matrices its roots are extremely sensitive to rounding in the coefficients, so programs use repeated matrix steps that home in on the eigenvalues instead. The polynomial stays the right tool for a by hand, and for understanding.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Eigenvalue test | flattens space | |
| Polynomial, | degree for | |
| Roots, | complex when the square root’s argument is negative | |
| Sum | trace: sum of the diagonal | |
| Product | 0 is an eigenvalue exactly when | |
| Eigenvectors | one null space per eigenvalue | |
| Triangular | eigenvalues on the diagonal | not true after elimination of a general matrix |
| Companion matrix | eigenvalues are the poles of |