Given the sequence of function $f_n(x)=\exp(-nx)$, for all $x\in\mathbb{R}$ and $n\in\mathbb{N}$. Determine $f_n(x)$ is uniformly convergent or not.
I try as follows.
Take $\varepsilon>0$. We want to show there is $N_\varepsilon\in \mathbb{N}$ such that for all $n\geq N_\varepsilon$ and all $x\in \mathbb{R}$, has $\vert f_n(x)-f(x)\vert<\varepsilon$.
The limit function is \begin{align} \lim\limits_{n\to\infty}f_n(x)= f(x)= \begin{cases} 1&x=0\\ 0&x>0 \end{cases}. \end{align} Let $x=0$. Then $\vert f_n(x)-f(x)\vert=|\exp(-n(0))-1|= |1-1|=0<\varepsilon$.
Let $x>0$. Then $\vert f_n(x)-f(x)\vert=|\exp(-nx)-0|= \exp(-nx)<\varepsilon$.
Now I confused to determine $f_n(x)$ is uniformly convergent or not because I can't find connection between "there is $N_\varepsilon\in \mathbb{N}$ such that for all $n\geq N_\varepsilon$ and all $x\in \mathbb{R}$" and "$\vert f_n(x)-f(x)\vert<\varepsilon$". Anyone can help me?
The convergence is not uniform (in $\Bbb R$), because each $f_n$ is a continuous function, but $(f_n)_{n\in\Bbb N}$ converges pointwise to a discontinuous function. Uniform convergence preserves continuity.