ArticleslgStudy

mathematics

Gamma function

Gamma function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gamma function rather than just read about it. In short: In mathematics, the gamma function, denoted by ⁠Γ⁠ (capital Greek letter gamma), is the most common extension of the factorial function to complex numbers. First studied by Daniel Bernoulli, the gamma function is defined for all complex numbers z except non-positive integers, and satisfies Γ(n)=(n−1)! for every positive integer ⁠n⁠.

Gamma function — main illustration
Gamma function — illustration

Key takeaways

  • Gamma function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gamma function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gamma function from memory before moving on to harder problems.

Reference excerpt

In mathematics, the gamma function, denoted by ⁠Γ⁠ (capital Greek letter gamma), is the most common extension of the factorial function to complex numbers. First studied by Daniel Bernoulli, the gamma function is defined for all complex numbers z except non-positive integers, and satisfies Γ(n)=(n−1)! for every positive integer ⁠n⁠. The gamma function can be defined via a convergent improper integral for complex numbers with positive real part: Γ(z)=∫0∞tz−1e−tdt, ℜ(z)>0. The gamma function then is defined in the complex plane as the analytic continuation of this integral function: it is a meromorphic function which is holomorphic except at zero and the negative integers, where it has simple poles. Since the gamma function has no zeros, its reciprocal 1/Γ is an entire function. In fact, the gamma function corresponds to the Mellin transform of exponential decay: Γ(z)=ℳ{e−x}(z). Other extensions of the factorial function do exist, but the gamma function is the most popular and useful. It appears as a factor in various probability-distribution functions and other formulas in the fields of probability, statistics, analytic number theory, and combinatorics.

Motivation

The gamma function can be seen as a solution to the interpolation problem of finding a smooth curve y=f(x) that connects the points of the factorial sequence: (x,y)=(n,n!) for all positive integer values of ⁠n⁠. The simple formula for the factorial, x!=1⋅2⋅3⋯x is only valid when x is a positive integer, and no elementary function has this property, but a good solution is the gamma function ⁠f(x)=Γ(x+1)⁠. The gamma function is not only smooth but analytic (except at the non-positive integers), and it can be defined in several explicit ways. However, it is not the only analytic function that extends the factorial, as one may add any analytic function that is zero on the positive integers, such as ksin⁡(mπx) for an integer ⁠m⁠. Such a function is known as a pseudogamma function, the most famous being the Hadamard function.

A more restrictive requirement is the functional equation that interpolates the shifted factorial ⁠f(n)=(n−1)!⁠: f(x+1)=xf(x) for all x>0,f(1)=1. But this still does not give a unique solution, since it allows for multiplication by any periodic function g(x) with g(x)=g(x+1) and ⁠g(0)=1⁠, such as ⁠g(x)=eksin⁡(mπx)⁠ for any integer ⁠m⁠. One way to resolve the ambiguity is the Bohr–Mollerup theorem, which shows that f(x)=Γ(x) is the unique interpolating function for the factorial, defined over the positive reals, which is logarithmically convex, meaning that y=log⁡f(x) is convex.

Definition

Main definition The notation Γ(z) is due to Legendre. If the real part of the complex number z is strictly positive (⁠ℜ(z)>0⁠), then the integral Γ(z)=∫0∞tz−1e−tdt converges absolutely, and is known as the Euler integral of the second kind. (Euler's integral of the first kind is the beta function.)

The relationship to the factorial can be shown by induction. The value Γ(1) can be calculated as Γ(1)=∫0∞t1−1e−tdt=∫0∞e−tdt=1. Integrating by parts, one sees that Γ(z+1)=∫0∞tze−tdt=[−tze−t]0∞+∫0∞ztz−1e−tdt. Recognizing that tze−t→0 when either ⁠t→0⁠ (if ⁠ℜ(z)>0⁠) or ⁠t→∞⁠, Γ(z+1)=z∫0∞tz−1e−tdt=zΓ(z). Thus we have shown that Γ(n)=(n−1)! for any positive integer n by induction. The identity zΓ(z)=Γ(z+1) can be used (or, yielding the same result, analytic continuation can be used) to uniquely extend the integral formulation for Γ(z) to a meromorphic function defined for all complex numbers ⁠z⁠, except integers less than or equal to zero. It is this extended version that is commonly referred to as the gamma function.

Alternative definitions There are many equivalent definitions.

Euler's definition as an infinite product For a fixed integer ⁠m⁠, as the integer n increases, we have that limn→∞n!(n+1)m(n+m)!=1. If m is not an integer then this equation is meaningless since, in this section, the factorial of a non-integer has not been defined yet. However, in order to define the Gamma function for non-integers, let us assume that this equation continues to hold when m is replaced by an arbitrary complex number ⁠z⁠: limn→∞n!(n+1)z(n+z)!=1. Multiplying both sides by (z−1)! gives (z−1)!=1zlimn→∞n!z!(n+z)!(n+1)z=1zlimn→∞(1⋅2⋯n)1(1+z)⋯(n+z)(21⋅32⋯n+1n)z=1z∏n=1∞[11+zn(1+1n)z]. This infinite product, which is due to Euler, converges for all complex numbers z except the non-positive integers, which fail because of a division by zero. In fact, the above assumption produces a unique definition of Γ(z) as ⁠(z−1)!⁠. Intuitively, this formula indicates that Γ(z) is approximately the result of computing Γ(n+1)=n! for some large integer ⁠n⁠, multiplying by (n+1)z to approximate ⁠Γ(n+z+1)⁠, and then using the relationship Γ(x+1)=xΓ(x) backwards n+1 times to get an approximation for ⁠Γ(z)⁠, and furthermore that this approximation becomes exact as n increases to infinity. The infinite product for the reciprocal 1Γ(z)=z∏n=1∞[(1+zn)/(1+1n)z] is an entire function, converging for every complex number ⁠z⁠.

Weierstrass's definition The definition for the gamma function due to Weierstrass is also valid for all complex numbers z except non-positive integers: Γ(z)=e−γzz∏n=1∞(1+zn)−1ez/n, where γ≈0.577216 is the Euler–Mascheroni constant. This is the Hadamard product of 1Γ(z) in a rewritten form.

Properties

General Besides the fundamental property discussed above, Γ(z+1)=z Γ(z). Other important functional equations for the gamma function are Euler's reflection formula, Γ(1−z)Γ(z)=πsin⁡πz,z∉ℤ, which implies Γ(z−n)=(−1)n−1Γ(−z)Γ(1+z)Γ(n+1−z),n∈ℤ and the Legendre duplication formula Γ(z)Γ(z+12)=21−2zπΓ(2z).

The duplication formula is a special case of the multiplication theorem (see Eq. 5.5.6): ∏k=0m−1Γ(z+km)=(2π)m−12m12−mzΓ(mz). A simple but useful property, which can be seen from the limit definition, is: Γ(z)‾=Γ(z‾)⇒Γ(z)Γ(z‾)∈ℝ. In particular, with ⁠z=a+bi⁠, this product is |Γ(a+bi)|2=|Γ(a)|2∏k=0∞11+b2(a+k)2 If the real part is an integer or a half-integer, this can be finitely expressed in closed form: |Γ(bi)|2=πbsinh⁡πb|Γ(12+bi)|2=πcosh⁡πb|Γ(1+bi)|2=πbsinh⁡πb|Γ(1+n+bi)|2=πbsinh⁡πb∏k=1n(k2+b2),n∈ℕ|Γ(−n+bi)|2=πbsinh⁡πb∏k=1n(k2+b2)−1,n∈ℕ|Γ(12±n+bi)|2=πcosh⁡πb∏k=1n((k−12)2+b2)±1,n∈ℕ

… excerpt ends here. Continue reading the full article.

Illustrations

Gamma function illustration
Gamma function: Γ(x+1) interpolates the factorial function to non-integer values.
Γ(x+1) interpolates the factorial function to non-integer values.
Gamma function: The gamma function, .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}Γ(z) in blue, plotted along with Γ(z) + sin(πz) in green. Notice the intersection at positive integers. Both are valid extensions of the factorials to a meromorphic function on the complex plane.
The gamma function, .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}Γ(z) in blue, plotted along with Γ(z) + sin(πz) in green. Notice the intersection at positive integers. Both are valid extensions of the factorials to a meromorphic function on the complex plane.
Gamma function: Absolute value (vertical) and argument (hue) of the gamma function on the complex plane
Absolute value (vertical) and argument (hue) of the gamma function on the complex plane
Gamma function: Hue showing the argument of the gamma function in the complex plane from −2 − 2i to 6 + 2i
Hue showing the argument of the gamma function in the complex plane from −2 − 2i to 6 + 2i

Worked examples

Example 1 — a first encounter with Gamma function

Start with the simplest possible case. Write down what Gamma function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gamma function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gamma function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gamma function

In research
Gamma function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gamma function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gamma function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Gamma and related functions, Meromorphic functions, Special hypergeometric functions, so understanding it makes those chapters shorter.
In everyday life
Look for Gamma function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gamma function” →

How to study Gamma function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gamma function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gamma function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gamma function in simple terms?

In mathematics, the gamma function, denoted by ⁠Γ⁠ (capital Greek letter gamma), is the most common extension of the factorial function to complex numbers. First studied by Daniel Bernoulli, the gamma function is defined for all complex numbers z except non-positive integers, and satisfies Γ(n)=(n−…

Why does Gamma function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gamma function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gamma function.

Tags

  • Gamma and related functions
  • Meromorphic functions
  • Special hypergeometric functions

Keep exploring