In one of our exam class we were given the following limit to compute $$ \lim_{n \to \infty}\int_{0}^{\pi} \frac{\sin\left(x\right)}{1 + 3\cos^{2}\left(nx\right)}\,\mathrm{d}x $$
patently is not advisable to use the convergent dominate which I failles to apply here since the integrand does not even converges.
The wonderful think with is that $\lim\limits_{n \to \infty}\cos^{2}\left(nx\right)$ does not and this problem kept me awake for a while now.
Does anyone has some tips how to attack this problem ?.
I'd have suggested something like $$\int_0^\pi \frac{\sin x}{1+3\cos^2(nx)}\,dx=\frac1n\int_0^{n\pi} \frac{\sin(x/n)}{1+3\cos^2x}\,dx\\=\int_0^{\pi} \frac{\frac1n\sum^{n-1}_{k=0}\sin((x+k\pi)/n)}{1+3\cos^2x}\,dx\to \int^1_0\sin\pi t\,dt\cdot\int_0^{\pi} \frac{dx}{1+3\cos^2x} =1$$ since $$\frac1n\sum^{n-1}_{k=0}\sin((x+k\pi)/n)=\sin(x/n)\cdot\frac1n\sum^{n-1}_{k=0}\cos(k\pi/n)+\cos(x/n)\cdot\frac1n\sum^{n-1}_{k=0}\sin(k\pi/n),$$ and the RHS converges to $\int^1_0\sin\pi t\,dt$, obviously (Riemann sums). Now, we really can apply the dominated convergence theorem.
but a general theorem as in @pisco125's answer is nice, too.