Lably
Skip to content

Gamma function

Extension of the factorial function

  • 26 min read
  • 7 chapters
  • 6 labs on Lably

Learn it on Lably

Since the gamma function has no zeros, its reciprocal 1/Γ is an entire function. In fact, the gamma function corresponds to the Mellin transform of exponential decay: Γ(z)=M{e−x}(z).

Other extensions of the factorial function do exist, but the gamma function is the most popular and useful. It appears as a factor in various probability-distribution functions and other formulas in the fields of probability, statistics, analytic number theory, and combinatorics.

Motivation

The gamma function can be seen as a solution to the interpolation problem of finding a smooth curve y=f(x) that connects the points of the factorial sequence: (x,y)=(n,n!) for all positive integer values of ⁠n⁠. The simple formula for the factorial, x!=1⋅2⋅3⋯x is only valid when x is a positive integer, and no elementary function has this property, but a good solution is the gamma function ⁠f(x)=Γ(x+1)⁠.

The gamma function is not only smooth but analytic (except at the non-positive integers), and it can be defined in several explicit ways. However, it is not the only analytic function that extends the factorial, as one may add any analytic function that is zero on the positive integers, such as ksin⁡(mπx) for an integer ⁠m⁠. Such a function is known as a pseudogamma function, the most famous being the Hadamard function.

A more restrictive requirement is the functional equation that interpolates the shifted factorial ⁠f(n)=(n−1)!⁠: f(x+1)=xf(x) for all x>0,f(1)=1.

But this still does not give a unique solution, since it allows for multiplication by any periodic function g(x) with g(x)=g(x+1) and ⁠g(0)=1⁠, such as ⁠g(x)=eksin⁡(mπx)⁠ for any integer⁠m⁠.

One way to resolve the ambiguity is the Bohr–Mollerup theorem, which shows that f(x)=Γ(x) is the unique interpolating function for the factorial, defined over the positive reals, which is logarithmically convex, meaning that y=log⁡f(x) is convex.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Basics