Let $(X, \mathcal{A}, \mu)$ be a finite measure space. Let $\{f_n\}_{n=1}^\infty \subset L^2(\mu)$ be a sequence of functions such that $f_n \to f$ almost everywhere (a.e.) and $\|f_n\|_2 \leq M$ for all $n \in \mathbb{N}$. Prove that $\int_X f_n \, d\mu \to \int_X f \, d\mu.$
I always feel like I miss some small but important detail so I would be really grateful if anyone could verify and point any mistakes.
Firstly I note that $L^2$ is closed so the limit $f$ is also in $L^2$. The fact that $\mu(X) < \infty$ and that $f_n,f$ are in $L^2$ imply that $f_n,f$ are integrable. We can use Egorov's theorem to find $E$ such that $f_n\to f$ uniformly on E.$\int_X |f_n-f|d\mu = \int_E |f_n-f|d\mu + \int_{X\setminus E} 1\cdot |f_n-f|d\mu \le \epsilon \mu(E)+(\mu(X\setminus E))^{\frac{1}{2}}(\int_{X\setminus E}(f_n-f)^{2})^{\frac{1}{2}} \le\epsilon\mu(X)+\sqrt{\epsilon}2M$.
As $\mu(X)$ is finite this end the proof. Penultimate inequality is Cauchy-Schwarz.