Could you help me with it?
Prove that if $f \in \mathcal{C}^1([a,b])$ with $f(a) = f(b)$ then $$ \lim_{n \to \infty} \int_a^b f(x) \sin nx \, \mathrm{d} x = 0 $$
Thank you.
Could you help me with it?
Prove that if $f \in \mathcal{C}^1([a,b])$ with $f(a) = f(b)$ then $$ \lim_{n \to \infty} \int_a^b f(x) \sin nx \, \mathrm{d} x = 0 $$
Thank you.
You can prove the Riemann-Lebesgue Lemma under much weaker conditions, but just assume $f \in C([a,b])$. Choose a partition $a=x_0 < x_1 < \dots, x_m=b.$
Then
$$\int_{a}^{b}f(x)\sin nx \, dx=\sum_{j=1}^{m}\int_{x_{j-1}}^{x_j}[f(x)-f(x_j)]\sin nx\,dx + \sum_{j=1}^{m}\int_{x_{j-1}}^{x_j}f(x_j)\sin nx\,dx$$
and using the triangle inequality
$$\Big|\int_{a}^{b}f(x)\sin nx \, dx\Big|\leq \\ \sum_{j=1}^{m}\int_{x_{j-1}}^{x_j}|f(x)-f(x_j)||\sin nx|\,dx + \sum_{j=1}^{m}|f(x_j)|\frac{|\cos nx_j-\cos nx_{j-1}|}{n} \\ \leq \sum_{j=1}^{m}\int_{x_{j-1}}^{x_j}|f(x)-f(x_j)|\,dx + \sum_{j=1}^{m}|f(x_j)|\frac{2}{n}$$
Since $f$ is continuous on $[a,b]$ it is bounded and uniformly continuous. Hence there exist $M > 0$ such that for all $x \in [a,b],$
$$|f(x)| \leq M,$$
and for every $\epsilon > 0$ there exists $\delta >0$ such that for all $|x-y| < \delta,$
$$|f(x)-f(y)| < \frac{\epsilon}{2(b-a)}.$$
Let the norm of the partition be less than $\delta$.
Then
$$\Big|\int_{a}^{b}f(x)\sin nx \, dx\Big|\leq \frac{\epsilon}{2} + \frac{2Mm}{n}.$$
For all $n > 4Mm/\epsilon$, we have
$$\Big|\int_{a}^{b}f(x)\sin nx \, dx\Big|\leq \frac{\epsilon}{2} + \frac{\epsilon}{2}= \epsilon,$$
and
$$\lim_{n \rightarrow \infty}\int_{a}^{b}f(x)\sin nx \, dx=0$$