Science:Math Exam Resources/Courses/MATH152/April 2011/Question A 15/Solution 2

From UBC Wiki

As practice for doing linear transformations, we will create the matrices anyway and show that they lead to the same conclusion as going step by step in Solution 1. First recall that a rotation matrix rotating counter-clockwise with an angle has the form

If you are having trouble remembering how to form a rotation matrix, see the solution to Question A28 on this exam for a more detailed explanation of these entries (they are components of the vectors generated by rotating the unit vectors).

Since in this example the angle rotating is then we get

Next for the projection matrix, to get the entries in column k, we have to do a projection of the kth unit vector onto our desired vector u=[1,2]. We get that the first column is

The second column is

Therefore we get that the projection matrix is

The total transformation then is (remember that the rotation is applied first),

.

Therefore,

like we recovered in the first solution.