A family of complex-valued functions \(\mathcal S\) on \([0,1]\) is uniformly integrable if for all \(\epsilon >0\) there exists \(\delta >0\) so that \(\lambda (A)<\delta \) implies \(\left |\int _A f\,d\lambda \right |<\epsilon \) for all \(f\in \mathcal S\).
Let \((f_i;i\in \mathbb N)\) be a uniformly integrable sequence. Assume that \[ \lim _{i\to \infty }f_i(x)=g(x)\quad \text {for all }x\in [0,1]. \] Prove that \[ \lim _{i\to \infty }\int _0^1 f_i\,d\lambda =\int _0^1 g\,d\lambda . \]