Let $X$ be a normed linear space. Let $T: X \to X$ be a compact linear operator and $T^{2}=T$. Show that $T$ is a finite rank operator, that is, $Range(T)$ is finite dimensional in $X$.
I have no idea how to show that this operator is of finite rank. Any hint or solution will really be appreciated. Thanks in advance!