I've searched for answers for this question here for some time but haven't found an applicable answer because I could only find related questions, but not this one in particular.
Suppose $V$ is a finite dimensional (real or complex) inner product space, and $f: V \rightarrow V$ an endomorphism. Then $f$ is an orthogonal projection on $im(f) = U$ iff $f$ is normal and idempotent. Here orthogonal projection means that $f(v) = u$ with the unique decomposition $v = u + u'$, where $u \in U, u' \in U^{T}$.
The first direciton is straight forward, because you immediately get an orthonormal basis of $U$, fill it up with an orthonormal basis of $U'$ and use that all these vectors are eigenvectors.
The problem is the other direction, how do I proceed here? I know that essentially I have to show that $\forall u' \in U^{T}: f(u') = 0$, because an idempotent implies identity on it's image, but I don't know where to use that $f$ is normal. I have somehow gotten an argument without using that $f$ is normal, but this one has to be wrong I guess.
Any help is appreciated!
Let $f^*$ denote the adjoint of $f$. Let $u' \in U^\bot$. Then
$$\langle f(u'), f(u')\rangle = \langle u', f^*(f(u'))\rangle = \langle u', f(f^*(u'))\rangle = 0.$$
The second equality follows from normality, the third holds because $f(f^*(u')) \in U$ and $u' \in U^\bot$.