Psi - the Digamma and Polygamma functions
|
Calling Sequence
|
|
Psi(x)
|
|
Psi(n,x)
|
|
|
|
|
|
Parameters
|
|
x
|
-
|
expression
|
n
|
-
|
expression
|
|
|
|
|
Description
|
|
•
|
Psi(x) is the digamma function,
|
•
|
Psi(n, x) is the nth polygamma function, which is the nth derivative of the digamma function.
|
•
|
You can enter the command Psi using either the 1-D or 2-D calling sequence.
|
•
|
If n is an integer greater than one, Psi(n) + gamma is a rational number. (gamma is Euler's constant.) For small values of n, Psi(n) computes as a sum of gamma and a rational number. To perform this computation for larger values of n, use expand.
|
•
|
Psi(n, x) is extended to complex n, including negative integer indices, by the formula
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
Evaluating Psi(51) directly is faster than expanding and then evaluating.
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
References
|
|
|
Espinosa, O., and Moll, V. "A Generalized Polygamma Function." Integral Transforms and Special Functions, (April 2004): 101-115.
|
|
|
Download Help Document
Was this information helpful?