Gamma Function
Gamma Function
Notice that:
Z ∞
Γ(x + 1) = e−t tx dt
0
Z B
= lim e−t tx dt
B→∞ 0
h B Z B i
−t x
−t x−1
= lim − e t + x e t dt integrating by parts.
B→∞ 0 0
Z B
= x lim e−t tx−1 dt
B→∞ 0
= xΓ(x)
From this we obtain:
Γ(2) = 1 · Γ(1)
Z ∞
= e−t dt = 1
0
Γ(3) = 2 · Γ(2) = 2 · 1
Γ(4) = 3 · Γ(3) = 3 · 2 · 1
..
.
Γ(x) = (x − 1)!
1
Therefore, the Gamma function is the extension of te factorial, such that, Γ(n + 1) = n!
∀n ∈ Z.
Proof :
In order to prove this theorem, first we need to show the following lemmas.
Lemma 1.1
For every x > 0, the following improper integral converges.
Z ∞
e−xt dt
0
Proof :
Z ∞ Z B
−xt
e dt = lim e−xt dt
0 B→∞ 0
h −ext iB
= lim
x
B→∞ 0
−e−Bx − 1
= lim
B→∞ x
i1
1h −Bx :0
= lim −e
− lim 1
*
x
B→∞ B→∞
1
=
x
2
Therefore, the limit exists, then the improper integral converges.
Lemma 1.2
Let n be a natural number. Then,
tn−1
lim 1 =0
t→∞ e2t
Proof :
Using L’Hôpital,
tn−1 (n − 1)tn−2
lim 1 = lim 1 12 t
t→∞ e2t t→∞
2
e
tn−1 0
lim 1 = lim 1 =0
t→∞ e 2
t t→∞ ( 1 )n e 2 t
2
Let = 1. Then it exists an M > 0 such that for every t ≥ M the following is true:
tn−1
1t < = 1
e2
1
Therefore, for every t ≥ M , 0 ≤ tn−1 ≤ e 2 t .
This implies that
1
0 ≤ e−t · tn−1 ≤ e−t · e 2 t
1
0 ≤ e−t · tn−1 ≤ e− 2 t (1)
R∞ 1
By lemma 1.1, we have that 0
e− 2 t dt converges.
3
(Theorem) Let’s recall the comparison test for improper integrals.
Let f (x) and g(x) be two continuous functions on the interval [α, ∞)
R ∞ that 0 ≤ f (x) ≤ g(x) for every
such R ∞ x ≥ α.
Then, if α g(x)dx is convergent, then α f (x)dx is too.
1
Let f (x) = e−t tn−1 and g(x) = e− 2 t .
The floor function bxc represents the biggest integer such that bxc ≤ x ≤ bxc + 1.
Z ∞
e−t tx−1 dt (b)
0
To conclude this demonstration, let us study the case when 0 < x < 1.
We know that
1 tx−1 t
1
t
≤ 1
t
≤ 1
e 2 e 2 e2t
By lemma 1.2, we have that
t 1
lim 1
t
= lim 1 =0
t→∞ e 2 t→∞ e2t
4
Using the squeeze theorem,
1 tx−1 t
1
t
≤ 1
t
≤ 1
e 2 e 2 e2t
tx−1
0≤ 1 ≤0
e2t
tx−1
⇒ 1 =0
e2t
for 0 < x < 1.
Z ∞ Z ∞
0 d −t x−1
Γ (x) = e t dt = e−t tx−1 ln(t)dt
dx 0 0
Z ∞
00 d 0
Γ (x) = Γ (x) = e−t tx−1 (ln(t))2 dt
dx 0
Since the integrand of Γ”(x) is positive for 0 < x < ∞, then so it is Γ00 (x). Therefore,
the graph of Γ(x) is concave up on the interval (0, ∞).
5
1.4 Extension of the domain of the Gamma function
It is possible to extend the domain of Γ(x) to negative values of x.
Examples:
Γ(0) Γ(1)
Γ(−1) = =
−1 −1 · 0
Examples:
3 Γ(− 1 ) Γ( 21 ) 4√
2
Γ − = = = π
2 − 32 − 32 · − 12 3
5 Γ(− 3 ) Γ(− 12 ) Γ( 12 ) 8√
2
Γ − = 5 = 5 3 = 5 3 1 = − π
2 −2 −2 · −2 −2 · −2 · −2 15
Hence, Γ(x) is well defined for any x ∈ R except x = 0, −1, −2, −3, ...
It is also possible to extend the Gamma function to the complex plane. From the explicit
formula, we know it is well defined in the right half plane {z ∈ C|Re(z) > 0}. Then it is
holomorphic in the right half plane.
Let us fix z and n such that Re(z + n) > 0. Notice that in a neighborhood of z + n, the
Γ-function is holomorphic.
Γ(z + n) = (z + n − 1)Γ(z + n − 1) = (z + n − 1)(z + n − 2) . . . (z + 1)(z)Γ(z)
Therefore,
Γ(z + n)
Γ(z) =
Pn (z)
6
where Pn (z) is the Pochhammer factorial. Since Pn has a root z iff z ∈ {0, −1, −2, −3, ...},
then Γ(z) is holomorphic iff Pn (z) 6= 0, i.e., Γ is holomorphic outside the negative integers.
Hence, Γ(z) is a meromorphic function and has poles z ∈ {0, −1, −2, −3, ..}.
Now,
1 Pn (z)
=
Γ(x) Γ(z + n)
Since the gamma function is meromorphic and nonzero everywhere in the complex plane,
then its reciprocal is an entire function.
Z α
γ(x, α) = e−t tx−1 dt α>0
0
Z ∞
Γ(x, α) = e−t tx−1 dt
α
7
2 The Beta function
The Beta function is defined by:
Z 1
β(x, y) = tx−1 (1 − t)y−1 dt
0
for x, y > 0.
Fun fact!
? The Gamma function is also known as the Euler integral of the second kind.
? The Beta function is also known as the Euler integral of the first kind.
Γ(x)Γ(y)
β(x, y) = (5)
Γ(x + y)
β(x, y) = β(y, x)
Exercise
R3
Compute (x − 1)10 (x − 3)3 dx.
1
x−1
Let us make the following change of variables t =
2
⇒ x = 2t + 1 ⇒ dx = 2t
Substituting,
Z 1 Z 1
10 3 14
(2t) (2t − 2) 2dt = −2 t10 (1 − t)3 dt =
0 0
Γ(11)Γ(4) 10! · 3!
= −214 β(11, 4) = −214 = −214 ·
Γ(15) 14!
Question
Could this method be applied to a family of functions?
8
2.2 The beta function as an extension of the binomial coefficient
Just like the Gamma function being an extension of the factorial, the Beta function is the
extension of the binomial coefficient.
Theorem 2
n 1
=
k (n + 1)β(n − k + 1, k + 1)
where n, k in N.
Proof :
n n! (n + 1) · n! (n + 1)!
= = = =
k k!(n − k)! (n + 1) · k! · (n − k)! (n + 1) · k!(n − k)
1 Γ(n + 2) 1 1
= =
n + 1 Γ(k + 1)Γ(n − k + 1) n + 1 β(n − k + 1, k + 1)
Example
3 1 Γ(5)
= = =3
2 4β(2, 3) 4Γ(2)Γ(3)
But also,
3 3!
= =3
2 1! · 2!
Lemma 2.1
1
β(n, n + 1) = 2n
n· n
Proof :
9
1 1 n! · n!
2n
= = =
n
(2n)! (2n)!
n! · n!
n · Γ(n)Γ(n + 1)
= = nβ(n, n + 1)
Γ(2n + 1)
1
∴ β(n, n + 1) = 2n
n· n
Exercise
Find
∞
X 1
S= 2n
n=1
n· n
Solution:
∞
X 1
S= 2n
n=1
n· n
∞
X
= β(n + 1, n)
n=1
∞ Z
X 1
= tn (1 − t)n−1 dt
n=1 0
P R
Given the absolute convergence of the integrand, we can switch and .
Z ∞
1X
= tn (1 − t)n−1 dt
0 n=1
Z 1
√
t 3
= 2
dt = π
0 t −t+1 9
10
2.3 Incomplete function of Beta
The incomplete function of Beta is defined by,
Z ∞
βα (x, y) = tx−1 (1 − t)y−1 dt 0≤α≤1
0
n! Γ(n + 1)
nP r = =
(n − k)! Γ(n − k + 1)
3 Pochhammer factorial
Also known as the rising factorial,
Example
2(2) = 2 · 3 = 6
n o
2 1
1 , 1 2, 1 , 2 , 2 1, 2
2 1
Example
2(3) = 2 · 3 · 4 = 24
x(3) = x(x + 1)(x + 2) = x3 + 3x2 + 2x
= 23 + 3(2)2 + 2(2) = 24
Question
Could this be extended to solve any kind of polynomials?
11
3.1 Relationship with the Gamma function
Γ(x + n)
x(n) =
Γ(x)
(x + n − 1)!
= = x(n)
(x − 1)!
Definition
Double fatorial
n(n − 2) . . . 5 · 3 · 1 n > 0 odd
n!! =
n(n − 2) . . . 6 · 4 · 2 n > 0 even
Example
4!! = 4 · 2 = 8
5!! = 5 · 3 · 1 = 15
Identities
n! = n!! · (n − 1)!!
1(n) = n!
Example
4!! = 4 · 2 = 8
5!! = 5 · 3 · 1 = 15
Exercise
1 (n)
Show that (2n − 1)!! = 2n ·
2
1 (n) 1 3 5 1
Notice that = ... n −
2 2 2 2 2
Now, observe that if n is impar of the form 2n − 1,
12
Exercise
4 Falling factorial
Example
5(3) = 5 · 4 · 3 = 60
Γ(x + 1)
x(n) =
Γ(x − n + 1)
x!
= = x(n)
(x − n)!
Fun fact!
The coefficients that appear in the expansion of the falling factorial are
the Stirling numbers of the first kind.
Example: x(3) = x(x − 1)(x − 2) = x3 − 3x2 + 2x
5 Stirling formula
In this section we are going to study the behavior of the Gamma function for huge positive
values of x. It is a good approximation for big factorials.
√
n! ≈ nn e−n 2πn
That is,
n
lim √ =1
n→∞ nn e−n 2πn
13
Proof:
r2 r3 r4
log(1 + r) = r − + − + ...
2 3 4
s
Making the substitution r = √ , we get
n
s s s2 s3 s4
log 1 + √ =√ − + √ − 2 + ...
n n 2n 3n n 4n
s s s2 s3 s4
n log 1 + √ =n √ − + √ − 2 + ...
n n 2n 3n n 4n
s √ s s2 s3 s4 √
n log 1 + √ −s n=n √ − + √ − 2 + ... − s n
n n 2n 3n n 4n
s √ √ s2 s3 s4 √
n log 1 + √ −s n= s n− + √ − + ... − s n
n 2 3 n 4n
s √ s2 s3 s4
n log 1 + √ −s n=− + √ − + ...
n 2 3 n 4n
14
Now taking the limit on both sides as n → ∞,
s √ s2
lim n log 1 + √ −s n=−
n→∞ n 2
√
Z ∞ √ s
n n log (1+ √n )
n! = n ne−n
n
√
e−s e ds
− n
Z ∞ √
n! s
n n log (1+ √n )
n
√ −n = √
e−s e ds
n ne − n
Z ∞ √ √
n! 2
n − s2 +s n
lim √ = e−s e ds
n→∞ nn ne−n −∞
Z ∞
n! s2
lim n √ −n = e− 2 ds
n→∞ n ne −∞
n! √
lim √ = 2π
n→∞ nn ne−n
n!
lim √ =1
n→∞ nn 2πne−n
Lemma 3.1
√ 1 1
2 πxx+ 2 y y+ 2
β(x, y) ∼ 1
(x + y)x+y+ 2
Proof :
15
Γ(x)Γ(y)
β(x, y) =
Γ(x + y)
√ √
xx 2πxe−x y y wπye−y
≈ p
(x + y)x+y 2π(x + y)e−x−y
1 1√
xx+ 2 y y+ 2 2π
≈ 1
(x + y)x+y+ 2
Fun fact!
Notice that this approximation is very useful when computen large numbers,
since the approximation can be solved in polynomial time.
Corollary 3.2
Proof :
Γ(n)Γ(x)
nx β(x, n) = nx
Γ(x + n)
(x + n)(n) Γ(n)Γ(x)
= nx
(x + n)(n) Γ(x + n)
nx (x + n)Γ(n + 1)Γ(x)
=
nΓ(x + n + 1)
√
nx (x + n)nn e−n 2πnΓ(x)
≈ p
n(x+)x+n e−x−n 2π(x + n)
1
ex Γ(x)nx+n− 2
≈ 1
(x + n)x+n− 2
16
1
x ex Γ(x)nx+n− 2
lim n β(x, n) = lim 1
n→∞ n→∞ (x + n)x+n− 2
n x+n− 12
= ex Γ(x) lim
n→∞ x + n
Notice that,
x −n x 12 −x
= 1+ 1+
n n
Evaluating those two limits,
x −n
lim 1+ = e−x
n→∞ n
x 12 −x
lim 1+ =1
n→∞ n
Thus, obtaining
n x+n− 12
lim 1+ = e−x
n→∞ x+n
Therefore,
n x+n− 12
lim β(x, n) = ex Γ(x) lim
n→∞ n→∞ x + n
17
6 Further reading
[1] Freeden, W., Gutting, M. (2010). Special functions of mathematical (geo- )physics.
Basel: Birkhèauser.
[2] Mubeen, S., Rehman, A. (2014). A Note on k-Gamma Function and Pochhammer k-
Symbol. Journal of Informatics and Mathematical Sciences, 6(2), 93-107.
Retrieved from https://www.rgnpublications.com/journals/index.php/jims/article/viewFile/252/229.
[3] Arfken, G. B., Weber, H., Harris, F. E. (2013). Mathematical methods for physicists: a
comprehensive guide.
Retrieved from http://chaosbook.org/ predrag/courses/PHYS-6124-14/ArWe05chap8.pdf
18