hanegreefs.com/Math II
Chapter 7 · unit 7 of 12

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:

Formula
det(A − λI) = 0   (the characteristic equation)

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).

Worked example

A 2 × 2 matrix

A = 4123.

1

Characteristic polynomial

(4 − λ)(3 − λ) − 2 = λ2 − 7λ + 10 = (λ − 5)(λ − 2)
2

λ = 5

A − 5I = −112−2, so −x + y = 0: v = (1, 1)
3

λ = 2

A − 2I = 2121, so 2x + y = 0: v = (1, −2)
4

Check

A (1, −2) = (4 − 2, 2 − 6) = (2, −4) = 2 (1, −2)
Answer

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.

Worked example

When the two multiplicities differ

A = 210020003.

1

Eigenvalues

triangular: 2 (algebraic multiplicity 2) and 3 (multiplicity 1)
2

Eigenspace of 2

A − 2I = 010000001 gives y = 0 and z = 0, so E2 = span{(1, 0, 0)}
3

Compare

geometric multiplicity 1 < algebraic multiplicity 2
Answer

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.

CriterionConclusion
n distinct real eigenvaluesdiagonalisable (eigenvectors of distinct eigenvalues are independent)
every eigenvalue real and geometric = algebraic multiplicitydiagonalisable
some geometric multiplicity smaller than the algebraic onenot diagonalisable
non-real eigenvaluesnot 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.

Worked example

Diagonalise and compute A3

A = 4123 from the first example.

1

P and D

P = 111−2, D = 5002
2

P−1

1−3 −2−1−11 = 2/31/31/3−1/3
3

General power

Ak = 13 2·5k + 2k5k − 2k2·5k − 2·2k5k + 2·2k
4

k = 3

A3 = 86397847
Answer

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

Formula
RepD(v) = D−1B · RepB(v)

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

Formula
RepB,B(h) = P−1 H P

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.

Worked example

Coordinates in two bases

B = ⟨(1, 1), (1, −1)⟩, D = ⟨(1, 0), (2, 1)⟩ and RepB(v) = (3, 2).

1

Standard coordinates

v = 3(1, 1) + 2(1, −1) = (5, 1)
2

Transition matrix

D−1B = 1−201 111−1 = −131−1
3

RepD(v)

−131−1 32 = 31
4

Check

3(1, 0) + 1(2, 1) = (5, 1)
Answer

RepD(v) = (3, 1).

Common trapKeep the order of the product straight: P−1HP first converts B-coordinates to standard ones (P), applies the map (H), then converts back (P−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.

Loading cards
Question
Click, tap or press space to flip
Answer

True or false (5)

Statement 1 · Chapter 7 · true or false

Every 3 × 3 matrix with three distinct real eigenvalues is diagonalisable.

Why: Eigenvectors of distinct eigenvalues are independent: three of them form a basis.
Statement 2 · Chapter 7 · true or false

An eigenvector can be the zero vector.

Why: By definition eigenvectors are non-zero.
Statement 3 · Chapter 7 · true or false

[[1, 1], [0, 1]] is diagonalisable.

Why: Eigenvalue 1 has algebraic multiplicity 2 but its eigenspace is only span{(1, 0)}.
Statement 4 · Chapter 7 · true or false

Similar matrices have the same eigenvalues.

Why: They share the characteristic polynomial.
Statement 5 · Chapter 7 · true or false

If A is invertible and A v = 2v, then A−1v = v/2.

Why: Apply A−1 to both sides.

Multiple choice (7)

Question 1 · Chapter 7

The eigenvalues of [[3, 0], [8, −1]] are...

Why: Triangular: the diagonal.
Question 2 · Chapter 7

(1, 2) is an eigenvector of [[1, 1], [4, 1]] with eigenvalue...

Why: A (1, 2) = (3, 6) = 3 (1, 2).
Question 3 · Chapter 7

A 2 × 2 matrix has trace 5 and determinant 6. Its eigenvalues are...

Why: λ2 − 5λ + 6 = 0.
Question 4 · Chapter 7

A is diagonalisable with eigenvalues 0.5 and 0.2. As k grows, Ak...

Why: Both |λ| < 1.
Question 5 · Chapter 7

The transition matrix from B = ⟨(1, 0), (1, 1)⟩ to the standard basis is...

Why: The basis vectors as columns.
Question 6 · Chapter 7

The characteristic polynomial of [[2, 1], [1, 2]] is...

Why: (2 − λ)2 − 1.
Question 7 · Chapter 7

An eigenvalue with algebraic multiplicity 3 can have geometric multiplicity...

Why: Between 1 and the algebraic multiplicity.

Exam-style open questions (3)

Open question · Chapter 7

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.
Open question · Chapter 7

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.
Open question · Chapter 7

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.