In my Real Analysis class, a question came up, but I can't come up with a proof or disproof. Here's the conjecture:
If $\sum f_n \rightarrow f$ pointwise on $(a, b) \subseteq \mathbb{R}$ then $\sum f_n \rightarrow f$ converges uniformly on $[c, d] \subseteq (a, b)$.
I'm convinced that divergence may occur at the endpoints and having $[c, d]$ gives us a better interval to work with by getting rid of the bad stuff. To be more specific, since $\sum f_n \rightarrow f$ pointwise, the number series $\sum f_n(x)$ converges $\forall x \in (a, b) \implies f_n(x) \rightarrow 0$. But, we can't come up with a number sequence $(x_n)$ where each $x_n \in [c, d]$ such that $f_n(x_n) \nrightarrow 0$ since we got rid of our endpoints.
Is my conjecture valid? If so, how would I prove or disprove my conjecture?
A counterexample is the series with partial sums
$$S_n(x) = xe^{-x^2}+\sum_{k=1}^{n-1} \left[(k+1)x e^{-(k+1)^2 x^2} - kxe^{-k^2x^2}\right] = nxe^{-n^2x^2},$$
where $S_n(x) \to S(x) =0$ as $n \to \infty$ pointwise for all $x \in \mathbb{R}$. However, convergence is not uniform on $[0,1]$ since $|S_n(1/n) - S(1/n)| = e^{-1} \not \to 0$.