Gamma Function — Definition, Formula & Examples
The Gamma function is a continuous extension of the factorial to real and complex numbers, so that for every positive integer , . It is defined by an improper integral that converges for all positive real numbers and can be analytically continued to most of the complex plane.
For , the Gamma function is defined by the convergent improper integral . It satisfies the functional equation and has simple poles at with no zeros.
Key Formula
Where:
- = A complex number with positive real part (or any complex number except 0 and negative integers, via analytic continuation)
- = The integration variable, ranging from 0 to infinity
How It Works
The Gamma function lets you compute "factorials" of non-integer values. To evaluate for a positive real number , you set up the integral and evaluate it, often using the recursive property to reduce to a known value. For positive integers this reproduces the factorial: . A famous special value is , which connects the function to Gaussian integrals and probability distributions.
Worked Example
Problem: Compute .
Step 1: Apply the functional equation repeatedly to reduce the argument toward a known value.
Step 2: Continue reducing.
Step 3: Use the known value and multiply everything together.
Answer:
Another Example
Problem: Show that using the integral definition.
Step 1: Write the defining integral with .
Step 2: Apply repeated integration by parts (or use the known general result for integer arguments).
Step 3: Alternatively, use the functional equation three times from .
Answer: , confirming for positive integers.
Visualization
Why It Matters
The Gamma function appears throughout advanced calculus, probability, and physics. In statistics, the Gamma and Beta distributions are defined directly in terms of , and the normalization constant of the Gaussian distribution involves . Courses in complex analysis, mathematical physics, and combinatorics all rely on its properties.
Common Mistakes
Mistake: Writing instead of .
Correction: The argument is shifted by one. For example, , not . Always remember .
Mistake: Trying to evaluate or as a finite number.
Correction: The Gamma function has poles (is undefined) at . The functional equation shows division by zero at these points.
