Math W5
Math W5
Methods
Week 5
1 / 44
So far
▶ Systems of linear equations
▶ Vector spaces R2 , R3 , . . ., Rn
▶ Subspaces have bases and a dimension
▶ Matrix addition and multiplication
▶ row/column/null space
▶ Rank-nullity theorem
▶ Matrix inverses
▶ Determinants
▶ Linear transformations
▶ Range, Kernel
▶ Composition of transformations
2 / 44
Change of basis
(v)B ←→ (v)C
3 / 44
Change of basis
I : Rn → Rn such that Iv = v
is a linear transformation.
4 / 44
Change of basis matrix
PCB =
5 / 44
Example
Suppose that
Then
PCB =
6 / 44
Example
Suppose that
PSB =
7 / 44
What is PBC ?
8 / 44
Another basis
We claim that
[f ]CB = PCS [f ]SS PSB
9 / 44
A better basis?
10 / 44
Transition matrices
so
−1 1
PSB =
1 2
Then
−1
− 32 1
−1 1 3
PBS = =
1 2 1 1
3 3
11 / 44
And [f ]BB ?
12 / 44
Why is this useful?
13 / 44
So far
▶ Systems of linear equations
▶ Vector spaces R2 , R3 , . . ., Rn
▶ Subspaces have bases and a dimension
▶ Matrix addition and multiplication
▶ row/column/null space
▶ Rank-nullity theorem
▶ Matrix inverses
▶ Determinants
▶ Linear transformations
▶ Range, Kernel
▶ Composition of transformations
▶ Transition matrices for coordinates and linear
transformations
Now we start Chapter 6.
14 / 44
Eigenvectors
If A is an n × n matrix, then a non-zero vector v ∈ Rn is called
an eigenvector of A with eigenvalue λ ∈ R if
Av = λv
Example
1 2
A=
2 1
1
A =
1
1
A =
−1
15 / 44
Finding eigenvalues?
Is 2 an eigenvalue of A?
Solve
1 2 x x
=2
2 1 y y
16 / 44
More systematic
If
Av = λv
then
(A − λI)v = 0
17 / 44
Determinant condition
The matrix
1 2 1 0 1−λ 2
−λ =
2 1 0 1 2 1−λ
has determinant
(1 − λ)2 − 4
When is this zero?
18 / 44
The eigenvalue 3
Solve
1 2 x x
=3
2 1 y y
that is the homogeneous system with matrix
19 / 44
The eigenvalue −1
Solve
1 2 x x
= −1
2 1 y y
that is the homogeneous system with matrix
20 / 44
High powers
AAv =
and
A3 v =
and so on.
21 / 44
Why do we care?
What is the value of
500 1
A ?
3
22 / 44
Characteristic polynomial
If A is an n × n matrix, then
det(A − λI)
23 / 44
Subspaces
For any number λ ∈ R, the solutions to
Av = λv
form a subspace.
24 / 44
Eigenspaces
25 / 44
Standard task
26 / 44
Example
The matrix
1 3
A=
4 2
has characteristic polynomial λ2 − 3λ − 10. Find a basis for
each of its eigenspaces.
27 / 44
Example 1
28 / 44
Eigenvalues
λ1 , λ2 , . . . , λn
29 / 44
Properties of eigenvalues
λ1 × λ2 × · · · × λn = det A
30 / 44
Properties of eigenvalues II
31 / 44
Example 2
1−λ 2
= (λ − 1)2
0 1−λ
32 / 44
Multiplicity of eigenvalue
33 / 44
Back to Example 2
Algebraic multiplicity=
Geometric multiplicity=
34 / 44
Algebraic vs Geometric
35 / 44
Diagonalisable
36 / 44
Diagonalisability test
37 / 44
Example
1−λ 1 1
det(A − λI) = 0 1−λ 1
0 1 1−λ
= λ(λ − 1)(λ − 2)
38 / 44
Working
39 / 44
Working: Change of basis
The matrix
0 1 2
P = PSB = 1 0 1
−1 0 1
and
0 0 0
P −1 AP = 0 1 0
0 0 2
40 / 44
Summary
To diagonalise a matrix A
▶ Find the eigenvalues λ1 , λ2 , . . ., λk and their multiplicities
If some λ has geometric multiplicity too low then fail.
▶ Find a basis for each eigenspace Eλ1 , Eλ2 , . . . , Eλk .
▶ Put the basis vectors into the columns of P
Note that P is a square matrix.
41 / 44
High powers
What is A5 , if A is diagonalisable?
If
λ51 0 0
λ1 0 0
D = 0 λ2 0 D5 = 0 λ52 0
0 0 λ3 0 0 λ53
42 / 44
Special Case
A matrix is symmetric if A = AT .
43 / 44
Applications
44 / 44