Sometimes you need to find a matrix which represents a given linear transformation which is described in geometrical terms. The idea is to produce a matrix which you can multiply a vector by to get the same thing as some geometrical description. A good example of this is the problem of rotation of vectors discussed above. Consider the problem of rotating through an angle of θ.
Example 18.3.1 Determine the matrix which represents the linear transformation defined by rotating every vector through an angle of θ.
Let e1 ≡
From the above, you only need to find Te1 and Te2, the first being the first column of the desired matrix, A and the second being the second column. From the definition of the cos,sin the coordinates of T(e1) are as shown in the picture. The coordinates of T(e2) also follow from simple trigonometry. Thus
|
Therefore, from Theorem 18.2.4,
|
For those who prefer a more algebraic approach, the definition of
|
Example 18.3.2 Find the matrix of the linear transformation which is obtained by first rotating all vectors through an angle of ϕ and then through an angle θ. Thus you want the linear transformation which rotates all angles through an angle of θ+ϕ.
Let Tθ+ϕ denote the linear transformation which rotates every vector through an angle of θ + ϕ. Then to get Tθ+ϕ, you could first do Tϕ and then do Tθ where Tϕ is the linear transformation which rotates through an angle of ϕ and Tθ is the linear transformation which rotates through an angle of θ. Denoting the corresponding matrices by Aθ+ϕ, Aϕ, and Aθ, you must have for every x
| (18.10) |
Consequently, you must have
You do not have to stop with two dimensions. You can consider rotations and other geometric concepts in any number of dimensions. This is one of the major advantages of linear algebra. You can break down a difficult geometrical procedure into small steps, each corresponding to multiplication by an appropriate matrix. Then by multiplying the matrices, you can obtain a single matrix which can give you numerical information on the results of applying the given sequence of simple procedures. That which you could never visualize can still be understood to the extent of finding exact numerical answers. Notice how we composed the linear transformations in the above and multiplied the matrices to get the same thing. This is how we do it in general.