Gamma and Beta Functions Overview
Gamma and Beta Functions Overview
INTRODUCTION parameter p,
∞
Algebraic function f (x) is obtained by the algebraic (p) = e−t t p−1 dt, (p > 0) (1)
0
operations of addition, subtraction, multiplication, Gamma function is also known as Euler’s integral of
division and square rooting of x polynomial and the second kind.
rational functions are such functions. Transcenden- Integrating by parts
tal functions include trigonometric functions (sine, ∞
cosine, tan) exponential, logarithmic and hyperbolic (p + 1) = e−t t p dt
functions. 0
∞ ∞
Algebraic and transcendental functions together = −e−t t p +p e−t t p−1 dt
constitute the elementary functions. Special func- 0 0
tions (or higher functions) are functions other than = 0 + p (p)
the elementary functions such as Gamma, Beta Thus (p + 1) = p (p) (2)
functions (expressed as integrals) Bessel’s functions,
Legendre polynomials (as solutions of ordinary dif- (2) is known as the functional relation or reduction
ferential equations). Special functions also include or recurrence formula for gamma function.
Laguerre, Hermite, Chebyshev polynomials, error
function, sine integral, exponential integral, Fresnel Result:
integrals, etc. (n + a) = (n + a − 1)(n + a − 2)(n + a − 3) · · ·
Many integrals which can not be expressed in a · (a), n is integer.
terms of elementary functions can be evaluated in By definition
terms of beta and gamma functions. ∞ e−t
∞
Heat equation, wave equation and Laplace’s (1) = e−t dt = =1 (3)
0 −1 0
equation with cylindrical symmetry can be solved
in terms of Bessel’s functions, with spherical By the reduction formula (2),
symmetry by Legendre polynomials. We consider (2) = 1 · (1) = 1
Fourier-Legendre series and Fourier-Bessel series.
and (3) = 2 · (2) = 2 · 1 = 2!
Chebyshev-polynomials which are useful in approx-
imation theory are also presented. and in general when p is a positive integer n
(n + 1) = n (n) = n(n − 1) (n − 1)
11.1 GAMMA FUNCTION = n(n − 1)(n − 2) (n − 2)
Gamma function denoted by (p) is defined by = n · (n − 1)(n − 2) · · · 3 · 2 · 1 = n!
the improper integral which is dependent on the
11.1
11.2 HIGHER ENGINEERING MATHEMATICS—III
π π
Thus for p = n, positive integer 2 2 π
= 2 dθ = 2 · θ =2· = π.
(n + 1) = n! (4) 0 0 2
1 √
For this reason, Gamma function is regarded as the Hence = π
2
generalization of the elementary factorial function.
p+1 ∞ q
Gamma function for negative values of p i.e., 2. = qa (p+1)/q 0 x p e−ax dx; p, q, a are
q
p < 0: Rewrite (2) as left-marching recurrence for- positive constants
mula,
Put y = ax q then dy = aqx q−1 dx
(p + 1) p
(p) = (5) ∞ q
∞ y 1
q 1
p x p e−ax dx = e−y · dy
0 0 a aqx q−1
(1) 1
As p → 0, (0) = lim = lim →∞ −1 ∞
p→0 p p→0 p
= qa (p+1)/q y (p+1−q)/q e−y dy
0
Thus (0) is undefined and it follows from (5) that p+1
(−1), (−2), (−3), etc. are all undefined. q
= .
Repeated application of (5) results in (p+1)
q
qa
(p + 1) (p + 2) 1
(p) = = = ··· 3. (n + 1) = (m + 1)n+1 (−1)n 0 x m (ln x)n dx
p p(p + 1)
where n is a positive integer and m > −1.
(p + k + 1)
= (6) Put x = e−y then dx = −e−y dy = −x dy
p(p + 1) · · · (p + k)
1 ∞
Relation (6) is used to find gamma function for p < 0 x m (ln x)n dx = e−my · (−y)n e−y dy
(except at p = 0, −1, −2, −3, . . .). 0 0
∞
Hence gamma function is continuous for any p > 0 = (−1)n y n · e−(m+1)y dy,
and is discontinuous at p = 0, −1, −2, −3, . . .. 0
Thus (p) is defined for all p, except for zero and Put (m + 1)y = u
negative integers. ∞ un du
= (−1)n · e−u ·
0 (m + 1)n m+1
Standard Results (−1)n ∞ (−1)n
1 √ = e−u · un du = · (n+1)
1. = π (m+1)n+1 0 (m+1)n+1
2
1 ∞ 1
By definition 2
= 0 t − 2 e−t dt, put t = u2
1 ∞ −u2 11.2 BETA FUNCTION
then 2
=2 0 e du
∞ ∞
Beta function β(p, q) defined by
1 1 −u2 −v 2
· = 2 e du 2 e dv 1
2 2 0 0 β(p, q) = x p−1 (1 − x)q−1 dx, (p > 0, q > 0) (1)
∞ ∞ 2 +v 2 )
0
= 4 e−(u du dv is convergent for p > 0, q > 0. This function is also
0 0
known as Euler’s integral of the first kind.
This double integral in the first quadrant is
evaluated by changing to polar coordinates Standard Results
u = r cos θ, v = r sin θ, J = r
1. Symmetry: β(p, q) = β(q, p) (2)
2 π ∞
1 2
−r 2
1
2
= 4 e r dr dθ β(p, q) = x p−1 (1 − x)q−1 dx. Put x = 1 − y
θ=0 r=0 0
π ∞ 0
2 1 −r 2
= 4 − e dθ = (1 − y)p−1 · y q−1 (−dy)
0 2 r=0 1
SPECIAL FUNCTIONS—GAMMA, BETA, BESSEL AND LEGENDRE 11.3
0 4. Relation between β and functions
= y q−1 (1 − y)p−1 dy = β(q, p).
1 (p) (q)
β(p, q) = (6)
2. Beta function in terms of trigonometric (p + q)
functions By definition
π ∞
β(p, q) = 2
2
sin2p−1 x · cos2q−1 x dx (3) (p) = x p−1 e−x dx,
0 0
2
Putting x = sin θ, dx = 2 sin θ · cos θ dθ and Put x = t 2 , dx = 2t dt
1 − x = cos2 θ, ∞ 2
(p) = t 2p−2 · e−t · 2t dt
1 0
β(p, q) = x p−1 (1 − x)q−1 dx ∞ 2
0 = 2 t 2p−1 · e−t dt
π 0
2 ∞
= sin2p−2 θ · cos2q−2 θ · 2 2
0 Then (p) (q) = 2 x 2p−1 e−x dx
0
× sin θ · cos θ dθ ∞ 2
π
2 × 2 y 2q−1 e−y dy
β(p, q) = 2 sin2p−1 θ · cos2q−1 θ dθ 0
0
Here t, x, y are dummy variables.
= 2 · I2p−1,2q−1 ∞ ∞ 2 +y 2 )
π =4 x 2p−1 · y 2q−1 · e−(x dxdy.
2
or Ip, q = sinp θ cosq θ dθ 0 0
0 Introduce polar coordinates
1 p+1 q +1
= β , , p > −1 x = r cos θ, y = r sin θ.
2 2 2
, q > −1 (4)
As x, y vary in the first quadrant (i.e.,
0 < x < ∞, 0 < y < ∞), r varies from 0 to ∞
3. Beta function expressed as an improper and θ from 0 to π2 . Jacobian: r
integral π ∞
2
∞ y p−1 (p) (q) = 4 (r cos θ )2p−1 · (r sin θ )2q−1
β(p, q) = dy 0 0
(1 + y) p+q
0 2
× e−r · r dr dθ
∞ y q−1 dy π
= (5) 2
0 (1 + y)p+q =4 sin2q−1 θ · cos2p−1 θ dθ
0
y x
Putting x = 1+y or y = 1−x
, ∞ 2
limits for y are 0 to ∞. × e−r · r 2p+2q−1 · dr
0
1
β(p, q) = x p−1 (1 − x)q−1 dx Using result 2 above in this page and putting
0 r2 = t
q−1
∞ y p−1 1 dy 1 1 ∞
= · · (p) (q) = 4 · β(p, q) e−t · t p+q−1 dt
0 (1 + y)p−1 1+y (1 + y)2 2 2 0
∞ y p−1 (p) (q) = β(p, q) · (p + q), hence the result.
= dy
0 (1 + y)p+q 5. (p) (1 − p) = π
,0 <p<1
sin pπ
∞ y q−1 Put q = 1 − p in (6) and use (5)
= dy.
0 (1 + y)q+p
(p) (1 − p)
The last integral follows from symmetry. = β(p, 1 − p)
(p + 1 − p)
11.4 HIGHER ENGINEERING MATHEMATICS—III
∞ x p−1 π since from (3) with q = 21 ,
= dx =
0 1+x sin pπ π
1 2
(which follows from residue theorem) and since β(p, ) = 2 sin2p−1 x dx.
2 0
(1) = 1
√ Using (6), express β in terms of functions
1
6. 2
= π 1
(p) (p) (p) 2
Put p = q = 1
2
in (6) and use (3) 22p−1 · =
(p + p) p+ 1
2
1 1 π
2 2 1 1 2
=β , =2 sin◦ θ cos◦ θ dθ or 22p−1 · (p) p+
1
=
1
(2p)
1
+ 1 2 2 0 2 2
2 2
π √
=2· =π = π (2p)
2 π π
2 p 2 p
Since (1) = 1, 1
· 1
=π 10. I = 0 sin θ dθ = 0 cos θ dθ =
2 2
1·3·5···(p−1) π
π n+1 √ a. 2·4·6···p
· 2 if p is an even positive integer
2 π
7. 0
2
sinn x dx = 21 β n+1 1
2
,2 = n+2 2 and
2
which follows from (4) with p = n and q = 0 b. I 2·4·6···(p−1)
1·3·5···p
if p is an odd positive integer.
Similarly with p = 0, q = n from (4), we get π 1 1
2 (p+1) 2
π n+1 √ a. 0
2
sinp θ dθ = from result 7.
2 π 2 21 (p+2)
8. 0
2
cosn x dx = 21 β 1 n+1
2
, 2 = n+2 2
2
If p = 2r,
9. Legendre’s duplication formula for function: 1 √
r+ 2 π
√ 1 I=
π (2p) = 22p−1 · (p) p+ 2 (r + 1)
2
Putting p = q in (3), we get 1 3 3 1 1 √
r− 2 r− 2 ··· 2 · 2 · 2 π
π =
2 2 · r!
β(p, p) = 2 sin2p−1 θ · cos2p−1 θ dθ
0
(2r − 1)(2r − 3) · · · 3 · 1 π
π
2
I= ·
=2 (sin θ · cos θ )2p−1 dθ 2r · (2r − 2) · (2r − 4) · · · 2 2
0
π
b. If p = 2r + 1,
2p−1
2 sin 2θ
=2 dθ (r + 1) 1
0 2 2
I=
π 3
2 2 2 r+ 2
= (sin 2θ )2p−1 dθ
22p−1 0 √
r! π
Put 2θ = t, =
1 1 3 3 1 1
2 r+ 2 r− 2 r− 2 ··· 2 · 2 2
1 π
β(p, p) = · sin2p−1 t dt
22p−1 0 2r · r!
=
π (2r + 1)(2r − 1) · · · 5 · 3 · 1
1 2
= 2 sin2p−1 t dt
22p−1 0 2 · 4 · 6 · · · (2r − 2) · 2r
=
1 1 1 · 3 · 5 · · · (2r − 1)(2r + 1)
β(p, p) = · β p,
22p−1 2
SPECIAL FUNCTIONS—GAMMA, BETA, BESSEL AND LEGENDRE 11.5
1 p−q +1
= β + 1, r + 1
q q WORKED OUT EXAMPLES
1 p+1
= β ,r + 1 Gamma and Beta functions
q q
1 1 1 2
1 1 c. 2
0 sin6 θ · cos7 θ dθ
= = · · π = ·1964 π √
3
4 2 2 4 4 d. 2 √sin 8x dx
0 cos x
1 1 1 Solution:
e. n+ = n+ −1 n+ −2
2 2 2 π
a. 2
0 sin10 θ dθ = 1·3·5·7·9 π
2·4·6·8·10 2
= 63
256
π, since p = 8
1 1 1
× n + − 3 ··· is even
2 2 2 π
2·4·6·8
(2n − 1) 2n − 3 2n − 5 b. 2
0 cos9 θ dθ = 1·3·5·7·9
, p = 9 is odd
= π
2 2 2 2
c. sin6 θ · cos7 θ dθ
3 1 √ 0
×··· · · π 7
2 2 (4)
√ 1 6+1 7+1 1 2
(2n − 1)(2n − 3)(2n − 5) · · · 1 · π = β , =
= 2 2 2 2 15
2n 2
7 7 7
Since (n + 1) = n! thus 1 2 −1 2 −2 2 −3 ·3!
= 15 −1 15 −2 15 −3 15 −4 15 −5 15 −6 15 −7
2 2 2 2 2 2 2 2
1
n+ 1 · 3 · 5 · · · (2n − 3)(2n − 1) √
2
= π. 24
(n + 1) 2n · n! =
3 · 7 · 11 · 13
SPECIAL FUNCTIONS—GAMMA, BETA, BESSEL AND LEGENDRE 11.7
π √
3 2
d.
2 sin 8x Solution: Put a −bx = e−t , −bx 2 ln a = −t
√ dx 1
0 cos x 2bx ln a dx = dt, also x = t 2
b ln a
π 8
2 8 1 1 3 +1 − 21 +1 1
= sin 3 x · cos− 2 x dx = β , t − 2 dt
0 2 2 2 So dx = 1
(2b ln a) 2
11 1
1 11 1 1 6 4 1
= β , =
∞ e−t · t − 2 dt 1 1
2 6 4 2 11 1 I= = · 1−
6 + 4 0
1 1
2
(2b ln a) 2 (2b ln a) 2
√
5 5 1 5 1 π
1 6 6 4 60 6 4 = 1
.
= · = .
2 13 1 1 13 1 (2b ln a) 2
12 · 12 12 12
Example 7: Evaluate
1
1 x 2 ∞ ∞
Example 5: Evaluate I = 0 1−x 3
dx. I= x e−x dx ×
8
x 2 e−x dx .
4
0 0
1 3 1
Solution: I = 0 x 2 (1 − x 3 )− 2 dx. put x 3 = t Solution: I = I1 × I2 .
1 7
1 1 1 1 2 Put x 8 = t in I1 , x = t 8 , dx = 18 t − 8 dt
I= t 2 · (1 − t)− 2 · t − 3 dt
0 3 ∞ 8
∞ 1 1 7
1
I1 = x e−x dx = t 8 · e−t · t − 8 dt
1 1 1 1 1 1 0 0 8
= t − 6 · (1 − t)− 2 dt = β 1− , 1− ∞
3 0 2 6 2 1 3 1 3 1 1
I1 = t − 4 e−t dt = 1− =
5 1 8 0 8 4 8 4
1 5 1 1 6 · 2
= β , = 1 3
3 6 2 3 5
+ 1 Put x = t in I2 , so x = t 4 , dx = 41 t − 4 dt
4
6 2
∞ 4
∞ 1 1 3
5 √ √ I2 = x 2 e−x dx = t 2 · e−t · t − 4 dt
1 6 π π 1 1 4
0 0
= = · + .
3 1 1 1 3 2 1 ∞ 1 1 1 1 3
3 3 3 = t − 4 e−t dt = (1 − ) =
√
4 0 4 4 4 4
π 2
1 1 1 3
using duplication form 3
+ 2 3
= 2
Thus
2 3 −1
1 1 1 3
1 1 1 2 π I = I 1 · I2 = ·
Also 1− = = . 8 4 4 4
3 3 3 3 sin π3 √
1 1 1 1 π 2π
= 1− = · =
Substituting 32 4 4 32 sin π4 32
√ √π · 2 Since (n) (1 − n) = π
.
π 3 sin nπ
= 1
1 1 Example 8: Show that
3 3 · 23
∞ nπ
π π 1 (n + 1) · cos 2
= · cos (bz n ) dz = .
1
2 1 1
· sin π 0 bn
3 · 23 3 3
1
1 Solution: Put z = x n , x = z n , dz = nx n−1 dx
π 2 2− 3 ∞ ∞
I= . 1
1
3
π cos (bz n )dz = nx n−1 · cos (bx)dx
3 · sin 3 0 0
∞
Example 6: Evaluate I =
∞
a −bx dx.
2 = Real part of n x n−1 · e−ibx dx
0 0
11.8 HIGHER ENGINEERING MATHEMATICS—III
∞ 3 9 3 5 1 1
But x n−1 e−ibx dx 1 4 4 1 4 · 4 · 4 4
0 = · =
∞ n−1 4 3
+ 9 4 (3)
t dt 1 4 4
= · e−t · = (n)
0 ib ib (ib)n 1 5 1 1 3 5 √
= · · = ·π 2
where t = ibx. 4 16 2! 4 4 128
∞ 1 3
√
1 n · (n) −n since 4 4
= 2π .
cos(bz n )dz = Re (i)
0 bn
Example 11: Prove that
(n + 1) π π −n
π
= Re n
cos + i sin 2 cos2m−1 θ · sin2n−1 θ · dθ β(m, n)
b 2 2 =
0 (a cos2 θ + b sin2 θ )m+n 2a m bn
(n + 1) nπ nπ
= Re cos − i sin
bn 2 2 Solution: Put tan θ = t, dθ = cos2 θ dt,
(n + 1) nπ sin θ = t cos θ
= · cos .
bn 2 ∞ cos2m−1 θ · sin2n−1 θ dθ
1 2 n 2n+1 ·n! 0 (a cos2 θ + b sin2 θ )m+n
Example 9: Prove that −1 (1−t ) dt= 1·3·5···(2n+1)
for n = 0, 1, 2, . . .
∞ cos2m−1 θ · t 2n−1 · cos2n−1 θ · cos2 θ dt
=
0 (a cos2 θ + bt 2 cos2 θ )m+n
Solution: Put t = sin θ, 1 − t 2 = 1 − sin2 θ =
2
∞ cos2m+2n θ · t 2n−1 dt √ √
cos θ, dt = cos θdθ = , Put bt = ay
Limits for θ are − π2 to π2 . Thus 0 cos2m+2n θ (a + bt 2 )m+n
2n−1
ay 2 a √1
b 2 y dy
·
1 ∞
2 n b
(1 − t ) dt =
−1 0 (a + ay)m+n
π π
2 2 an ∞ y n−1 dy 1
= cos2n θ · cos θ dθ = 2 cos2n+1 θ dθ = = m n · β(m, n).
− π2 0 2bn a m+n 0 (1 + y)m+n 2a b
2 · 4 · 6 · 8 · · · (2n) 2 · 2n · 1 · 2 · 3 · · · n Example 12: Evaluate
=2· =
1 · 3 · 5 · · · (2n + 1) 1 · 3 · 5 · · · (2n + 1) 1 3 5
2n+1 · n! I= x 2 (1 − x 2 ) 2 dx.
= 0
1 · 3 · 5 · · · (2n+1)
Solution: From result 13 Page 5 with p = 23 , q = 2,
√
Example 10: Show that
∞ x 2 dx
= 5π 2
. r = 25
0 (1+x 4 )3 128
3
√ 1√1 2
1 p+1 1 2 +1 5
Solution: Put x = tan θ , dx = · sec θ dθ I= β ,r + 1 = β , +1
2 tan θ q q 2 2 2
∞ x 2 dx 5 7
(1 + x 4 )3 1 5 7 1 4 2
0 = β , =
π 1 2 4 2 2 5
+ 7
2 tan θ · 21 (tan θ )− 2 · sec2 θ dθ 4 2
=
0 (1 + tan2 θ )3 11 1 5 3 1 1 1
π
= · · ·
1 2 1 24 4 2 2 2 2 19
= (tan θ ) 2 · sec−4 θ dθ 4
2 0
π
19 15 11 7 3 3
1 2 1 7 Since = · · · · .
= sin 2 θ· cos 2 θ dθ 4 4 4 4 4 4
2
1 √
0
1 7 4 4 π
1 1 1+ 2 1+ 2 1 3 9 I= .
= · ·β , = β , 3
2 2 2 2 4 4 4 121 4
SPECIAL FUNCTIONS—GAMMA, BETA, BESSEL AND LEGENDRE 11.9
The gamma function, denoted as Γ(p), is defined for all complex numbers p except for non-positive integers. It is continuous for any p > 0 and undefined at p = 0, -1, -2, -3, etc. This discontinuity is linked to the reflection and recurrence properties of the gamma function, which is a generalization of the factorial function. For p > 0, the recurrence relation is Γ(p+1) = pΓ(p), where Γ(n+1) = n! for natural numbers n . However, for negative values, repeated application of the recurrence formula yields undefined values at non-positive integers .
Substitutions simplify complex integrals, enabling the transformation of a difficult variable expression into a manageable format. By substituting a function, such as x raised to a power or involving trigonometric expressions, into a simpler integrable form (like t or sin θ), the problem can resolve into a known form or exploitable series. For instance, by treating variables as elements of trigonometric identities or exponential decay forms, substitutions allow for evaluating integrals using special functions, including gamma and beta functions, offering paths to exact solutions .
The gamma function is often employed to solve integrals with exponential functions and substitution variables due to its recurrence and reflection formulas. By making appropriate substitutions, such as converting a power of x in the exponential function to another variable, the problem can be transformed into a gamma integral. For example, transforming the variable and simplifying using the relation (p) = (p + 1)p, allows integration of functions of the form ∫xp-1e^(-ax^q) dx by changing variables and utilizing known gamma function values .
The beta function, defined as an integral from 0 to 1, ∫(0,1) x^(p-1)(1-x)^(q-1) dx, is symmetric and closely related to binomial coefficients, whereas the gamma function generalizes factorials, useful for extending notions of multichoose computations. Each serves essential roles in integration and series expansions; the beta function is primarily used in probability and statistical distributions, while gamma extensively aids in solving higher-level integral and differential equations for complex domains .
The recurrence relation Γ(p+1) = pΓ(p) for the gamma function is critical as it extends the concept of factorials beyond integers to complex numbers. For positive integers, it simplifies to n! as a product which coincides with the traditional definition of factorials. This specific relation underlines the gamma function's role as it seamlessly extends the factorial concept into non-integer and complex domains, facilitating operations in higher mathematics and complex analysis where traditional factorials are limited .
The relationship between gamma and beta functions is expressed as β(p, q) = Γ(p)Γ(q)/Γ(p+q). This relationship portrays how beta functions can reformulate as products of gamma functions, highlighting their complementary roles in evaluating complex integrals and distributions. This synergy allows broader applications and simplifications in mathematics, particularly in calculus involving complex analysis, by providing a comprehensive toolset to solve advanced integral problems through a unified framework .
The transformation into polar coordinates in evaluating gamma integrals, especially double integrals, allows simplifying expressions involving squared terms and angular symmetry. By converting cartesian coordinates into polar (where x = r cos θ, y = r sin θ), integrals over multi-dimensional spaces, especially those bounded by radial symmetry, become easier to solve due to intuitive geometric interpretation and reduction of complex expressions into simpler radial components and angular sections .
Expressing the beta function through symmetric integrals highlights its inherent symmetry β(p, q) = β(q, p), emphasizing its utility in combinatorics, algebraic equations, and probability. This symmetry ensures that the beta function can seamlessly integrate with various mathematical frameworks requiring balanced, double-sided approaches, reducing the complexity of solving equilibrium equations or systems where symmetry is a characteristic feature, such as in physics and engineering applications .
The gamma function is discontinuous at non-positive integers, creating singularities at these points due to the function becoming undefined. This discontinuity is crucial in analysis as it dictates that gamma's properties cannot be directly extended to these points, necessitating caution in its application, especially concerning integral transforms and series expansions where continuity plays a role in convergence and results .
The beta function β(p, q) can be expressed via a trigonometric integral as β(p, q) = 2∫(π/2, 0) (sin^(2p-1)x)(cos^(2q-1)x) dx. This expression implies that the beta function possesses properties of symmetry and convergence for p, q > 0. It showcases the function as an Euler's integral of the first kind, highlighting its connections to geometry and analysis through these trigonometric formulations .