Gamma function | Definition, properties, proofs (2024)

by Marco Taboga, PhD

The Gamma function is a generalization of the factorial function to non-integer numbers.

It is often used in probability and statistics, as it shows up in the normalizing constants of important probability distributions such as the Chi-square and the Gamma.

In this lecture we define the Gamma function, we present and prove some of its properties, and we discuss how to calculate its values.

Gamma function | Definition, properties, proofs (1)

Table of contents

  1. Introduction and motivation

  2. Definition

  3. How to compute the values of the function

  4. Properties and caveats

  5. Recursive formula

  6. Relation to the factorial function

  7. Some known values

  8. Lower and upper incomplete Gamma functions

  9. Solved exercises

    1. Exercise 1

    2. Exercise 2

    3. Exercise 3

  10. References

Introduction and motivation

Recall that, if Gamma function | Definition, properties, proofs (2), its factorial Gamma function | Definition, properties, proofs (3) isGamma function | Definition, properties, proofs (4)so that Gamma function | Definition, properties, proofs (5) satisfies the following recursion:Gamma function | Definition, properties, proofs (6)

The Gamma function Gamma function | Definition, properties, proofs (7) satisfies a similar recursion:Gamma function | Definition, properties, proofs (8)but it is defined also when Gamma function | Definition, properties, proofs (9) is not an integer.

Definition

The following is a possible definition of the Gamma function.

Definition The Gamma function Gamma function | Definition, properties, proofs (10) is a function Gamma function | Definition, properties, proofs (11) satisfying the following equation:Gamma function | Definition, properties, proofs (12)

The domain of definition of the Gamma function can be extended beyond the set Gamma function | Definition, properties, proofs (13) of strictly positive real numbers (for example to complex numbers).

However, the somewhat restrictive definition given above is sufficient to address the great majority of statistics problems that involve the Gamma function.

How to compute the values of the function

We will show below some special cases in which the value of the Gamma function can be derived analytically.

However, in general, it is not possible to express Gamma function | Definition, properties, proofs (14) in terms of elementary functions for every Gamma function | Definition, properties, proofs (15).

As a consequence, one often needs to resort to numerical algorithms to compute Gamma function | Definition, properties, proofs (16).

We include here a calculator that implements one of these algorithms and we refer the reader to Abramowitz and Stegun (1965) for a thorough discussion of the main methods to compute numerical approximations of Gamma function | Definition, properties, proofs (17).

Plot of the gamma function with interactive calculator

Properties and caveats

If you play with the calculator, you will notice several properties of the Gamma function:

  • it tends to infinity as Gamma function | Definition, properties, proofs (18) approaches Gamma function | Definition, properties, proofs (19);

  • it quickly tends to infinity as Gamma function | Definition, properties, proofs (20) increases;

  • for large values of Gamma function | Definition, properties, proofs (21), Gamma function | Definition, properties, proofs (22) is so large that an overflow occurs: the true value of Gamma function | Definition, properties, proofs (23) is replaced by infinity; however, we are still able to correctly store the natural logarithm of Gamma function | Definition, properties, proofs (24) in the computer memory.

The last point has great practical relevance. When we manipulate quantities that depend on a value taken by the Gamma function, we should always work with logarithms.

Recursive formula

Given the above definition, it is straightforward to prove that the Gamma function satisfies the following recursion: Gamma function | Definition, properties, proofs (25)

Proof

The recursion can be derived by using integration by parts:Gamma function | Definition, properties, proofs (26)

Relation to the factorial function

When the argument of the Gamma function is a natural number Gamma function | Definition, properties, proofs (27) then its value is equal to the factorial of Gamma function | Definition, properties, proofs (28):Gamma function | Definition, properties, proofs (29)

Proof

First of all, we have thatGamma function | Definition, properties, proofs (30)

Using the recursion Gamma function | Definition, properties, proofs (31), we obtainGamma function | Definition, properties, proofs (32)

Some known values

A well-known formula, which is often used in probability theory and statistics, is the following:Gamma function | Definition, properties, proofs (33)

Proof

By using the definition and performing a change of variable, we obtainGamma function | Definition, properties, proofs (34)

By using this fact and the recursion formula previously shown, it is immediate to prove thatGamma function | Definition, properties, proofs (35)for Gamma function | Definition, properties, proofs (36).

Proof

The result is obtained by iterating the recursion formula:Gamma function | Definition, properties, proofs (37)

Lower and upper incomplete Gamma functions

The definition of the Gamma functionGamma function | Definition, properties, proofs (38)can be generalized in two ways:

  1. by substituting the upper bound of integration (Gamma function | Definition, properties, proofs (39)) with a variable (Gamma function | Definition, properties, proofs (40)):Gamma function | Definition, properties, proofs (41)

  2. by substituting the lower bound of integration with a variable:Gamma function | Definition, properties, proofs (42)

The functions Gamma function | Definition, properties, proofs (43) and Gamma function | Definition, properties, proofs (44) thus obtained are called lower and upper incomplete Gamma functions.

Clearly, they have the property thatGamma function | Definition, properties, proofs (45)for any Gamma function | Definition, properties, proofs (46), which is equivalent toGamma function | Definition, properties, proofs (47)

The two ratiosGamma function | Definition, properties, proofs (48)andGamma function | Definition, properties, proofs (49)are often called standardized incomplete Gamma functions.

They are numerically more stable and easier to deal with because they take values between Gamma function | Definition, properties, proofs (50) and Gamma function | Definition, properties, proofs (51), while the values taken by the two functions Gamma function | Definition, properties, proofs (52) and Gamma function | Definition, properties, proofs (53) can easily overflow.

The lower incomplete function is particularly important in statistics, as it appears in the distribution function of the Chi-square and Gamma distributions.

Interactive calculator for lower and upper incomplete Gamma functions

Solved exercises

Below you can find some exercises with explained solutions.

Exercise 1

Compute the following ratio:Gamma function | Definition, properties, proofs (54)

Solution

We need to repeatedly apply the recursive formulaGamma function | Definition, properties, proofs (55)to the numerator of the ratio:Gamma function | Definition, properties, proofs (56)

Exercise 2

ComputeGamma function | Definition, properties, proofs (57)

Solution

We need to use the relation of the Gamma function to the factorial function: Gamma function | Definition, properties, proofs (58)which, for Gamma function | Definition, properties, proofs (59), becomesGamma function | Definition, properties, proofs (60)

Exercise 3

Express the following integral in terms of the Gamma function:Gamma function | Definition, properties, proofs (61)

Solution

This is accomplished as follows:Gamma function | Definition, properties, proofs (62)where in the last step we have just used the definition of Gamma function.

References

Abramowitz, M. and I. A. Stegun (1965) Handbook of mathematical functions: with formulas, graphs, and mathematical tables, Courier Dover Publications.

How to cite

Please cite as:

Taboga, Marco (2021). "Gamma function", Lectures on probability theory and mathematical statistics. Kindle Direct Publishing. Online appendix. https://www.statlect.com/mathematical-tools/gamma-function.

Gamma function | Definition, properties, proofs (2024)
Top Articles
How to mine 1 Monero per day — Steemit
What You Should Know If You're Considering an Accounting Degree
How To Fix Epson Printer Error Code 0x9e
Asist Liberty
Terrorist Usually Avoid Tourist Locations
El Paso Pet Craigslist
Paris 2024: Kellie Harrington has 'no more mountains' as double Olympic champion retires
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
Kobold Beast Tribe Guide and Rewards
The Potter Enterprise from Coudersport, Pennsylvania
Aiken County government, school officials promote penny tax in North Augusta
Waive Upgrade Fee
Carter Joseph Hopf
2013 Chevy Cruze Coolant Hose Diagram
Urban Dictionary Fov
1Win - инновационное онлайн-казино и букмекерская контора
Craigslist Pets Sac
2021 Lexus IS for sale - Richardson, TX - craigslist
Craiglist Galveston
Magic Mike's Last Dance Showtimes Near Marcus Cedar Creek Cinema
Dr Adj Redist Cadv Prin Amex Charge
Soccer Zone Discount Code
Vipleaguenba
MyCase Pricing | Start Your 10-Day Free Trial Today
2487872771
What Individuals Need to Know When Raising Money for a Charitable Cause
Kohls Lufkin Tx
Soul Eater Resonance Wavelength Tier List
Preggophili
O'reilly's In Monroe Georgia
Lcsc Skyward
Paradise Point Animal Hospital With Veterinarians On-The-Go
Srjc.book Store
Revelry Room Seattle
Amazing Lash Bay Colony
Isablove
FREE Houses! All You Have to Do Is Move Them. - CIRCA Old Houses
Ket2 Schedule
Bismarck Mandan Mugshots
Gets Less Antsy Crossword Clue
8 Ball Pool Unblocked Cool Math Games
Gt500 Forums
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Directions To Cvs Pharmacy
8776725837
Poe Self Chill
Strange World Showtimes Near Century Stadium 25 And Xd
Csgold Uva
3367164101
Kushfly Promo Code
Bbwcumdreams
Latest Posts
Article information

Author: Fredrick Kertzmann

Last Updated:

Views: 6483

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Fredrick Kertzmann

Birthday: 2000-04-29

Address: Apt. 203 613 Huels Gateway, Ralphtown, LA 40204

Phone: +2135150832870

Job: Regional Design Producer

Hobby: Nordic skating, Lacemaking, Mountain biking, Rowing, Gardening, Water sports, role-playing games

Introduction: My name is Fredrick Kertzmann, I am a gleaming, encouraging, inexpensive, thankful, tender, quaint, precious person who loves writing and wants to share my knowledge and understanding with you.