I am trying to find the value of this integral:
$\displaystyle{\lim_{n\to\infty}\int_0^\infty\frac{n\cos^2(x/n)}{n+x^4}dx}$.
The integrand tends to 1 as $n$ goes to infinity. So if some convergence theorem holds, the integral would tend to infinity(not Lebesgue dominated convergence theorem, since if there were an integrable function dominating the integrand, there would be a contradiction). So I guess the value of this integral should be infinity, but I am not sure.
Substituting $x:=n^{1/4} t$ $\>(0<t<\infty)$ gives $$\int_0^\infty{n\cos^2(x/n)\over n+x^4}\>dx=n^{1/4}\int_0^\infty {\cos^2(tn^{-3/4})\over 1+t^4}\ dt\ .\tag{1}$$ The function $t\mapsto \cos^2(tn^{-3/4})$ is nonnegative and $\geq{1\over2}$ for $0\leq t\leq{\pi\over4}n^{3/4}$. It follows that the integral on the right hand side of $(1)$ is $$\geq{1\over2}\int_0^{\pi/4}{dt\over1+t^4}\>dt=:C>0$$ for all $n\geq1$. This proves that the limit in question is $=\infty$.