I am hoping that I could get feedback on my solution for the following problem.
Find the pointwise limit of the sequence $f_n$ and determine whether the convergence is uniform or not. $$f_n(x)=\begin{cases} nx^2 \quad & \text{if } \ x \in [0,\frac{1}{\sqrt{n}}], \\ 0 \quad & \text{if } \ x \in (\frac{1}{\sqrt{n}},1]. \\ \end{cases} $$
Note first that $f_n(0)=f_n(1)=0$. Let $x>0$, then $\exists N \in \mathbb{N}$ s.t $x>\frac{1}{\sqrt{N}}$ and $\forall n \geq N$, $x>\frac{1}{\sqrt{n}}$. Hence, for $0<x<1 \rightarrow f_n(x)=0$. Thus the pointwise limit of $f_n(x)$ is $f(x)=0$.
$\lim_{n \rightarrow \infty} \sup_{x \in [0,1]} |f_n(x)-f(x)|=1 \neq 0$. Therefore, $f_n(x) \nrightarrow^{u} f(x)$ on $[0,1]$.
Thank you for the feedback.