Let me define (orthogonal) projection operator $P$ by its characterization: $P = P^2 = P^\dagger$
How can I show that $P$ can always be represented as $\sum_{i=1}^n |\psi_i\rangle\langle\psi_i|$ (where $\langle\psi_i|\psi_j\rangle = \delta_{ij}, n \le \mathrm{dim} \, \mathcal H$) in braket notation?
I only consider Hilbert spaces of finite dimention here (i.e. $\mathrm{dim} \, \mathcal H < \infty$).
It's easy to show that $\sum_i |\psi_i\rangle\langle\psi_i|$ satisfies the property, but I'm struggling to prove the converse.
Thanks in advance!