Euler's constant explained

Euler's constant
Type:Unknown
Approximation:0.57721...
Discovery Date:1734
Discovery Person:Leonhard Euler
Discovery Work:De Progressionibus harmonicis observationes

Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma, defined as the limiting difference between the harmonic series and the natural logarithm, denoted here by :

\begin\gamma &= \lim_\left(-\log n + \sum_^n \frac1\right)\\[5px]&=\int_1^\infty\left(-\frac1x+\frac1\right)\,\mathrm dx.\end

Here, represents the floor function.

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

History

The constant first appeared in a 1734 paper by the Swiss mathematician Leonhard Euler, titled De Progressionibus harmonicis observationes (Eneström Index 43). Euler used the notations and for the constant. In 1790, the Italian mathematician Lorenzo Mascheroni used the notations and for the constant. The notation appears nowhere in the writings of either Euler or Mascheroni, and was chosen at a later time, perhaps because of the constant's connection to the gamma function. For example, the German mathematician Carl Anton Bretschneider used the notation in 1835, and Augustus De Morgan used it in a textbook published in parts from 1836 to 1842.

Appearances

Euler's constant appears, among other places, in the following (where '*' means that this entry contains an explicit equation):

2e\gamma/\pi=1.134

in the BCS equation on the critical temperature.

Properties

The number has not been proved algebraic or transcendental. In fact, it is not even known whether is irrational. Using a continued fraction analysis, Papanikolaou showed in 1997 that if is rational, its denominator must be greater than 10244663. The ubiquity of revealed by the large number of equations below makes the irrationality of a major open question in mathematics.

However, some progress has been made. Kurt Mahler showed in 1968 that the number

\pi
2
Y0(2)
J0(2)

-\gamma

is transcendental (here,

J\alpha(x)

and

Y\alpha(x)

are Bessel functions). In 2009 Alexander Aptekarev proved that at least one of Euler's constant and the Euler–Gompertz constant is irrational; Tanguy Rivoal proved in 2012 that at least one of them is transcendental. In 2010 M. Ram Murty and N. Saradha showed that at most one of the numbers of the form

\gamma(a,q) = \lim_\left(\left(\sum_^n\right) - \frac\right)

with and is algebraic; this family includes the special case . In 2013 M. Ram Murty and A. Zaytseva found a different family containing, which is based on sums of reciprocals of integers not divisible by a fixed list of primes, with the same property.

Relation to gamma function

is related to the digamma function, and hence the derivative of the gamma function, when both functions are evaluated at 1. Thus:

-\gamma = \Gamma'(1) = \Psi(1).

This is equal to the limits:

\begin-\gamma &= \lim_\left(\Gamma(z) - \frac1\right) \\&= \lim_\left(\Psi(z) + \frac1\right).\end

Further limit results are:

\begin \lim_\frac1\left(\frac1 - \frac1\right) &= 2\gamma \\\lim_\frac1\left(\frac1 - \frac1\right) &= \frac. \end

A limit related to the beta function (expressed in terms of gamma functions) is

\begin \gamma &= \lim_\left(\frac - \frac\right) \\&= \lim\limits_\sum_^m\frac\log\big(\Gamma(k+1)\big). \end

Relation to the zeta function

can also be expressed as an infinite sum whose terms involve the Riemann zeta function evaluated at positive integers:

\begin\gamma &= \sum_^ (-1)^m\frac \\ &= \log\frac4 + \sum_^ (-1)^m\frac.\end The constant

\gamma

can also be expressed in terms of the sum of the reciprocals of non-trivial zeros

\rho

of the zeta function:[1]

\gamma=log4\pi+\sum\rho

2
\rho

-2

Other series related to the zeta function include:

\begin \gamma &= \tfrac3- \log 2 - \sum_^\infty (-1)^m\,\frac\big(\zeta(m)-1\big) \\ &= \lim_\left(\frac - \log n + \sum_^n \left(\frac1 - \frac\right)\right) \\ &= \lim_\left(\frac \sum_^\infty \frac \sum_^m \frac1 - n \log 2+ O \left (\frac1\right)\right).\end

The error term in the last equation is a rapidly decreasing function of . As a result, the formula is well-suited for efficient computation of the constant to high precision.

Other interesting limits equaling Euler's constant are the antisymmetric limit:

\begin \gamma &= \lim_\sum_^\infty \left(\frac1-\frac1\right) \\&= \lim_\left(\zeta(s) - \frac\right) \\&= \lim_\frac \end

and the following formula, established in 1898 by de la Vallée-Poussin:

\gamma = \lim_\frac1\, \sum_^n \left(\left\lceil \frac \right\rceil - \frac\right)

where are ceiling brackets.This formula indicates that when taking any positive integer and dividing it by each positive integer less than, the average fraction by which the quotient falls short of the next integer tends to (rather than 0.5) as tends to infinity.

Closely related to this is the rational zeta series expression. By taking separately the first few terms of the series above, one obtains an estimate for the classical series limit:

\gamma =\lim_\left(\sum_^n \frac1 - \log n -\sum_^\infty \frac\right),

where is the Hurwitz zeta function. The sum in this equation involves the harmonic numbers, . Expanding some of the terms in the Hurwitz zeta function gives:

H_n = \log(n) + \gamma + \frac1 - \frac1 + \frac1 - \varepsilon,where

can also be expressed as follows where is the Glaisher–Kinkelin constant:

\gamma =12\,\log(A)-\log(2\pi)+\frac\,\zeta'(2)

can also be expressed as follows, which can be proven by expressing the zeta function as a Laurent series:

\gamma=\lim_\left(-n+\zeta\left(\frac\right)\right)

Relation to triangular numbers

Numerous formulations have been derived that express

\gamma

in terms of sums and logarithms of triangular numbers.[2] [3] [4] [5] One of the earliest of these is a formula[6] [7] for the harmonic number attributed to Srinivasa Ramanujan where

\gamma

is related to

styleln2Tk

in a series that considers the powers of
style1
Tk
(an earlier, less-generalizable proof[8] [9] by Ernesto Cesàro gives the first two terms of the series, with an error term):

\begin{align}\gamma&=Hu-

1
2

ln2Tu-

v
\sum
k=1
R(k)
k
T
u

-\Thetav

R(v+1)
v+1
T
u

\end{align}

From Stirling's approximation[2] [10] follows a similar series:

\gamma=ln2\pi-

n
\sum
k=2
\zeta(k)
Tk

The series of inverse triangular numbers also features in the study of the Basel problem[11] posed by Pietro Mengoli. Mengoli proved that

infty
style\sum
k=1
1
2Tk

=1

, a result Jacob Bernoulli later used to estimate the value of

\zeta(2)

, placing it between

1

and
infty
style\sum
k=1
2
2Tk

=

infty
\sum
k=1
1
Tk

=2

. This identity appears in a formula used by Bernhard Riemann to compute roots of the zeta function,[12] where

\gamma

is expressed in terms of the sum of roots

\rho

plus the difference between Boya's expansion and the series of exact unit fractions
n
style\sum
k=1
1
Tk
:

\gamma-ln2=ln2\pi+\sum\rho

2
\rho

-

n
\sum
k=1
1
Tk

Integrals

equals the value of a number of definite integrals:

\begin\gamma &= - \int_0^\infty e^ \log x \,dx \\ &= -\int_0^1\log\left(\log\frac 1 x \right) dx \\ &= \int_0^\infty \left(\frac1-\frac1 \right)dx \\ &= \int_0^1\frac \, dx -\int_1^\infty \frac\, dx\\ &= \int_0^1\left(\frac1 + \frac1\right)dx\\ &= \int_0^\infty \left(\frac1-e^\right)\frac,\quad k>0\\ &= 2\int_0^\infty \frac \, dx,\\&= \log\frac-\int_0^\infty \frac \, dx,\\ &= \int_0^1 H_x \, dx, \\ &= \frac+\int_^\log\left(1+\frac\right)dt \\&= 1-\int_0^1 \ dx \end where is the fractional harmonic number, and

\{1/x\}

is the fractional part of

1/x

.

The third formula in the integral list can be proved in the following way:

\begin&\int_0^ \left(\frac - \frac \right) dx = \int_0^ \frac dx = \int_0^ \frac \sum_^ \frac dx \\[2pt]&= \int_0^ \sum_^ \frac dx = \sum_^ \int_0^ \frac dx = \sum_^ \frac \int_0^ \frac dx \\[2pt]&= \sum_^ \frac m!\zeta(m+1) = \sum_^ \frac\zeta(m+1) = \sum_^ \frac \sum_^\frac = \sum_^ \sum_^ \frac\frac \\[2pt]&= \sum_^ \sum_^ \frac\frac = \sum_^ \left[\frac{1}{n} - \log\left(1+\frac{1}{n}\right)\right] = \gamma\end

The integral on the second line of the equation stands for the Debye function value of, which is .

Definite integrals in which appears include:

\begin\int_0^\infty e^ \log x \,dx &= -\frac \\\int_0^\infty e^ \log^2 x \,dx &= \gamma^2 + \frac\end

One can express using a special case of Hadjicostas's formula as a double integral with equivalent series:

\begin\gamma &= \int_0^1 \int_0^1 \frac\,dx\,dy \\&= \sum_^\infty \left(\frac 1 n -\log\frac n \right).\end

An interesting comparison by Sondow is the double integral and alternating series

\begin\log\frac 4 \pi &= \int_0^1 \int_0^1 \frac \,dx\,dy \\&= \sum_^\infty \left((-1)^\left(\frac 1 n -\log\frac n \right)\right).\end

It shows that may be thought of as an "alternating Euler constant".

The two constants are also related by the pair of series

\begin\gamma &= \sum_^\infty \frac \\\log\frac4 &= \sum_^\infty \frac,\end

where and are the number of 1s and 0s, respectively, in the base 2 expansion of .

We also have Catalan's 1875 integral

\gamma = \int_0^1 \left(\frac1\sum_^\infty x^\right)\,dx.

Series expansions

In general,

\gamma = \lim_\left(\frac+\frac+\frac + \ldots + \frac - \log(n+\alpha) \right) \equiv \lim_ \gamma_n(\alpha)

for any . However, the rate of convergence of this expansion depends significantly on . In particular, exhibits much more rapid convergence than the conventional expansion . This is because

\frac < \gamma_n(0) - \gamma < \frac,

while

\frac < \gamma_n(1/2) - \gamma < \frac.

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

Euler showed that the following infinite series approaches :\gamma = \sum_^\infty \left(\frac 1 k - \log\left(1+\frac 1 k \right)\right).

The series for is equivalent to a series Nielsen found in 1897:

\gamma = 1 - \sum_^\infty (-1)^k\frac.

In 1910, Vacca found the closely related series

\begin\gamma & = \sum_^\infty (-1)^k\frac k \\[5pt]& = \tfrac12-\tfrac13 + 2\left(\tfrac14 - \tfrac15 + \tfrac16 - \tfrac17\right) + 3\left(\tfrac18 - \tfrac19 + \tfrac1 - \tfrac1 + \cdots - \tfrac1\right) + \cdots,\end

where is the logarithm to base 2 and is the floor function.

In 1926 he found a second series:

\begin\gamma + \zeta(2) & = \sum_^\infty \left(\frac1 - \frac1\right) \\[5pt]& = \sum_^\infty \frac \\[5pt]&= \frac12 + \frac23 + \frac1\sum_^ \frac + \frac1\sum_^ \frac + \cdots\end

From the MalmstenKummer expansion for the logarithm of the gamma function we get:

\gamma = \log\pi - 4\log\left(\Gamma(\tfrac34)\right) + \frac 4 \pi \sum_^\infty (-1)^\frac.

An important expansion for Euler's constant is due to Fontana and Mascheroni

\gamma = \sum_^\infty \frac

= \frac12 + \frac1 + \frac1 + \frac + \frac3 + \cdots,where are Gregory coefficients. This series is the special case of the expansions

\begin \gamma &= H_ - \log k + \sum_^\frac && \\ &= H_ - \log k + \frac1 + \frac1 + \frac1 + \frac + \cdots &&\end

convergent for

A similar series with the Cauchy numbers of the second kind is

\gamma = 1 - \sum_^\infty \frac =1- \frac -\frac - \frac - \frac - \frac - \ldots

Blagouchine (2018) found an interesting generalisation of the Fontana–Mascheroni series

\gamma=\sum_^\infty\frac\Big\,\quad a>-1

where are the Bernoulli polynomials of the second kind, which are defined by the generating function

\frac= \sum_^\infty z^n \psi_n(s),\qquad |z|<1.

For any rational this series contains rational terms only. For example, at, it becomes

\gamma=\frac - \frac - \frac - \frac - \frac - \frac - \frac - \ldotsOther series with the same polynomials include these examples:

\gamma= -\log(a+1) - \sum_^\infty\frac,\qquad \Re(a)>-1

and

\gamma= -\frac \left\,\qquad \Re(a)>-1

where is the gamma function.

A series related to the Akiyama–Tanigawa algorithm is

\gamma= \log(2\pi) - 2 - 2 \sum_^\infty\frac=\log(2\pi) - 2 + \frac + \frac+ \frac + \frac+ \frac + \ldots

where are the Gregory coefficients of the second order. As a series of prime numbers:

\gamma = \lim_\left(\log n - \sum_\frac\right).

Asymptotic expansions

equals the following asymptotic formulas (where is the th harmonic number):

The third formula is also called the Ramanujan expansion.

Alabdulmohsin derived closed-form expressions for the sums of errors of these approximations. He showed that (Theorem A.1):

\begin\sum_^\infty \log n +\gamma - H_n + \frac &= \frac \\\sum_^\infty \log \sqrt +\gamma - H_n &= \frac-\gamma \\\sum_^\infty (-1)^n\Big(\log n +\gamma - H_n\Big) &= \frac\end

Exponential

The constant is important in number theory. It equals the following limit, where is the th prime number:

e^\gamma = \lim_\frac1 \prod_^n \frac.

This restates the third of Mertens' theorems. The numerical value of is:

Other infinite products relating to include:

\begin\frac &= \prod_^\infty e^\left(1+\frac1\right)^n \\\frac &= \prod_^\infty e^\left(1+\frac2\right)^n. \end

These products result from the Barnes -function.

In addition,

e^ = \sqrt \cdot \sqrt[3] \cdot \sqrt[4] \cdot \sqrt[5] \cdots

where the th factor is the th root of

\prod_^n (k+1)^.

This infinite product, first discovered by Ser in 1926, was rediscovered by Sondow using hypergeometric functions.

It also holds that

\frac=\prod_^\infty\left(e^\left(1+\frac+\frac\right)\right).

Continued fraction

The continued fraction expansion of begins which has no apparent pattern. The continued fraction is known to have at least 475,006 terms, and it has infinitely many terms if and only if is irrational.

Generalizations

Euler's generalized constants are given by

\gamma_\alpha = \lim_\left(\sum_^n \frac1 - \int_1^n \frac1\,dx\right),

for, with as the special case . This can be further generalized to

c_f = \lim_\left(\sum_^n f(k) - \int_1^n f(x)\,dx\right)

for some arbitrary decreasing function . For example,

f_n(x) = \frac

gives rise to the Stieltjes constants, and

f_a(x) = x^

gives

\gamma_ = \frac

where again the limit

\gamma = \lim_\left(\zeta(a) - \frac1\right)

appears.

A two-dimensional limit generalization is the Masser–Gramain constant.

Euler–Lehmer constants are given by summation of inverses of numbers in a commonmodulo class:

\gamma(a,q) = \lim_\left (\sum_ \frac1-\frac\right).

The basic properties are

\begin&\gamma(0,q) = \frac, \\&\sum_^ \gamma(a,q)=\gamma, \\&q\gamma(a,q) = \gamma-\sum_^e^\log\left(1-e^\right),\end

and if the greatest common divisor then

q\gamma(a,q) = \frac\gamma\left(\frac,\frac\right)-\log d.

Published digits

Euler initially calculated the constant's value to 6 decimal places. In 1781, he calculated it to 16 decimal places. Mascheroni attempted to calculate the constant to 32 decimal places, but made errors in the 20th–22nd and 31st–32nd decimal places; starting from the 20th digit, he calculated ...1811209008239 when the correct value is ...0651209008240.

Decimal digits Author Sources
1734 5
1735 15 Leonhard Euler
1781 16 Leonhard Euler
1790 32 Lorenzo Mascheroni, with 20–22 and 31–32 wrong
1809 22
1811 22
1812 40
1857 34 Christian Fredrik Lindman
1861 41 Ludwig Oettinger
1867 49
1871 99
1871 101 William Shanks
1877 262
1952 328
1961
1962
1962 Dura W. Sweeney
1973
1977
1980
1993
1999 Patrick Demichel and Xavier Gourdon
March 13, 2009 Alexander J. Yee & Raymond Chan
December 22, 2013 Alexander J. Yee
March 15, 2016 Peter Trueb
May 18, 2016 Ron Watkins
August 23, 2017 Ron Watkins
May 26, 2020 Seungmin Kim & Ian Cutress
May 13, 2023 Jordan Ranous & Kevin O'Brien
September 7, 2023 Andrew Sun

References

Footnotes

Further reading

External links

Notes and References

  1. Wolf. Marek. 6+infinity new expressions for the Euler-Mascheroni constant. 2019. 1904.09855. math.NT. "The above sum is real and convergent when zeros

    \rho

    and complex conjugate

    \bar{\rho}

    are paired together and summed according to increasing absolute values of the imaginary parts of ". See formula 11 on page 3. Note the typographical error in the numerator of Wolf's sum over zeros, which should be 2 rather than 1.
  2. Boya. L.J.. Another relation between π, e, γ and ζ(n). Revista de la Real Academia de Ciencias Exactas, Físicas y Naturales. Serie A. Matemáticas. 102. 199–202. 2008. 2. 10.1007/BF03191819. "γ/2 in (10) reflects the residual (finite part) of ζ(1)/2, of course.". See formulas 1 and 10.
  3. Sondow. Jonathan. Double Integrals for Euler's Constant and
    style4
    \pi
    and an Analog of Hadjicostas's Formula
    . The American Mathematical Monthly. 112. 1. 2005. 61–65. 10.2307/30037385. 30037385. 2024-04-27.
  4. Chen. Chao-Ping. Ramanujan's formula for the harmonic number. Applied Mathematics and Computation. 317. 2018. 121–128. 0096-3003. 10.1016/j.amc.2017.08.053. 2024-04-27.
  5. Lodge . A. . An approximate expression for the value of 1 + 1/2 + 1/3 + ... + 1/r . Messenger of Mathematics . 30 . 1904 . 103–107 .
  6. Villarino. Mark B.. Ramanujan's Harmonic Number Expansion into Negative Powers of a Triangular Number. 2007. 0707.3950. math.CA. It would also be interesting to develop an expansion for n! into powers of m, a new Stirling expansion, as it were.. See formula 1.8 on page 3.
  7. Mortici. Cristinel. 2010. On the Stirling expansion into negative powers of a triangular number. Math. Commun.. 15. 359–364.
  8. Cesàro . E. . Sur la série harmonique . Nouvelles annales de mathématiques: Journal des candidats aux écoles polytechnique et normale . 4 . 295–296 . 1885 . fr . Carilian-Goeury et Vor Dalmont.
  9. Book: Bromwich , Thomas John I'Anson . An Introduction to the Theory of Infinite Series . American Mathematical Society . 2005 . 1908 . 3rd . United Kingdom . 460. See exercise 18.
  10. Book: Whittaker . E. . Watson . G. . A Course of Modern Analysis . 5th . 1902 . 2021 . 271, 275 . 9781316518939 . 10.1017/9781009004091. See Examples 12.21 and 12.50 for exercises on the derivation of the integral form
    0
    style\int
    -1

    ln\Gamma(z+1)dz

    of the series
    n
    style\sum
    k=1
    \zeta(k)
    110k

    =ln(\sqrt{2\pi})

    .
  11. Nelsen . R. B. . Proof without Words: Sum of Reciprocals of Triangular Numbers . Mathematics Magazine . 64 . 3 . 1991 . 167. 10.1080/0025570X.1991.11977600 .
  12. Book: Edwards, H. M. . Riemann's Zeta Function . Academic Press . 1974 . Pure and Applied Mathematics, Vol. 58 . 67, 159.