# Find $\lim_{n \to \infty} \int_{0}^n\frac{1}{n+n^2 \sin \left( \frac{x}{n^2} \right)} \mbox{d}x$ [duplicate]

Find $$\lim_{n \to \infty} \int_{0}^n\frac{1}{n+n^2 \sin \left( \dfrac{x}{n^2} \right)} \mbox{d}x$$

I've defined $f_n(x) = \begin{cases} \dfrac{1}{n+n^2 \sin \left( \frac{x}{n^2} \right)}, & \text{if} \ \ x \in [0,n] \\ 0, & \text{if} \ x >n\end{cases}$

Of course $f_n \to 0$. I have to find $\displaystyle\lim_{n \to \infty} \int_{0}^\infty f_n(x) \mbox{d}x$, I'm trying to use Lebesgue theorem but i can't find function $g$ such that $|f_n(x)| \le g(x)$ and $\displaystyle\int _0 ^\infty g(x) \mbox{d}x < \infty$.

-
As I remember, exactly the same question with an excellent answer already exists in this community, though I do not remember the link... –  sos440 Feb 26 at 20:05
I would just rescale the integral: let $x=n u$, then the integral becomes
$$\lim_{n \rightarrow \infty} \int_0^1 \frac{du}{1+n \sin{\left ( \frac{u}{n}\right)}} = \int_0^1 \frac{du}{1+u} = \log{2}$$