Question :
For each $n \in \mathbb N$, Define :
$\gamma_n=1+\frac{1}{2}+\dots+\frac{1}{n}-\int_1^n \frac{1}{x}dx$
Prove that $\{\gamma_n\}$ is convergent.
Note 1 : I know that $\sum_1^\infty \frac{1}{k}$ diverges. I can guess that this sequence is convergent to $0$ because of the similar terms inside the integration and outside of it. The problem is that the integration is continuous. I mean that $x$ is not just integers. What can we do with the values left?! ( For example, $\frac{1}{2.5}$ ) Also, Notice that this problem should be solved with some elementary tools. ( It's from a part of my book which is even before any discussion about the Fundamental theorem of calculus. )
Note 2 : I'm not good at integration and i'm learning it. Any good details can help me.
Thanks in advance.
It is enough to show that $(\gamma_n)$ is decreasing and bounded below.
The function $f(x)=\dfrac{1}{x}$ is decreasing. On the interval $[k,k+1]$, $k\in\mathbb{N}$ we must have $\dfrac{1}{k+1}\leq f(x)\leq\dfrac{1}{k}$, hence $$\dfrac{1}{k+1}\leq\int_k^{k+1}f(x)\,dx\leq\dfrac{1}{k}\hspace{1cm}(\ast)$$ (note that the length of the interval $[k,k+1]$ is $1$). Summing from $k=1$ to $n-1$ we get $$\sum_{k=1}^{n-1}\dfrac{1}{k+1}\leq\int_1^n \dfrac{1}{x}\,dx\leq\sum_{k=1}^{n-1}\dfrac{1}{k}$$ that is $$\sum_{k=1}^n\dfrac{1}{k}-1\leq\int_1^n\dfrac{1}{x}\,dx\leq\sum_{k=1}^n\dfrac{1}{k}-\dfrac{1}{n}$$ The RHS inequality gives us $$\gamma_n=\sum_{k=1}^n\dfrac{1}{k}-\int_1^n\dfrac{1}{x}\,dx\geq\dfrac{1}{n}\geq 0$$ so that $(\gamma_n)$ is bounded below by $0$. To show that $(\gamma_n)$ is decreasing, consider $$\gamma_{n}-\gamma_{n-1}=\dfrac{1}{n}-\int_{n-1}^n\dfrac{1}{x}dx\leq 0$$ by virtue of the LHS of $(\ast)$, so that $(\gamma_n)$ is decreasing.