Applications of integrals (2): Gamma and Beta functions

The use of integrals is not limited to computing areas and lengths. Integrals are also helpful for defining new functions. Here, we study two special functions: the Gamma and Beta functions. These functions are widely used in various fields of science and engineering, as well as statistics.



Gamma function

Lemma

For any s>0, the improper integral 0exxs1dx converges.
Proof. Let f(x)=exxs1. We decompose the given integral into 01f(x)dx and 1f(x)dx and show that both of them converge.

First, consider f(x)ex2=xs1ex2 on [1,). If we take nN such that ns1, then
f(x)ex2=xs1ex2xnex2.
Applying L'Hôpital's rule n times, we can see that limxxnex2=0. Hence limxf(x)ex2=0. In particular, f(x)ex2 is bounded on [1,) (why?). This means there exists some constant c>0 such that
f(x)<cex2.
Integrating both sides gives
1f(x)dx<1cex2dx=2ce12<.
Thus, the improper integral 1f(x)dx converges.

Next, on (0,1], f(x)x1s=ex<1. This means
f(x)<xs1.
Integrating both sides gives
01f(x)dx<01xs1dx=1s<.
Thus, 01f(x)dx converges. ■

Definition (Gamma function)

The gamma function is defined by
Γ(s)=0exxs1dx
where s(0,).
By the above lemma, the Gamma function is well-defined.

Theorem (Properties of the gamma function)

  1. For any s>0, Γ(s)>0.
  2. For any s>0, Γ(s+1)=sΓ(s).
  3. For any nN, Γ(n)=(n1)!.
Proof
  1. Trivial.
  2. By integration by parts, Γ(s+1)=0exxsdx=[exxs]00(ex)sxs1dx=s0exxs1dx=sΓ(s).
  3. From part 2, we have for any nN Γ(n+1)=nΓ(n) and Γ(1)=0exdx=[ex]0=1. Therefore, Γ(n)=(n1)Γ(n1)=(n1)(n2)Γ(n2)=(n1)(n2)21Γ(1)=(n1)!.
Remark. Note that the Gamma function extends factorial n! (defined for natural numbers) to real numbers. □

Beta function

The Beta function is also of practical importance.

Lemma

For any p>0 and q>0, the improper integral 01xp1(1x)q1dx converges.
Proof. Let f(x)=xp1(1x)q1. We decompose the given integral into 012f(x)dx and 121f(x)dx and show that both of these converge.

For 0x12, f(x)x1p=(1x)q1 is bounded. Thus 012f(x)dx converges.

For 12x<1, f(x)(1x)1q=xp1 is bounded. Thus 121f(x)dx converges (why?). ■

Exercise. Fill in the details of the above proof. □

Definition (Beta function)

The beta function is a function of p and q defined by
B(p,q)=01xp1(1x)q1dx
where p>0 and q>0.
By the above lemma, the Beta function is well-defined.

Theorem (Properties of the beta function)

  1. For any p,q>0, B(p,q)>0.
  2. B(p,q)=B(q,p).
  3. B(p,q+1)=qpB(p+1,q).
Proof
  1. Trivial. 
  2. Substitute t=1x, and we have B(p,q)=01xp1(1x)q1dx=10(1t)p1tq1(dt)=01tq1(1t)p1dt=B(q,p).
  3. By integration by parts, pB(p,q+1)=p01xp1(1x)qdx=[xp(1x)q]01+q01xp(1x)q1dx=qB(p+1,q).

Example. For a,b>1, the following holds:
0π2sinaθcosbθ dθ=12B(a+12,b+12).
The proof is the following.
In B(p,q)=01xp1(1x)q1dx, substitute x=sin2θ. This is an injection and, as x moves from 0 to 1, θ moves from 0 to π2.  We have dx=2sinθcosθ dθ. Thus,
B(p,q)=0π2sin2(p1)θcos2(q1)θ(2sinθcosθ)dθ=20π2sin2p1θcos2q1θdθ.
Now let 2p1=a and 2q1=b and we are done. □


Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic