Is the set {$x^n$} a closed and bounded subset of C $[0,1]$ that is NOT compact? Consider the space of continuous, real-valued functions on $[0,1]$ under the sup-norm metric. I believe that the set of functions {$x^n$} for all natural n is a closed and bounded subset of our metric space that is not compact. It is bounded as the difference between any two functions in the set is at most $1$ and I believe it is not compact as it does not contain a convergent subsequence (no subsequence converges uniformly to a continuous function, let alone a continuous function in the set). I don't have a rigorous proof of closure but do believe it is closed. Hence, I believe that it works as an example of a subset of a metric space that is closed and bounded but not compact. Is my reasoning valid?
 A: Suppose it is not closed. Its complementary $U$ is not open. There exists $f\in U$ such that every ball $B(f,1/n)$ contains a function $x^m$. We deduce that $f=lim_nx^{u(n)}$. Since $f$ is not of the form $x^m$. $lim_nu(n)=+\infty$. But In this case, $lim_nx^{u(n)}$ is the function $g:[0,1]\rightarrow R$ such that $g(x)=0, x\neq 0$ and $g(1)=1$. Contradiction since $g$ is not continue, and thus cannot be equal to $f$.
A: Assume that $\,f_n(x)=x^{k_n}\to f(x),\,$ is uniformly convergent in $[0,1]$, where $\,f\in C[0,1]$. Then, for every $a\in (0,1)$, the $\{\,f_n\}$ shall be uniformly converging in $[0,a]$. But, $x^n\to 0$, uniformly convergent in $[0,a]$, since
$$
\max_{x\in[0,a]}\|\,x^n\|=a^n\to 0,\quad\text{as $n\to\infty$.}
$$
Hence $\{\,f_n\}$ is also uniformly converging in $[0,a]$, and $\,f|_{[0,a]}=0$.
Thus $\,f(x)=0$, for all $x<1$, and as $\,f$ is continuous, then $f\equiv =0$. 
But, $\,f_n(1)=1^{k_n}=1$, and thus, $f(1)=\lim_{n\to\infty}f_n(1)=1$. Contradiction. 
Thus $\{x^n\}$ does NOT have any accumulation point, and hence it is closed.
