Prove $\lim_{n \to \infty} \int_{-\pi}^{\pi} \sin(nx) f(x) \, dx = 0$, with $f: [-\pi, \pi] \to \mathbb{R}$ differentiable.
Note: There are proofs of stronger statements on this site and elsewhere. My goal is to verify my (simple) proof, and to get answers to the two questions in discussion below.
Proof: Let $v(x) = \frac{-\cos nx}{n}, v'(x) = \sin nx$. Through integration by parts, we have $$ \int_{-\pi}^{\pi} \sin(nx) f(x) \, dx = f(\pi)v(\pi) - f(-\pi)v(-\pi) + \int_{-\pi}^{\pi} \frac{\cos nx}{n} f'(x) \, dx. $$
Since $f(\pi), f(-\pi), f'(\pi), f'(-\pi)$ are each constant, and $\cos$ is bounded, all the terms go to zero as $n \to \infty$.
Discussion:
- The original question specified $f$ as continuously differentiable. However, unless I'm in error, that is not required.
- Intuitively, this reminds of Fourier analysis (which I've yet to study), and says If you beat any nice periodic function with a high enough frequency wave, you'll get a constant zero. Alternatively: As frequency rises, the corresponding component of a nice periodic function will eventually go to zero. Is my intuition correct? Can you clarify?