Lege. Functions
Lege. Functions
fa many problems of mathemaical physics and engineering. we come across second order line
diferential equations whose solutions give rise to special functions, which are so calledi as they are
difierent from the standard functions like sine, cosine, exponential, logarithmic functions etc.
In this chapter, we obtain the solutions of this important class of linear differential equations and
define the special functions.
(1-)-2ry+nn+1)y =0 (7.1)
where n is a real constant. In most applications, n takes positive integral values. We can also write this
equation as
the form y(x) = Cmx, then this series solution is convergent in | x |< 1, since the distance
m=0
between x = 0 and the nearest singularity is 1. Substituting
m(m
m=2
-
1) + 2m -n(n + 1)]cm = 0.
Since t is a dummy variable, we can combine the third and fourth terms of this
equation. Equating the
coefficients of various powers of x to zero, we get
2c2 +n(n + 1)c% = 0, 6c3-2c1 +n{n + 1)c = 0,
(n- n)m +n + 1)
Cm+2 m22.
(m +2(m+ I) Cm» (7.4)
We have
C4--2)(n +3
_(n-2(n +3)
-
4.3
,C2 =2)n(n +
=
c n
=
-2)n(n +10n +3)¢o
4 3 2!
cs-
4 = -3)(n- 1(n +2%n +4)¢1.
Substituting in the power series solution, we obtain
yx)=co-nn+1)x+Tn-2)n(n+I0n +3)x*-..
+ a 1Xn +2)x+ zn -3n - a+ 2Xn +4)x-..
=
Co Yor) +C[y1t). (7.5)
where
yo(x)= 1 -7 n(n+ 1)x3n-2)n(n+ 1Xn +3)x*-..
(r) =x- - 1m + 2)x° (n -3(n -
relation given in Eq. (7.4) or the polynomials given in Eqs. (7.6a), (7.6b) to determine the multiplicative
find the expressions for the
constants. It is easy to use the Rodrigue's formula (see next section) to
Legendre polynomials.
equation.
Letu= (x*- 1)". Differentiating, get
we
2nxu
u where u.
(1 -)u + 2nxu 0,
=
=
or
times by using the Leibniz theorem, we obtain
Differentiating this equation (n 1)
+
+2n[xu,4 + (n + 1IJu,] =0
(-xuy2 + (n + 10-2x)491 *n + Dn(-2)4,
0
[2n(n + 1) -n(n + DJu,
=
2nx]Mp+1 +
or (1-u2 +-2+ 1)x+
(1-M-2x(u +m(n + IXtu) = 0
or
(7.7)
=a -1.
7.4 Engineering Mathematics
I. Now, denoting
D =
didx, we have
nc constant a is determined by setting P.(1) =
=
a "C, D'(r -
1)" D"-l(x +
1)"|
x=l
= aln! (r + 1" + terms containing product of various powers of (x - 1) and (r + 1
= aln! 2"]
Since all the terms containing positive powers of (r - 1) vanish at x = 1. Therefore,
and ) = - 1)".
(7.8)
n12
This equality is called the Rodrigue's formula. Using the Binomial theorem, we get
-1 " C , ( x * ) - ) =r r ! ( n - r)!*
P,(x) rn-r)!d
1 (-1)'2n-2r)!x-2
r!(n- r)!(n - 2r)! (7.9)
where N= n/2 or (n - 1)/2 whichever is an integer. In notation, we usually write as N = Ln/2]
Substituting n = 0, 1, 2,... in Eq. (7.9), we get the Legendre polynomials as
Example 7.1 Express P(x) = 3Pstx) + 2P2x) + 4Pi) + 5P%t) as a polynomial in x, where Pm)
is the Legendre polynomial of order m.
Solution Substituting the expressions for Po. Pi» Pz and P3, We obtain
PAx)
0, 1)
P'
P
(-1,0) X (1,0)
(0,-1)
-
5(8P+20P + 7P).
Therefore, f() = 8P+20P+ 7Ph)+ 2 P +3A)-2(2P + P) + 5R - 3/P
Legendre's polynomials can also be obtained by using a generating function. We shall prove that
= 2 P(x), t* 1. (7.11)
I-2xt+12 n=0
The function on the left hand side is called the generating function of the Legendre polynomials. We
have
where u=
(2x- t)t.
7.6 Engineering Mathematics
l
2!
2nu+
1323"*21)2" "(31 2 . . .t n?22
4! 6
Substituting u = (2x- t)t, we get
4!
(1-2xt+12)-2 =1 C1)223 -1t* 2x -1)2
2n-2r
[-C(-1)y (2x)-2r|= i 2 1 ) ' 1 " , r!(n 2 r ) - ) " r - 2
Solution
(a) Substituting x = 1 in the generating function, we get
P , P, (1)
I-2+ 7=0
Comparing the coefficient of " onboth sides, we get P,(1) =1,n=0, l,..
we
(6) Replacing x and t by -
x and -
1-2xt+t
Legendre Polynomials, Chebyshev Polynomials, Bessel Funcluons
Since the left hand side is 2 P(x)", we get
n=0
PCx)=2-1" P,-x)"
n=0
n=0
(b) nPax) =
xPE(x) - Pi-1(x). (7.13)
Pa+1(x)-xP{(x) = (n + 1)P,(x). (7.14)
Differentiating the generating function
(1-2xt+ 2)-/2 =
2 Pa (x)r" (7.15)
n=0
xP (x) -
Par(x) =
nP,(x).
This proves (b). Similarly, (c) is proved (see Problem 19.in Exercise 7.1).
Example 7.4 Using the recurrence relation (7.12), generate the Legendre polynomials Pz, Pa, P,
For n 3, we get
4Pat)= 7xPj)-3P;()
or Pa(x)=(35xr* 30x -
+ 3).
I| =
15.75)= 2.875.
2, we get
Setting n
3P () =
5x P2 (x) 2P1),
-
Therefore
PA(2.1)= 3(2.1)2.1) 1] = 6.115.
and
B(2.1)=[5(2.1)X6.115)-2(2.1)) =20.0025.
Show that
Example 7.6
Pr)dr = Zn+P (7)- Pa)N
cahution Adding the two recurrence relations given in Eqs. (7.13) and (7.14), we get
N /2
For discrete data, we define
be orthonormal if they are orthogonal on the interval (a, b]
Tunctions o(t),0 (x),.. .are said to l 1 for all i. It is easy to construct orthonormal
1.
W)0(x) dx 1o(x) =
=z,i#
2
0.
For i = 0, we have 10C)= | -
dr=
27
Hence, the functions