|
|
|
|
Gamma function
|
| |
|
| |
In mathematics, the Gamma function (represented by the capitalized Greek letter Γ) is an extension of the factorial function to real and complex numbers. For a complex number z with positive real part the Gamma function is defined by
This definition can be extended to the rest of the complex plane, excepting the non-positive integers.
If n is a positive integer, then
showing the connection to the factorial function.

Discussion
Ask a question about 'Gamma function'
Start a new discussion about 'Gamma function'
Answer questions from other users
|
Encyclopedia
In mathematics, the Gamma function (represented by the capitalized Greek letter Γ) is an extension of the factorial function to real and complex numbers. For a complex number z with positive real part the Gamma function is defined by
This definition can be extended to the rest of the complex plane, excepting the non-positive integers.
If n is a positive integer, then
showing the connection to the factorial function. The Gamma function generalizes the factorial function for non-integer and complex values of n.
The Gamma function is a component in various probability-distribution functions, and as such it is applicable in the fields of probability and statistics, as well as combinatorics.
Definition
Main definition The notation G(z) is due to Adrien-Marie Legendre. If the real part of the complex number z is positive (Re[z] > 0), then the integral
converges absolutely. Using integration by parts, one can show that
This functional equation generalizes the relation n! = n×(n-1)! of the factorial function. We can evaluate G(1) analytically:
Combining these two relations shows how the factorial function is a special case of the Gamma function:
for all natural numbers n.
The identity (1) can also be used to extend G(z), by analytic continuation, to a meromorphic function defined for all complex numbers z except 0 and the negative integers (it can be calculated that z = -n is a simple pole with residue (-1)n/n!). It is this extended version that is commonly referred to as the Gamma function.
Alternative definitions
The following infinite product definitions for the Gamma function, due to Euler and Weierstrass respectively, are valid for all complex numbers z, except negative integers:
where γ is the Euler–Mascheroni constant.
It is straightforward to show that the Euler definition satisfies the functional equation (1) above, as follows. Provided z is not equal to 0, -1, -2, ...
In a different way it can be shown that...
Derivation of relationship with factorials using integration by parts
Finding is easy:
Next, we derive an expression for as a function of :
We use integration by parts to solve this integral
We can see that .
At infinity, we have, by L'Hôpital's rule,
. (We have basically differentiated the top and bottom n times.)
So the first term, , evaluates to zero, which leaves
The right hand side of this equation is exactly n. We have obtained a recurrence relation:
.
Using this formula we derive a pattern:
The last line is really enough, as we have then proved the result by induction (The base step of the argument is easy to see, given the fact that ). This is a more rigorous way of looking at it than trying to derive a pattern.
Properties
General
Other important functional equations for the Gamma function are Euler's reflection formula
and the duplication formula
The duplication formula is a special case of the multiplication theorem
A basic but useful property, which can be seen from the limit definition, is:
Perhaps the most well-known value of the Gamma function at a non-integer argument is
which can be found by setting z = 1/2 in the reflection or duplication formulas, by using the relation to the Beta function given below with x = y = 1/2, or simply by making the substitution in the integral definition of the Gamma function, resulting in a Gaussian integral. In general, for odd integer values of n we have:
(n odd)
where n!! denotes the double factorial.
The derivatives of the Gamma function are described in terms of the polygamma function. For example:
For positive integer m the derivative of Gamma function can be calculated as follows (here is the Euler–Mascheroni constant):
The -th derivative of the Gamma function is:
This can be derived by differentiating the integral form of the Gamma function with respect to , and using the technique of
differentiation under the integral sign.
The Gamma function has a pole of order 1 at z = -n for every natural number and zero n (z = 0, −1, −2, −3, ...); the residue there is given by
The Bohr–Mollerup theorem states that among all functions extending the factorial functions to the positive real numbers, only the Gamma function is log-convex, that is, its natural logarithm is convex.
because:
-
And with integration by parts:
-
Pi function
An alternative notation which was originally introduced by Gauss and which is sometimes used is the Pi function, which in terms of the Gamma function is
so that
Using the Pi function the reflection formula takes on the form
where sinc is the normalized sinc function, while the multiplication theorem takes on the form
We also sometimes find
which is an entire function, defined for every complex number. That p(z) is entire entails it has no poles, so G(z) has no zeros.
Relation to other functions
- In the first integral above, which defines the Gamma function, the limits of integration are fixed. The upper and lower incomplete Gamma functions are the functions obtained by allowing the lower or upper (respectively) limit of integration to vary.
- The Gamma function is related to the Beta function by the formula
- And also in the following elegant formula:
Which is only valid for Re(z) > 1.
Particular values
Main article: Particular values of the Gamma function
Approximations
Complex values of the Gamma function can be computed numerically with arbitrary precision using Stirling's approximation or the Lanczos approximation.
For arguments that are integer multiples of 1/24 the Gamma function can also be evaluated quickly using arithmetic-geometric mean iterations (see particular values of the Gamma function).
Because the Gamma and factorial functions grow so rapidly for moderately-large arguments, many computing environments include a function that returns the natural logarithm of the Gamma function (often given the name lngamma); this grows much more slowly, and for combinatorial calculations allows adding and subtracting logs instead of multiplying and dividing very large values. The digamma function, which is the derivative of this function, is also commonly seen.
See also
External links
Web sites
- - C and C++ language special functions math library
- Examples of problems involving the Gamma function can be found at .
-
-
- at MathPages
- - various algorithms
-
Further reading
- Milton Abramowitz and Irene A. Stegun, eds. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. New York: Dover, 1972.
- G. Arfken and H. Weber. Mathematical Methods for Physicists. Harcourt/Academic Press, 2000. (See Chapter 10.)
- Harry Hochstadt. The Functions of Mathematical Physics. New York: Dover, 1986 (See Chapter 3.)
- W.H. Press, B.P. Flannery, S.A. Teukolsky, and W.T. Vetterling. Numerical Recipes in C. Cambridge, UK: Cambridge University Press, 1988. (See Section 6.1.)
|
| |
|
|