Definition (orthogonal projection matrix)
A square matrix $P \in \R^{n\times n}$ is an orthogonal projection matrix if it is symmetric ($P^T = P$) and idempotent ($P^2=P$).
-
$P$ is a orthogonal projection matrix iff $P=UU^T$ where the columns of $U\in \R^{n\times \mathrm{rank}(P)}$ form an orthonormal basis for the column space of $P$. (Proof)
-
Eigenvalues of $P$ are either 0 or 1.
-
$\mathrm{rank}(P) = \tr(P)$.
-
$I-P$ is also an orthogonal projection matrix.
-
$\|Y\|^2 = \|PY\|^2 + \|(I - P)Y\|^2$ for any $Y\in \R^n$.