Let $f_n(x)=xne^{-nx}$ for all $x \ge 0$ and $n \ge 1$. Show that $(f_n)$ converges to zero on $[0, \infty)$ pointwise but not uniformly.
I know we have to evaluate at $f_n(0)$ and where $x$ does not equal $0$ then take the limit of it but I don't know for sure if we can separate the limits so it would be $\lim x \cdot \lim n \cdot \lim e^{-nx}$.
Hint: It suffices to show that $\lim_{n \to \infty} n e^{-nx} = 0$ for any positive $x$. For this you can use L'Hopital's rule, differentiating with respect to $n$. To show the convergence is not uniform, take $x = 1/n$ and use this to show convergence is not uniform.