Suppose $f_n(x)$ converges uniformly to $f(x)$ on $(a,b)$. Does this imply that $f_n(x)$ converges uniformly to $f(x)$ on $[a,b]$?
I have a theorem in my book that states the argument is correct if $f_n(x)$ are all continuous on $[a,b]$. But is it true for other cases?
No, it is not true in general. Define $f_n\colon[0,1)\longrightarrow\mathbb R$ by$$f_n(x)=\begin{cases}1&\text{ if }x=0\\\frac xn&\text{ otherwise.}\end{cases}$$Then $(f_n)_{n\in\mathbb N}$ converges to the null function on $(0,1)$, but not on $[0,1)$.