Let $L,L'$ be closed linear subspace of some Hilbert space $H$, $P:H \to L$ and $P' : H \to L'$ are orthogonal projects. Show that if $Px=P'x$ for all $x \in H$, then $L = L'$.
My proof roughly goes that since $Px = P'x$, we have that $L^{\perp} = L'^{\perp}$. Then $(L^{\perp})^{\perp} = (L'^{\perp})^{\perp}$, so $L = L'$. Is this the right way to do this? If, not how would one go about showing this?