I'm learning about Fourier series and need help with the following exercise:
Let the functions $p, q \in L^1([0, 2\pi])$ be bounded and $2\pi$-periodic. If $\int_0^{2\pi} q = 0$, show that
$$\lim_{n \to \infty} \int_0^{2\pi}p(x)q(nx)\,dx = 0.$$
Hint: first consider the step function for $p$, then it's approximation.
I'm really lost here. I did go back several times through my notes and the only thing that I could relate this execise to is the following theorem
Let $f \in L^1([a, b])$. For every $\varepsilon > 0$, there exist a step function $\psi$ such that $\|f - \psi\|_{L^1[a, b]} < \varepsilon$.
The way I understand this is that we can approximate any integrable function on a close interval by a step function. Since $p \in L^1([0, 2\pi])$ by assumption, the above theorem holds. This is as far as I got.
The theorem you stated is definitely related to the question. Let $s$ be a step function so that $\| p-s\|_{L^1} <\epsilon$, then
$$\bigg|\int_0^{2\pi} p(x) q(nx)\,dx - \int_0^{2\pi}s(x) q(nx)\,dx\bigg|\le C \int_0^{2\pi}|p(x)-s(x)|\,dx <C\epsilon,$$
where $C$ is the bounded of $q$, that is $|q(y)|\le C$ for all $y\in [0,2\pi]$. Now if you have shown the theorem for step functions, then there is $N_\epsilon$ so that
$$\bigg|\int_0^{2\pi} s(x)q(nx) \bigg| <\epsilon$$
for all $n\ge N_\epsilon$. Then
$$\begin{split} \bigg|\int_0^{2\pi} p(x)q(nx)\,dx\bigg| &\le \bigg|\int_0^{2\pi} p(x) q(nx)\,dx - \int_0^{2\pi}s(x) q(nx)\,dx\bigg|+\bigg|\int_0^{2\pi} s(x)q(nx)\,dx \bigg| \\ &\le (C+1)\epsilon \end{split}$$
for all $n\ge N_\epsilon$. Thus the theorem is true for all $p$.