Proposition: If $K:X\to Y$ is a bounded linear operator between two Banach spaces $X$ and $Y$ such that $\operatorname{Im}(K)\subset Y$ is an infinite-dimensional closed subspace, then $K$ is NOT compact.
Proof: I have to prove it, but the only think I know is that from the Closed Image theorem: $\operatorname{Im}(K)\subset Y$ is closed if and only if $\exists C>0 \quad \forall x\in X$ s.t. \begin{equation} \inf_{Ky=0}\Vert x+y \Vert_Y\leq \Vert Kx\Vert_Y. \end{equation}
Also I know a Theorem that says: $dim(Z)<\infty$ is equivalent to $B$ compact. Where $B$ is the closed unit ball on Z. But I have no idea how to do the proof formally, and also how to conclude. Can someone help me?
Alternative answer:your operator induces a continuous bijection between quotient space and image subspace. By the open mapping theorem if it were compact then the unit ball in both spaces were compact, thus finite dimensional by Riesz