Chapter 2
Chapter 2
Transport
Math 5 (BA323)
(Gamma and Beta Functions)
Fall 2020-2021
Chapter 2 Special Functions
Chapter 2
Gamma Function
Introduction
Gamma function is used to generalize the factorial function to nonintegral values, introduced by the
Swiss mathematician Leonhard Euler in the 18th century. The gamma function belongs to the category of
the special functions. It also appears in various area as asymptotic series, definite integration and
hypergeometric series.
∞
Γ(𝑥) = ∫ 𝑡 𝑥−1 𝑒 −𝑡 𝑑𝑡.
0
Similarly, using a technique from calculus known as integration by parts, it can be proved that the gamma
function has the following recursive property: if 𝑥 > 0, then
∞
∞
Γ(2) = ∫ 𝑡 𝑒 −𝑡 𝑑𝑡 = (−𝑡𝑒 −𝑡 − 𝑒 −𝑡 ) | 0 = 0 + 1 = 1 = 1!,
0
∞
∞
Γ(3) = ∫ 𝑡 2 𝑒 −𝑡 𝑑𝑡 = (−𝑡 2 𝑒 −𝑡 − 2𝑡𝑒 −𝑡 − 2𝑒 −𝑡 ) | 0 = 0 + 2 = 2 = 2!,
0
-1-
Chapter 2 Special Functions
and
∞
∞
Γ(4) = ∫ 𝑡 3 𝑒 −𝑡 𝑑𝑡 = (−𝑡 3 𝑒 −𝑡 − 3𝑡 2 𝑒 −𝑡 − 6𝑡𝑒 −𝑡 − 6𝑒 −𝑡 ) | 0 = 0 + 6 = 6 = 3!,
0
Γ(𝑥) = (𝑥 − 1)!
While the gamma function behaves like a factorial for natural numbers (a discrete set), its extension to the
positive real numbers (a continuous set) makes it useful for modeling situations involving continuous change,
with important applications to calculus, differential equations, complex analysis, and statistics.
The region 𝑅 which defines the first quadrant, is the region of integration. The polar transformation 𝑢 𝑟 cos 𝜃,
𝑣 = 𝑟 sin 𝜃 will transform the integral problem from cartesian coordinates to polar coordinates, (𝑟, 𝜃). These
𝜋
new variables will range from 0 ≤ 𝑟 ≤ ∞ and 0 ≤ 𝜃 ≤ 2 for the first quadrant.
Hence,
𝜋 𝜋
1 2 ∞ ∞
2 2 2
∞
2 2 1 ∞
[Γ ( )] = 4 ∫ ∫ 𝑒 −𝑢 −𝑣 𝑑𝑣 𝑑𝑢 = 4 ∫ ∫ 𝑒 −𝑟 𝑟 𝑑𝑟 𝑑𝜃 = 4 ∫ (− 𝑒 −𝑡 ) | 0 𝑑𝜃
2 0 0 0 0 0 2
𝜋 𝜋
2
= 2 ∫ 𝑑𝜃 = 2𝜃 | 2 = 𝜋.
0 0
Hence,
1 2 1
[Γ ( )] = 𝜋 ⇒ Γ ( ) = √𝜋
2 2
-2-
Chapter 2 Special Functions
So,
Γ(1) Γ(0) Γ(−1)
Γ(0) = = ±∞, Γ(−1) = = ±∞, Γ(−2) = = ±∞, ⋯
0 −1 −2
-3-
Chapter 2 Special Functions
The following table shows Gamma function on the interval [1, 2].
𝚪(𝒙) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
1.0 1.00000 0.99432 0.98884 0.9835 0.97843 0.9735 0.96874 0.96415 0.95972 0.95545
1.1 0.95135 0.94739 0.9435 0.93993 0.93641 0.93304 0.9298 0.92669 0.92372 0.92088
1.2 0.91816 0.91557 0.91310 0.91075 0.90852 0.90640 0.90439 0.90250 0.90071 0.89904
1.3 0.89747 0.89600 0.89464 0.89337 0.89221 0.89115 0.89018 0.88931 0.88853 0.88785
1.4 0.88726 0.88676 0.88635 0.88603 0.8858 0.88566 0.88560 0.88563 0.88574 0.88594
1.5 0.88622 0.88659 0.88703 0.88756 0.88817 0.88886 0.88963 0.89049 0.89142 0.89242
1.6 0.89351 0.89468 0.89592 0.89724 0.89864 0.90011 0.90166 0.90329 0.90500 0.90678
1.7 0.90863 0.91057 0.91258 0.91466 0.91682 0.91906 0.92137 0.92376 0.92622 0.92876
1.8 0.93138 0.93407 0.93684 0.93969 0.94261 0.94561 0.94868 0.95184 0.95507 0.95837
1.9 0.96176 0.96523 0.96877 0.97239 0.97609 0.97988 0.98374 0.98768 0.99170 0.99581
3 1 1 1
Γ ( ) = Γ ( ) = √𝜋.
2 2 2 2
1 1
3 Γ (− 2) Γ (2) √𝜋 4 √ 𝜋
Γ (− ) = = = = .
2 3 3 1 3 3
−2 −2 × −2 4
5 3 3 3 1 1 3 1 3
Γ ( ) = Γ ( ) = × Γ ( ) = × √𝜋 = √𝜋.
2 2 2 2 2 2 2 2 4
3 1 1
5 Γ (− 2) Γ (− 2) Γ (2) √𝜋 8√𝜋
Γ (− ) = = = = =− .
2 5 5 3 5 3 1 15 15
−2 −2 × −2 −2 × −2 × −2 − 8
Γ(3.35) = 2.35 Γ(2.35) = 2.35 × 1.35 Γ(1.35) = 2.35 × 1.35 × 0.89115 (from Gamma Table)
= 2.35 Γ(2.35) = 2.8271.
Γ(5.79) = 4.79 Γ(4.79) = 4.79 × 3.79 Γ(3.79) = 4.79 × 3.79 × 2.79 Γ(2.79)
= 4.79 × 3.79 × 2.79 Γ(2.79) = 4.79 × 3.79 × 2.79 × 1.79 Γ(1.79)
= 4.79 × 3.79 × 2.79 × 1.79 × 0.92876 (from Gamma Table)
= 84.2045.
= 2.31508.
(ii)
∞ ∞
∫ 𝑥 3 𝑒 10−2𝑥 𝑑𝑥 = 𝑒 10 ∫ 𝑥 3 𝑒 −2𝑥 𝑑𝑥
0 0
∞ ∞
𝑒 10 ∞ 𝑡 3 −𝑡 𝑒 10 ∞ 3 −𝑡 𝑒 10
∫ 𝑥 3 𝑒 10−2𝑥 𝑑𝑥 = 𝑒 10 ∫ 𝑥 3 𝑒 −2𝑥 𝑑𝑥 = ∫ ( ) 𝑒 𝑑𝑡 = ∫ 𝑡 𝑒 𝑑𝑡 = Γ(4)
0 0 2 0 2 16 0 16
𝑒 10 3𝑒 10
= × 3! = .
16 8
(iii)
∞ ∞ 3
∞
−2𝑥 3 ln 10−2𝑥 3 ln 10
∫ 10 𝑑𝑥 = ∫ 𝑒 𝑑𝑥 = ∫ 𝑒 −2𝑥 𝑑𝑥
0 0 0
2
∞ ∞ ∞ ∞ −
−2𝑥 3 ln 10−2𝑥
3
−2𝑥 3 ln 10
1 𝑡 3
∫ 10 𝑑𝑥 = ∫ 𝑒 𝑑𝑥 = ∫ 𝑒 𝑑𝑥 = ∫ 𝑒 −t ( ) 𝑑𝑡
0 0 0 0 6 ln 10 2 ln 10
-5-
Chapter 2 Special Functions
2 2
∞ − ∞ −
−2𝑥 3
1 1 3
−
2
−t
1 1 3 1
∫ 10 𝑑𝑥 = ( ) ∫ 𝑡 𝑒 𝑑𝑡 =
3 ( ) Γ( )
0 6 ln 10 2 ln 10 0 6 ln 10 2 ln 10 3
−
2 4 −
2
1 1 3 Γ (3) 1 1 3 0.89337
= ( ) × = ( ) × = 0.53696 .
6 ln 10 2 ln 10 1 6 ln 10 2 ln 10 1
3 3
1 0 ∞
2 2
∫ √− ln 𝑥 𝑑𝑥 = ∫ 𝑡 (−2𝑡 𝑒 −𝑡 )𝑑𝑡 = 2 ∫ 𝑡 2 𝑒 −𝑡 𝑑𝑡
0 ∞ 0
(ii)
1 3
1
∫ (ln ) 𝑑𝑥
0 𝑥
To convert the integral to Gamma function, we use the substitution
1
𝑡 = ln ⇒ 𝑥 = 𝑒 −𝑡 ⇒ 𝑑𝑥 = − 𝑒 −𝑡 𝑑𝑡
𝑥
At 𝑥 = 0 ⇒ 𝑡 = ∞, at 𝑥 = 1 ⇒ 𝑡 = 0
So, we can write the previous integral as
1 3 0 ∞
1
∫ (ln ) 𝑑𝑥 = − ∫ 𝑡 𝑒 𝑑𝑡 = ∫ 𝑡 3 𝑒 −𝑡 𝑑𝑡 = Γ(4) = 3! = 6
3 −𝑡
0 𝑥 ∞ 0
-6-
Chapter 2 Special Functions
(iii)
1 2
1
∫ √𝑥 2 − 2𝑥 + 1 (ln ) 𝑑𝑥
0 √1 − 𝑥
To convert the integral to Gamma function, we use the substitution
1
𝑡 = ln ⇒ 𝑥 = 1 − 𝑒 −2𝑡 ⇒ 𝑑𝑥 = 2 𝑒 −2𝑡 𝑑𝑡
√1 − 𝑥
At 𝑥 = 0 ⇒ 𝑡 = 0, at 𝑥 = 1 ⇒ 𝑡 = ∞
1 2 1 2
1 1
∫ √𝑥 2 − 2𝑥 + 1 (ln ) 𝑑𝑥 = ∫ √(𝑥 − 1)2 (ln ) 𝑑𝑥
0 √1 − 𝑥 0 √1 − 𝑥
∞ ∞
−2𝑡 2 (2 −2𝑡 )𝑑𝑡
=∫ 𝑒 𝑡 𝑒 = 2 ∫ 𝑡 2 𝑒 −4𝑡 𝑑𝑡
0 0
We need another substitution to get the pervious integral in Gamma function form
𝑢 1
𝑢 = 4𝑡 ⇒ 𝑡 = ⇒ 𝑑𝑡 = 𝑑𝑢
4 4
At 𝑡 = 0 ⇒ 𝑢 = 0, at 𝑡 = ∞ ⇒ 𝑢 = ∞
1 2 ∞ ∞
1 𝑢 2 1
∫ √𝑥 2 − 2𝑥 + 1 (ln ) 𝑑𝑥 = 2 ∫ 𝑡 2 𝑒 −4𝑡 𝑑𝑡 = 2 ∫ ( ) 𝑒 −𝑢 ( ) 𝑑𝑢
0 √1 − 𝑥 0 0 4 4
1 ∞ 2 −𝑢 1 1
= ∫ 𝑢 𝑒 𝑑𝑢 = Γ(3) =
32 0 32 16
Beta Function
Introduction
Beta functions are a special type of function, which is also known as Euler integral of the first kind. It
is usually expressed as B(𝑥, 𝑦). Beta is a special function that is closely related to the gamma function and
to binomial coefficients.
𝜋
2
∴ 𝐵(𝑚, 𝑛) = 2 ∫ (sin 𝜃)2𝑚−1 (cos 𝜃)2𝑛−1 𝑑𝜃
0
or
𝜋
2 1
∫ (sin 𝜃)2𝑚−1 (cos 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛)
0 2
The given beta function can be written in the form of gamma function as follows:
Γ(𝑚)Γ(𝑛)
𝐵(𝑚, 𝑛) =
Γ(𝑚 + 𝑛)
Beta function is symmetric such that
Γ(𝑚)Γ(𝑛)
B(𝑚, 𝑛) = B(𝑛, 𝑚) =
Γ(𝑚 + 𝑛)
-8-
Chapter 2 Special Functions
8 1
𝑥 5 3𝑥 6 3𝑥 7 𝑥 1 1 3 1 1
=[ − + − ] = − + − = .
5 6 7 8 0 5 2 7 8 280
We can use Beta function to find the value of the pervious example without this calculation as follows
1 1
∫ 𝑥 4 (1 − 𝑥)3 𝑑𝑥 = ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥, 𝑚 − 1 = 4, 𝑛−1=3
0 0
or
1 1
∫ 𝑥 4 (1 − 𝑥)3 𝑑𝑥 = ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥 = B(𝑚, 𝑛), 𝑚 = 5, 𝑛=4
0 0
therefore
1
Γ(5)Γ(4) 4! × 3! 1
∫ 𝑥 4 (1 − 𝑥)3 𝑑𝑥 = B(5, 4) = = =
0 Γ(9) 8! 280
To convert the integral to Beta function, we take 𝑥 common outside the square root, yields
1 1 1 1 1
∫ √𝑥 − 𝑥 2 𝑑𝑥 = ∫ √𝑥√1 − 𝑥 𝑑𝑥 = ∫ 𝑥 2 (1 − 𝑥)2 𝑑𝑥
0 0 0
1
1 1
= ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥, 𝑚−1= , 𝑛−1=
0 2 2
1
3 3
= ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥 = B(𝑚, 𝑛), 𝑚= , 𝑛=
0 2 2
1 1
3 3 Γ(3/2)Γ(3/2) (2 √𝜋) (2 √𝜋) 𝜋
= B( , ) = = = .
2 2 Γ(3) 2! 8
-9-
Chapter 2 Special Functions
(ii)
1
5
∫ 𝑥 4 (1 − √𝑥)
0
To convert the integral to Beta function, we should use a substitution to change √𝑥 to 𝑡, then
𝑡 = √𝑥 ⇒ 𝑥 = 𝑡 2 ⇒ 𝑑𝑥 = 2 𝑡𝑑𝑡
At 𝑥 = 0 ⇒ 𝑡 = 0, at 𝑥 = 1 ⇒ 𝑡 = 1
1 1 1
5 4
∫ 𝑥 4 (1 − √𝑥) = ∫ (𝑡2 ) (1 − 𝑡)5 2 𝑡𝑑𝑡 = 2 ∫ 𝑡9 (1 − 𝑡)5 𝑑𝑡
0 0 0
1
= 2 ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥, 𝑚 − 1 = 9, 𝑛−1=5
0
1
= 2 ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥 = 2B(𝑚, 𝑛), 𝑚 = 10, 𝑛=6
0
Γ(10)Γ(6) 9! × 5! 1
= 2 B(10, 6) = 2 × =2× = .
Γ(16) 15! 15015
(iii)
−3 5
∫ (2 + 𝑥)3 (3 + 𝑥)2 ⅆ𝑥
−2
To convert the integral to Beta function, we should use a substitution to change 3 + 𝑥 to 𝑡, then
𝑡 =3+𝑥 ⇒ 𝑥 =𝑡−3 ⇒ 𝑑𝑥 = 𝑑𝑡
At 𝑥 = −2 ⇒ 𝑡 = 1, at 𝑥 = −3 ⇒ 𝑡 = 0
−3 5 0 5 1 5
∫ (2 + 𝑥)3 (3 + 𝑥)2 ⅆ𝑥 = − ∫ (1 − 𝑡)3 (𝑡)2 𝑑𝑡 = ∫ 𝑡 2 (1 − 𝑡)3 𝑑𝑡
−2 1 0
1
5
= ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥, 𝑚−1= , 𝑛−1=3
0 2
1
7
= ∫ 𝑥 𝑚−1 (1 − 𝑥)𝑛−1 𝑑𝑥 = B(𝑚, 𝑛), 𝑚= , 𝑛=4
0 2
7 5 3 1
Γ (2) Γ(4)
7
= B ( , 4) = = 2 × 2 × 2 × √𝜋 × 3! =
32
.
2 15 13 11 9 7 5 3 1 3003
Γ( 2 ) 2 × 2 × 2 × 2 × 2 × 2 × 2 × √𝜋
- 10 -
Chapter 2 Special Functions
We can solve this integral using the second form of Beta function as
𝜋 𝜋
2 2
∫ cos 2 𝜃 sin8 𝜃 𝑑𝜃 = ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 , 2𝑚 − 1 = 2, 2𝑛 − 1 = 8
0 0
𝜋
2 1 3 9
= ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛) , 𝑚= , 𝑛=
0 2 2 2
3 9 1 7 5 3 1
1 3 9 1 Γ (2) Γ (2) 1 2 × √𝜋 × 2 × 2 × 2 × 2 × √𝜋
= B( , ) = × = ×
2 2 2 2 Γ(6) 2 5!
7𝜋
= .
512
(ii)
𝜋
2 sin5 𝜃
∫ 3
𝑑𝜃
0 tan 𝜃 + tan 𝜃
We can solve this integral using the second form of Beta function as
𝜋 𝜋 𝜋 𝜋
2 sin5 𝜃 2 sin5 𝜃 2 sin5 𝜃 2 sin5 𝜃
∫ 𝑑𝜃 = ∫ 𝑑𝜃 = ∫ 𝑑𝜃 = ∫ 𝑑𝜃
3
0 tan 𝜃 + tan 𝜃
2
0 tan 𝜃 (1 + tan 𝜃)
2
0 tan 𝜃 sec 𝜃
sin 𝜃 1
cos 𝜃 × cos 2 𝜃
0
𝜋
2
= ∫ sin4 𝜃 cos3 𝜃 𝑑𝜃
0
𝜋
2
= ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 , 2𝑚 − 1 = 4, 2𝑛 − 1 = 3
0
𝜋
2 1 5
= ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛) , 𝑚= , 𝑛=2
0 2 2
5 3 1
1 5 1 Γ (2) Γ(2) 1 × × √𝜋 × 1! 2
= B ( , 2) = × = × 2 2 = .
2 2 2 9 2 7 × 5 × 3 × 1 × 𝜋 35
Γ (2)
2 2 2 2 √
- 11 -
Chapter 2 Special Functions
(iii)
𝜋
21
∫ sin2 𝜃 sin2 2𝜃 𝑑𝜃
0 2
We can solve this integral using the second form of Beta function as
𝜋 𝜋 𝜋
21 1 2 2
∫ sin2 𝜃 sin2 2𝜃 𝑑𝜃 = ∫ sin2 𝜃 (2 sin 𝜃 cos 𝜃)2 𝑑𝜃 = 2 ∫ sin4 𝜃 cos 2 𝜃 𝑑𝜃
0 2 2 0 0
𝜋
2
= 2 ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 , 2𝑚 − 1 = 4, 2𝑛 − 1 = 2
0
𝜋
2 5 3
= 2 ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛) , 𝑚= , 𝑛=
0 2 2
5 3 3 1 1
5 3 Γ (2) Γ (2) × 2 × √𝜋 × 2 × √𝜋 𝜋
= B( , ) = = 2 = .
2 2 Γ(4) 3! 16
(iv)
𝜋
2
∫ √cot 𝜃 𝑑𝜃
0
We can solve this integral using the second form of Beta function as
𝜋 𝜋 𝜋
2 cos 𝜃 2 2 1 1
∫ √cot 𝜃 𝑑𝜃 = ∫ √ 𝑑𝜃 = ∫ sin−2 𝜃 cos 2 𝜃 𝑑𝜃
0 0 sin 𝜃 0
𝜋
2 1 1
= ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 , 2𝑚 − 1 = − , 2𝑛 − 1 =
0 2 2
𝜋
2 1 1 3
= ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛) , 𝑚= , 𝑛=
0 2 4 4
1 3
1 1 3 Γ (4) Γ (4) 1 3.6256 × 1.2254
= B( , ) = = × = 2.2214 .
2 4 4 Γ(1) 2 0!
(v)
𝜋
2
∫ sin8 2𝜃 𝑑𝜃
0
We can solve this integral using the second form of Beta function as
𝜋 𝜋 𝜋
2 2 2
∫ sin8 2𝜃 𝑑𝜃 = ∫ (2 sin 𝜃 cos 𝜃)8 𝑑𝜃 = 28 ∫ sin8 𝜃 cos 8 𝜃 𝑑𝜃
0 0 0
𝜋
2
= 28 ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 , 2𝑚 − 1 = 8, 2𝑛 − 1 = 8
0
- 12 -
Chapter 2 Special Functions
𝜋 𝜋
8
2 2 2 9 9
∫ sin8 2𝜃 𝑑𝜃 = 28 ∫ (𝑠𝑖𝑛 𝜃)2𝑚−1 (𝑐𝑜𝑠 𝜃)2𝑛−1 𝑑𝜃 = 𝐵(𝑚, 𝑛) , 𝑚= , 𝑛=
0 0 2 2 2
2
9 9 7 5 3 1
8
2 9 9 Γ (2) Γ (2) (2 × 2 × 2 × 2 × √𝜋) 35𝜋
= B( , ) = = 27 × = .
2 2 2 Γ(9) 8! 256
3𝑛 + 4
= B(3𝑛 + 3, 3𝑛 + 3)
12𝑛 + 14
- 13 -
Chapter 2 Special Functions
Sheet 2
Beta and Gamma Functions
1. Evaluate
7 7 4 Γ(7)
(i) Γ ( ) , Γ (− ) , Γ ( ) , Γ(2.7) (ii)
2 2 3 Γ(4)Γ(6)
3
1 3 5 Γ(3) Γ ( )
(iii) Γ ( ) Γ ( ) Γ ( ) (iv) 2
2 2 2 9
Γ( )
2
2. Find the following integrals using Gamma Function
∞ ∞ 1
(i) ∫ 𝑥 3 𝑒 −𝑥 𝑑𝑥 (ii) ∫ 𝑥 2 𝑒 2−5𝑥 𝑑𝑥 (iii) ∫ √− ln 𝑥 𝑑𝑥
0 0 0
2
∞
−𝑥 4
∞
−3𝑥 2
1 𝑥
1
(iv) ∫ 𝑒 𝑑𝑥 (v) ∫ 4 𝑑𝑥 (vi) ∫ ln ( ) 𝑑𝑥
0 0 0 𝑥
𝜋
∞ 1
2
(vii) ∫ 𝑒 (𝑥−𝑒 𝑥 ) (viii) ∫ (tan 𝑥 + tan 𝑥 )𝑒 3 5 − tan2 𝑥 (ix) ∫ √ln(1/𝑥) 𝑑𝑥
𝑑𝑥 𝑑𝑥
−∞ 0 0
∞ 1−𝑥 2 1 ∞
𝑥𝑒 1 1
(x) ∫ 𝑑𝑥 (xi) ∫ (𝑥 − 1)2 ln 𝑑𝑥 (xii) ∫ 3 𝑑𝑥
1 √𝑥 2 − 1 0 (1 − 𝑥 ) 2 1 𝑥 2 √ln 𝑥
3. Find the following integrals Beta function
1 1 4
3( 4
(i) ∫ 𝑥 1 − 𝑥 )2 𝑑𝑥 (ii) ∫ √(1/𝑥) − 1 𝑑𝑥 (iii) ∫ 𝑥 2 √4 − 𝑥 𝑑𝑥
0 0 0
3 𝜋
∞ 3
1 𝑥2 2
(iv) ∫ 𝑑𝑥 (v) ∫ 3 𝑑𝑥 (vi) ∫ cos4 𝜃 𝑑𝜃
0 √𝑥(1 + 𝑥) 0 √27 − 𝑥3 0
𝜋 𝜋
5 5 2
2 2
(vii) ∫ tan3/2 𝜃 𝑑𝜃 (viii) ∫ sin2 𝜃 cos2 𝜃 𝑑𝜃 (ix) ∫ 𝑥 3 √5 − 𝑥 𝑑𝑥
0 0 0
𝜋 𝜋
3 2
sin 𝜃
2 2
2
1
(x) ∫ 2
𝑑𝜃 (xi) ∫ cos (2𝜃) 𝑑𝜃 (xii) ∫ 𝑑𝑥
0 1 + tan 𝜃 0 0 √4 − 𝑥 2
𝜋
1 2
𝑥3 2
5 2
1
(xiii) ∫ 𝑑𝜃 (xiv) ∫ cos 𝜃 (sec 𝜃 − 1) 𝑑𝜃 (xv) ∫ 𝑥 (8 − 𝑥 3 )3 𝑑𝑥
0 √1 − 𝑥 2 0 0
1
(iii) Β (𝑛, 𝑛 + ) = 22𝑛 Β(2𝑛, 2𝑛).
2
- 14 -
Chapter 2 Special Functions
Bessel Function
𝑥 2 𝑦 ′′ + 𝑥𝑦 ′ + (𝑥 2 − 𝜈 2 )𝑦 = 0
is known as Bessel’s equation. The solution of Bessel’s equation yields Bessel functions
y G . S A J (x ) BY (x )
for 𝜈 is fraction, where J (x ) is Bessel’s function of the first kind of order 𝜈 and it can be defined by the
series
2 r
x
1
r
J (x ) 2
r 0 r ! Γ r 1
y G . S A J n (x ) BY n (x )
where 𝑌𝑛 (𝑥) is Bessel’s function of the second kind of order 𝑛 and it can be defined by the series
cos 𝑛𝜋 1
𝑌𝑛 (𝑥) = J n (x ) − J n (x )
sin 𝑛𝜋 sin 𝑛𝜋
The graphs of some Bessel function J n (x ) of the first kind for 𝑛 = 0, 1, 2, 3 and 4 are shown in the following
figure
J n (x )
1 J0
J1
J2 J3 J
4
- 15 -
Chapter 2 Special Functions
The graphs of some Bessel function of the second kind 𝑌𝑛 (𝑥) for 𝑛 = 0, 1, 2, 3, 4 and 5 are shown in the
following figure
Y n (x )
Y0 Y1 Y2 Y3 Y4
- 16 -
Chapter 2 Special Functions
2
𝑑 𝑦 𝑑𝑦
2
+𝑢 𝑢2
+ (𝑢2 − 𝜈 2 )𝑦 = 0
𝑑𝑢 𝑑𝑢
that is the Bessel equation has the general solution as
y G . S A J (u ) B J (u )
or
y G . S A J ( x ) B J ( x )
1
(ii) 𝑥 2 𝑦 ′′ + 𝑥𝑦 ′ + (25𝑥 2 − 9)𝑦 = 0
1
By comparing this equation by the final form in (i) yields, 𝜆 = 5 and 𝜈 = 3, then the general
solution is
y G . S A J 1/3 (5x ) B J 1/ 3 (5x )
Theorem
2 2
J 1/2 (x ) sin x , J 1/2 (x ) cos x
x x
Proof:
Because
2 r
x
1
r
J (x ) 2
r 0 r ! Γ r 1
therefore
1 1
2r 2r
1
x r x
1
r 2 2
1
1
2 r 1
1/2 1/2 r
2 2 x 2 2 2 x
J ( x )
1
1 2 x x r 0 1 2
r 0
r ! Γ r 1 r 0
r ! Γ r 1 r ! Γ r 1
2 2 2
1 √𝜋 (2𝑛)!
∵ Γ (𝑛 + 2) = 2𝑛
2 𝑛!
1 1
1 2 r 1
1 2 r 1
r r
2 2 x 2 2 x
J ( x )
x r 0 r ! Γ r 1 1 2 x r 0 2r 1! 2
r!
2 22 r 1 r!
1 1
1 2 2 1 2 1 2 2 1 2 1
2 r 1 r 2 r 1 r r
x 2 r 1 x 2 r 1 2
x 2 r 1
x r 0 2r 1! 2 x r 0 2r 1! 2 x 2r 1!
2 r 1 2 r 1
r 0
2
sin x
x
- 17 -
Chapter 2 Special Functions
Example 3 Find the solution of the following differential equation
𝒅 𝟏 𝝅 𝝅
(𝒙𝟐 𝒚′ ) − 𝒙𝒚′ + 𝒙𝟐 𝒚 = 𝒚, 𝒚 ( ) = 𝟎, 𝒚′ ( ) = −𝟏
𝒅𝒙 𝟒 𝟐 𝟐
Solution:
To solve this equation, we find the derivative of 𝑥 2 𝑦′′ then simplify the differential equation yields
𝑑 2 ′ 1 1
(𝑥 𝑦 ) − 𝑥𝑦 ′ + 𝑥 2 𝑦 = 𝑦 ⇒ 𝑥 2 𝑦 ′′ + 2𝑥𝑦 ′ − 𝑥𝑦 ′ + 𝑥 2 𝑦 − 𝑦 = 0
𝑑𝑥 4 4
1 1
𝑥 2 𝑦 ′′ + 𝑥𝑦 ′ + (𝑥 2 − ) 𝑦 = 0, 𝜆 = 1, 𝜈 =
4 2
The solution of this equation is
y G . S A J 1/2 (x ) B J 1/ 2 (x )
2 2
∴ 𝑦𝐺.𝑆 = 𝐴 √𝜋𝑥 sin 𝑥 + 𝐵√𝜋𝑥 cos 𝑥
𝜋 𝜋
∵ 𝑦 ( 2 ) = 0, we can substitute into the general solution to get the particular solution. At 𝑥 = 2 , 𝑦 = 0,
we get
2 𝜋 2 𝜋 2 2
0 = 𝐴 √𝜋𝑥 sin 2 + 𝐵√𝜋𝑥 cos 2 ⇒ 𝐴 √𝜋𝑥 = 0 ⇒ ∴𝐴=0 ⇒ ∴ 𝑦 = 𝐵√𝜋𝑥 cos 𝑥
3
2 1 2
𝑦 ′ = −𝐵√𝜋𝑥 sin 𝑥 − 2 𝐵√𝜋 𝑥 −2 cos 𝑥
𝜋 𝜋
∵ 𝑦 ′ ( 2 ) = −1 then 𝑥 = at 𝑦 ′ = −1. By substituting into the derivative of 𝑦, we get
2
3
2 𝜋 1 2 𝜋 −2 𝜋 4 𝜋
−1 = −𝐵√ 𝜋 sin − 𝐵√ ( ) cos ⇒ −1 = −𝐵√ 2 ⇒ 𝐵=
𝜋 (2) 2 2 𝜋 2 2 𝜋 2
Differentiation Identities
d
dx
x J (x ) x J 1 (x ) and
d
dx
x J (x ) x J 1 (x )
Proof:
2 r
x x 2 r 2
1 1
r r
22 r 1 2r 2 x
r 2 r 2 1
d
x J ( x )
d
x 2
d
dx dx r 0 r ! Γ r 1 dx r 0 r ! Γ r 1 r 0 r ! 22 r Γ r 1
- 18 -
Chapter 2 Special Functions
1 2r 2 x 2 1 r x
2 r 2 1 2 r 1
r r
d
dx
x J ( x )
r ! 22 r Γ r 1
x
2 r 2
r Γ r
r 0 r 0 r ! 2
1 r x 2r 1 x 1 r x 2 r 1
r r
x
r 0 r ! 2
2 r 2 1
r Γ r
r 0 r ! 2
2 r 2 1
r Γ r
2 r 1
x 2 r 1 r x x 2 r 1
1
r
1 1
r
x 22 r 2 1 x 2 22 r 2 1
r 0 r ! Γ r
r 0 r ! Γ r
x
r 0 r ! Γ r
2 r 1
x
1
r
x 2 x J 1 (x )
r 0 r ! Γ r
Integration Identities
x x
J 1 (x ) dx x J (x ) c and
J 1 (x ) dx x J (x ) c
Proof:
By integrate the differentiation identities, we can get it.
xJ 9 (x )J 10 (x ) x J 92 (x ) J 102 (x )
d
Example 4 Show that
dx
Solution:
To prove this relation, we start with the left hand side and try to get the right hand side as follow
d
dx
x J 9 (x ) J 10 (x )
d
dx
x 9
J 9 (x ) x 10 J 10 (x )
x 9 J 9 (x ) x 10 J 10 (x ) x 10 J 10 (x ) x 9 J 9 (x )
d d
dx dx
x 9 J 9 (x ) x 10 J 9 (x ) x 10 J 10 (x ) x 9 J 10 (x )
x J 92 (x ) x J102 (x ) x J 92 (x ) J 102 (x ) .
(ii) x
2
J 0 (x )J1 (x )dx x J1 (x ) x J 0 (x ) dx x J 1 (x ) x J 1 (x ) x J 0 (x ) x J 1 (x ) dx
x J 0 (x )J 1 (x )dx x 2 J 12 (x ) x 2J 0 (x )J 1 (x )dx
2
1 2 2
2 x 2 J 0 (x )J 1 (x )dx x 2 J 12 (x ) x
2
J 0 (x )J 1 (x )dx x J 1 (x ) c
2
- 19 -
Chapter 2 Special Functions
Recurrence Relations
n n
(i) J n ( x ) J n ( x ) J n 1 ( x ) (ii) J n ( x ) J n ( x ) J n 1 ( x )
x x
2n
(iii) 2J n ( x ) J n 1 ( x ) J n 1 ( x ) (iv) J n ( x ) J n 1 ( x ) J n 1 ( x )
x
Proof:
d
dx
x n J n (x ) x n J n 1 (x ) x n J n (x ) nx n 1J n (x ) x n J n 1 (x )
2J n (x ) J n 1 (x ) J n 1 (x ) (3)
n
J (x ) J n 1 (x ) J n 1 (x ) (4)
x
- 20 -
Chapter 2 Special Functions
Example 6 Express J 3 ( x ) in terms of J 0 ( x ) and J 1 ( x )
Solution:
2n
J n ( x ) J n 1 ( x ) J n 1 ( x )
x
2n
J n 1 (x ) J n ( x ) J n 1 ( x )
x
4
At 𝑛 = 2 ∶ J 3 (x ) J 2 (x ) J 1 (x )
x
2
At 𝑛 = 1 ∶ J 2 (x ) J 1 (x ) J 0 (x )
x
By replacing each J 2 ( x ) in J 3 ( x ) , we get
42 8 4 8 4
J 3 (x ) J 1 (x ) J 0 (x ) J 1 (x ) 2 J 1 (x ) J 0 (x ) J 1 (x ) 2 1 J 1 (x ) J 0 (x )
x x x x x x
8 4
J 3 ( x ) 1 J 1 (x ) J 0 (x )
x
2
x
1
r x
1
x x
1
r r n
J n (x ) 2 2 2
r 0 r ! Γ r n 1 r n r ! Γ r n 1 r 0 r n ! Γ r n n 1
2r n
1
r x
2
1 1 J n (x )
n n
r 0 r ! Γ r n 1
x J 3 (x ) J 2 (x ) x J 22 (x ) J 32 (x )
d
dx
Solution:
To prove this relation, we start with the left hand side and try to get the right hand side as follow
x J 3 (x ) J 2 (x ) (1)3 x J 3 (x ) (1) 2 J 2 (x ) x J 3 (x ) J 2 (x )
d d d
dx dx dx
d
dx
x 3 J 3 (x ) x 2 J 2 (x ) x 3 J 3 (x ) x 2 J 3 (x ) x 3 J 2 ( x ) x 2J 2 ( x )
x J 32 (x ) x J 22 (x ) x J 32 (x ) J 22 (x )
- 21 -
Chapter 2 Special Functions
Sheet 3
Bessel Function
J 0 (x ), J 1 (x ), J 2 (x ), J 3 (x ), J 4 (x ), J 5 (x ), J 6 (x )
(i) J 4 (x )
48 8 J (x ) 24 1 J (x )
1 2 0
x x x
3
12 24 5
(ii) J 3 (x ) 2 1 J 0 (x ) 3 J 0 ( x )
x x x
(iii) 4J 0(x ) 3J 0 (x ) J 3 (x ) 0
1
(iv) J n( x ) J n 2 ( x ) 2 J n ( x ) J n 2 ( x )
4
1
(v) J 2 ( x ) J 0( x ) J 0 (x )
x
4. Prove that
d
(i) xJ 3 (x ) J 2 (x ) x J 22 (x ) J 32 (x )
dx
d
(ii) xJ 3 (x ) J 4 (x ) x J 32 (x ) J 42 (x )
dx
d 2
(iii) x 2 J 1 (x ) J 3 (x ) x 2 J 1 (x ) J 3 (x ) J 1 (x ) J 0 (x )
dx x
d
(iv) xJ n (x ) J n 1 (x ) x J n2 (x ) J n21 (x )
dx
d
(v) x 2J n 1 (x ) J n 1 (x ) 2x 2J n (x ) J n (x )
dx
5. Integrate the following
x (vi ) J (x )dx
6 2 n
(iv ) x J 3 (x )dx (v ) J n 1 (x )dx 1
- 22 -
Chapter 2 Special Functions
x ln x x x
2 3
(x ) J 0 (x )dx ( xi ) J 0 (x )dx ( xii ) J 3 (x )dx
J
(xiii ) 4 (x )dx (xiv ) x 9 J 3 (x )dx (xv ) x 7 J 1 (x )dx
x
2 /2 2
3 /2
1
(xvi )
/2
x J 1 (x )dx
2
(xvii )
/2 x
J 3 (x )dx
2
d
(x y ) x
dy
x
1 0 , y 1
y 0 y
2 2
(i)
dx dx 4 2 2
x y
d
(xy ) 9x
5 0 , y 2
y 0 y
2 2
(ii)
dx 4 2 2
x y
d
(xy ) x
5 0 , y 10
y 0 y
2 2
(iii)
dx 4 2 2
x y 3xy ' 2
d
( xy ) 16x
7 0 , y 3
y 0 y
2 2
(iv)
dx 4 2 2
x y 2xy '
d
(xy ) 4x
3 0 , y 2
y 0 y
2 2
(v)
dx 4 2 2
y
3
y '
2 d
(xy ) 16
7
y 0
0 , y 4
2
(vi) y
4x 2 2
2
x x dx
- 23 -
Chapter 2 Special Functions
Legendre Polynomials
for 𝑛 an integer. We first note that there are singular points for 1 − 𝑥 2 = 0, or 𝑥 = ±1. Therefore, 𝑥 = 0
is an ordinary point and we can proceed to obtain solutions in the form of Maclaurin series expansions.
Assume the differential equation has a solution of the form
∞ ∞ ∞
𝑟 ′ 𝑟−1
𝑦 = ∑ 𝑐𝑟 𝑥 , 𝑦 = ∑ 𝑟𝑐𝑛 𝑥 anⅆ 𝑦 = ∑ 𝑟(𝑟 − 1)𝑐𝑛 𝑥 𝑟−2
′′
By inserting the previous series expansions into the differential equation, we obtain
∞ ∞ ∞
∞ ∞ ∞ ∞
or
∞
𝑟(𝑟 + 1) − 𝑛(𝑛 + 1)
𝑐𝑟+2 = 𝑐𝑟 , 𝑟 ≥ 0
(𝑟 + 2)(𝑟 + 1)
- 24 -
Chapter 2 Special Functions
1 1
𝑟 = 0: 𝑐2 = 2 (−𝑛(𝑛 + 1))𝑐0 = − 2 𝑛(1 + 𝑛)𝑐0,
1 1
𝑟 = 1: 𝑐3 = 6 (2 − 𝑛(𝑛 + 1))𝑐1 = 6 (1 − 𝑛)(2 + 𝑛)𝑐1,
1 1
𝑟 = 2: 𝑐4 = 12 (6 − 𝑛(𝑛 + 1))𝑐2 = − 24 𝑛(2 − 𝑛)(1 + 𝑛)(3 + 𝑛)𝑐2,
1 1
𝑛 = 3: 𝑐5 = 20 (12 − 𝑛(𝑛 + 1))𝑐3 = 120 (1 − 𝑛)(3 − 𝑛)(2 + 𝑛)(4 + 𝑛)𝑐3,
The solution is
1 1
𝑦 = 𝑐0 (1 − 2 𝑛(1 + 𝑛)𝑥 2 − 24 𝑛(2 − 𝑛)(1 + 𝑛)(3 + 𝑛)𝑥 4 + ⋯ )
1 1
+𝑐1 (𝑥 + (1 − 𝑛)(2 + 𝑛)𝑥 3 + (1 − 𝑛)(3 − 𝑛)(2 + 𝑛)(4 + 𝑛)𝑥 5 +. . . . . . )
6 120
𝑦 = 𝑐0 𝑃𝑛 (𝑥) + 𝑐1 𝑄𝑛 (𝑥)
where 𝑃𝑛 (𝑥) is Legendre polynomials of the first kind of order 𝑛 and they can be defined by the series
𝑛
[ ]
2
(−1)𝑟 (2𝑛 − 2𝑟)!
𝑃𝑛 (𝑥) = ∑ 𝑛 𝑥 𝑛−2𝑟
2 𝑟! (𝑛 − 𝑟)! (𝑛 − 2𝑟)!
𝑟=0
𝑄𝑛 (𝑥) is Legendre polynomials of the second kind of order 𝑛 which are bounded at 𝑥 = ±1, and they can
be defined by the series
𝑀
1 1−𝑥 (−1)𝑛−2𝑖 (2𝑛 − 4𝑖 − 1)
𝑄𝑛 (𝑥) = 𝑃𝑛 (𝑥) ln −∑ 𝑃𝑛−2𝑖−1 (𝑥)
2 1+𝑥 (2𝑖 + 1)(𝑛 − 𝑖)
𝑖=0
where
(𝑛 − 1)/2 for 𝑛 oⅆⅆ
𝑀={
(𝑛 − 2)/2 for 𝑛 even, 𝑛 ≥ 1
Rodrigues's formula:
A representation of the Legendre polynomials involving differentiation is given by Rodrigues's formula
1 𝑑𝑛
𝑃𝑛 (𝑥) = (𝑥 2 − 1)𝑛 , 𝑛 = 0, 1, 2, 3, …
2𝑛 𝑛! 𝑑𝑥 𝑛
as follows
𝑃0 (𝑥) = 1
1 𝑑 2
𝑃1 (𝑥) = (𝑥 − 1) = 𝑥
2 𝑑𝑥
1 𝑑2 2 2
1 𝑑2 4 2
1
𝑃2 (𝑥) = 2 (𝑥 − 1) = (𝑥 − 2𝑥 + 1) = (−1 + 3𝑥 2 )
2 2! 𝑑𝑥 2 22 2! 𝑑𝑥 2 2
3
1 𝑑 1 𝑑3 1
𝑃3 (𝑥) = 3 3
(𝑥 2 − 1)3 = 3 3
(𝑥 6 − 3𝑥 4 + 3𝑥 2 − 1) = (−3𝑥 + 5𝑥 3 )
2 3! 𝑑𝑥 2 3! 𝑑𝑥 2
- 25 -
Chapter 2 Special Functions
in power of 𝑡, the coefficient of 𝑡 𝑛 will be 𝑃𝑛 (𝑥). For this reason this function is called Legendre generating
function. For |𝑥| ≤ 1 and |𝑡| ≤ 1, the following relation holds
∞
1
= ∑ 𝑃𝑛 (𝑥) 𝑡 𝑛
√1 − 2𝑥𝑡 + 𝑡2 𝑛=0
Proof:
1
Consider the function 𝑤(𝑥, 𝑡) = √1−2𝑥𝑡+𝑡 2 . Recall the binomial expansion
1 3 5 3
(1 − 𝑧)−1/2 = 1 + 𝑧 + 𝑧 2 + 𝑧 +⋯
2 8 16
So,
1 1
−
= (1 − (2𝑥𝑡 − 𝑡 2 )) 2
√1 − 2𝑥𝑡 + 𝑡 2
1 1∙3 1∙3∙5
= 1 + (2𝑥𝑡 − 𝑡 2 ) + (2𝑥𝑡 − 𝑡 2 )2 + (2𝑥𝑡 − 𝑡 2 )3 + ⋯
2 2∙4 2∙4∙6
1 3 5
= 1 + 𝑥𝑡 − 𝑡 2 + (4𝑥 2 𝑡 2 − 4𝑥𝑡 3 + 𝑡 4 ) + (8𝑥 3 𝑡 3 − 12𝑥 2 𝑡 4 + 6𝑥𝑡 5 − 𝑡 6 ) + ⋯
2 8 16
1 1
= 1 + 𝑥𝑡 + (3𝑥 2 − 1)𝑡 2 + (5𝑥 3 − 𝑥)𝑡 3 + ⋯
2 2 ∞
- 26 -
Chapter 2 Special Functions
∞
1 1 1
∑ 𝑃𝑛 (1) 𝑡 𝑛 = = = = (1 − 𝑡)−1
√1 − 2𝑡 + 𝑡 2 √(1 − 𝑡)2 1−𝑡
𝑛=0
∞
= 1 + 𝑡 + 𝑡2 + 𝑡3 + ⋯ = ∑ 𝑡𝑛
𝑛=0
which implies that 𝑃𝑛 (1) = 1 by comparing the coefficients of 𝑡 𝑛 in both sides. Similar, we can prove the
other relation as
∞
1 1 1
∑ 𝑃𝑛 (−1) 𝑡 𝑛 = = = = (1 + 𝑡)−1
√1 + 2𝑡 + 𝑡 2 √(1 + 𝑡)2 1+𝑡
𝑛=0
∞
= 1 − 𝑡 + 𝑡 − 𝑡 + ⋯ = ∑(−1)𝑛 𝑡 𝑛
2 3
𝑛=0
which implies that 𝑃𝑛 (−1) = (−1)𝑛 by comparing the coefficients of 𝑡 𝑛 in both sides.
Recurrence Formula:
The following relation is hold
(2𝑛 + 1)𝑥𝑃𝑛 (𝑥) = (𝑛 + 1)𝑃𝑛+1 (𝑥) + 𝑛𝑃𝑛−1 (𝑥)
Proof:
∞
1 1
2 ) −2
= (1 − 2𝑥𝑡 + 𝑡 = ∑ 𝑃𝑛 (𝑥) 𝑡 𝑛
√1 − 2𝑥𝑡 + 𝑡2 𝑛=0
∞
1 3
− (−2𝑥 + 2𝑡)(1 − 2𝑥𝑡 + 𝑡 2 )−2 = ∑ 𝑛 𝑃𝑛 (𝑥) 𝑡 𝑛−1
2
𝑛=0
or
∞
𝑥−𝑡
3 = ∑ 𝑛 𝑃𝑛 (𝑥) 𝑡 𝑛−1
(1 − 2𝑥𝑡 + 𝑡 2 )2 𝑛=0
Example 3 Use the orthogonality of Legendre polynomials to evaluate the following integrals
𝟏 𝟏 𝟏
(i) ∫−𝟏 𝑷𝟐 (𝒙)𝑷𝟑 (𝒙)𝒅𝒙 (ii) ∫−𝟏 𝑷𝟓 (𝒙)𝑷𝟓 (𝒙)𝒅𝒙 (iii) ∫−𝟏 𝑷𝟏 (𝒙)𝑷𝟒 (𝒙)𝒅𝒙
𝟏 𝟏 𝟏
(iv) ∫–𝟏 𝒙𝑷𝟐 (𝒙)𝑷𝟑 (𝒙)𝒅𝒙 (v) ∫–𝟏 𝒙𝟐 𝑷𝟓 (𝒙)𝑷𝟕 (𝒙)𝒅𝒙 (vi) ∫–𝟏 𝑷𝟏 (𝒙)𝑷𝟑 (𝒙)𝑷𝟒 (𝒙)𝒅𝒙
𝟏 𝟏 𝒙𝟐
(vii) ∫–𝟏(𝟏 − 𝟐𝒙 + 𝒙𝟑 )𝑷𝟑 (𝒙)𝒅𝒙 (viii) ∫−𝟏 𝒅𝒙
√𝟓−𝟒𝒙
𝟏
𝑷𝟏 (𝒙) 𝑷𝟑 (𝒙)
(ix) ∫ 𝒅𝒙
√𝟓𝟖−𝟒𝟐𝒙
−𝟏
Solution
1
(i) ∫−1 𝑃2 (𝑥)𝑃3 (𝑥)𝑑𝑥 = 0
1 2 2
(ii) ∫−1 𝑃5 (𝑥)𝑃5 (𝑥)𝑑𝑥 = 2(5)+1 = 11
1
(iii) ∫−1 𝑃1 (𝑥)𝑃4 (𝑥)𝑑𝑥 = 0
1
(iv) ∫−1 𝑥𝑃2 (𝑥)𝑃3 (𝑥)𝑑𝑥
To solve this integration, we must replace 𝑥𝑃2 (𝑥) by using the recurrence relation
(𝑛 + 1) 𝑛
𝑥 𝑃𝑛 (𝑥) = 𝑃𝑛+1 (𝑥) + 𝑃 (𝑥).
(2𝑛 + 1) (2𝑛 + 1) 𝑛−1
Then,
3 2
𝑥𝑃2 (𝑥) = 𝑃3 (𝑥) + 𝑃1 (𝑥)
5 5
- 28 -
Chapter 2 Special Functions
1 1 3 2
So, ∫−1 𝑥𝑃2 (𝑥)𝑃3 (𝑥)𝑑𝑥 = ∫−1 ( 𝑃3 (𝑥) + 𝑃1 (𝑥)) 𝑃3 (𝑥)𝑑𝑥
5 5
1 3 1 2 3 2 6
= ∫−1 5 𝑃3 (𝑥)𝑃3 (𝑥)𝑑𝑥 + ∫−1 5 𝑃1 (𝑥)𝑃3 (𝑥)𝑑𝑥 = (5) (7) + 0 = 35
1
(v) ∫–1 𝑥 2 𝑃5 (𝑥)𝑃7 (𝑥)𝑑𝑥
To solve this integration, we must replace 𝑥𝑃5 (𝑥) and 𝑥𝑃7 (𝑥) by using the recurrence relation
(𝑛 + 1) 𝑛
𝑥 𝑃𝑛 (𝑥) = 𝑃𝑛+1 (𝑥) + 𝑃 (𝑥).
(2𝑛 + 1) (2𝑛 + 1) 𝑛−1
Then,
6 5 8 7
𝑥𝑃5 (𝑥) = 11 𝑃6 (𝑥) + 11 𝑃4 (𝑥) and 𝑥𝑃7 (𝑥) = 15 𝑃8 (𝑥) + 15 𝑃6 (𝑥)
1 1 6 5 8 7
So, ∫−1 𝑥 2 𝑃5 (𝑥)𝑃7 (𝑥)𝑑𝑥 = ∫−1 ( 𝑃6 (𝑥) + 𝑃4 (𝑥)) ( 𝑃8 (𝑥) + 𝑃6 (𝑥)) 𝑑𝑥
11 11 15 15
6 7 1 6 7 2 28
= 11 × 15 ∫−1 𝑃6 (𝑥)𝑃6 (𝑥)𝑑𝑥 = 11 × 15 × 13 = 715
1 1
(vi) ∫–1 𝑃1 (𝑥)𝑃3 (𝑥)𝑃4 (𝑥)𝑑𝑥 = ∫–1 𝑥𝑃3 (𝑥)𝑃4 (𝑥)𝑑𝑥
To solve this integration, we must replace 𝑥𝑃3 (𝑥) by using the recurrence relation
(𝑛 + 1) 𝑛
𝑥 𝑃𝑛 (𝑥) = 𝑃𝑛+1 (𝑥) + 𝑃 (𝑥).
(2𝑛 + 1) (2𝑛 + 1) 𝑛−1
Then,
4 3
𝑥𝑃3 (𝑥) = 7 𝑃4 (𝑥) + 7 𝑃2 (𝑥)
1 1 4 3
So, ∫–1 𝑥𝑃3 (𝑥)𝑃4 (𝑥)𝑑𝑥 = ∫−1 ( 𝑃4 (𝑥) + 𝑃2 (𝑥)) 𝑃4 (𝑥)𝑑𝑥
7 7
1 4 1 3 4 2 8
= ∫−1 7 𝑃4 (𝑥)𝑃4 (𝑥)𝑑𝑥 + ∫−1 7 𝑃2 (𝑥)𝑃4 (𝑥)𝑑𝑥 = (7) (9) + 0 = 63
1
(vii) ∫–1(1 − 2𝑥 + 𝑥 3 )𝑃3 (𝑥)𝑑𝑥
- 29 -
Chapter 2 Special Functions
1 𝑥2
(viii) ∫−1 √5−4𝑥 𝑑𝑥
1
To solve this problem, we need to replace in terms of Legendre’s polynomials using the
√5−4𝑥
generating function as follows
Assume
1 1 1
= ⇒ √𝛼 √1 − 2𝑥𝑡 + 𝑡 2 = √5 − 4𝑥
√5 − 4𝑥 √𝛼 √1 − 2𝑥𝑡 + 𝑡 2
or
𝛼(1 − 2𝑥𝑡 + 𝑡 2 ) = 5 − 4𝑥
1
𝑃1 (𝑥) 𝑃3 (𝑥)
(ix) ∫ 𝑑𝑥
√58−42𝑥
−1
1
To solve this problem, we need to replace in terms of Legendre’s polynomials using the
√58−42𝑥
generating function as follows
Assume
- 30 -
Chapter 2 Special Functions
1 1 1
= ⇒ √𝛼 √1 − 2𝑥𝑡 + 𝑡 2 = √58 − 42𝑥
√58 − 42𝑥 √𝛼 √1 − 2𝑥𝑡 + 𝑡 2
or
4 3
× ( 𝑃4 (𝑥) + 𝑃2 (𝑥)) 𝑑𝑥
7 7
1
1 1
= ∫ (𝑃0 (𝑥) + 𝑃2 (𝑥)) (2𝑃2 (𝑥) + 𝑃0 (𝑥)) 𝑑𝑥
7 4
−1
1 1
1 81 4 1 9 3
= × 4 × ∫ 𝑃4 (𝑥)𝑃4 (𝑥) 𝑑𝑥 + × × ∫ 𝑃2 (𝑥)𝑃2 (𝑥) 𝑑𝑥
7 7 7 7 49 7
−1 −1
1 81 4 2 1 9 3 2 3006
= × 4× × + × × × =
7 7 7 9 7 49 7 5 588245
Solution
To solve this integration, we must replace 𝑥𝑃𝑛+1 (𝑥) and 𝑥𝑃𝑛−1 (𝑥) by using the recurrence relation
- 31 -
Chapter 2 Special Functions
(𝑛 + 1) 𝑛
𝑥 𝑃𝑛 (𝑥) = 𝑃𝑛+1 (𝑥) + 𝑃 (𝑥).
(2𝑛 + 1) (2𝑛 + 1) 𝑛−1
Then,
𝑛+2 𝑛+1 𝑛 𝑛−1
𝑥𝑃𝑛+1 (𝑥) = 2𝑛+3 𝑃𝑛+2 (𝑥) + 2𝑛+3 𝑃𝑛 (𝑥) and 𝑥𝑃𝑛−1 (𝑥) = 2𝑛−1 𝑃𝑛 (𝑥) + 2𝑛−1 𝑃𝑛−2 (𝑥)
So,
1 1 𝑛+2 𝑛+1 𝑛 𝑛−1
∫−1 𝑥 2 𝑃𝑛+1 (𝑥)𝑃𝑛−1 (𝑥)𝑑𝑥 = ∫−1 (2𝑛+3 𝑃𝑛+2 (𝑥) + 2𝑛+3 𝑃𝑛 (𝑥)) (2𝑛+1 𝑃𝑛 (𝑥) + 2𝑛+1 𝑃𝑛−2 (𝑥)) 𝑑𝑥
𝑛+1 𝑛 1 𝑛+1 𝑛 2 2𝑛(𝑛+1)
= 2𝑛+3 × 2𝑛+1 ∫−1 𝑃𝑛 (𝑥)𝑃𝑛 (𝑥)𝑑𝑥 = 2𝑛+3 × 2𝑛−1 × 2𝑛+1 = (4𝑛2 −1)(2𝑛+3)
Sheet 4
Legendre Polynomials
(i) 𝑓(𝑥) = 6𝑥 2 + 9𝑥
(iii) 𝑓(𝑥) = 𝑥 4 − 3𝑥 2 + 𝑥
2. Find the general solution of the following differential equations in terms of 𝑷𝒏 (𝒙) and 𝑸𝒏 (𝒙)
(i) (1 − 𝑥 2 )𝑦 ′′ − 2𝑥𝑦 ′ = 0
3. Find the value of 𝒂 and 𝒃 such that 𝒚 = 𝒂𝒙𝟑 + 𝒃𝒙 is a solution of the Legendre differential
equation (𝟏 − 𝒙𝟐 )𝒚′′ − 𝟐𝒙𝒚′ + 𝟏𝟐𝒚 = 𝟎.
1 1 1
(i) ∫−1 𝑃2 (𝑥)𝑃4 (𝑥)𝑑𝑥 (ii) ∫−1 𝑃22 (𝑥)𝑑𝑥 (iii) ∫−1 𝑥𝑃5 (𝑥)𝑑𝑥
1 1 1
(iv) ∫−1(2𝑥 2 − 𝑥 + 3)𝑃1 (𝑥) 𝑑𝑥 (v) ∫−1(3𝑥 2 − 2𝑥 + 1)𝑃2 (𝑥) 𝑑𝑥 (vi) ∫−1 𝑥 2 𝑃5 (𝑥)𝑃7 (𝑥) 𝑑𝑥
1 1 1 𝑥2
(vii) ∫−1 𝑥 2 𝑃4 (𝑥)𝑃6 (𝑥) 𝑑𝑥 (vii) ∫−1 𝑥 2 𝑃6 (𝑥)𝑃8 (𝑥) 𝑑𝑥 (viii) ∫−1 𝑑𝑥
√5−4𝑥
1
1 1 𝑃 (𝑥) 𝑃5 (𝑥) −5−7𝑥−4𝑥 2
(ix) ∫−1(𝑥 2 + 1) 𝑃4 (𝑥) 𝑃6 (𝑥)𝑑𝑥 (x) ∫−1 1√2−2𝑥 𝑑𝑥 (xi) ∫ 𝑑𝑥
√53−28𝑥
−1
1 1 1 1−𝑥 3
(xii) ∫−1 𝑃12 (𝑥)𝑃5 (𝑥)𝑃7 (𝑥)𝑑𝑥 (xiii) ∫−1 𝑥 3 𝑃1 (𝑥)𝑃4 (𝑥)𝑑𝑥 (xiv) ∫−1 3 𝑑𝑥
(1−𝑥)2
- 32 -
Chapter 2 Special Functions
5. Prove that
1
2𝑛(𝑛 + 1)
(i) ∫ 𝑥 2 𝑃𝑛+1 (𝑥)𝑃𝑛−1 (𝑥)𝑑𝑥 =
−1 (4𝑛2 − 1)(2𝑛 + 3)
1
2𝑛
(ii) ∫ 𝑥𝑃𝑛 (𝑥)𝑃𝑛−1 (𝑥)𝑑𝑥 =
−1 (4𝑛2 − 1)
1
1 3 1
(iii) ∫ 𝑥 2 𝑃𝑛2 (𝑥)𝑑𝑥 = + +
−1 8(2𝑛 − 1) 4(2𝑛 + 1) 8(2𝑛 + 3)
- 33 -