Login
gamma function
Introduction
The gamma function can be thought of as the natural way to generalize the concept of the factorial to non-integer arguments.
Leonhard Euler came up with a formula for such a generalization in 1729. At around the same time, James Stirling independently arrived at a different formula, but was unable to show that it always converged. In 1900, Charles Hermite showed that the formula given by Stirling does work, and that it defines the same function as Euler's.
Definitions
Euler's original formula for the gamma function was$$ \Gamma(z) = \lim_{n\to\infty}\frac{n^z n!}{\prod_{k=0}^n(z+k)}.$$ However, it is now more commonly defined by$$ \Gamma(z) = \int_0^\infty \! e^{-t} t^{z-1} \, dt$$ for $z\in\C$ with $\Re(z)>0$ , and by analytic continuation for the rest of the complex plane, except for the non-positive integers (where it has simple poles).
Another equivalent definition is$$ \Gamma(z) = \frac{e^{-\gamma z}}{z} \prod_{n=1}^\infty \left(1 + \frac{z}{n}\right)^{-1} e^{z/n},$$ where $\gamma$ is Euler's constant.
Functional equations
The gamma function satisfies the functional equation$$ \Gamma(z+1) = z \Gamma(z)$$ except when $z$ is a non-positive integer. As $\Gamma(1)=1$ , it follows by induction that$$ \Gamma(n) = (n-1)!$$ for positive integer values of $n$ .
Another functional equation satisfied by the gamma function is$$ \Gamma(z) \Gamma(1-z) = \frac{\pi}{\sin \pi z}$$ for non-integer values of $z$ .
Approximate values
The gamma function for real $z$ looks like this:
![]() |
| (generated by GNU Octave and gnuplot) |
It can be shown that $\Gamma(1/2)=\sqrt{\pi}$ . Approximate values of $\Gamma(x)$ for some other $x\in(0,1)$ are:

If the value of $\Gamma(x)$ is known for some $x\in(0,1)$ , then one may calculate the value of $\Gamma(n+x)$ for any integer $n$ by making use of the formula $\Gamma(z+1)=z\Gamma(z)$ . We have \begin{eqnarray*} \Gamma(n+x) & = & (n+x-1)\Gamma(n+x-1) \\ & = & (n+x-1)(n+x-2)\Gamma(n+x-2) \\ & \vdots & \\ & = & (n+x-1)(n+x-2)\cdots(x)\Gamma(x) \end{eqnarray*}which is easy to calculate if we know $\Gamma(x)$ .
Bibliography
- 1
- Julian Havil, Gamma: Exploring Euler's Constant, Princeton University Press, 2003. (Chapter 6 is about the gamma function.)

![\includegraphics[scale=1]{gammafunc.eps}](http://images.planetmath.org/cache/objects/955/js/img1.png)