let $f$ be a function such, that
$f:[0,1] \rightarrow [0,1] $
$f_n(x)= x^n$ for some $n \in \Bbb N$ .
$f:[0,1] \rightarrow [0,1] $
$f(x)=0$ for $x \in [0,1)$ and $f(x) = 1 $ for $x=1$
Why $f_n$ converges to $f$ but this convergence is not uniform.
let $f$ be a function such, that
$f:[0,1] \rightarrow [0,1] $
$f_n(x)= x^n$ for some $n \in \Bbb N$ .
$f:[0,1] \rightarrow [0,1] $
$f(x)=0$ for $x \in [0,1)$ and $f(x) = 1 $ for $x=1$
Why $f_n$ converges to $f$ but this convergence is not uniform.
On
Hints:
Suppose everything happens for $\;x\in I\subset\Bbb R\;,\;\;I=$ some interval:
== If $\;f_n(x)\;$ continuous for all $\;n\;$ and $\;f_n(x)\xrightarrow[n\to\infty]{}f(x)\;$ uniformly, then $\;f(x)\;$ continuous
== In our particular case,
$$f_n(x)\xrightarrow[n\to\infty]{}f(x):=\begin{cases}0&,\;\;0\le x<1\\{}\\1&,\;\;x=1\end{cases}$$
$(f_n)$ converges simply (pointwise convergence) to $f$ since
but $$||f_n-f||_\infty=\sup_{x\in[0,1]}|f_n(x)-f(x)|=1\not\rightarrow 0$$ so the convergence isn't uniform.