In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function:

It is the first of the polygamma functions.
Relation to harmonic numbers
The digamma function, often denoted also as ψ0(x), ψ0(x) or F (after the shape of the obsolete Greek letter Ϝ digamma), is related to the harmonic numbers in that

where Hn is the n 'th harmonic number, and γ is the Euler-Mascheroni constant. For half-integer values, it may be expressed as

Integral representations
It has the integral representation

This may be written as

which follows from Euler's integral formula for the harmonic numbers.
Taylor series
The digamma has a rational zeta series, given by the Taylor series at z=1. This is
,
which converges for |z|<1. 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 follows from Euler's integral formula:

where

is the binomial coefficient.
The digamma function satisfies a reflection formula similar to that of the Gamma function,

The digamma function satisfies the recurrence relation

Thus, it can be said to "telescope" 1/x, for one has
={\frac {1}{x}}}](/media/api/rest_v1/media/math/render/svg/2f937d04ca5581f9bf986c18bf170bdc9b376cc8)
where Δ is the forward difference operator. This satisfies the recurrence relation of a partial sum of the harmonic series, thus implying the formula

More generally, one has

Gaussian sum
The digamma has a Gaussian sum of the form

for integers
. Here, ζ(s,q) is the Hurwitz zeta function and
is a Bernoulli polynomial.
Gauss's digamma theorem
For integers m and k, the digamma may be expressed in terms of elementary functions as

Special values
The digamma function has the following special values:





See also
References