Science:Math Exam Resources/Courses/MATH221/April 2013/Question 12 (a)/Solution 1

From UBC Wiki

We recall that the formula to compute a projection onto a line spanned by the vector v is to take a vector x and mapping it to , that is you take the inner product of the vector x with the vector v divide it by the length of the vector v and apply this scalar to v. To get a matrix out of this, we can simply apply the projection to the standard basis of and see where each vector is mapped to.

First we note that, for us, the vector v is the normal vector of the plane, i.e. . This gives . We are now ready to apply it to a standard basis vector, , which gets mapped by projection to the vecotr . Similarly for the other basis vectors.

Thus our matrix for the projection is: