Suppose we have a linear map from to and two different bases for and two different bases for . We can form the matrix of with respect to the first initial and final bases, and the second. These record the same information (the linear map ) in different ways, so they should be related in some way.
Let
be a linear map,
and be bases of , and
and be bases of .
Now make the following observation:
which holds purely because composing with an identity map doesn’t change anything.
Now apply Theorem 4.20.1 from the previous section twice: you get the change of basis formula:
(4.7) |
In this subsection we’re going to work an example of computing matrices of linear maps using the change of basis formula. On the way we’ll see the significance of the matrix of the identity map with respect to different bases.
Let be the linear map
Let be the standard basis of and let be the basis . The matrix of with respect to is easy to find:
so .
is also easy: it’s the matrix which tells us how to express the elements of in terms of the standard basis.
and so .
How to express the in terms of the isn’t so obvious, so on the face of it computing is harder. But we can avoid that, because we know about the matrix of a composition.
Theorem 4.20.1 | ||||
so
We could work out directly using the definition, but instead we are going to practise using the change of basis formula (4.7). It says
Now consider . Again we could find it directly from the definition by computing and and expressing them in terms of the s. But we already have the information we need: by Theorem 4.20.1,
To check our answer we compute , which is . If the matrix is correct this should be the same as , and you can check that it really is.
We already saw, when we first met bases of vector spaces, that different bases of vector spaces give us a different perspective on their elements — recall the example about two-pixel images. The same idea applies to linear maps.
A linear transformation which looks complex with respect to one basis can become much easier to understand when you choose the correct basis.
. Consider , so the matrix of with respect to the standard basis of is . There is no obvious structure to .
Now consider a new basis of : . (You should check it really is a basis.) Let’s find the matrix of with respect to , that is, .
You can check that . Thus
Suddenly the behaviour of is clear. Vectors in the direction and are unchanged by , vectors in the direction are scaled by a factor of 2.
This technique is called diagonalisation, you will learn more about it when you study eigenvectors and eigenvectors in Algebra 2.