In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function:
ψ(z)=ddzlnΓ(z)=Γ′(z)Γ(z). It is the first of the polygamma functions. This function is strictly increasing and strictly concave on (0,∞), and it asymptotically behaves as
ψ(z)∼lnz−12z, for complex numbers with large modulus (|z|→∞) in the sector |argz|<π−ε for any ε>0. The digamma function is often denoted as ψ0(x),ψ(0)(x) or Ϝ (the uppercase form of the archaic Greek letter digamma meaning double-gamma).
Relation to harmonic numbers The gamma function obeys the equation
Γ(z+1)=zΓ(z). Taking the logarithm on both sides and using the functional equation property of the log-gamma function gives:
logΓ(z+1)=log(z)+logΓ(z), Differentiating both sides with respect to z gives:
ψ(z+1)=ψ(z)+1z Since the harmonic numbers are defined for positive integers n as
Hn=∑k=1n1k, the digamma function is related to them by
ψ(n)=Hn−1−γ, where H0 = 0, and γ is the Euler–Mascheroni constant. For half-integer arguments the digamma function takes the values
ψ(n+12)=−γ−2ln2+∑k=1n22k−1=−γ−2ln2+2H2n−Hn.
Integral representations If the real part of z is positive then the digamma function has the following integral representation due to Gauss:
ψ(z)=∫0∞(e−tt−e−zt1−e−t)dt. Combining this expression with an integral identity for the Euler–Mascheroni constant γ gives:
ψ(z+1)=−γ+∫01(1−tz1−t)dt. The integral is Euler's harmonic number Hz, so the previous formula may also be written
ψ(z+1)=ψ(1)+Hz. A consequence is the following generalization of the recurrence relation:
ψ(w+1)−ψ(z+1)=Hw−Hz. An integral representation due to Dirichlet is:
ψ(z)=∫0∞(e−t−1(1+t)z)dtt. Gauss's integral representation can be manipulated to give the start of the asymptotic expansion of ψ.
ψ(z)=logz−12z−∫0∞(12−1t+1et−1)e−tzdt. 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 ψ which also gives the first few terms of the asymptotic expansion:
ψ(z)=logz−12z−2∫0∞tdt(t2+z2)(e2πt−1). From the definition of ψ and the integral representation of the gamma function, one obtains
ψ(z)=1Γ(z)∫0∞tz−1ln(t)e−tdt, with ℜz>0.
Infinite product representation The function ψ(z)/Γ(z) is an entire function, and it can be represented by the infinite product
ψ(z)Γ(z)=−e2γz∏k=0∞(1−zxk)ezxk. Here xk is the kth zero of ψ (see below), and γ is the Euler–Mascheroni constant. Note: This is also equal to −ddz1Γ(z) due to the definition of the digamma function: Γ′(z)Γ(z)=ψ(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):
ψ(z+1)=−γ+∑n=1∞(1n−1n+z),z≠−1,−2,−3,…,=−γ+∑n=1∞(zn(n+z)),z≠−1,−2,−3,…. Equivalently,
ψ(z)=−γ+∑n=0∞(1n+1−1n+z),z≠0,−1,−2,…,=−γ+∑n=0∞z−1(n+1)(n+z),z≠0,−1,−2,….
Evaluation of sums of rational functions The above identity can be used to evaluate sums of the form
∑n=0∞un=∑n=0∞p(n)q(n), where p(n) and q(n) are polynomials of n. Performing partial fraction decomposition on un in the complex field, in the case when all roots of q(n) are simple roots,
un=p(n)q(n)=∑k=1makn+bk. For the series to converge,
limn→∞nun=0, otherwise the series will be greater than the harmonic series and thus diverge. Hence
∑k=1mak=0, and
∑n=0∞un=∑n=0∞∑k=1makn+bk=∑n=0∞∑k=1mak(1n+bk−1n+1)=∑k=1m(ak∑n=0∞(1n+bk−1n+1))=−∑k=1mak(ψ(bk)+γ)=−∑k=1makψ(bk). With the series expansion of higher rank polygamma function a generalized formula can be given as
∑n=0∞un=∑n=0∞∑k=1mak(n+bk)rk=∑k=1m(−1)rk(rk−1)!akψ(rk−1)(bk), provided the series on the left converges.
Taylor series The digamma has a rational zeta series, given by the Taylor series at z = 1. This is
ψ(z+1)=−γ−∑k=1∞(−1)kζ(k+1)zk, which converges for |z| < 1. Here, ζ(n) 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, derived by Moritz Abraham Stern in 1847, reads
ψ(s)=−γ+(s−1)−(s−1)(s−2)2⋅2!+(s−1)(s−2)(s−3)3⋅3!⋯,ℜ(s)>0,=−γ−∑k=1∞(−1)kk(s−1k)⋯,ℜ(s)>0. where (sk) is the binomial coefficient. It may also be generalized to
ψ(s+1)=−γ−1m∑k=1m−1m−ks+k−1m∑k=1∞(−1)kk{(s+mk+1)−(sk+1)},ℜ(s)>−1, where m = 2, 3, 4, ...
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 Gn is
ψ(v)=lnv−∑n=1∞|Gn|(n−1)!(v)n,ℜ(v)>0, ψ(v)=2lnΓ(v)−2vlnv+2v+2lnv−ln2π−2∑n=1∞|Gn(2)|(v)n(n−1)!,ℜ(v)>0, ψ(v)=3lnΓ(v)−6ζ′(−1,v)+3v2lnv−32v2−6vln(v)+3v+3lnv−32ln2π+12−3∑n=1∞|Gn(3)|(v)n(n−1)!,ℜ(v)>0, where (v)n is the rising factorial (v)n = v(v+1)(v+2) ... (v+n-1), Gn(k) are the Gregory coefficients of higher order with Gn(1) = Gn, Γ is the gamma function and ζ is the Hurwitz zeta function. Similar series with the Cauchy numbers of the second kind Cn reads
ψ(v)=ln(v−1)+∑n=1∞Cn(n−1)!(v)n,ℜ(v)>1, A series with the Bernoulli polynomials of the second kind has the following form
ψ(v)=ln(v+a)+∑n=1∞(−1)nψn(a)(n−1)!(v)n,ℜ(v)>−a, where ψn(a) are the Bernoulli polynomials of the second kind defined by the generating equation
z(1+z)aln(1+z)=∑n=0∞znψn(a),|z|<1, It may be generalized to
ψ(v)=1r∑l=0r−1ln(v+a+l)+1r∑n=1∞(−1)nNn,r(a)(n−1)!(v)n,ℜ(v)>−a,r=1,2,3,… where the polynomials Nn,r(a) are given by the following generating equation
(1+z)a+m−(1+z)aln(1+z)=∑n=0∞Nn,m(a)zn,|z|<1, so that Nn,1(a) = ψn(a). Similar expressions with the logarithm of the gamma function involve these formulas
ψ(v)=1v+a−12{lnΓ(v+a)+v−12ln2π−12+∑n=1∞(−1)nψn+1(a)(v)n(n−1)!},ℜ(v)>−a, and
ψ(v)=112r+v+a−1{lnΓ(v+a)+v−12ln2π−12+1r∑n=0r−2(r−n−1)ln(v+a+n)+1r∑n=1∞(−1)nNn+1,r(a)(v)n(n−1)!}, where ℜ(v)>−a and r=2,3,4,….
Reflection formula The digamma and polygamma functions satisfy reflection formulas similar to that of the gamma function:
ψ(1−x)−ψ(x)=πcotπx. ψ′(−x)+ψ′(x)=π2sin2(πx)+1x2. ψ″(−x)−ψ″(x)=2π3cot(πx)sin2(πx)+2x3.
Recurrence formula and characterization The digamma function satisfies the recurrence relation
ψ(x+1)=ψ(x)+1x. Thus, it can be said to "telescope" 1/x, for one has
… excerpt ends here. Continue reading the full article.


