We have been asked to prove the following things about orthogonal projection matrices:
Let $V \subseteq \mathbb R^d, \dim(V)=k$ and let $v_1, v_2,\dots,v_k$ be an orthonormal basis of $V$. Let $P=\sum_{i=1}^kv_iv_i^\top$ (Notice this is an outer product). Show that :
- $P$ is symmetric.
- The eigenvalues of $P$ are $0$ or $1$ and that $v_1,\dots, v_k$ are the eigenvectors corresponding to the eigenvalue $1$.
I think I got the symmetric part figured out, but the second subsection is giving me a really hard time... Anyone with a hint or a direction?
Hint: For part 1, recall that for matrices $A,B$, we have $(AB)^T = B^T A^T$ whenever $AB$ is defined and $(A + B)^T = A^T + B^T$ whenever $A+B$ is defined. Alternatively, start by convincing yourself that the matrix $vv^T$ is symmetric for any column vector $v$.
For part 2, notice that $(vv^T)x = v(v^Tx) = (v^Tx) \cdot v$. With that in mind, show that if $x$ is an element of $V$, then $x$ is an eigenvector of $P$. (What is the corresponding eigenvalue?) Similarly, if $x$ is an element of $V^\perp$ (the orthogonal complement to $V$), then $x$ is an eigenvector of $P$. (What is the corresponding eigenvalue?)
Now, argue that we can select a complete set of eigenvectors (that is, eigenvectors that form a basis of $\Bbb R^d$) consisting of vectors either from $V$ or $V^\perp$.