Digamma Function
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the digamma function is defined as the
logarithmic derivative In mathematics, specifically in calculus and complex analysis, the logarithmic derivative of a function is defined by the formula \frac where is the derivative of . Intuitively, this is the infinitesimal relative change in ; that is, the in ...
of the
gamma function In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
: :\psi(z) = \frac\ln\Gamma(z) = \frac. It is the first of the
polygamma function In mathematics, the polygamma function of order is a meromorphic function on the complex numbers \mathbb defined as the th derivative of the logarithm of the gamma function: :\psi^(z) := \frac \psi(z) = \frac \ln\Gamma(z). Thus :\psi^(z) ...
s. This function is
strictly increasing In mathematical writing, the term strict refers to the property of excluding equality and equivalence and often occurs in the context of inequality and monotonic functions. It is often attached to a technical term to indicate that the exclusiv ...
and strictly concave on (0,\infty), and it asymptotically behaves as :\psi(z) \sim \ln - \frac, for complex numbers with large modulus (, z, \rightarrow\infty) in the
sector Sector may refer to: Places * Sector, West Virginia, U.S. Geometry * Circular sector, the portion of a disc enclosed by two radii and a circular arc * Hyperbolic sector, a region enclosed by two radii and a hyperbolic arc * Spherical sector, a po ...
, \arg z, <\pi-\varepsilon for any \varepsilon > 0. 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, except for the h sound, which is pronounced without any stricture in the vocal tract. Examples are and pronou ...
digamma Digamma or wau (uppercase: Ϝ, lowercase: ϝ, numeral: ϛ) is an Archaic Greek alphabets, 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 (number), 6. Whe ...
meaning double-gamma). Gamma.


Relation to harmonic numbers

The gamma function obeys the equation :\Gamma(z+1)=z\Gamma(z). \, Taking the logarithm on both sides and using the functional equation property of the log-gamma function gives: :\log \Gamma(z+1)=\log(z)+\log \Gamma(z), Differentiating both sides with respect to gives: :\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 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 logarith ...
. For half-integer arguments the digamma function takes the values : \psi \left(n+\tfrac12\right)=-\gamma-2\ln 2 +\sum_^n \frac 2 = -\gamma-2\ln 2 + 2H_-H_n.


Integral representations

If the real part of is positive then the digamma function has the following
integral In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
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 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 logarith ...
\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 In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
. 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 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 logarith ...
. 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 In mathematics, the polygamma function of order is a meromorphic function on the complex numbers \mathbb defined as the th derivative of the logarithm of the gamma function: :\psi^(z) := \frac \psi(z) = \frac \ln\Gamma(z). Thus :\psi^(z) ...
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 In mathematics, a rational zeta series is the representation of an arbitrary real number in terms of a series consisting of rational numbers and the Riemann zeta function or the Hurwitz zeta function. Specifically, given a real number ''x'', the r ...
, 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 ser ...
at . This is :\psi(z+1)= -\gamma -\sum_^\infty (-1)^k\,\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 and its analytic c ...
. This series is easily derived from the corresponding Taylor's series for the
Hurwitz zeta function In mathematics, the Hurwitz zeta function is one of the many zeta functions. It is formally defined for complex variables with and by :\zeta(s,a) = \sum_^\infty \frac. This series is absolutely convergent for the given values of and and c ...
.


Newton series

The
Newton series A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
for the digamma, sometimes referred to as ''Stern series'', derived by
Moritz Abraham Stern Moritz Abraham Stern (29 June 1807 – 30 January 1894) was a German mathematician. Stern became ''Ordinarius'' (full professor) at Göttingen University in 1858, succeeding Carl Friedrich Gauss. Stern was the first Jewish full professor at a Germ ...
in 1847, reads :\begin \psi(s) &= -\gamma + (s-1) - \frac + \frac\cdots,\quad\Re(s)> 0, \\ &= -\gamma - \sum_^\infty \frac \binom\cdots,\quad\Re(s)> 0. \end 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 In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
'' , 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 Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
and is the
Hurwitz zeta function In mathematics, the Hurwitz zeta function is one of the many zeta functions. It is formally defined for complex variables with and by :\zeta(s,a) = \sum_^\infty \frac. This series is absolutely convergent for the given values of and and c ...
. 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 Bernoulli can refer to: People *Bernoulli family of 17th and 18th century Swiss mathematicians: **Daniel Bernoulli (1700–1782), developer of Bernoulli's principle **Jacob Bernoulli (1654–1705), also known as Jacques, after whom Bernoulli number ...
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 and polygamma functions satisfy
reflection formula In mathematics, a reflection formula or reflection relation for a function is a relationship between and . It is a special case of a functional equation. It is common in mathematical literature to use the term "functional equation" for what are ...
s similar to that of the
gamma function In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
: :\psi(1-x)-\psi(x)=\pi \cot \pi x. :\psi'(-x)+\psi'(x) = \frac+\frac.


Recurrence formula and characterization

The digamma function satisfies the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
:\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) (Ψ or ψ), the twenty-third letter of the Greek alphabet * Psi (Cyrillic), letter of the early Cyrillic alphabet, adopted from Greek Arts and entertainment * "Psi" as an abbreviat ...
x)=\frac where is the
forward difference operator A finite difference is a mathematical expression of the form . Finite differences (or the associated difference quotients) are often used as approximations of derivatives, such as in numerical differentiation. The difference operator, commonly d ...
. 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 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 logarith ...
. 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)). We also have : 1+\frac+\frac+...+\frac-\gamma=\frac\sum_^\psi\left(1+\frac\right), k=2,3, ...


Gauss's digamma theorem

For positive integers and (), the digamma function may be expressed in terms of
Euler's constant Euler's constant (sometimes called the Euler–Mascheroni constant) is a mathematical constant, usually denoted by the lowercase Greek letter gamma (), defined as the limit of a sequence, limiting difference between the harmonic series (math ...
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.


Multiplication theorem

The multiplication theorem of the \Gamma-function is equivalent to :\psi(nz)=\frac\sum_^ \psi\left(z+\frac\right) +\ln n .


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 In mathematics, the Bernoulli numbers are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in (and can be defined by) the Taylor series expansions of the tangent and hyperbolic tangent function ...
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 and its analytic c ...
. The first few terms of this expansion are: :\psi(z) \sim \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 In mathematics, a geometric series is a series (mathematics), series summing the terms of an infinite geometric sequence, in which the ratio of consecutive terms is constant. For example, 1/2 + 1/4 + 1/8 + 1/16 + ⋯, the series \tfrac12 + \tfrac1 ...
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 :\ln x - \frac - \psi(x) is completely monotonic and in particular positive. This is a consequence of
Bernstein's theorem on monotone functions In real analysis, a branch of mathematics, Bernstein's theorem states that every real number, real-valued function (mathematics), function on the half-line that is totally monotone is a mixture of exponential functions. In one important special c ...
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 - \ln x + \psi(x) is also completely monotonic. It follows that, for all , :\ln x - \frac \le \psi(x) \le \ln 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 , :\ln(x + \tfrac) - \frac < \psi(x) < \ln(x + e^) - \frac, where \gamma=-\psi(1) is the
Euler–Mascheroni constant 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 logarith ...
. The constants (0.5 and e^\approx0.56) appearing in these bounds are the best possible. The
mean value theorem In mathematics, the mean value theorem (or Lagrange's mean value theorem) states, roughly, that for a given planar arc (geometry), arc between two endpoints, there is at least one point at which the tangent to the arc is parallel to the secant lin ...
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 x be a positive real number, and let s\in (0,1). 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. (The function is not
analytic Analytic or analytical may refer to: Chemistry * Analytical chemistry, the analysis of material samples to learn their chemical composition and structure * Analytical technique, a method that is used to determine the concentration of a chemical ...
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 Similar in spirit to the
Lanczos approximation In mathematics, the Lanczos approximation is a method for computing the gamma function numerically, published by Cornelius Lanczos in 1964. It is a practical alternative to the more popular Stirling's approximation for calculating the gamma functio ...
of the \Gamma-function is
Spouge's approximation In mathematics, Spouge's approximation is a formula for computing an approximation of the gamma function. It was named after John L. Spouge, who defined the formula in a 1994 paper. The formula is a modification of Stirling's approximation, and ha ...
. Another alternative is to use the recurrence relation or the multiplication formula to shift the argument of \psi(x) into the range 1\le x\le 3 and to evaluate the Chebyshev series there.


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 imaginary unit or unit imaginary number () is a mathematical constant that is a solution to the quadratic equation Although there is no real number with this property, can be used to extend the real numbers to what are called complex num ...
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 A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin point representing the number zero and evenly spaced marks in either direct ...
. The only one on the
positive real axis In mathematics, the set of positive real numbers, \R_ = \left\, is the subset of those real numbers that are greater than zero. The non-negative real numbers, \R_ = \left\, also include zero. Although the symbols \R_ and \R^ are ambiguously used fo ...
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 Charles Hermite () FRS FRSE MIAS (24 December 1822 – 14 January 1901) was a French mathematician who did research concerning number theory, quadratic forms, invariant theory, orthogonal polynomials, elliptic functions, and algebra. Hermite p ...
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 well 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.


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).


In applied mathematics

Many notable probability distributions use the gamma function in the definition of their probability density or mass functions. Then in statistics when doing
maximum likelihood estimation In statistics, maximum likelihood estimation (MLE) is a method of estimation theory, estimating the Statistical parameter, parameters of an assumed probability distribution, given some observed data. This is achieved by Mathematical optimization, ...
on models involving such distributions, the digamma function naturally appears when the derivative of the log-likelihood is taken for finding the maxima.


See also

*
Polygamma function In mathematics, the polygamma function of order is a meromorphic function on the complex numbers \mathbb defined as the th derivative of the logarithm of the gamma function: :\psi^(z) := \frac \psi(z) = \frac \ln\Gamma(z). Thus :\psi^(z) ...
*
Trigamma function In mathematics, the trigamma function, denoted or , is the second of the polygamma functions, and is defined by : \psi_1(z) = \frac \ln\Gamma(z). It follows from this definition that : \psi_1(z) = \frac \psi(z) where is the digamma functi ...
* 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