In many linear algebra and geometry courses, in the first year of engineering or of a science degree, eigenvalues and diagonalisation are taught between the end of October and November. The exam is in the winter session, eight to fourteen weeks away, but the mid-term tests and partial exams of many courses fall at the end of November or in December, that is four to eight weeks from today. Every university has its own calendar and you should check it in the course syllabus; the point is that this chapter is where theory and calculation meet, and it is worth sorting out now.
The calculation, here, is not the problem: characteristic polynomials and linear systems can be trained. Where students get stuck, especially in the oral exam, is in understanding what the words mean: eigenvector, eigenspace, multiplicity. If you do the calculations without having understood them, you get the last step wrong, the one that decides whether the matrix is diagonalisable.
What means
A matrix of order acts on the vectors of : in general a vector is rotated, stretched, squashed, and ends up in a different direction. The eigenvectors are the special directions that does not push off their own line: the vector stays on the same line and is only multiplied by a number.
The number is the eigenvalue. If the vector is tripled, if it is flipped, if it is wiped out (and then lies in the kernel of ). The condition is not a detail: the zero vector satisfies for any , so if it were allowed every number would be an eigenvalue and the definition would say nothing.
The procedure in three steps
Step 1: characteristic polynomial. is equivalent to . This homogeneous system has non-zero solutions only if the matrix is singular, that is, if
Expanding the determinant gives a polynomial of degree in , the characteristic polynomial.
Step 2: eigenvalues. The roots of the polynomial are the eigenvalues. The algebraic multiplicity of an eigenvalue is the number of times it appears as a root.
Step 3: eigenspaces. For each eigenvalue you solve . The set of solutions is the eigenspace , and its dimension is the geometric multiplicity. Since is a root of the characteristic polynomial, the matrix is singular and the eigenspace has dimension at least 1: if you find only the zero vector, you have made a mistake in a calculation.
Two free checks on the eigenvalues you have found: their sum equals the trace of (the sum of the entries on the diagonal) and their product equals , each counted with its multiplicity. I always use them, even in the exam, because they cost ten seconds.
When the matrix is diagonalisable
is diagonalisable if there is an invertible matrix such that
with diagonal. The columns of are eigenvectors of and the entries on the diagonal of are the corresponding eigenvalues, in the same order. Put equivalently: is diagonalisable if and only if in (or ) there is a basis made of eigenvectors.
The criterion to know by heart: is diagonalisable if and only if for every eigenvalue the geometric multiplicity equals the algebraic multiplicity. You always have
and this gives two shortcuts:
- if the eigenvalues are all distinct, each eigenvalue has algebraic multiplicity 1, hence geometric multiplicity 1 too: the matrix is diagonalisable with no further calculation;
- a simple eigenvalue never creates problems; the check is needed only for repeated eigenvalues.
What is diagonalising for? Because with powers become easy: , and raising a diagonal matrix to a power means raising its entries to that power. It is the technique used to solve recurrences and systems of linear differential equations, and that is why it comes back in other exams.
Exercise 1: a matrix with three distinct eigenvalues
Diagonalise
Characteristic polynomial. I expand along the third column, which has only one non-zero entry:
Eigenvalues: . Check: sum , trace . Product , determinant . Everything adds up.
These are three distinct eigenvalues in dimension 3, so is diagonalisable. I still need the eigenvectors.
. . The equations are and . I take : , . Eigenvector .
. . From and it follows that , . Eigenvector .
. . The third row gives , then the first gives , and is free. Eigenvector .
Check. . . . Therefore
with . The columns of and the entries of must be in the same order: swapping two of them without swapping the other is a careless mistake that costs you the mark.
Exercise 2: the double eigenvalue that is not enough
Say whether this is diagonalisable
The characteristic polynomial is : a single eigenvalue, , with algebraic multiplicity 2. Now the eigenspace:
The only equation is , with free. So , of dimension 1. The geometric multiplicity (1) is smaller than the algebraic one (2): is not diagonalisable. There are no two independent eigenvectors, so there is no basis of eigenvectors.
This is the most frequent trap: the characteristic polynomial factorises perfectly, the eigenvalues are integers, and you are tempted to say “diagonalisable” without calculating the eigenspace. With a repeated eigenvalue, checking the geometric multiplicity is not optional.
Compare with : same characteristic polynomial, same double eigenvalue, but here is the zero matrix, the eigenspace is all of (dimension 2) and the matrix is, obviously, diagonalisable. Two matrices with the same characteristic polynomial can behave differently, and that is exactly what the criterion measures.
Exercise 3: a symmetric matrix and the spectral theorem
Diagonalise
Trace , . I try : , so is an eigenvalue. For the others: sum and product give with algebraic multiplicity 2.
Now the check on the double eigenvalue. has all entries equal to 1, so it has rank 1 and its kernel has dimension : it is the plane . Geometric multiplicity algebraic , and the matrix is diagonalisable. A basis of the eigenspace is and ; together with for you get the basis of eigenvectors.
Here there was no need to check anything special, because is symmetric. The spectral theorem says that a real symmetric matrix has all real eigenvalues, is always diagonalisable, and eigenvectors for different eigenvalues are orthogonal. You can verify it at once: and . If you normalise an orthogonal basis of the eigenspace (here it is enough to orthogonalise the two vectors of the plane), you obtain an orthogonal matrix and holds, without having to invert anything. In the oral exam the classic question is exactly this: why can the geometric multiplicity of a symmetric matrix never be smaller?
The mistakes I see most
- A zero eigenvector. Writing the vector as an eigenvector because the system allows it: you take a non-zero solution, and if the only solution is the zero one, the you chose is not an eigenvalue.
- Confusing eigenvalues with pivots. Reducing to row echelon form and reading the pivots as eigenvalues is wrong: elementary row operations change the eigenvalues. You do the reduction of to find the eigenspaces, not to find the eigenvalues of .
- Forgetting the geometric multiplicity. With a repeated eigenvalue, stopping at the characteristic polynomial and declaring the matrix diagonalisable, as in exercise 2.
- Getting the sign wrong in the determinant. has on the diagonal: the trace and determinant check almost always catches the mistake.
- Mixing up and . Column of must correspond to entry of .
For the part on kernel, image and rank, which you need at every step here (the eigenspace is a kernel), there is rank, kernel and image without mixing them up. For the homogeneous linear systems you solve at each eigenvalue, linear systems: methods and worked examples; if an eigenvalue turns out complex, you need complex numbers explained well. The same eigenvalues then appear in the stability of systems in control systems and in attitude dynamics in attitude dynamics.
Test yourself
When you can do the three exercises by hand without looking, move on to a test with new questions: the linear algebra practice test has exercises of the same type. The correct answer is free; the step-by-step guided solution unlocks with your first lesson.
How I work on this chapter
In my lessons I get you to say the definition of an eigenvector out loud before touching a calculation, then we train the order of the checks: eigenvalues, check with trace and determinant, eigenspaces, comparison of multiplicities. I work online, with a graphics tablet and a shared screen, writing every step as on the blackboard in the oral exam. For the general picture there is the maths page. If you don’t know where to start, write to me: there is a free introductory call to work out where you are losing marks, with no commitment.