Gauss's Digamma Theorem
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the digamma function is defined as the logarithmic derivative of the
gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
: :\psi(x)=\frac\ln\big(\Gamma(x)\big)=\frac\sim\ln-\frac. It is the first of the polygamma functions. It is strictly increasing and strictly concave on (0,\infty). The digamma function is often denoted as \psi_0(x), \psi^(x) or (the uppercase form of the archaic Greek consonant digamma meaning double-gamma).


Relation to harmonic numbers

The gamma function obeys the equation :\Gamma(z+1)=z\Gamma(z). \, Taking the derivative with respect to gives: :\Gamma'(z+1)=z\Gamma'(z)+\Gamma(z) \, Dividing by or the equivalent gives: :\frac=\frac+\frac or: :\psi(z+1)=\psi(z)+\frac Since the
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \dot ...
s are defined for positive integers as :H_n=\sum_^n \frac 1 k, the digamma function is related to them by :\psi(n)=H_-\gamma, where and is the Euler–Mascheroni constant. For half-integer arguments the digamma function takes the values : \psi \left(n+\tfrac12\right)=-\gamma-2\ln 2 +\sum_^n \frac 2 .


Integral representations

If the real part of is positive then the digamma function has the following integral representation due to Gauss:Whittaker and Watson, 12.3. :\psi(z) = \int_0^\infty \left(\frac - \frac\right)\,dt. Combining this expression with an integral identity for the Euler–Mascheroni constant \gamma gives: :\psi(z + 1) = -\gamma + \int_0^1 \left(\frac\right)\,dt. The integral is Euler's
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \dot ...
H_z, so the previous formula may also be written :\psi(z + 1) = \psi(1) + H_z. A consequence is the following generalization of the recurrence relation: :\psi(w + 1) - \psi(z + 1) = H_w - H_z. An integral representation due to Dirichlet is: :\psi(z) = \int_0^\infty \left(e^ - \frac\right)\,\frac. Gauss's integral representation can be manipulated to give the start of the asymptotic expansion of \psi. :\psi(z) = \log z - \frac - \int_0^\infty \left(\frac - \frac + \frac\right)e^\,dt. This formula is also a consequence of Binet's first integral for the gamma function. The integral may be recognized as a Laplace transform. Binet's second integral for the gamma function gives a different formula for \psi which also gives the first few terms of the asymptotic expansion: :\psi(z) = \log z - \frac - 2\int_0^\infty \frac. From the definition of \psi and the integral representation of the gamma function, one obtains :\psi(z) = \frac \int_0^\infty t^ \ln (t) e^\,dt, with \Re z > 0.


Infinite product representation

The function \psi(z)/\Gamma(z) is an entire function, and it can be represented by the infinite product : \frac=-e^\prod_^\infty\left(1-\frac \right)e^. Here x_k is the ''k''th zero of \psi (see below), and \gamma is the Euler–Mascheroni constant. Note: This is also equal to -\frac\frac due to the definition of the digamma function: \frac=\psi(z).


Series representation


Series formula

Euler's product formula for the gamma function, combined with the functional equation and an identity for the Euler–Mascheroni constant, yields the following expression for the digamma function, valid in the complex plane outside the negative integers (Abramowitz and Stegun 6.3.16): :\begin \psi(z + 1) &= -\gamma + \sum_^\infty \left(\frac - \frac\right), \qquad z \neq -1, -2, -3, \ldots, \\ &= -\gamma + \sum_^\infty \left(\frac\right), \qquad z \neq -1, -2, -3, \ldots. \end Equivalently, :\begin \psi(z) &= -\gamma + \sum_^\infty \left(\frac - \frac\right), \qquad z \neq 0, -1, -2, \ldots, \\ &= -\gamma + \sum_^\infty \frac, \qquad z \neq 0, -1, -2, \ldots, \\ \end


Evaluation of sums of rational functions

The above identity can be used to evaluate sums of the form : \sum_^\infty u_n=\sum_^\infty \frac, where and are polynomials of . Performing
partial fraction In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction a ...
on in the complex field, in the case when all roots of are simple roots, : u_n=\frac=\sum_^m \frac. For the series to converge, :\lim_ nu_n=0, otherwise the series will be greater than the harmonic series and thus diverge. Hence :\sum_^m a_k=0, and :\begin \sum_^\infty u_n &= \sum_^\infty\sum_^m\frac \\ &=\sum_^\infty\sum_^m a_k\left(\frac-\frac\right) \\ &=\sum_^m\left(a_k\sum_^\infty\left(\frac-\frac\right)\right)\\ &=-\sum_^m a_k\big(\psi(b_k)+\gamma\big) \\ &=-\sum_^m a_k\psi(b_k). \end With the series expansion of higher rank polygamma function a generalized formula can be given as :\sum_^\infty u_n=\sum_^\infty\sum_^m \frac=\sum_^m \fraca_k\psi^(b_k), provided the series on the left converges.


Taylor series

The digamma has a rational zeta series, given by the Taylor series at . This is :\psi(z+1)= -\gamma -\sum_^\infty \zeta (k+1) (-z)^k, which converges for . Here, is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
. This series is easily derived from the corresponding Taylor's series for the Hurwitz zeta function.


Newton series

The Newton series for the digamma, sometimes referred to as ''Stern series'', reads :\psi(s+1)=-\gamma-\sum_^\infty \frac \binom where is the
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
. It may also be generalized to : \psi(s+1) = -\gamma - \frac \sum_^\frac- \frac\sum_^\infty\frac\left\,\qquad \Re(s)>-1, where


Series with Gregory's coefficients, Cauchy numbers and Bernoulli polynomials of the second kind

There exist various series for the digamma containing rational coefficients only for the rational arguments. In particular, the series with Gregory's coefficients is : \psi(v) =\ln v- \sum_^\infty\frac,\qquad \Re (v) >0, : \psi(v) =2\ln\Gamma(v) - 2v\ln v + 2v +2\ln v -\ln2\pi - 2\sum_^\infty\frac\,(n-1)! ,\qquad \Re (v) >0, : \psi(v) =3\ln\Gamma(v) - 6\zeta'(-1,v) + 3v^2\ln - \frac32 v^2 - 6v\ln(v)+ 3 v+3\ln - \frac32\ln2\pi + \frac12 - 3\sum_^\infty\frac\,(n-1)! ,\qquad \Re (v) >0, where is the '' rising factorial'' , are the
Gregory coefficients Gregory coefficients , also known as reciprocal logarithmic numbers, Bernoulli numbers of the second kind, or Cauchy numbers of the first kind,Ch. Jordan. ''The Calculus of Finite Differences'' Chelsea Publishing Company, USA, 1947.L. Comtet. ''Adva ...
of higher order with , is the
gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
and is the Hurwitz zeta function. Similar series with the Cauchy numbers of the second kind reads : \psi(v)=\ln(v-1) + \sum_^\infty\frac,\qquad \Re(v) >1, A series with the
Bernoulli polynomials of the second kind The Bernoulli polynomials of the second kind , also known as the Fontana-Bessel polynomials, are the polynomials defined by the following generating function: : \frac= \sum_^\infty z^n \psi_n(x) ,\qquad , z, -1 and :\gamma=\sum_^\infty\frac\B ...
has the following form : \psi(v)=\ln(v+a) + \sum_^\infty\frac,\qquad \Re(v)>-a, where are the ''Bernoulli polynomials of the second kind'' defined by the generating equation : \frac= \sum_^\infty z^n \psi_n(a) \,,\qquad , z, <1\,, It may be generalized to : \psi(v)= \frac\sum_^\ln(v+a+l) + \frac\sum_^\infty\frac, \qquad \Re(v)>-a, \quad r=1,2,3,\ldots where the polynomials are given by the following generating equation : \frac=\sum_^\infty N_(a) z^n , \qquad , z, <1, so that . Similar expressions with the logarithm of the gamma function involve these formulas : \psi(v)= \frac\left\,\qquad \Re(v)>-a, and : \psi(v)= \frac\left\, where \Re(v)>-a and r=2,3,4,\ldots.


Reflection formula

The digamma function satisfies a
reflection formula In mathematics, a reflection formula or reflection relation for a function ''f'' is a relationship between ''f''(''a'' − ''x'') and ''f''(''x''). It is a special case of a functional equation, and it is very common in the literature t ...
similar to that of the
gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
: :\psi(1-x)-\psi(x)=\pi \cot \pi x


Recurrence formula and characterization

The digamma function satisfies the recurrence relation :\psi(x+1)=\psi(x)+\frac. Thus, it can be said to "telescope" , for one has :\Delta
psi Psi, PSI or Ψ may refer to: Alphabetic letters * Psi (Greek) (Ψ, ψ), the 23rd letter of the Greek alphabet * Psi (Cyrillic) (Ѱ, ѱ), letter of the early Cyrillic alphabet, adopted from Greek Arts and entertainment * "Psi" as an abbreviation ...
x)=\frac where is the forward difference operator. This satisfies the recurrence relation of a partial sum of the harmonic series, thus implying the formula :\psi(n)=H_-\gamma where is the Euler–Mascheroni constant. More generally, one has :\psi(1+z) = -\gamma + \sum_^\infty \left( \frac-\frac \right). for \mathrm(z)>0. Another series expansion is: : \psi(1+z)=\ln(z)+\frac-\displaystyle\sum_^ \frac , where B_ are the Bernoulli numbers. This series diverges for all and is known as the ''Stirling series''. Actually, is the only solution of the functional equation :F(x+1)=F(x)+\frac that is monotonic on and satisfies . This fact follows immediately from the uniqueness of the function given its recurrence equation and convexity restriction. This implies the useful difference equation: : \psi(x+N)-\psi(x)=\sum_^ \frac


Some finite sums involving the digamma function

There are numerous finite summation formulas for the digamma function. Basic summation formulas, such as :\sum_^m \psi\left(\frac\right)=-m(\gamma+\ln m), :\sum_^m \psi\left(\frac\right)\cdot\exp\dfrac = m\ln \left(1-\exp\frac\right), \qquad k\in\Z,\quad m\in\N,\ k\ne m. : \sum_^ \psi\left(\frac\right)\cdot\cos\dfrac = m \ln \left(2\sin\frac\right)+\gamma, \qquad k=1, 2,\ldots, m-1 :\sum_^\psi \left(\frac\right) \cdot\sin\frac =\frac (2k-m), \qquad k=1, 2,\ldots, m-1 are due to Gauss. More complicated formulas, such as : \sum_^ \psi \left(\frac\right)\cdot\cos\frac = m\ln\left(\tan\frac\right) ,\qquad k=1, 2,\ldots, m-1 :\sum_^ \psi \left(\frac\right)\cdot\sin\dfrac = -\frac, \qquad k=1, 2,\ldots, m-1 :\sum_^ \psi\left(\frac\right)\cdot\cot\frac= -\frac :\sum_^\psi \left(\frac\right)\cdot \frac=-\frac(m-1)-\frac\ln m -\frac\sum_^ \frac\cdot\cot\frac :\sum_^\psi \left(\frac\right) \cdot\cos\dfrac= -\frac\sum_^ \frac, \qquad \ell\in\mathbb :\sum_^\psi \left(\frac\right) \cdot\sin\dfrac=-(\gamma+\ln2m)\cot\frac + \sin\dfrac\sum_^ \frac , \qquad \ell\in\mathbb :\sum_^ \psi^2\left(\frac\right)= (m-1)\gamma^2 + m(2\gamma+\ln4m)\ln -m(m-1)\ln^2 2 +\frac +m\sum_^ \ln^2 \sin\frac are due to works of certain modern authors (see e.g. Appendix B in Blagouchine (2014)).


Gauss's digamma theorem

For positive integers and (), the digamma function may be expressed in terms of
Euler's constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural ...
and a finite number of elementary functions :\psi\left(\frac\right) = -\gamma -\ln(2m) -\frac\cot\left(\frac\right) +2\sum_^ \cos\left(\frac \right) \ln\sin\left(\frac\right) which holds, because of its recurrence equation, for all rational arguments.


Asymptotic expansion

The digamma function has the asymptotic expansion :\psi(z) \sim \ln z + \sum_^\infty \frac = \ln z - \sum_^\infty \frac, where is the th Bernoulli number and is the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
. The first few terms of this expansion are: :\psi(z) \approx \ln z - \frac - \frac + \frac - \frac + \frac - \frac + \frac - \frac + \cdots. Although the infinite sum does not converge for any , any finite partial sum becomes increasingly accurate as increases. The expansion can be found by applying the
Euler–Maclaurin formula In mathematics, the Euler–Maclaurin formula is a formula for the difference between an integral and a closely related sum. It can be used to approximate integrals by finite sums, or conversely to evaluate finite sums and infinite series using ...
to the sum :\sum_^\infty \left(\frac - \frac\right) The expansion can also be derived from the integral representation coming from Binet's second integral formula for the gamma function. Expanding t / (t^2 + z^2) as a geometric series and substituting an integral representation of the Bernoulli numbers leads to the same asymptotic series as above. Furthermore, expanding only finitely many terms of the series gives a formula with an explicit error term: :\psi(z) = \ln z - \frac - \sum_^N \frac + (-1)^\frac \int_0^\infty \frac.


Inequalities

When , the function :\log x - \frac - \psi(x) is completely monotonic and in particular positive. This is a consequence of Bernstein's theorem on monotone functions applied to the integral representation coming from Binet's first integral for the gamma function. Additionally, by the convexity inequality 1 + t \le e^t, the integrand in this representation is bounded above by e^/2. :\frac - \log x + \psi(x) is also completely monotonic. It follows that, for all , :\log x - \frac \le \psi(x) \le \log x - \frac. This recovers a theorem of Horst Alzer. Alzer also proved that, for , :\frac < \psi(x + 1) - \psi(x + s), Related bounds were obtained by Elezovic, Giordano, and Pecaric, who proved that, for , :\log(x + \tfrac) - \frac < \psi(x) < \log(x + e^) - \frac, where \gamma is the Euler–Mascheroni constant. The constants appearing in these bounds are the best possible. The
mean value theorem In mathematics, the mean value theorem (or Lagrange theorem) states, roughly, that for a given planar arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant through its endpoints. It i ...
implies the following analog of
Gautschi's inequality In real analysis, a branch of mathematics, Gautschi's inequality is an inequality for ratios of gamma functions. It is named after Walter Gautschi. Statement Let be a positive real number, and let . Then :x^ < \frac < (x + 1)^.


: If , where is the unique positive real root of the digamma function, and if , then :\exp\left((1 - s)\frac\right) \le \frac \le \exp\left((1 - s)\frac\right). Moreover, equality holds if and only if . Inspired by the harmonic mean value inequality for the classical gamma function, Horzt Alzer and Graham Jameson proved, among other things, a harmonic mean-value inequality for the digamma function: -\gamma \leq \frac for x>0 Equality holds if and only if x=1.


Computation and approximation

The asymptotic expansion gives an easy way to compute when the real part of is large. To compute for small , the recurrence relation : \psi(x+1) = \frac + \psi(x) can be used to shift the value of to a higher value. Beal suggests using the above recurrence to shift to a value greater than 6 and then applying the above expansion with terms above cut off, which yields "more than enough precision" (at least 12 digits except near the zeroes). As goes to infinity, gets arbitrarily close to both and . Going down from to , decreases by , decreases by , which is more than , and decreases by , which is less than . From this we see that for any positive greater than , :\psi(x)\in \left(\ln\left(x-\tfrac12\right), \ln x\right) or, for any positive , :\exp \psi(x)\in\left(x-\tfrac12,x\right). The exponential is approximately for large , but gets closer to at small , approaching 0 at . For , we can calculate limits based on the fact that between 1 and 2, , so :\psi(x)\in\left(-\frac-\gamma, 1-\frac-\gamma\right),\quad x\in(0, 1) or :\exp \psi(x)\in\left(\exp\left(-\frac-\gamma\right),e\exp\left(-\frac-\gamma\right)\right). From the above asymptotic series for , one can derive an asymptotic series for . The series matches the overall behaviour well, that is, it behaves asymptotically as it should for large arguments, and has a zero of unbounded multiplicity at the origin too. : \frac \sim \frac+\frac+\frac+\frac+\frac - \frac + \cdots This is similar to a Taylor expansion of at , but it does not converge.If it converged to a function then would have the same Maclaurin series as . But this does not converge because the series given earlier for does not converge. (The function is not analytic at infinity.) A similar series exists for which starts with \exp \psi(x) \sim x- \frac 12. If one calculates the asymptotic series for it turns out that there are no odd powers of (there is no −1 term). This leads to the following asymptotic expansion, which saves computing terms of even order. : \exp \psi\left(x+\tfrac\right) \sim x + \frac - \frac + \frac - \frac + \cdots


Special values

The digamma function has values in closed form for rational numbers, as a result of Gauss's digamma theorem. Some are listed below: :\begin \psi(1) &= -\gamma \\ \psi\left(\tfrac\right) &= -2\ln - \gamma \\ \psi\left(\tfrac\right) &= -\frac -\frac - \gamma \\ \psi\left(\tfrac\right) &= -\frac - 3\ln - \gamma \\ \psi\left(\tfrac\right) &= -\frac -2\ln -\frac - \gamma \\ \psi\left(\tfrac\right) &= -\frac - 4\ln - \frac - \gamma. \end Moreover, by taking the logarithmic derivative of , \Gamma (bi), ^2 or , \Gamma (\tfrac+bi), ^2 where b is real-valued, it can easily be deduced that :\operatorname \psi(bi) = \frac+\frac\coth (\pi b), :\operatorname \psi(\tfrac+bi) = \frac\tanh (\pi b). Apart from Gauss's digamma theorem, no such closed formula is known for the real part in general. We have, for example, at the imaginary unit the numerical approximation :\operatorname \psi(i) = -\gamma-\sum_^\infty\frac \approx 0.09465.


Roots of the digamma function

The roots of the digamma function are the saddle points of the complex-valued gamma function. Thus they lie all on the real axis. The only one on the positive real axis is the unique minimum of the real-valued gamma function on at . All others occur single between the poles on the negative axis: : : : : :\vdots Already in 1881, Charles Hermite observed that :x_n = -n + \frac + O\left(\frac\right) holds asymptotically. A better approximation of the location of the roots is given by :x_n \approx -n + \frac\arctan\left(\frac\right)\qquad n \ge 2 and using a further term it becomes still better :x_n \approx -n + \frac\arctan\left(\frac\right)\qquad n \ge 1 which both spring off the reflection formula via :0 = \psi(1-x_n) = \psi(x_n) + \frac and substituting by its not convergent asymptotic expansion. The correct second term of this expansion is , where the given one works good to approximate roots with small . Another improvement of Hermite's formula can be given: : x_n=-n+\frac1-\frac1+O\left(\frac1\right). Regarding the zeros, the following infinite sum identities were recently proved by István Mező and Michael Hoffman :\begin \sum_^\infty\frac&=\gamma^2+\frac, \\ \sum_^\infty\frac&=-4\zeta(3)-\gamma^3-\frac, \\ \sum_^\infty\frac&=\gamma^4+\frac + \frac23 \gamma^2 \pi^2 + 4\gamma\zeta(3). \end In general, the function : Z(k)=\sum_^\infty\frac can be determined and it is studied in detail by the cited authors. The following results :\begin \sum_^\infty\frac&=-2, \\ \sum_^\infty\frac&=\gamma+\frac \end also hold true. Here is the Euler–Mascheroni constant.


Regularization

The digamma function appears in the regularization of divergent integrals : \int_0^\infty \frac, this integral can be approximated by a divergent general Harmonic series, but the following value can be attached to the series : \sum_^\infty \frac= - \psi (a).


See also

* Polygamma function * Trigamma function * Chebyshev expansions of the digamma function in


References


External links

* —psi(1/2) : psi(1/3), psi(2/3), psi(1/4), psi(3/4), to {{OEIS2C, A200138 psi(1/5) to psi(4/5). Gamma and related functions