Exercise 2.6.1. Specify the 2 by 2 matrix that has the following effects:
- Rotating all vectors 90 degrees.
- Projecting the resulting vectors onto the axis.
Answer: From the discussion in the first part of section 2.6 we know that the matrix
will rotate vectors through 90 degrees. From the same discussion we know that the matrix
will project vectors onto the axis.
To accomplish both operations in succession we therefore need to multiply vectors by the first matrix and then by the second; this corresponds to multiplying vectors by the product matrix
For example, this matrix will take the vector and transform it into the vector
NOTE: This continues a series of posts containing worked out exercises from the (out of print) book Linear Algebra and Its Applications, Third Edition by Gilbert Strang.
If you find these posts useful I encourage you to also check out the more current Linear Algebra and Its Applications, Fourth Edition, Dr Strang’s introductory textbook Introduction to Linear Algebra, Fourth Edition and the accompanying free online course, and Dr Strang’s other books.