Solve the following limit:
$\lim_{n\rightarrow\infty}\frac{1}{n}\left (\frac{n}{n+1}+\frac{n}{n+2}+...+\frac{n}{n+n} \right )$
my approach
I know this problem has been asked before. But my doubt is why I am getting two different answer by using two different methods. First, if I want to solve the given problem using the Cauchy first theorem of limits , then I can consider:
$a_n=\frac{n}{n+k}$.
Clearly, $a_n\rightarrow1$. So, being the average of $n$ such terms, our limit should also tend to $1$(according to Cauchy first theorem of limit). Now, if I want to use the integral approach, I can write the above limit as:
$\lim_{n\rightarrow\infty}\frac{1}{n}\sum_{r=0}^{n}\frac{1}{1+\frac{r}{n}}$,
The above mentioned sum, then can be easily solved as:
$\int_{0}^{1}\frac{1}{1+x}dx=ln2$
I don't understand what is going on here. How can we get two different answers for the same problem. Maybe, I am making any mistake or something in my steps is wrong. Or I have misread the Cauchy theorem. It will be very beneficial for me if this doubt is tackled. Thanks.
"$a_n= \frac{n}{n+k}$, clearly $a_n\rightarrow 1$" ??
I didn't know that clearly $\frac{n}{n+n}\rightarrow 1$, $\frac{n}{n+(n-1)}\rightarrow 1$, ....
In the first "method", you are using an "$\lim_{n\rightarrow+\infty}\lim_{k\rightarrow+\infty}c_{n,k}=\lim_{k\rightarrow+\infty}\lim_{n\rightarrow+\infty}c_{n,k}$" argument, which is valid only if the convergence is uniform with respect to one of the indices...
If you do not verify this hypothesis, you will have the same problem with $$ c_{n,k} :=\frac{n}{n+k}$$ $\lim_{n\rightarrow+\infty}\lim_{k\rightarrow+\infty}c_{n,k}=\lim_{n\rightarrow+\infty} 0= 0$, but $\lim_{k\rightarrow+\infty}\lim_{n\rightarrow+\infty}c_{n,k}=1$... (which is by the way a simpler version of the sequel you considered)...