[Math] Orthogonal projection and orthogonal complements onto a plane

linear algebra

Let $V$ be a subspace of $\mathbb{R}^n$ with $V \ne \mathbb{R}^n$ and $V\ne \{0\}$. Let $A$ be the matrix of the linear transformation $\text{proj}_V : \mathbb{R}^n\to\mathbb{R}^n$ that is the projection onto $V$.

Calculate $A$ in the case where $n=3$ and $V$ is given by the equation $x+y+z=0$.

I am not really sure how to approach this question. I am aware that the normal vector will be $(1,1,1)$. And I know that the orthogonal projection onto the plane $V$ given by the equation $x+y+z=0$ is equal to the identity minus the orthogonal projection onto the orthogonal complement. I believe the orthogonal complement will be in the span of the normal vector (not entirley sure why?) but I am also unsure how to find the orthogonal complement.

Best Answer

You are right: $(1,1,1)$ is orthogonal to $V$. Therefore, $A.(1,1,1)=(0,0,0)$. Now, consider the vectors $(1,-1,0)$ and $(1,0,-1)$. Since they both belong to $V$, you must have $A.(1,-1,0)=(1,-1,0)$ and $A.(1,0,-1)=(1,0,-1)$.

Now, since$$(1,0,0)=\frac13(1,1,1)+\frac13(1,-1,0)+\frac13(1,0,-1),$$you must have$$A.(1,0,0)=\frac13(1,-1,0)+\frac13(1,0,-1)=\left(\frac23,-\frac13,-\frac13\right).$$So, the entries of the first column of the matrix of $\operatorname{proj}_V$ with respect to the standard basis will be $\frac23$, $-\frac13$ and $-\frac13$. Can you take it from here?