The question goes like this:
"Calculate the matrix P for the linear transformation of an orthogonal projection of vectors onto the plane
$$ 2x_1+2x_2+x_3^{}= 0" $$
So I am thinking that projection is the way to go. What I basically will do is use the normal of the plane. Which is:
$$ \left[ \begin{array}{cc|c} 2\\ 2\\ 1 \end{array} \right] $$
That would be my perpendicular part. And the vectors that I will project onto the plane will naturally be the basis vectors $$ |e_1| = \left[ \begin{array}{cc|c} 1\\ 0\\ 0 \end{array} \right], |e_2| =\left[ \begin{array}{cc|c} 0\\ 1\\ 0 \end{array} \right], |e_3| =\left[ \begin{array}{cc|c} 0\\ 0\\ 1 \end{array} \right]$$
Basically, what I will do is set up an equation
$$ Proj V_n + |n| = \left[ \begin{array}{cc|c} 1\\ 0\\ 0 \end{array} \right]$$
So I solve for the projection and that would be my first column of my matrix P. But I keep getting the wrong answer. Where is my thinking going wrong?
Thanks in advance.
Since $(2,2,1)$ is orthogonal to the plane, you wnat that its projection is the null vector. Now, take two linearly independent vectors from your plane. For instance, take the vectors $(1,0,-2)$ and $(0,1,-2)$. You want the each one is projected into itself.
So, take the only linear map $P\colon\mathbb{R}^3\longrightarrow\mathbb{R}^3$ such that
A simple computation shows that the matrix of $P$ with respect to the canonical basis is$$\frac19\begin{bmatrix}5 & -4 & -2 \\ -4 & 5 & -2 \\ -2 & -2 & 8\end{bmatrix}.$$