[Math] Pointwise but not uniform convergence of continuous functions on $[0,1]$

uniform-convergence

As I was going over the definitions of pointwise and uniform convergence I came to the following problem: since the canonical example for continuous functions on $[0,1)$ which are pointwise but bot uniform convergent(wrt the constant function $f=0$) is sequence of functions $f_n(x) = x^n$ I ask myself is there such sequence of functions for the interval $[0,1]$. So far I couldn't think find any example and I am stating to believe that the answer might be negative. So what do think, is there such sequence and if not can it be proven that such sequence does not exist?

Best Answer

Certainly. take for example $f_n(x) = nxe^{-nx}$ which converges pointwise but not uniformly to $0$ on $[0,1]$. (And as pointed out in the comment, your own example works as well.)