Skip to content
Oakfield Operator Calculus Function Reference Site

Digamma Function

For zC{0,1,2,}z \in \mathbb{C} \setminus \{0,-1,-2,\dots\}, the digamma function is defined as the logarithmic derivative of the Gamma function:

ψ(z)=Γ(z)Γ(z)=ddzlogΓ(z)\psi(z) = \frac{\Gamma'(z)}{\Gamma(z)} = \frac{d}{dz}\log \Gamma(z)

It provides a natural analytic continuation of harmonic-number–type growth to the complex plane.


The poles of ψ(z)\psi(z) occur at the same locations as those of Γ(z)\Gamma(z), namely z=0,1,2,z = 0, -1, -2, \dots

Each pole is simple, with constant residue:

Res(ψ(z),z=n)=1,n=0,1,2,\operatorname{Res}\bigl(\psi(z), z = -n\bigr) = -1, \qquad n = 0, 1, 2, \dots

Locally, near a pole z=nz = -n, the function behaves as

ψ(z)=1z+n+O(1)\psi(z) = -\frac{1}{z+n} + \mathcal{O}(1)

The digamma function satisfies a fundamental shift identity inherited from the functional equation of Γ\Gamma:

ψ(z+1)=ψ(z)+1z\psi(z+1) = \psi(z) + \frac{1}{z}

This relation allows values at large arguments to be reduced recursively to a fundamental domain.


The reflection formula relates values across the line z=12\Re z = \tfrac12:

ψ(1z)ψ(z)=πcot(πz)\psi(1 - z) - \psi(z) = \pi \cot(\pi z)

This identity is particularly useful for analytic continuation into the left half-plane and exposes the intimate connection between ψ\psi and trigonometric functions.


For z{0,1,2,}z \notin \{0,-1,-2,\dots\}, the digamma function admits the convergent series representation

ψ(z)=γ+n=0(1n+11n+z)\psi(z) = -\gamma + \sum_{n=0}^{\infty} \left( \frac{1}{n+1} - \frac{1}{n+z} \right)

where γ\gamma is the Euler–Mascheroni constant.

This form makes explicit the role of ψ\psi as a regularized harmonic sum.


As z|z| \to \infty with argz<π|\arg z| < \pi, the digamma function admits the asymptotic expansion

ψ(z)=lnz12z112z2+1120z41252z6+O ⁣(z8)\psi(z) = \ln z - \frac{1}{2z} - \frac{1}{12 z^2} + \frac{1}{120 z^4} - \frac{1}{252 z^6} + \mathcal{O}\!\left(z^{-8}\right)

More generally,

ψ(z)lnz12zn=1B2n2nz2n,\psi(z) \sim \ln z - \frac{1}{2z} - \sum_{n=1}^{\infty} \frac{B_{2n}}{2n\, z^{2n}},

where B2nB_{2n} are Bernoulli numbers. The logarithmic term captures the dominant growth, while the inverse powers encode curvature corrections.


The digamma function has a unique real zero on the positive real axis:

x01.4616321449683623x_0 \approx 1.4616321449683623\ldots

In addition, ψ(z)\psi(z) has infinitely many complex zeros in the left half-plane. These occur in complex-conjugate pairs, cluster near the negative real axis, and asymptotically approach the poles as their imaginary parts increase.


At selected arguments, the digamma function simplifies to closed-form expressions or well-known constants:

zzψ(z)\psi(z) (exact)Approximate value
11γ-\gamma0.5772156649-0.5772156649
221γ1 - \gamma0.42278433510.4227843351
3332γ\tfrac{3}{2} - \gamma0.92278433510.9227843351
12\tfrac{1}{2}γ2ln2-\gamma - 2\ln 21.9635100260-1.9635100260
32\tfrac{3}{2}2γ2ln22 - \gamma - 2\ln 20.03648997400.0364899740
nNn \in \mathbb{N}Hn1γH_{n-1} - \gamma



  1. 📜 Early Foundations (9th-16th Centuries)

    The mathematical foundations underlying the digamma function trace back to work on infinite series and logarithms developed across multiple cultures. Islamic mathematicians including Al-Karaji (c. 953–1029) and Ibn al-Haytham (965–1040) developed sophisticated techniques for summing series and understanding power series expansions.

    The Kerala School of mathematics in India, particularly Madhava of Sangamagrama (c. 1340–1425), derived infinite series expansions for trigonometric and logarithmic functions centuries before their “discovery” in Europe, work later extended by Nilakantha Somayaji (1444–1544).

  2. 🔬 European Formalization (18th century)

    Building on these global mathematical traditions, Leonhard Euler (1729) gave the first systematic European treatment of the digamma function in his work on the gamma function and harmonic series. Euler’s formalization drew on the cumulative knowledge of series manipulation and logarithmic derivatives that had developed across continents.

    The notation ψ\psi for the digamma function was later introduced by Carl Friedrich Gauss in the early 19th century.

  3. 🌍 Modern Recognition

    Contemporary mathematics increasingly acknowledges that special functions emerged from a global collaborative effort spanning centuries and cultures. The digamma function represents the synthesis of ideas about infinite series, logarithms, and analytic continuation developed independently and interdependently across Islamic, Indian, Chinese, and European mathematical traditions.


  • NIST Digital Library of Mathematical Functions (DLMF), §5.15
  • Abramowitz & Stegun, Handbook of Mathematical Functions
  • Euler, Institutiones Calculi Differentialis (1755)