It seems that $f_n(x)=1-x^n$ converges to $f(x)$ such that \begin{eqnarray*} f(x)&=&1~~\text{for}~~x\in[0,1)\\ &=& [0,1]~~\text{for}~~x=1.\end{eqnarray*}
I wonder if it is correct or not. If it is, how to show this convergence?
It seems that $f_n(x)=1-x^n$ converges to $f(x)$ such that \begin{eqnarray*} f(x)&=&1~~\text{for}~~x\in[0,1)\\ &=& [0,1]~~\text{for}~~x=1.\end{eqnarray*}
I wonder if it is correct or not. If it is, how to show this convergence?
Note that for $0\le x<1$ we have $\lim _{n\to \infty} x^n =0$ therefore $1-x^n \to 1$
On the other hand for $x=1$ we have $1-x^n=0$ so the limit is $0$