Exercise 3.3.17. Find the projection matrix that projects vectors in onto the line .

Answer: The vector is a basis for the subspace being projected onto, which is thus the column space of

Using the formula we have

so that and

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, Fifth Edition and the accompanying free online course, and Dr Strang’s other books.