I am currently trying to understand Alzers proof of the arithmetic mean geometric-mean inequality. (Link)
It states that for $a\displaystyle_i, p_i \in \mathbb{R} \; \text{with} \sum p_i =1\text{ and }\mathbf{G}:= \prod a_i^{p_i}$ there exists an $k \;$ such that $a_k \leq \mathbf{G} \leq a_{k+1}$.
With this information it is now said, that $\displaystyle\int_{a_i}^{\mathbf{G}} \left(\frac{1}{t}-\frac{1}{\mathbf{G}}\right) \mathrm{d}t \geq 0 \; \; \forall i \leq k$.
When integrating I get
$$\log\left(\dfrac{G}{a_i}\right) -1 + \dfrac{a_i}{G} \geq 0$$
I ofc. know, that $\log\left(\dfrac{\mathbf{G}}{a_i}\right)\geq0$.
The proof seems so obvious but I can't figure it out and it drives me crazy.
Thanks in advance