\digamma

The digamma function, denoted as \( \digamma \), is a special function in mathematics that is the logarithmic derivative of the gamma function. It is often used in various fields such as number theory, combinatorics, and statistics.

Examples

Definition of the digamma function as the derivative of the logarithm of the gamma function.

\digamma(x) = \frac{d}{dx} \ln(\Gamma(x))

The value of the digamma function at 1 is equal to the negative of the Euler-Mascheroni constant.

\digamma(1) = -\gamma

Recurrence relation for the digamma function.

\digamma(n+1) = \digamma(n) + \frac{1}{n}