TITLE: If $T$ is compact such as $T(e_n)=\lambda_n e_n$ then $\lim_n\lambda_n=0$
QUESTION [6 upvotes]: Let $H$ be a Hilbert separable space. with the orthonormal bais $(e_n)_{n\in \mathbb{N}}$, and $(\lambda_n)_{n\in \mathbb{N}}$ a bounded sequence in $ \mathbb{C}$.
We define the operator $T : H \rightarrow H$, as $T(e_n)=\lambda_n e_n$
We need to prove that $T$ is compact if and only if $\lim_n\lambda_n=0.$
I only did the reverse :
Suppose that $(\lambda_n)_n $ converge to $0$.
We define the finite rank operators $T_k$ defined as : $T_k(x)=(\lambda_1x_1,..,\lambda_kx_k,0,0,...)$.
And now we prove that $||T_k-T||\rightarrow 0.$
We have : $T(x)-T_k(x)=(0,0,...,\lambda_{k+1}x_{k+1},...)$
then : $||T_k-T||\leq sup_{n>k+1}|\lambda_n|\rightarrow0.$
then $T$ is compact as limit of finite rank operators.
[But I'm always stuck with the direct implication]

REPLY [4 votes]: Recall that the image of the unit ball under $T$ is relatively (sequentially) compact by definition of compact operator. So begin by assuming to the contrary that there is a subsequence $n(k)$ such that
$$
|\lambda_{n(k)}|\ge \epsilon>0,
$$for some $\epsilon >0$. Then, we have
$$
\|Te_{n(k)}-Te_{n(r)}\|^2 = \|\lambda_{n(k)}e_{n(k)} - \lambda_{n(r)}e_{n(r)} \|^2= |\lambda_{n(k)}|^2 +|\lambda_{n(r)}|^2\geq 2\epsilon^2.
$$ This means $(Te_{n(k)})_{k\ge 1}$ cannot have a Cauchy subsequence. This contradicts relative sequential compactness, hence we get
$$
\lim_{n\to\infty}|\lambda_n| = 0.
$$