Let $f \in C[-\pi,\pi]$.
Find the following limit:
$$\lim_{n\to\infty}\int_{-\pi}^{\pi}f(t)\cos^2(nt)\,dt$$
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityLet $f \in C[-\pi,\pi]$.
Find the following limit:
$$\lim_{n\to\infty}\int_{-\pi}^{\pi}f(t)\cos^2(nt)\,dt$$
$$ \cos^2 nx=\frac{1+\cos 2nx}{2}, $$ and hence $$ \int_{-\pi}^\pi f(x)\,\cos^2 nx\,dx=\frac{1}{2}\int_{-\pi}^\pi f(x)\,dx+ \frac{1}{2}\int_{-\pi}^\pi f(x)\,\cos 2nx\,dx $$ The second integral tends to zero due to Riemann-Lebesgue Lemma, and hence $$ \lim_{n\to\infty}\int_{-\pi}^\pi f(x)\,\cos^2 nx\,dx=\frac{1}{2}\int_{-\pi}^\pi f(x)\,dx. $$