I need an example of a sequence of integrable functions on $[0,1]$ s.t. $$\lim_{n\to\infty}\int_0^1 |f_n(x)|\,dx = 0$$
but $f_n$ does not converge to $0$ a.e.
Anyone can provide an example with a detailed explanation? thanks.
I know about the indicator function example that splits $[0,1]$ as $[0,\frac{1}{2}],[\frac{1}{2},1]$ and $[0,\frac{1}{3}]$... I want to see a different one. Thanks.
For $n\ge 1$ and $0\le k<2^n$ $$f_{2^n+k} \left(x\right) = \chi_{\left[\frac{k}{2^n}, \ \frac{k+1}{2^n} \right]} \left(x\right).$$
when $\chi_{\left[a,b\right]}$ is the indicator function of $\left[a,b\right]$.
And then $$\lim_{2^n+k\to\infty}\int_{\left[0,1\right]}\left|f_{2^n+k}\left(x\right)\right|dx= \lim_{2^n+k\to\infty}\frac{1}{2^n}=\lim_{n\to\infty}\frac{1}{2^n}=0$$
And also for all $x\in\left[0,1\right]$ $$\limsup_{n\to\infty}f_n\left(x\right)=1,$$ which means, in particular, that $f_n$ does not converge to $0$ almost surely.