HOME

TheInfoList



OR:

In mathematics, the digamma function is defined as the
logarithmic derivative In mathematics, specifically in calculus and complex analysis, the logarithmic derivative of a function ''f'' is defined by the formula \frac where f' is the derivative of ''f''. Intuitively, this is the infinitesimal relative change in ''f ...
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 th ...
: :\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 In articulatory phonetics, a consonant is a speech sound that is articulated with complete or partial closure of the vocal tract. Examples are and pronounced with the lips; and pronounced with the front of the tongue; and pronounced ...
digamma Digamma or wau (uppercase: Ϝ, lowercase: ϝ, numeral: ϛ) is an archaic letter of the Greek alphabet. It originally stood for the sound but it has remained in use principally as a Greek numeral for 6. Whereas it was originally called ''wa ...
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 numbers 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 In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with ...
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 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 In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the ''time domain'') to a function of a complex variable s (in the ...
. 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 as ...
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 In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor se ...
at . This is :\psi(z+1)= -\gamma -\sum_^\infty \zeta (k+1) (-z)^k, which converges for . Here, is the Riemann zeta function. 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 th ...
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 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 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 th ...
: :\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 psix)=\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 In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of ord ...
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 and a finite number of
elementary function In mathematics, an elementary function is a function of a single variable (typically real or complex) that is defined as taking sums, products, roots and compositions of finitely many polynomial, rational, trigonometric, hyperbolic, a ...
s :\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 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 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 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 In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function: :\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 strict ...
. 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 imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition a ...
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