Polygamma function explained

C

defined as the th derivative of the logarithm of the gamma function:

\psi(m)(z):=

dm
dzm

\psi(z)=

dm+1
dzm+1

ln\Gamma(z).

Thus

\psi(0)(z)=\psi(z)=

\Gamma'(z)
\Gamma(z)

holds where is the digamma function and is the gamma function. They are holomorphic on

C\backslashZ\le0

. At all the nonpositive integers these polygamma functions have a pole of order . The function is sometimes called the trigamma function.

Integral representation

When and, the polygamma function equals

\begin{align} \psi(m)(z) &=(-1)m+1

infty
\int
0
tme-zt
1-e-t

dt\\ &=

1
-\int
0
tz-1
1-t

(lnt)mdt\\ &=(-1)m+1m!\zeta(m+1,z) \end{align}

where

\zeta(s,q)

is the Hurwitz zeta function.

This expresses the polygamma function as the Laplace transform of . It follows from Bernstein's theorem on monotone functions that, for and real and non-negative, is a completely monotone function.

Setting in the above formula does not give an integral representation of the digamma function. The digamma function has an integral representation, due to Gauss, which is similar to the case above but which has an extra term .

Recurrence relation

It satisfies the recurrence relation

\psi(m)(z+1)=\psi(m)(z)+

(-1)mm!
zm+1

which – considered for positive integer argument – leads to a presentation of the sum of reciprocals of the powers of the natural numbers:

\psi(m)(n)
(-1)m+1m!

=\zeta(1+m)-

n-1
\sum
k=1
1
km+1

=

infty
\sum
k=n
1
km+1

   m\ge1

and

\psi(0)(n)=-\gamma +

n-1
\sum
k=1
1
k

for all

n\inN

, where

\gamma

is the Euler–Mascheroni constant. Like the log-gamma function, the polygamma functions can be generalized from the domain uniquely to positive real numbers only due to their recurrence relation and one given function-value, say, except in the case where the additional condition of strict monotonicity on

R+

is still needed. This is a trivial consequence of the Bohr–Mollerup theorem for the gamma function where strictly logarithmic convexity on

R+

is demanded additionally. The case must be treated differently because is not normalizable at infinity (the sum of the reciprocals doesn't converge).

Reflection relation

(-1)m\psi(m)(1-z)-\psi(m)(z)=\pi

dm
dzm

\cot{\piz}=\pim+1

Pm(\cos{\piz
)}{\sin

m+1(\piz)}

where is alternately an odd or even polynomial of degree with integer coefficients and leading coefficient . They obey the recursion equation

\begin{align}P0(x)&=x\Pm+1(x)&=-\left(

2\right)P'
(m+1)xP
m(x)\right).\end{align}

Multiplication theorem

The multiplication theorem gives

km+1\psi(m)(kz)=

k-1
\sum
n=0

\psi(m)\left(z+

n
k

\right)    m\ge1

and

k\psi(0)(kz)=kln{k}+

k-1
\sum
n=0

\psi(0)\left(z+

n
k

\right)

for the digamma function.

Series representation

The polygamma function has the series representation

\psi(m)(z)=(-1)m+1m!

infty
\sum
k=0
1
(z+k)m+1

which holds for integer values of and any complex not equal to a negative integer. This representation can be written more compactly in terms of the Hurwitz zeta function as

\psi(m)(z)=(-1)m+1m!\zeta(m+1,z).

This relation can for example be used to compute the special values[1]

\psi(2n-1)\left(

14\right)
=
42n-1
2n

\left(\pi2n(22n-1)|B2n|+2(2n)!\beta(2n)\right);

\psi(2n-1)\left(

34\right)
=
42n-1
2n

\left(\pi2n(22n-1)|B2n|-2(2n)!\beta(2n)\right);

\psi(2n)\left(

14\right)
=

-22n-1\left(\pi2n+1|E2n|+2(2n)!(22n+1-1)\zeta(2n+1)\right);

\psi(2n)\left(

34\right)
=

22n-1\left(\pi2n+1|E2n|-2(2n)!(22n+1-1)\zeta(2n+1)\right).

Alternately, the Hurwitz zeta can be understood to generalize the polygamma to arbitrary, non-integer order.

One more series may be permitted for the polygamma functions. As given by Schlömilch,

1
\Gamma(z)

=ze\gamma

infty
\prod
n=1

\left(1+

z
n

\right)

-z
n
e

.

This is a result of the Weierstrass factorization theorem. Thus, the gamma function may now be defined as:

\Gamma(z)=

e-\gamma
z
infty
\prod
n=1

\left(1+

z
n

\right)-1

z
n
e

.

Now, the natural logarithm of the gamma function is easily representable:

ln\Gamma(z)=-\gammaz-ln(z)+

infty
\sum
k=1

\left(

z
k

-ln\left(1+

z
k

\right)\right).

Finally, we arrive at a summation representation for the polygamma function:

\psi(n)(z)=

dn+1
dzn+1

ln\Gamma(z)=-\gamma\deltan0-

(-1)nn!
zn+1

+

infty
\sum\left(
k=1
1
k

\deltan0-

(-1)nn!
(k+z)n+1

\right)

Where is the Kronecker delta.

\Phi(-1,m+1,z)=

infty
\sum
k=0
(-1)k
(z+k)m+1

can be denoted in terms of polygamma function

\Phi(-1,m+1,z)=

1{(-2)
m+1

m!}\left(\psi(m)\left(

z
2

\right)-\psi(m)\left(

z+1
2

\right)\right)

Taylor series

The Taylor series at is

\psi(m)(z+1)=

infty
\sum
k=0

(-1)m+k+1

(m+k)!
k!

\zeta(m+k+1)zk    m\ge1

and

\psi(0)(z+1)=-\gamma

infty
+\sum
k=1

(-1)k+1\zeta(k+1)zk

which converges for . Here, is the Riemann zeta function. This series is easily derived from the corresponding Taylor series for the Hurwitz zeta function. This series may be used to derive a number of rational zeta series.

Asymptotic expansion

These non-converging series can be used to get quickly an approximation value with a certain numeric at-least-precision for large arguments:[2]

\psi(m)(z)\sim(-1)m+1

infty
\sum
k=0
(k+m-1)!
k!
Bk
zk+m

   m\ge1

and

\psi(0)(z)\simln(z)-

infty
\sum
k=1
Bk
kzk

where we have chosen, i.e. the Bernoulli numbers of the second kind.

Inequalities

The hyperbolic cotangent satisfies the inequality

t\operatorname{coth}
2
t
2

\ge1,

and this implies that the function
tm
1-e-t

-\left(tm-1+

tm
2

\right)

is non-negative for all and . It follows that the Laplace transform of this function is completely monotone. By the integral representation above, we conclude that

(-1)m+1\psi(m)(x)-\left(

(m-1)!
xm

+

m!
2xm+1

\right)

is completely monotone. The convexity inequality implies that

\left(tm-1+tm\right)-

tm
1-e-t
is non-negative for all and, so a similar Laplace transformation argument yields the complete monotonicity of
\left((m-1)!
xm

+

m!
xm+1

\right)-(-1)m+1\psi(m)(x).

Therefore, for all and,
(m-1)!
xm

+

m!
2xm+1

\le(-1)m+1\psi(m)(x)\le

(m-1)!
xm

+

m!
xm+1

.

Since both bounds are strictly positive for

x>0

, we have:

ln\Gamma(x)

is strictly convex.

m=0

, the digamma function,

\psi(x)=\psi(0)(x)

, is strictly monotonic increasing and strictly concave.

m

odd, the polygamma functions,

\psi(1),\psi(3),\psi(5),\ldots

, are strictly positive, strictly monotonic decreasing and strictly convex.

m

even the polygamma functions,

\psi(2),\psi(4),\psi(6),\ldots

, are strictly negative, strictly monotonic increasing and strictly concave. This can be seen in the first plot above.

Trigamma bounds and asymptote

For the case of the trigamma function (

m=1

) the final inequality formula above for

x>0

, can be rewritten as:
x+12
x2

\le\psi(1)(x)\le

x+1
x2

so that for

x\gg1

:

\psi(1)(x)

1x
.

See also

References

Notes and References

  1. K. S. . Kölbig. 1996. J. Comput. Appl. Math.. 75. 1. 43–46. The polygamma function psi^k(x) for x=1/4 and x=3/4. 10.1016/S0377-0427(96)00055-6. free.
  2. J.. Blümlein. Comp. Phys. Comm.. 2009. 180. 2218–2249. 10.1016/j.cpc.2009.07.004. Structural relations of harmonic sums and Mellin transforms up to weight w=5. 11 . 0901.3106. 2009CoPhC.180.2218B .