I'm studying functional analysis. Let $T:\mathcal{H}\rightarrow\mathcal{H}$ be a bounded self-adjoint linear operator on a Hilbert space $\mathcal{H}$. The problem is showing if $T^k$ is a compact operator for some $n\in\mathbb{N}$, then $T$ is also compact.
Since $T^k$ is compact and self-adjoint, we may choose a countable orthonomal system $\{x_n\}$ and real eigenvalues $\{\lambda_n\}$ such that $T^k=\displaystyle\sum_n \lambda_n x_n\otimes\overline{x_n}.$ Then I guess $T$ should be the form of $S:=\sum_n (\lambda_n)^{1/k} x_n\otimes\overline{x_n}.$ Hm, if $n$ is even, we should consider the sign more carefully. $S^k=T^k$ is trivial. But.. how can I prove the uniqueness?