Let $a<c<b$, and suppose $\{f_n(x)\}$ is uniformly convergent on $[a,c]$ and on $[c,b]$. Show that it is uniformly convergent on $[a,b]$.
I tried to use the the fact that $d_n=\sup|f_n(x)-f(x)|$ tends to $0$ as $n\to\infty$ when $x$ varies over $[a,c]$, and also when it varies over $[c,b]$.
This gives us that when $x$ is in $[a,b]$, then
$$ \sup|f_n(x)-f(x)| < \max(\sup|f_n(x)-f(x)|: x\in [a,c], \sup|f_n(x)-f(x)|:x
\in [c,b]),$$ which tends to $0$.