I came across this limit evaluation method in my notebook, which is very poorly explained.
$$1+\frac{1}{2}+\cdots+\frac{1}{n}=\gamma+\mathcal{E}_n+ln(n)\space,\ \mathcal{E}_n\longrightarrow 0\space\ when\space\ n\longrightarrow\infty$$
Its application on one problem is the following
$$\text{Problem:}\space \lim_{n\to\infty} \frac{1}{n+1}+\frac{1}{n+2}+\cdots+\frac{1}{2n}$$
$$\text{Solution:}\space\frac{1}{n+1}+\frac{1}{n+2}+\cdots+\frac{1}{2n}=\color{navy}{1+\frac{1}{2}+\cdots+\frac{1}{n}+\frac{1}{n+1}+\frac{1}{n+2}\cdots+\frac{1}{2n}-\left(1+\frac{1}{2}+\cdots+\frac{1}{n}\right)}=\gamma+\mathcal{E}_{2n}+ln(2n)-(\gamma+\mathcal{E}_n+ln(n))=\mathcal{E}_{2n}-\mathcal{E}_n+ln(2)$$
$$\text {And thereby,}$$
$$\lim_{n\to\infty} \frac{1}{n+1}+\frac{1}{n+2}+\cdots+\frac{1}{2n}=\lim_{n\to\infty}\underbrace{\mathcal{E}_{2n}}_{\rightarrow 0}-\underbrace{\mathcal{E}_n}_{\rightarrow 0}+ln(2)=ln(2)$$
Alright, I see that the sequence is being manipulated in order to substitute it with the upward formula. What I fail to grasp is the navy highlighted step. The other thing I don't understand is the formula and what does it represent, why does it work at all.
Could someone elaborate on what is happening here ?
The formula is introduced in my Analysis course before the derivatives, integrals etc..
Thanks