Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Polygamma and digamma functions (polygamma)

Polygamma function: the n-th derivative of the digamma function.

How to write it

polygamma(n, z)

n
The order. Takes a whole number.
z
A number. Takes an expression.

polygamma(z)

The digamma function, the derivative of log_gamma: polygamma of order 0.

z
A number. Takes an expression.

Examples

  • ψ(1)(1)=π26\displaystyle \psi^{(1)}(1) = \frac{\pi^{2}}{6}
    polygamma(1, 1)

    In the solver, polygamma(1, 1) gives pi^2/6.

    Open in the solver
  • ψ(1)=−γ\displaystyle \psi(1) = -\gamma
    polygamma(1)

    In the solver, polygamma(1) gives -euler_gamma.

    Open in the solver