So I was given this question in class, and I thought it looked easy enough at first glance, but actually trying to do it, I have gotten quite stuck on the "only if" part.
Let $T\colon \ell_\infty \rightarrow \ell_\infty$ be defined in the following way; fix a sequence $c = (c(n))_{n\in\mathbb N}\in \ell_\infty$. For $x = (x(n))_{n\in\mathbb N}, (Tx)(n) = c(n)x(n)$ for ${n\in\mathbb N}$.
Show that $T$ is compact if and only if $\lim_{n\to\infty}c(n) = 0$.
I thought about using the fact that any sequence in $\overline{TE_1}$ must have a convergent subsequence, but can't see how to use it?
Any helpful hints are very welcome!
Take $$ x_n = \sum_{j=1}^n e_j \in \ell_{\infty} $$ where $$e_j (k) =\begin{cases} 1 \mbox{ if } j=k \\ 0 \mbox{ if } j\neq k \end{cases}.$$
The sequence $(Tx_n )$ must have a convergent subsequence hence: for every $\varepsilon >0$ there exists $k$ such that for every $j,m\geq k$ we have $$||Tx_{n_m} -Tx_{n_j}||\leq \varepsilon$$ but the last inequality shows that $$\lim_{n\to\infty} c(n) =0.$$