Let $H$ be a Hilbert space (over $\mathbb{C}$) and $N\subset H$ a closed subspace. (So N is also Hilbert.) Suppose that $T\colon H\to H$ is a bounded linear operator such that $\dim(\ker(T))<\infty$ and $T(H)$ is closed. I want to prove that $T|_{N}\colon N\to H$ has same properties, i.e. $\dim(\ker(T|_{N}))<\infty$ and $T(N)$ is closed.
Since $\ker(T|_{N})=N\cap\ker(T)$, it is clear that $\dim(\ker(T|_{N}))<\infty$. However, I have no idea how to prove that $T|_{N}(N)=T(N)$ is closed in $H$.
Any suggestions are greatly appreciated.