LAG12
LAG12
LAG12
We have seen that a linear map f : V → W between vector spaces of finite type is determined
by its matrix once we have fixed bases in V and W . In the previous lecture, we have focused on
maps between standard spaces Rn with the canonical choice of bases. It is natural, and quite
useful, to consider the more general case, which is non much more complicated.
In fact, the only thing that one should keep in mid is that the entries of the matrices are
coordinates with respect to the given bases.
So, for instance, if M = M (f ; B, C) is the matrix of f in bases B of V and C of W , then
the columns of M give the coordinates in C of the generators of im f . Any solution of the
homogeneous system M x = 0 gives the coordinates in B of a vector of ker f .
The essential formula for changing bases is composition formula (1) in Lecture 10. Let B and B 0
be two bases of V and C and C 0 be two bases of W . the the matrices M (f ; B, C) and M (f ; B 0 , C 0 )
are related by the formula:
M (f ; B 0 , C 0 ) = M (idW ; C, C 0 )M (f ; B, C)M (idV ; B 0 , B).
It may be helpful to visualize this formula by means of the following diagram:
f
(V, B) −−−−→ (W, C)
x
idV
id
y W
f
(V, B 0 ) −−−−→ (W, C 0 )
which gives two paths to go from V with basis B 0 to W with basis C 0 : either by the bottom
arrow, corresponding to the matrix M (f ; B 0 , C 0 ); or going up to V with basis B, then by f to W
with basis C and finally going down by the change of basis from C to C 0 . This triple composition
correspond to the triple multiplication in the formula.
Let us emphasize a special case to be investigated later. Suppose that V = W . A linear map from
a space to itself is called an endomorphism. For endomorphisms we will often want to have a
matrix with respect to the same basis in the source and target, i.e. a matrix of the M (f ; B, B).
We will in thse case simplify the notation and write M (f ; B). Then if B 0 is another basis,
the relation between M (f ; B) and M (f ; B 0 ) is M (f ; B 0 ) = M (idV ; B, B 0 )M (f ; B)M (idV ; B 0 , B).
We have already noticed in Lecture 10 that M (idV ; B, B 0 ) = M (idV ; B 0 , B)−1 . So, the relation
between the matrices of an endomorphism in two different bases is of the form
M (f ; B 0 ) = H −1 M (f ; B)H
where H = M (idV ; B 0 , B).
Definition Two n × n matrices A and B are similar if there exists an invertible n × n matrix
H such that B = H −1 AH.
So the matrices of an endomorphism in different bases are similar. Conversely, returning to the
point of view of lecture 11, we can say that B is similar to A if B is the matrix of fA : Rn → Rn
in the basis given by the columns of H.
We will examine the similarity relation in quite some detail.
These topics are detailed in § 4 and 5 of Chapter 2. Take the time to read these carefully. Then
proceed with the exercises below. Post your solutions, questions etc. in the thread Lecture 12
in the Exercises Forum.
Solutions will be published at the end of the day.
Exercise 1. Let f : R3 → R4 be the map f (x, y, z, t) = (x + y, 2x + 3y + z, x + z, 2x + z). Find,
if possible, a basis B of R3 such that
2 0 1
7 0 3
M (f ; B, E4 ) =
3 2 2 .
4 3 3
b) Let g be a map as above. Choose bases for M (2 × 2, R) and R3 and write the matrix of g
with respect to these bases.
Solutions
Solution to Exercise 1. The matrix of f wrt the canonical bases is obtained by putting in
coulums the vectors f (1, 0, 0), f (0, 1, 0) and f (0, 0, 1). Plugging these in we get
1 1 0
2 3 1
A = M (f ; E3 , E4 ) = 1 0 1 .
2 0 1
f −1 (1, 2, 1, 2) = (1, 1, 2); f −1 (0, 0, 2, 3) = (1, −1, 1); f −1 (1, 3, 2, 3) = (1, 0, 1).
The generators of W1 are non-proportional, so they are a basis and dim W1 = 2. The space W2
is given as the solutions of a homogeneous equation (system of rank 1), so dim W2 = 3 − 1 = 2.
The first generator of W1 is in W2 while the second isn’t. So W1 6= W2 , hence W1 + W2 = R3
and
1
W1 ∩ W2 =< 2 > .
0
A linear map g : M (2×2, R) → R3 is uniquely determined by its values on a basis of M (2×2, R).
The conditions g(V1 ) = W1 and g(V2 ) = W2 force
1
1 0
g (V1 ∩ V2 ) = W1 ∩ W2 i.e. g =α 2 .
−1 −1
0
The inclusion is clear, but must have equality, otherwise g would map the first generator of V1
to zero and then we can’t have equality g(V1 ) = W1 , because dim g(V1 ) would be strictly less
than dim V1 = dim W1 = 2. This means α 6= 0 in the formula above. We may pick α = 1 (this
is arbitrary, so our eventual g will not be unique) and further put
1 0
0 1 0 1
g = 1 ; g = 0
−1 −1 −2 −2
1 1
the latter being an element of W2 not proportional to the generator of W1 ∩ W2 . Since the three
matrices generating V1 + V2 are independent, there exists a linear map g : M (2 × 2, R) → R3
satisfying these 3 conditions. It is not unique, as the three matrices are not a basis of M (2×2, R).
Let’s pick any matrix not in V1 + V2 : it suffices to take one with c 6= d, for instance E22 . We can
map it anywhere in R3 . The simplest option is to map it ton zero. Now there exists a unique
linear map g such that:
1 1 0 0
1 0 0 1 0 1 0 0
g = 1 ; g
= 1 ; g
= 0 ; g
= 0 .
−1 −1 −1 −1 −2 −2 0 1
0 1 1 0
1 0 0 1 0 1 0 0
In the basis B = , , , of M (2 × 2, R) and
−1 −1 −1 −1 −2 −2 0 1
the canonical basis in R3 , we have
1 1 0 0
M (g; B, E3 ) = 2 1 0 0 .
0 1 1 0
To write the matrix in the canonical bases, we need to compute M (idM (2×2,R) ; E, B). It is the
inverse of the matrix whose columns are the coordinates of the matrices in B with respect to
the canonical basis of M (2 × 2, R), which are just their entries:
1 0 0 0
0 1 1 0
M (idM (2×2,R) ; B, E) =
−1 −1 −2 0 .
−1 −1 −2 1
We omit the tedious computation of the inverse (done by the method seen in Lecture 9). It is:
1 0 0 0
1 2 1 0
M (idM (2×2,R) ; E, B) = M (idM (2×2,R) ; B, E)−1 =
−1 −1 −1 0 .
0 0 −1 1
Hence the matrix of g in the canonical basis is M (g, E, E3 ) = M (g, B, E3 )M (idM (2×2,R) ; E, B):
1 0 0 0
1 1 0 0 2 2 1 0
1 2 1 0
M (g, E, E3 ) = 2 1 0 0 −1 −1 −1 0 =
3 2 1 0 .
0 1 1 0 0 1 0 0
0 0 −1 1