Consider the following graph.
The first red column in this image has area \(\dfrac{1}{2}\), the second \(\dfrac{1}{3}\), etc., and every such column lies under the curve \(y = \frac{1}{x}\); thus, for every \(r\), \[\begin{equation*} L = \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \dotsb + \frac{1}{r} < \int_1^r \frac{1}{x} \:dx \end{equation*}\]Similarly, we can consider another graph.
The first red column in this image has area \(1\), the second \(\dfrac{1}{2}\), etc., and the curve falls under the red horizontal line segments; thus, for every \(r\), \[\begin{equation*} \int_1^r \frac{1}{x} \:dx < 1 + \frac{1}{2} + \frac{1}{3} + \dotsb + \frac{1}{r-1} = R. \end{equation*}\]The series \(1 + \frac{1}{2} + \frac{1}{3} + \dotsb\) is called the harmonic series. Can you use the inequality above to decide whether this series converges or diverges? You may wish to look at Harmonious proofs to explore this idea further.
Determine whether \(\frac{1}{2}(L+R)\) underestimates or overestimates the value of the integral.
Consider the red shaded area in the following graph.
This area is, in fact, \(\dfrac{L+R}{2}\). Since the red broken line always lies above the blue line, the shaded area will always be greater than the integral, and so \[\begin{equation*} \frac{L+R}{2} > \int_1^r \frac{1}{x} \:dx \end{equation*}\]for every \(r\); that is, it’s an overestimate.
converges as \(r \to \infty\) to a positive constant, \(\gamma\), called the Euler–Mascheroni constant. This appears in a number of surprising places in mathematics, but it remains mysterious; for example, it’s unknown whether it’s irrational or not (although it almost certainly is).