# Linear Algebra/Standard matrix of a projection onto a plane

## Homework Statement

Let u=(-1,-2,-2,2) and v=(-1,-2,-2,-1) and let V=span{u,v}. (Just to be clear, u and v are column vectors)

Find the standard matrix that projects points (orthogonally) onto V.

## The Attempt at a Solution

I started by making a matrix A=[u,v], which represents V. From there, however, I don't know where to go.

HallsofIvy
Homework Helper
I have no idea what you mean by "matrix A= [u,v]" nor in what sense it "represents V". You can't make a 4 by 4 matrix from 2 vectors and a matrix does not "represent" a subspace.

The projection maps any vector in the plane to itself and any vector perpendicular to the plane to the 0 vector.

So you want a matrix that maps (-1, -2, 2, 2) to itself and maps (-1, -2, -2, -1) to itself. One vector perpendicular to both of those is (-6, 1, 0. 4) and another, independent, vector perpendicular to both is (-6, 0, 1, 4). You want a matrix that maps that two vectors to 0.

There are several ways of determining such a matrix. The most basic, and probably hardest, would be to write
$$\begin{bmatrix}a_{11} & a_{21} & a_{31} & a_{41} \\ a_{12} & a_{22} & a_{33} & a_{42} \\ a_{13} & a_{23} & a_{33} & a_{43} \\ a_{14} & a_{24} & a_{34} & a_{44}\end{bmatrix}$$
Multiply that by each of the four vectors, setting them equal to what I said above. That will give 16 equations for the 16 entries in the matrix.

A more sophisticated, and hopefully simpler to calculate, method would be this: if we were to use the four vectors as basis vectors, the matrix would be very simple:
$$B= \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}$$
since that maps the first two basis vectors to themselves and the last two to 0.

To get the form of the matrix in the standard basis, use the fact that the matrix constructed using the four vectors as columns,
$$P= \begin{bmatrix}1 & -1 & -6 & -6 \\ -2 & -2 & 1 & 0\\ 2 & -2 & 0 & 1 \\ 2 & -2 & 4 & 4\end{bmatrix}$$
maps the standard basis into those four vector and so its inverse, $P^{-1}$ maps the four vectors into the standard basis. That means that $P^{-1}BP$ would map each of the standard basis vectors into the four vectors, apply the transformation there, the map back to the standard basis basis. That is, your matrix is just $$A= P^{-1}BP$$ where B and P are as above. I'll let you do the tedious part, finding $P^{-1}$ and the multiplications.

vela
Staff Emeritus
Homework Helper