Linear maps in are matrices
Theorem 1.
Any linear map is of the form for some matrix .
Proof
Take .
Then, .
Define .
It follows that, . ❏
Thus, the matrix corresponding to (the matrix such that ) is the matrix whose columns are the images of the standard basis of under in the canonical order.
Note that every linear map has a unique matrix associated with it, i.e, there exists a bijection , , where the domain of is the set of all linear maps from to and the codomain is the set of all matrices with real entries. We have seen that both are vector spaces. It can also be easily verified that is itself a linear map. Thus, .
Examples
Observe that the following maps are linear for geometric reasons. Find their matrices (In the standard basis, of course).
- , rotation by .
- , rotation by around axis.
- , reflection about the line.
- , reflection about the plane.
- Composition of 1 followed by 3, i.e, rotation by followed by reflection about .
Matrices of linear maps in fdvsp
In lecture 8, we saw how any fdvsp of dimension is isomorphic to . We also saw what an isomorphism between and looked like, given a basis of . Now, consider a linear map , where and are finite dimensional vector spaces of dimensions and respectively. If we fix bases for and for , we can define an isomorphism which maps elements of to their coordinate vectors in (ditto for ):
With representations of elements of and in , we can construct a matrix for . To do this, we first need to find a linear map which maps the coordinate vector of in to the coordinate vector of in . Then, we can express this map as a matrix as described in the first section.
takes in an element of and spits out an element of . So, given a coordinate vector of , we have to map it to , then apply , then map the result to its coordinate vector in . Thus, the transformation we seek is .
Finally, the matrix of in bases and (denoted ) is . It is a matrix.
Change of basis
Let and be two bases for . Similarly, let and be two bases for . Let . Given , how do we find ?
Just as we did previously, all we need to do is change the “interface” of . We can define the following isomorphisms:
Then, .
is a map from , so it must have a unique matrix representation, say . Similarly, let be the matrix of . Note that is a matrix, and is a matrix. is called the change of basis matrix in , and is called the change of basis matrix in . Observe:
Observe that the columns of are the coordinate vectors of the elements of in . Similarly, the columns of are the coordinate vectors of the elements of in .
Finally, we have .