The following question is from Stein and Shakarchi's Fourier Analysis, specifically chapter 3 (Convergence of Fourier series):
Construct a sequence of integrable functions $\{f_k\}$ on $[0, 2 \pi]$ such that $$\lim_{k \to \infty} \int_0^{2\pi}|f_k(\theta)|^2 d \theta = 0$$ but $\lim_{k \to \infty} f_k(\theta)$ fails to exist for any $\theta$.
[Hint: Choose a sequence of intervals $I_k \subset [0, 2 \pi]$ whose lengths tend to $0$, and so that each point belongs to infinitely many of them; then let $f_k = \chi_{I_k}$.]
I know the hint gives a general idea, but could someone spell this out for me? Specifically, I don't really get what he means by 'so that each point belongs to infinitely many of them'. And how can infinitely many points belong to the intervals $I_k$ if their lengths tend to $0$?
There doesn't seem to be much in the way of help in the preceeding chapter, so it would be great if anyone can shed any light on it. Thanks very much in advance.
The idea below uses the fact that $\sum_{n \in \mathbb{N}}\frac{1}{n}$ diverges. Using this hint, construct a sequence $\{I_k\}$ of intervals such that the length of each interval is $\frac{1}{k}$ and at each step, intervals are shifting to right. More precisely, below is a construction for $[0,1]$:
With this construction, it is clear that every $\theta$ belongs to infinitely many of such intervals. Hence, if we let $f_k = \mathcal{X}_{I_k}$ ($\mathcal{X}$ is the indicator function) then for every fixed $\theta$, the sequence $\{f_k(\theta)\}_{k=1}^{\infty}$ has infinitely many 0's and 1's; hence cannot converge.
On the other hand, \begin{equation} \frac{1}{2\pi}\int_{0}^{2\pi}|f_k(\theta)|^2 d\theta = \frac{1}{2\pi}\frac{1}{k^2} \to 0, \ \text{as} \ k \to \infty \end{equation}
Hence, this construction indeed works.