Prove $x^n$ is not uniformly convergent This question pertains to the sequence of functions $f_n(x)=x^n$ on the interval $[0,1]$.
It can be shown this sequence of functions ${f_n}$ converges point-wise to the limit $f$ where $f$ is defined by $f(x)=0$ on $[0,1)$ and $f(x)=1$ at $x=1$.
However, this sequence of functions ${f_n}$ does not converge uniformly to $f$. One way to prove this (which I have seen) is via a theorem which proves that if a sequence of functions ${f_n}$ converges uniformly to $f$, then $f$ is continuous. And clearly it is not the case that $f$ is continuous in our example, so our convergence is not uniform.
However, I have seen another test for uniform convergence on an interval $s$. That is that:
$${\rm lim}\ [{\rm sup}\ \{ |  f_n(x)-f(x)|\ :\ x\in S\ \}]=0$$
This conception of uniform convergence can be found in my Walter Rudin analysis book for example. My question is, how can we use this definition of uniform convergence to show $x^n$ is not uniformly convergent?
I am having trouble seeing how to apply this definition to this example, especially since the limit $f$ is defined piece-wise. But I know I need to find the sup of the difference between $f_n$ and $f$ over the interval $[0,1]$ (how do I find this sup?). And then once I find it, I need to take the limit as $n\to\infty$ and show it does not equal $0$.
Thank you for your help!
 A: I think the best way to see that this function doesn't converge uniformly on $x \in [0,1]$ is to note that the limiting function is discontinuous for $x \in [0,a], a<1$ and $x=1$:
$$
\lim_{n \to \infty} f_n(x)= \left\{
\begin{array}{rl}
0 &x \in [0,a]\\
1 & x=1
\end{array}
\right.
$$
A: It all boils down to proving that $$\sup_{x\in [0,1]}|x^n-\chi_{\{1\}}|=\sup_{x\in [0,1)}|x^n-0|=\sup_{x\in[0,1)}x^n=1\not\to 0$$
A: Let's recall the definition of uniform convergence:
$$
f_n (x) \rightarrow f(x) \text{ uniformly on $\Delta$ if:} \\
 \forall \epsilon > 0, \exists N_{\epsilon} \in \mathbb{N} : \forall n \geq N_{\epsilon} \implies |f(x) - f_n(x)| < \epsilon, \forall x \in \Delta
\tag{1}
$$
In order to show that the convergence is non-uniform, we can either apply the Weierstrass M-test, or we can consider the converse of (1), by picking some $x_0$ in a clever way such that we can bound $|f(x) - f_n(x_0)|$ below by a positive constant (or in practice, we often choose $x_0$ such that $|f(x) - f_n(x_0)|$ is constant)
In this case, we can take $x_0 = a^{\frac{1}{n}}$, where $a \in [0, 1)$ and we can clearly see that the pointwise limit $x^n$ is 0
Thus $|f(x) - f_n(x)| = (a^{\frac{1}{n}})^{n}= a$, which does not converge to 0 (i.e. this difference is constant, thus can't be made arbitrarily small), hence the convergence is non-uniform.
