I have a sequence of functions $(f_n)$ defined by
$$ f_n(x) = \begin{cases} 0, & x=0,\\ x, & 0< x<1/n, \\ x^2, & 1/n <x. \end{cases} $$ I need to determine the limit for the function and to determine if $(f_n)$ converges uniformly to $f$.
I have a sequence of functions $(f_n)$ defined by
$$ f_n(x) = \begin{cases} 0, & x=0,\\ x, & 0< x<1/n, \\ x^2, & 1/n <x. \end{cases} $$ I need to determine the limit for the function and to determine if $(f_n)$ converges uniformly to $f$.
HINT: The limit is $x^2$, and because $|f(x)-f_n(x)|<1/n$ it is the uniform convergence.