Previous Up Next

5.8.13 The Γ function: Gamma

The Gamma function is defined by

Γ(x)=
+∞


0
ettx−1dt,  if  x>0

If x is a positive integer, Γ is computed by applying the recurrence:

Γ(x+1)=x*Γ(x),   Γ(1)=1

Hence:

Γ(n+1)=n!

and the Gamma function is used to generalize the factorial (see Section ‍5.6.1).

The Gamma command computes the Gamma function.

Examples.


Previous Up Next