Let $H$ be a Hilbert space (infinite dim) with $M,N\subset H$ being closed subspaces satisfying $N\subset M^\perp$.
I'm trying to show that $M+N$ is closed.
If $(Z_n)_{n=1}^\infty \subset M+N$ is a sequence then $Z_n = X_n+Y_n$ for some sequences $(X_n)_{n=1}^\infty$ and $(Y_n)_{n=1}^\infty$ in $M$ and $N$.
I can show $M+N$ is closed if I know that $X_n\to X$ and $Y_n\to Y$ for some $X\in M$ and $Y\in N$, so my question is: why do these two sequences converge?
From the orthogonality of $Y_n-Y_m$ and $X_n-X_m$ we get $\|(X_n+Y_n)-(X_m+Y_m)\|^{2} =\|X_n-X_m\|^{2}+\|Y_n-Y_m\|^{2}$. Hence $\|X_n-X_m\|^{2} \leq \|(X_n+Y_n)-(X_m+Y_m)\|^{2}\to 0$. So the Cauchy sequence $X_n$ converges to some $X$. Since $X_n+Y_n$ also converges we see that $Y_n$ converges too. Can you finish?