Lably
Skip to content

Euler's constant

Difference between logarithm and harmonic series

  • 11 min read
  • 7 chapters

Related on Lably

Through Gamma, Natural logarithm and Floor and ceiling functions

γ=limn→∞(∑k=1n1k−log⁡n)=∫1∞(1⌊x⌋−1x)dx.

Here, ⌊·⌋ represents the floor function.

The numerical value of Euler's constant, to 50 decimal places, is:

0.57721 56649 01532 86060 65120 90082 40243 10421 59335 93992 ...

Introduction

The usual definition of Euler's constant is, as stated above, given via the limiting difference between the harmonic series and the natural logarithm. The divergence of the former series was already known centuries prior, and Euler, who sought to find a continuous interpolation of the discrete harmonic series, found its growth rate to be asymptotically equivalent to that of the natural logarithm. In particular, he proved that:

γ=limn→∞(11+12+13+…+1n−log⁡(n))

exists. This can be seen by setting an=Hn−log⁡n as the partial terms of the limit (Hn are the harmonic numbers) and noting that this sequence is monotonically decreasing:

an+1−an=1n+1−log⁡(1+1n)<0

as well as bounded from below:

an=∑k=1n1k−∫1n1tdt>0.

and hence convergent to a constant 0≤γ<1=a1.

Euler showed that the following infinite series approaches γ:

γ=∑k=1∞(1k−log⁡(1+1k)).

This can be seen by noting that its partial sums form a telescoping series, such that the series again yields a limit between the harmonic series and a shifted natural logarithm.

In general:

γ=limn→∞(11+12+13+…+1n−log⁡(n+α))≡limn→∞γn(α)

for any α > −n. However, the rate of convergence of this expansion depends significantly on α. In particular, γn(1/2) exhibits much more rapid convergence than the conventional expansion γn(0). This is because

12(n+1)<γn(0)−γ<12n,

while

124(n+1)2<γn(1/2)−γ<124n2.

This can also be seen in the following asymptotic formulas:

  • γ∼Hn−log⁡n−12n+112n2−1120n4+⋯ (Euler)
  • γ∼Hn−log⁡(n+12+124n−148n2+⋯) (Negoi)
  • γ∼Hn−log⁡n+log⁡(n+1)2−16n(n+1)+130n2(n+1)2−⋯ (Cesàro)

The third formula is also called the Ramanujan expansion.

Even so, there exist other series expansions which converge more rapidly than this; some of these are discussed below.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Basics