Eigenvalues, diagonalisation and change of basis
Eigenvalues from the characteristic polynomial, eigenvectors and eigenspaces, algebraic and geometric multiplicity, diagonalisation A = PDP−1, matrix powers, transition matrices and the matrix of a map in a new basis.
Course notes: Syllabus ch. 7 (Similarity) · Exercise sessions: Sheet 10 (Change of basis, eigenvalues and eigenvectors) · About 60 minutes
Eigenvalues and eigenvectorsImportant
A non-zero vector v is an eigenvector of the square matrix A with eigenvalue λ when A v = λ v: the map only stretches v (or flips it), it does not turn it. Rewriting gives (A − λI) v = 0, which has a non-zero solution exactly when A − λI is singular:
Procedure: (1) compute the characteristic polynomial det(A − λI); (2) its roots are the eigenvalues; (3) for each λ, solve (A − λI) v = 0 by row reduction: the solution space is the eigenspace Eλ, a non-trivial subspace (an examinable proof).
A 2 × 2 matrix
A = 4123.
Characteristic polynomial
λ = 5
λ = 2
Check
Eigenvalues 5 and 2 with eigenvectors (1, 1) and (1, −2). Their sum 7 is the trace and their product 10 is the determinant.
Useful facts: the eigenvalues of a triangular matrix are its diagonal entries; the sum of the eigenvalues is the trace, their product the determinant; 0 is an eigenvalue exactly when A is singular.
Multiplicities and special casesImportant
The algebraic multiplicity of λ is its multiplicity as a root of the characteristic polynomial. The geometric multiplicity is dim Eλ, the number of independent eigenvectors. Always 1 ≤ geometric ≤ algebraic.
When the two multiplicities differ
A = 210020003.
Eigenvalues
Eigenspace of 2
Compare
Only two independent eigenvectors exist in ℝ3: this matrix cannot be diagonalised.
Two more situations: a characteristic polynomial without real roots, such as λ2 + 1 for the rotation 0−110, gives complex eigenvalues ±i, so there is no real eigenvector and no real diagonalisation. A matrix like 3I has one eigenvalue with geometric multiplicity n: every non-zero vector is an eigenvector.
Diagonalisation and matrix powersImportant
A is diagonalisable when there is an invertible P and a diagonal D with A = P D P−1. Then the columns of P are eigenvectors (an eigenbasis) and the diagonal of D holds the matching eigenvalues, in the same order.
| Criterion | Conclusion |
|---|---|
| n distinct real eigenvalues | diagonalisable (eigenvectors of distinct eigenvalues are independent) |
| every eigenvalue real and geometric = algebraic multiplicity | diagonalisable |
| some geometric multiplicity smaller than the algebraic one | not diagonalisable |
| non-real eigenvalues | not diagonalisable over ℝ |
The pay-off is easy powers: Ak = P Dk P−1, and Dk just raises each diagonal entry to the power k. In the long run the eigenvalue with the largest absolute value dominates; when all |λ| < 1, Ak tends to the zero matrix.
Diagonalise and compute A3
A = 4123 from the first example.
P and D
P−1
General power
k = 3
Check by direct multiplication: A2 = [[18, 7], [14, 11]] and A2A = [[86, 39], [78, 47]].
Change of basisImportant
The same vector has different coordinates in different bases. Write the basis vectors of B and D as the columns of matrices (also called B and D). Then v = B RepB(v) in standard coordinates, and
The matrix D−1B is the transition matrix (change of basis matrix) from B to D; it is the matrix of the identity map, RepB,D(id). Its inverse B−1D goes the other way. If H is the standard matrix of a map h and P has the vectors of a basis B as columns, then the matrix of h with respect to B (in domain and codomain) is
Matrices related like this are similar: they represent the same map in different bases and share determinant, trace, rank and eigenvalues. Diagonalisation is the special case where B is an eigenbasis and the new matrix is D.
Coordinates in two bases
B = 〈(1, 1), (1, −1)〉, D = 〈(1, 0), (2, 1)〉 and RepB(v) = (3, 2).
Standard coordinates
Transition matrix
RepD(v)
Check
RepD(v) = (3, 1).
Key takeaways
- A v = λ v with v ≠ 0; eigenvalues solve det(A − λI) = 0.
- Eigenspace Eλ = kernel of A − λI.
- 1 ≤ geometric multiplicity ≤ algebraic multiplicity.
- Diagonalisable exactly when an eigenbasis exists: A = PDP−1, Ak = PDkP−1.
- Transition matrix from B to D: D−1B. Map in basis B: P−1HP.
- Trace = sum and determinant = product of the eigenvalues.
True or false (5)
Every 3 × 3 matrix with three distinct real eigenvalues is diagonalisable.
An eigenvector can be the zero vector.
[[1, 1], [0, 1]] is diagonalisable.
Similar matrices have the same eigenvalues.
If A is invertible and A v = 2v, then A−1v = v/2.
Multiple choice (7)
The eigenvalues of [[3, 0], [8, −1]] are...
(1, 2) is an eigenvector of [[1, 1], [4, 1]] with eigenvalue...
A 2 × 2 matrix has trace 5 and determinant 6. Its eigenvalues are...
A is diagonalisable with eigenvalues 0.5 and 0.2. As k grows, Ak...
The transition matrix from B = 〈(1, 0), (1, 1)〉 to the standard basis is...
The characteristic polynomial of [[2, 1], [1, 2]] is...
An eigenvalue with algebraic multiplicity 3 can have geometric multiplicity...
Exam-style open questions (3)
Eigenvalues with a parameter
For which a does G = [[0, a, 0], [1, 0, 0], [0, 0, 3]] have the eigenvalues 3, 3 and −3? Give an eigenbasis for that a.
Show a model answer outline
- Characteristic polynomial (3 − λ)(λ2 − a).
- Eigenvalues 3, √a, −√a; we need √a = 3, so a = 9.
- E3: −3x + 9y = 0 and x − 3y = 0, z free: basis (3, 1, 0), (0, 0, 1). E−3: 3x + 9y = 0, z = 0: (−3, 1, 0).
- Eigenbasis 〈(3, 1, 0), (0, 0, 1), (−3, 1, 0)〉; geometric multiplicity of 3 is 2, so G is diagonalisable.
Diagonalise a symmetric matrix
Diagonalise A = [[2, 2], [2, −1]] and give A2 through PD2P−1.
Show a model answer outline
- det(A − λI) = λ2 − λ − 6 = (λ − 3)(λ + 2).
- λ = 3: (2, 1); λ = −2: (1, −2).
- P = [[2, 1], [1, −2]], D = diag(3, −2), P−1 = (1/5)[[2, 1], [1, −2]].
- A2 = P diag(9, 4) P−1 = [[8, 2], [2, 5]], which equals A · A.
A map in a new basis
h has standard matrix H = [[1, 2], [0, 3]]. Find its matrix with respect to B = 〈(1, 0), (1, 1)〉.
Show a model answer outline
- P = [[1, 1], [0, 1]], P−1 = [[1, −1], [0, 1]].
- HP = [[1, 3], [0, 3]], then P−1HP = [[1, 0], [0, 3]].
- Diagonal, because (1, 0) and (1, 1) are eigenvectors of H with eigenvalues 1 and 3.
LabEigenvalue and diagonalisation lab
Compare the default with the matrix [[2, 1, 0], [0, 2, 0], [0, 0, 3]].
LabChange of basis lab
Bases are entered as columns.