The problem is as follows. I have a secuence $f_{n}(x)=\frac{1}{1+x^{n}}$ and I have to show why $f_{n}$ converges uniformly on $[0,a]$, $0<a<1$ and why does not converge uniformly on $[0,1]$.
I know that $f_{n}$ is a secuence of continuous functions on $[0,1]$, but its limit function $$f(x)=\cases{1 & if $x<1$ \\ 1/2 & if $x=1$ }$$
has a discontinuity at $1$, hence $f_{n}$ does not converges uniformly on $[0,1]$. Now, I only have to show that $f_{n}$ converges uniformly on $[0,a]$ but here is where I am stuck. Without success, I have tried to do it directly from definition. Do you have any suggestion that can help me?
Note that for $x \in [0,a]$ you have $1 \ge \frac{1}{1+x^n} \ge \frac{1}{1+a^n}$. Now show that $\frac{1}{1+a^n}$ tends to $1$ as $n$ goes to $\infty$.