Let $f_n(x)$ and $f(x)$ be continuous functions on $[0, 1]$ such that $\lim_{n\to\infty} f_n(x) = f(x)$ for all $x \in [0, 1]$. Answer each of the following questions. If your answer is “yes”, then provide an explanation. If your answer is “no”, then give a counterexample.
(a) Can we conclude that $\lim_{n\to\infty}\int_{0}^{1}f_n(x)\,dx = \int_{0}^{1}f(x)\,dx$?
(b) If in addition we assume $|{f_n(x)}|\leq 2017$ for all n and for all $x \in [0, 1]$, can we conclude that $\lim_{n\to\infty}\int_{0}^{1}f_n(x)\,dx = \int_{0}^{1}f(x)\,dx$?
My attempt:
I could not think of any counterexample for part (a).
For part (b), I showed that ${f_n}$ is equicontinuous which along with uniform boundedness gives me that ${f_n}$ has a uniformly convergent subsequence. (Arzela Ascoli). Hence $\lim_{n\to\infty}\int_{0}^{1}f_n(x)\,dx= \lim_{k\to\infty}\int_{0}^{1}f_{n_k}(x)\,dx = \int_{0}^{1}f(x)\,dx$. Is that right?
Edit: I have made a mistake while proving equicontinuity.
I know that monotonicity + continuity + pointwise convergence on [0,1] ensures uniform convergence. Is it true that uniform boundedness + continuity + pointwise convergence ensures uniform convergence? How do I show that?