Suppose we have continuous $f_{n} : D \rightarrow \mathbb{R}$ converging to $f : D \rightarrow \mathbb{R}$ uniformly on $D$. Then, is $f$ continuous?
I know that if we have $f_{n}$ converging to $f$ and $f_{n}$ are all continuous then it is not necessary for $f$ to be continuous. This is shown by
$$x^{n} \hspace{1cm} 0 < x \leq 1 $$
for $n \geq 0$. But, it is the uniformly part that gets me here. Is this statement true?
Fix $d \in D$. Now, it is always true that
$$ \begin{align} |f(d) - f(y)| &\leq |f(d) - f_n(d)| + |f_n(d)-f_n(y)| + |f_n(y)-f(y)| \\ &\leq 2d(f_n,f) + |f_n(d)-f_n(y)|. \tag{1} \end{align} $$
You also know that $f_n \to f$, that is $d(f_n,f) \to 0$, and that each function $f_n$ is continuous. A solution follows, but I would encourage you to think about this for a while before reading it.