I'm trying to figure this one out guys with no luck.
Give the standard matrix of the projection $$ T:\Bbb R^3 \to \Bbb R^3 $$ that projects a vector on the plane $x+y+z=0.$
I tried to make a basis $B$, for instance $(-1,0,1)$ and $(0,1,-1)$ then make them orthogonal using Gram-Schmidt, then make the projection $$\frac{(x,y,z) \cdot (-1,0,1)}{(-1,0,1)\cdot(-1,0,1)} + \frac{(x,y,z) \cdot (0,1,-1)}{(0,1,-1)\cdot(0,1,-1)}$$ After this I'm lost
I'm taking a linear algebra course, so an answer in that field would be much appreciated prefferably using the method I used. Thanks in advance!
You can obtain the matrix w.r.t. the canonical basis in a simpler way:
Let $n=(1,1,1)$ be a normal vector of the plane $\Pi:\;x+y+z=0$. For any point $M=(x,y,z)\in\mathbf R^3$, its orthogonal projection on $\pi$ is defined by the value of the parameter $t$ such that $M+tn$ satisfies the equation of $\Pi$, i.e. $$ (x+t)+(y+t)+(z+t)=0. $$ Can you proceed?
Some details:
The latter equation yields the value of $\:t=-\frac13(x+y+z)$, and the point $T(M)=M+tn$ has coordinates: \begin{cases} x'=x+t=\tfrac13(2x-y-z),\\ y'=y+t=\tfrac13(-x+2y-z),\\ z'=z+t=\tfrac13(-x-y+2z). \end{cases} It is now easy to deduce the matrix of T in the canonical basis.