I'm a bit lost trying to find the projection matrix for an orthogonal projection onto a plane defined by the normal vector $n = (1, 1, 1)^T$. Then I can find the basis C of the plain $C = ( (-1,0,1)^T (0,-1,1)^T)$.
Now i should be able to find the projection Matrix with $A(A^TA)^{-1}A^T$ Where $A:=\begin{bmatrix} -1 & 0\\ 0 & -1\\ 1 & 1\end{bmatrix}$. Then my the projection matrix will look like this? $A:=\begin{bmatrix} 2/3 & -1/3 & -1/3\\ -1/3 & 2/3 & -1/3\\ -1/3 & -1/3 & 2/3\end{bmatrix}$ Is this correct?
To which basis is this projection matrix? How can I change the matrix to a different basis?
There should be another way to find the matrix. Something like add to my basis $C$ a vector from my basis $B$ (which should not be the standard basis) in $\mathbb{R^3}$, find the projection of the basis ( I only need to do this for the added basis vector from $B$ since the rest is already on the plane).
But how can I find the projection of the added basis vector?
After that what would be the matrix from basis B to B? The coefficients of the linear combinations $c_1,c_2,P(b_i)$ in B?