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
Thesaurus.com - The world's favorite online thesaurus!
The 5 Step De-escalation Process - Quality Career Pathways
Bleak Faith: Forsaken – im Test (PS5)
Greedfall Console Commands
Melfme
Volstate Portal
Aries Auhsd
Thotsbook Com
Alejos Hut Henderson Tx
2021 Lexus IS for sale - Richardson, TX - craigslist
Lake Nockamixon Fishing Report
Grab this ice cream maker while it's discounted in Walmart's sale | Digital Trends
Justified Official Series Trailer
G Switch Unblocked Tyrone
Webcentral Cuny
1989 Chevy Caprice For Sale Craigslist
Lisas Stamp Studio
Pearson Correlation Coefficient
Gazette Obituary Colorado Springs
Village
Talk To Me Showtimes Near Marcus Valley Grand Cinema
Slim Thug’s Wealth and Wellness: A Journey Beyond Music
Nesb Routing Number
Blackboard Login Pjc
What Sells at Flea Markets: 20 Profitable Items
Keshi with Mac Ayres and Starfall (Rescheduled from 11/1/2024) (POSTPONED) Tickets Thu, Nov 1, 2029 8:00 pm at Pechanga Arena - San Diego in San Diego, CA
Salemhex ticket show3
Craigslist Scottsdale Arizona Cars
Angel del Villar Net Worth | Wife
Tamilrockers Movies 2023 Download
What Time Does Walmart Auto Center Open
Seymour Johnson AFB | MilitaryINSTALLATIONS
Despacito Justin Bieber Lyrics
Personalised Handmade 50th, 60th, 70th, 80th Birthday Card, Sister, Mum, Friend | eBay
Sephora Planet Hollywood
Wal-Mart 2516 Directory
Babbychula
Jason Brewer Leaving Fox 25
Sound Of Freedom Showtimes Near Lewisburg Cinema 8
Owa Hilton Email
What to Do at The 2024 Charlotte International Arts Festival | Queen City Nerve
8776725837
Silicone Spray Advance Auto
Az Unblocked Games: Complete with ease | airSlate SignNow
412Doctors
Portal Pacjenta LUX MED
Crystal Glassware Ebay
Pickwick Electric Power Outage
O'reilly's On Marbach
Epower Raley's
Jasgotgass2
Generator für Fantasie-Ortsnamen: Finden Sie den perfekten Namen
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.