Legendre function
Legendre function
UNIT 4
SPECIAL FUNCTIONS-I
Structure
4.1 INTRODUCTION
In this unit, we discuss Legendre polynomials, spherical harmonics and
hypergeometric functions. We will solve respective differential equations,
write their generating functions and obtain recurrence relations for each
special function.
In the next unit, we discuss Hermite and Laguerre Polynomials, the Sturm-
Liouville problem, and explain how to expand a given function in terms of
orthogonal functions.
Expected Learning Outcomes
After studying this unit, you should be able to:
obtain Legendre polynomials by solving Legendre’s differential equation as
well as from the generating function and Rodrigues’s formula;
derive the recurrence relations, orthogonality relation for Legendre
polynomials and use them to solve problems in physics;
obtain spherical harmonics by solving the ODE as well as from their
generating function and derive their recurrence relations; and
obtain Hypergeometric functions by solving the ODE as well as from their
generating function and derive their recurrence relations.
You can obtain the solution of this equation by solving SAQ 1. It is:
SAQ 1
Solve Eq. (4.1) and obtain its general solution given by Eq. (4.2).
Note from Eq. (4.2) that for an even integer n 0 , the first bracketed term in
this series (with even powers of x) terminates leading to a polynomial solution.
For an odd integer (n > 0), the latter term in the series (with odd powers of x)
terminates and gives a polynomial solution. So, for any integer n 0 ,
Legendre’s equation has a polynomial solution. For n 0,1, 2, ..., Eq. (4.2)
leads to the following solutions of Eq. (4.1):
y a0 , n0 (4.3a)
y a1 x, n 1 (4.3b)
y a0 (1 3 x 2 ) , n2 (4.3c)
3x 5x3
y a1 , n 3 (4.3d)
2
where y1( x ) and y 2 ( x ) are linearly independent. You should note that
Eq. (4.4) does not give the general solution of Legendre’s differential
equation. To understand the general solution we have to reconsider the
recursion formula arrived at while solving Legendre’s equation (solution of
SAQ 1):
(n k )(n k 1)
ak 2 ak ; n 0,1, 2, ..., (4.5)
(k 1)(k 2)
Note that the coefficients ak 2 will vanish when (i) n k and/or (ii)
n (k 1). ak 2 0 implies that the series terminates with ak as the last
non-zero coefficient. That is how we get polynomial solutions. While obtaining
the polynomial solutions Pn (x ), we considered the polynomial solutions with
n k only.
When we take n (k 1), the series obtained diverges for x 1. This
solution is unbounded. It is called a Legendre function of second kind and
denoted by Qn (x ) . Thus, the most general solution of Legendre’s differential
equation can be written as:
y A1 Pn ( x ) A2 Qn ( x ) (4.6)
We now work out a simple example to enable you to fix these concepts
2 n n! 24 2 1 1
x (3x 2 1)
So that the expression for 4 4 3 2
a n reduces to
2n! In this way, you can obtain expressions for higher order Legendre
an
2 n (n! ) 2 polynomials. For practice, you may like to solve SAQ 2.
SAQ 2
Determine P3 ( x ).
You can readily identify this with Eq. (4.8). So we may conclude that Eq. (4.9)
with t 1 signifies the generating relation for Legendre polynomials and 79
Block 1 Mathematical Methods in Physics
1
g ( x, t ) is called the generating function for Legendre
1 2 xt t 2
polynomials.
For x = 1, Eq. (4.9) gives 1 2t t 2
1/ 2
Pn (1) t n
n 0
The left hand side now reduces to (1 t ) 1, which has series representation as
t n . Then the above expression takes the form:
n 0
tn Pn (1) t n
n 0 n 0
r1 r 2 a 2 2ar cos
q 1
V
4 0 r 2 a 2 2ar cos
q 1
(4.12)
4 0 r a 2
1 2 cos
a
r r
a n
Pn (cos )
q
V (4.13)
4 0 r n 0 r
80
Unit 4 Special Functions-I
Example 4.2
Calculate the values of P2n (0) and P2n 1(0 ).
P2n 1(0) 0
SAQ 3
Prove that
a) Pn ( 1) ( 1) n and
b) Pn ( x ) (1) n Pn ( x )
We shall now use the generating function to obtain the recurrence relations or
recursion relations for Legendre polynomials. This nomenclature stems from
the fact that expressions for higher order polynomial can be derived from
knowledge of expressions for lower order polynomials.
4.2.2 Recurrence Relations
To obtain two primary recurrence relations, we differentiate g ( x, t ) partially
with respect to t and x, respectively.
You have learnt that the generating function [Eq. (4.9)] for Legendre
polynomials is:
Pn ( x ) t n
1
g ( x, t )
1 2tx t 2 n 0
or
1 2xt t 2 nPn ( x )t n 1 (t x ) Pn ( x ) t n 0
n 0 n 0
This is one of the two important recurrence relations and correlates any
Legendre polynomial with its adjoining polynomials. For example, by putting
n 1 in Eq. (4.14), we get:
3 x P1( x ) 2 P2 ( x ) P0 ( x )
3 x 2 2P2 ( x ) 1
1
or P2 ( x ) (3 x 2 1)
2
1 2t
g 2
x 1 2 xt t 2 3 / 2 n 0
Pn ( x ) t n
82
Unit 4 Special Functions-I
so that
Pn ( x ) t n
t
(1 2 xt t 2 ) 3 / 2 n 0
or
Pn ( x ) t n
t
(1 2 xt t 2 )
1 2 xt t 2 n 0
t n Pn ( x ) Pn ( x ) t n 2
n 0 n 0
We rewrite it as:
2(2n 1)x Pn ( x ) (2n 1) Pn ( x ) (2n 1) Pn 1( x ) (2n 1) Pn 1( x )
On simplification, we obtain:
Pn 1( x ) Pn 1( x ) (2n 1) Pn ( x ) (4.16)
Eqs. (4.14) and (4.16) are the prime recurrence relations for the Legendre
polynomials. Using these recurrence relations and Legendre’s differential
equation, you can obtain the following relations:
83
Block 1 Mathematical Methods in Physics
You should note that recurrence relations are identities in x and simplify proofs
and derivations.
Two functions A(x) and
B(x) are said to be SAQ 4
orthogonal on the Prove Eqs. (4.17a to d).
interval (a, b) if they
satisfy the relation
b 4.2.3 Orthogonality Relations
A( x ) B( x ) dx 0
One of the important characteristics of Legendre polynomials is that they are
a
From your UG courses orthogonal. This property enables us to express a given function defined on
(refer to Block 2 of the interval (–1,1) in a series of Legendre polynomials. It is therefore important
PHE-05), you may for you to master its applications. The mth and the nth order Legendre
recall that sine and polynomials Pm (x ) and Pn (x ), respectively, satisfy the equations:
cosine functions are
orthogonal in the 2x Pm
(1 x 2 ) Pm m(m 1) Pm ( x ) 0 (4.18a)
interval (1, 1). A
function whose norm is and (1 x 2 ) Pn 2x Pn n (n 1) Pn ( x ) 0 (4.18b)
unity, i.e.,
We multiply the first equation by Pn (x ) and the second equation by Pm (x ) .
f 2 dx 1 is said to Next we subtract the latter product from the former. This leads to the relation:
be normalised. A
Pm Pn ) 2x(Pn Pm
(1 x 2 ) (Pn Pm Pm Pn )
system of normalised
functions which are [n(n 1) m(m 1)] Pm Pn
orthogonal is said to
be orthonormal. You can verify quite easily that the left hand side is equal to
d
(1 x 2 ) (Pn Pm Pm Pn ) so that we can write
dx
d
(1 x 2 ) (Pn Pm Pm Pn ) [n(n 1) m (m 1)] Pm Pn
dx
On integrating both sides over x from x = –1 to x = +1, we obtain:
1
[n(n 1) m(m 1)] Pm ( x ) Pn ( x ) dx
1
Pm Pn ] 11
(1 x 2 ) [Pn Pm
You should note that (1 x 2 ) vanishes for both the limits ( x 1) implying that
the right hand side will be zero always. Further, when m n, for the above
relation to hold we must have:
1
Pm ( x )Pn ( x ) dx 0 (4.19)
84 1
Unit 4 Special Functions-I
which means that the scalar product of Legendre polynomials of different
orders (in the range 1 x 1) is zero. Eq. (4.19) constitutes the
orthogonality relation for Legendre polynomials. Let us now evaluate the
1
integral Pm ( x )Pn ( x ) dx for m n . In other words, we have to evaluate the
1
1
integral [Pn ( x )]2 dx .
1
Pn ( x ) t n
1
From the generating relation we recall that
1 2t x t2 m 0
Pm ( x ) s m
1
We can also write:
1 2 sx s 2 m 0
1
Pm ( x ) Pn ( x ) dx s m t n
m 0 n 0
1
From Eq. (4.19) we understand that the RHS survives only for terms for which
m n. We also observe that when we consider terms for which m n, the
notations t and s become identical and we can write:
1 1 1
2n
1 2 t x t 2
dx 2
[ Pn ( x )] dx t
1 1
1
2 1 t 1 1 t
ln ln
2t 1 t t 1 t
1 1 t 1
ln ln (1 t ) ln (1 t )
t 1 t t
1 2t 3 2t 5
2t ...
t 3 5
t2 t4
t 2n
2 1
3 5
... 2
2n 1
n 0
1
2 t 2n
Thus, [Pn ( x )] 2 dx t 2n
2n 1
n 0
1
n 0
m n 0, when m n
1, when m n
Pm ( x ) f ( x ) dx Ak Pm ( x ) Pk ( x ) dx
1 k 0 1
1
Ak 2m 1 km
2
1 Pm ( x ) f ( x ) dx
k 0
2 2 Am
Ak km
2m 1 k 0 2m 1
1
2k 1
or Ak
2
Pk ( x ) f ( x ) dx (4.23)
1
Example 4.3
1, 0 x 1
Expand the function f ( x ) in a series of the form
0, 1 x 0
Ak Pk ( x ) dx .
k 0
2k 1
0 1
2
Pk ( x ) f ( x ) dx Pk ( x ) f ( x ) dx
1 0
0 for 1 x 0
f (x)
1 for 0 x 1
(3x 2 1) 5x 3 3x
P2 ( x ) , P3 ( x ) , and so on. Therefore,
2 2
1 1
1 1 1
A0
2
P0 ( x ) dx
2
dx 2
0 0
1 1
3 3 3
A1
2
P1( x ) dx
2
x dx 4
0 0
1 1
5 5
A2
2
P2 ( x ) dx
4
(3 x 2 1) dx 0
0 0
and
1 1
7 7 7
A3
2
P3 ( x ) dx
4
(5 x 3 3 x ) dx
16
0 0
11
Proceeding in this way, you will find that A4 0, A5 , and so on. Thus,
32
we can write:
1 3 7 11
f (x) P0 ( x ) P1( x ) P3 ( x ) P5 ( x ) ...
2 4 16 32
You may now like to solve SAQ 5.
SAQ 5
a) In Example 4.3 you must have observed that Ak 0 for even k 0 . Re-
establish this result using the recurrence relation given by Eq. (4.16).
b) Expand f ( x ) x 2 in a series of the form Ak Pk ( x ) .
k 0
You have learnt how to obtain Legendre polynomials from the generating
function. There is another simple way of arriving at the Legendre polynomials.
This is through Rodrigues’ Formula, which we now discuss.
v ( x 2 1) n
so that
dv
( x 2 1) 2nx( x 2 1) n 2nxv
88 dx
Unit 4 Special Functions-I
That is, v satisfies the differential equation
dv
(1 x 2 ) 2nx v 0
dx
Differentiating it again with respect to x, we get:
d 2v dv dv
(1 x 2 ) 2x 2nx 2nv 0
dx 2 dx dx
or
d 2v dv
(1 x 2 ) 2 (n 1)x 2nv 0 (4.24)
dx 2 dx
If you differentiate it again with respect to x, you can write the resultant
expression as:
d 21v d 11v dv
(1 x 2 ) 2x 2(n 1)
dx 21 dx 11 dx
d 11v dv
2(n 1)x 2n 0.
dx 11 dx
d n 2v d n 1 d nv
(1 x 2 ) 2x n(n 1) 0
dx n 2 dx n 1 dx n
This equation can be rewritten as:
d 2 d nv d d nv d nv
(1 x 2 ) 2 x n(n 1) 0
dx 2 dx n dx dx n dx n
you will note that d nv / dx n satisfies the Legendre’s equation. So can write
d nv
Pn ( x ) C
dx n
d nv
That is, Pn (x ) is a constant multiplier times . On substituting for v, we
dx n
obtain
dn
Pn ( x ) C ( x 2 1) n
dx n 89
Block 1 Mathematical Methods in Physics
where C is a constant. To determine this constant, we have to consider terms
with the highest power of x on both sides. From Eq. (4.8) we recall that the
(2n )!
term with the highest power of x it the expression for Pn (x ) is xn.
2 (n! ) 2
n
Hence,
(2n )! dn
xn C x 2n C.2n(2n 1) (2n 2)...[2n(n 1)] x n
2 n (n! ) 2 dx n
(2n )! n
C x
n!
Solution
From Eq. (4.25), we can write:
P3 ( x )
1 d3 1 d 3 ( x 6 3 x 4 3 x 2 1)
( x 3 1) 3
(2 3 )3! dx 3 48 dx 3
Differentiating the expression in the small brackets with respect to x, you will
get:
d
( x 6 3 x 4 3 x 2 1) 6 x 5 12x 3 6 x
dx
We differentiate again the resultant expression with respect to x and get:
d2 d
( x 6 3 x 4 3 x 2 1) (6 x 5 12x 3 6 x )
dx 2 dx
30 x 4 36 x 2 6
and
d3 d
( x 6 3 x 4 3 x 2 1) (30x 4 36x 2 6)
dx 3 dx
120 x 3 72 x
SAQ 6
Obtain P4 ( x ) using Eq. (4.25).
Note that Eq. (ii) is Legendre’s equation, which has Legendre polynomials as
solutions. Hence, the solution of Laplace’s equation with azimuthal symmetry
(no dependence) is given by:
Al r l r l 1 Pl (cos )
B
V ( r , ) (iii)
t 0
A1 E 0 (v)
For the second boundary condition, we choose the surface of the sphere to be
at zero potential. Thus, from Eq. (iii) we have:
B P (cos )
V (r a ) A0 0 1 E 0 a P1(cos )
B
Bt t 0
a a 2 l 1 a l 1
If this equality is to hold for all values of , each coefficient of Pl (cos) must
vanish. Hence, we have:
A0 B0 0, Bn 0 for n 2
and B1 E 0 a 3
Inserting these results in the above expression, we find that the electrostatic
potential is given by:
E0a 3
V E 0 r P1(cos ) P1(cos )
r2
a
3
E 0 r cos 1
r3
SAQ 7
We now discuss the spherical harmonics, which forms the basis of many
important concepts in quantum mechanics, especially, those related to the
structure of atom.
2 2 2
f x, y , z k 2 f x, y , z 0 (4.26a)
x 2 y 2 z 2
1 2 f f 1 2f
sin r sin k 2f
r sin
2 2
r r sin
(4.26b)
92
Unit 4 Special Functions-I
You can separate Eq. (4.26b) into three ODEs by putting f (r, , ) and then
divide by R(r) () (). So, you will get:
1 d 2 dR 1 d d
r sin
Rr dr
2 dr r sin d
2 d
1 d 2
k2 (4.27a)
r 2 sin2 d2
1 d 2
r 2 sin 2 k 2
1 d 2 dR
r
d 2 Rr 2 dr dr
1 d d
sin (4.27b)
r 2 sin d d
The LHS of Eq. (4.27b) is a function of alone and the RHS, a function of r
and . Since r, and are independent variables, we put the LHS and RHS of
Eq. (4.27b) equal to a constant:
d 2 d 2
m 2 or m 2 0 (4.28a)
d 2 d 2
1 d 2 dR 1 d d m2
r r 2k 2 sin
R dr dr sin d d sin 2
(4.29a)
You can see that in Eq. (4.29a), the variables are separated. Again, we equate
each side of Eq. (4.29a) to a constant, say C. Then we have:
1 d d m 2
sin C 0, (4.29b)
sin d d sin 2
and
1 d 2 dR CR
r k 2R 2 0 (4.29c)
r dr
2 dr r
Note that Eq. (4.29b) is the same as Eq. (1.28c) and now we will solve it. For
simplicity of calculations, we put C l ( l 1) as we did in Unit 1 while obtaining
the solution given by Eq. (1.29b). Let us recast Eq. (4.29b)as follows:
d 2 d
sin 2 sin cos m 2 l (l 1) sin 2 0 (4.29d)
d 2 d
93
Block 1 Mathematical Methods in Physics
This equation is called the Legendre’s associated differential equation. If
we set m 0, i.e., there is no dependence, then Eq. (4.29d) reduces to
Legendre’s differential equation. We can transform Eq. (4.29d) by introducing
a change of variables:
x cos
d d dx d
. sin
d dx d dx
d d d
sin cos sin 2 x x 1 x 2
d d dx
d 2 d d d d
sin
d 2 d d d dx
d d 2 dx
cos sin
dx dx 2 d
d 2 d d 2 d 2 d
so that cos sin 2 1 x 2 x
d 2 dx dx 2 dx 2 dx
1 x 2 1 x 2 d d
2 d
x x 1 x 2
dx 2 dx dx
m2 l (l 1) 1 x 2 0
For non-negative integral values of m and l, the general solution of Eq. (4.30)
is given by:
C1Plm ( x ) C 2Q m
l (x)
Note that Plm (x ) is finite for 1 x 1(which conforms with x cos ) and
Qlm (x ) is unbounded for x 1 . For this reason, we consider only Plm (cos)
as an acceptable solution and that too with integral values of m and l.
94
Unit 4 Special Functions-I
The associated Legendre polynomials are connected with Legendre
polynomials through the relation:
Plm ( x ) 1 x 2
m/2 dm
Pl ( x ) (4.32)
dx m
Orthogonality
Just like Legendre polynomials, the associated Legendre polynomials Plm (x )
are also orthogonal in the range 1 x 1 . Mathematically, we write
1 2 (l m)!
1 Plm ( x ) Pkm ( x ) dx 2l 1 (l m)! kl (4.33)
where
1
(2k 1) (k m )!
Ak
2(k m )!
f ( x ) Pkm ( x ) dx (4.34b)
1
2n 1 (n m )! m
m
n (cos ) Pn (cos ) n m n
2 (n m )!
(4.34c)
We are now ready to define spherical harmonics. Note that the function
m ( ) is orthonormal with respect to the variable (the azimuthal angle) and
the function m
n (cos) is orthonormal with respect to the variable (the polar
angle). We define spherical harmonics as the product of these two functions:
2n 1 (n m )! m
Ynm (, ) Pn (cos )e im (4.35a)
4 (n m )!
Thus, spherical harmonics Ynm (, ) are functions of the two angles and ,
which are orthonormal over the spherical surface. Sometimes, a phase factor
(1)m known as the Condon Shortley phase is used in the expression for
spherical harmonics, which then becomes:
2n 1 (n m )! m
Ynm (, ) ( 1) m Pn (cos )e im (4.35b)
4 (n m )!
1
Y00 (, ) (4.36a)
4 95
Block 1 Mathematical Methods in Physics
3
Y10 (, ) cos (4.36b)
4
3
Y11 (, ) sin e i (4.36c)
8
3
Y11 (, ) sin e i (4.36d)
8
and so on.
The orthogonality relation for spherical harmonics is given as:
2
m1
Yn 1
(, )Ynm2 (, ) sin d d n1, n2 m1, m2 (4.37)
2
0 0
You may like to know why this nomenclature is used for these functions.
Firstly, these functions are defined over the surface of a sphere with , the
polar angle, and , the azimuth. The term “harmonic” is included in the
nomenclature because solutions of Laplace’s equations were called harmonic
functions and the spherical harmonics represent the angular part of such
solutions. You may like to solve an SAQ now.
SAQ 8
Write the expressions for the spherical harmonics Y20 (, ), Y21 ( , ) and
Y22 (, ).
y p( x )y q( x )y 0 (4.39a)
[c (a b 1)x ] ab
where p( x ) and q( x ) (4.39b)
x(1 x ) x(1 x )
Let us determine the solutions of Eq. (4.39a) for the singularities using the
Frobenius method (refer to Sec. 3.4, Unit 3 of PHE-05, IGNOU B. Sc. Course).
To apply this method, we write Eq. (4.39a) as:
96 x 2 y x 2 p( x )y x 2q( x )y 0
Unit 4 Special Functions-I
or x 2 y xb ( x )y d ( x )y 0 (4.39c)
where
[c (a b 1)x ]
b( x ) xp ( x )
(1 x )
abx
and d ( x ) x 2 q( x ) (4.40)
(1 x )
c (a b 1)x
b( x ) xp ( x )
(1 x )
[c (a b 1)x ] (1 x x 2 ...) bn x n (4.41a)
n 0
abx
and d ( x ) x 2 q( x )
(1 x )
abx (1 x x 2 ...) dn x n (4.41b)
n 0
Let us now solve Eq. (4.39a) for both regular singular points.
Solution for the regular singularity at x 0
We expand y in the following series about x 0, and take its first and second
order derivatives with respect to x:
y (x) am x mk
m 0
y ( x ) am (m k )x mk 1
m 0
y ( x ) am (m k ) (m k 1)x mk 2
m 0
xk
m 0
(m k ) am x m
n 0
bn x n
xk
m 0
am x m
n 0
dn x n 0
(4.42)
where a0 0. Substituting Eq. (4.43) into Eq. (4.38) and equating the
coefficients of x n to zero, we get:
ab (a 1)(b 1) a(a 1)b(b 1)
a1 a0 ; a2 a1 a0
c 2(c 1) 2c(c 1)
(a n )(b n )
an1 an (4.44)
(n 1(c n )
With these coefficients and by letting a0 1, the solution becomes:
ab a(a 1)b(b 1) 2
y 1 x x ...
c 2c(c 1)
a(a 1)...(a n 1)b(b 1)...(b n 1) n
1 n! c(c 1)...(c n 1)
x (4.45)
n 1
98
Next we consider the solution corresponding to k 1 c.
Unit 4 Special Functions-I
If 1 c is neither zero nor negative integer, i.e., c is not a positive integer, then
there is a second independent solution of Eq. (4.38) near x 0 for k 1 c.
We can find this solution by substituting
in Eq. (4.38) and calculating the coefficients. The other way of finding the
solution is to change the dependent variable in Eq. (4.38) from y to z by writing
y x 1c z .
y x 1c z x 1c F (a c 1, b c 1, 2 c, x )
The simplest way in which we can obtain this solution from the one we have
already determined, is by introducing a new independent variable t 1 x
Hence, x 1 t, dy / dx dy / dt and d 2 y / dx 2 d 2 y / dt 2 .
where the primes denotes the derivatives with respect to t. Since the above
equation is a hypergeometric equation, its general solution near
t 0 can be written down at once from Eq. (4.47) by replacing x by t and c by
a b c 1 and then we replace t by 1 x to get the general solution of
Eq. (4.38) near x 1.
y c1F (a, b, a b c 1,1 x )
4.5 SUMMARY
In this unit, we have covered the following concepts:
Legendre equation and its solutions by the Frobenius method.
Legendre polynomials, generating function, recurrence relations and
Rodrigues’s formula.
Spherical harmonics.
Hypergeometric equation, hypergeometric functions.
1
b) xPn ( x ) dx
1
2x n(n 1)
y y y 0 (4.1)
(1 x2) (1 x 2 )
100
Unit 4 Special Functions-I
2x n(n 1)
Hence, p( x ) and q( x ) .
(1 x 2 ) (1 x 2 )
The functions p(x ) and q (x ) have regular singularities at the points x 1
and x 1. We use power series method to obtain the solution of this
equation. Substituting
y (x) am x m
m 0
y ( x ) am mx m1
m1
y ( x ) am m (m 1)x m2
m 2
n(n 1) am x m 0
m 0
th
Collecting the coefficient of the m power of x in the above equation, we
can write:
(m 2) (m 1)am 2 m (m 1)am 2ma m n(n 1)am 0
or
m (m 1) 2m n(n 1)
am 2 am
(m 2) (m 1)
m (m 1) n(n 1)
am
(m 2) (m 1)
(n m) (m n 1)
am , m 0, 1, 2,...
(m 2) (m 1)
(n 2) (n 3) (n 2) n (n 1)(n 3)
a4 a2 a0 ,
12 4!
( n 3 ) ( n 4) (n 3) (n 1) (n 2) (n 4)
a5 a3 a1,
20 5!
and so on. 101
Block 1 Mathematical Methods in Physics
Substituting these values in the series for y, we get Eq. (4.2):
n(n 1) 2 n(n 2)(n 1)(n 3) 4
y a0 1 x x ...
2! 4!
(n 1)(n 2) 3 (n 1)(n 3)(n 2)(n 4) 5
a1 x x x ...
3! 3!
P3 ( x )
6! x3 3 2 x
2.
2 3 (3! ) 2 25
1 2 3 4 5 5 x 3 3 x 1
5 x 3 3 x
866 5 2
g (t, x ) g ( t, x ) 1 2(t ) ( x ) (t ) 2 1/ 2
Pn ( x ) ( t ) n (1) n Pn ( x ) t n
n 0 n 0
so that Pn ( x ) t n (1) n Pn ( x ) t n
n 0 n 0
Pn ( x ) (1)n Pn ( x )
or Pn ( x ) (1) n Pn ( x )
1 x 2 Pn ( x ) (n 1) x Pn ( x ) (n 1) Pn1( x )
which is the result contained in Eq. (4.17d).
2k 1 1
5. a) Ak
2 0Pk ( x ) dx
x 2 A0 P0 ( x ) A1P1( x ) A2 P2 ( x ) A3 P3 ( x ) ...
3 x 2 1 5x 3 3x
A0 (1) A1( x ) A2 A3 ...
2 2
Since the left hand side of the above equation is a polynomial of
degree 2, we must have A3 0, A4 0, A5 0, and so on.
x 2 A0 2 A1x A2 x 2
A 3
2 2
A 3
A0 2 0, A1 0, and A2 1
2 2 103
Block 1 Mathematical Methods in Physics
1 2
Thus, A0 , A1 0 and A2
3 3
1 2
x2 P0 ( x ) P2 ( x )
3 3
Alternatively, you can calculate A k s using the relation
2k 1 1 2
Ak
2 1
x Pk ( x ) dx
6. P4 ( x )
1 d4
x 2 14
2 4 4! dx 4
1 d4
x 8 4x 6 6x 4 4x 2 1
16 24 dx 4
1
8 7 6 5x 4 4 6 5 4 3x 2 6 4 3 2 1
16 24
1
35x 2 30x 2 3
8
From this form of the solution, we note that V can be finite at the origin
only if Bn 0 for all n. Then Eq. (i) reduces to:
V ( r , ) An r n Pn (cos ) (ii)
n 0
2 3
cos 3 P3 (cos ) cos
5 5
Since cos P1(cos ), we can write:
2 3
cos 2 P3 (cos ) P1(cos )
5 5
Inserting this result in Eq. (iii) we obtain:
1
[2V0 P3 (cos ) 3V0 P1 (cos )] An a n Pn (cos ) (iv)
5 m 0
104
Unit 4 Special Functions-I
Using the orthogonality property of Legendre polynomials, you can see
that A1 3 V0 / 5a and A3 2V0 / 5a 3 . Hence
3 2
V (r , ) V0 (r / a) P1 (cos ) V0 (r / a)3 P3 (cos )
5 5
2n 1 (n m )! m
Ynm (, ) ( 1) m Pn (cos )e im
4 (n m )!
5 3 1
Hence, Y20 (, ) cos 2
4 2 2
5
Y21 (, ) 3 sin cos e i ,
24
5
and Y22 (, ) 3 sin 2 e 2i
96
Terminal Questions
1. Putting x 0, in Eq. (4.12), we get
(1 t 2 ) 1/ 2 Pn (0)t n
n 0
we multiply both sides by Pn1( x ) and integrate the terms with respect
to x between the limits 1 and 1. This yields:
1 1
(n 1) 1Pn1( x ) Pn1( x )dx (2n 1)1 xPn ( x )Pn1( x ) dx
1
n 1 Pn21( x ) dx 0 105
Block 1 Mathematical Methods in Physics
From Eq. (4.21), we have:
1
Pn 1( x ) Pn 1 ( x ) dx 0
1
1 2 2
and 1 Pn21( x ) dx 2(n 1) 1 2n 1
1 2n
0 (2n 1) 1 xPn ( x )Pn1( x ) dx 2n 1 0
On rearranging terms, we get
1 2n
(2n 1) 1 xPn ( x )Pn1( x ) dx 2n 1
1 2n
so that 1 xPn ( x )Pn1( x ) dx (2n 1) (2n 1)
1
b) To evaluate the integral x Pn ( x ) dx, we note that x P1( x ), so that
1
1
1
x Pn ( x ) dx 1P1( x ) Pn ( x ) dx. Therefore, the orthogonality relation
1
1
for Legendre polynomials [Eq. (4.21)] implies that x Pn ( x ) dx 0 for
1
2 2
n 1 and for n = 1.
2 1 1 3
3. We need to solve Laplace’s equation in spherical coordinates subject to
the given boundary conditions. You know the solution of azimuthally
symmetric Laplace’s equation in spherical coordinates. Since temperature
distribution is independent of , we can write
Am r m r mm1 Pm (cos )
B
T ( r , ) (i)
m 0
Since temperature will be finite at the centre of the sphere (r = 0), we must
have B m 0, for all m; otherwise the solution will diverge. Hence, Eq. (i)
reduces to:
T ( r , ) Am r m Pm (cos ) (ii)
m 0
2l 1
T0 Pl ( x ) dx Pl ( x ) dx
0 1
2a l 1 0
2l 1 T0 1
1
2 a 0
l Pl ( x ) dx Pl ( x ) dx
0 (vi)
(2l 1) (T / a l ) 1P ( x ) dx
0
0
l l odd
Al (vii)
0 l even
From this you can readily write the values of first few coefficients:
3T0 1 3T 1 3T
A1
a 0
P1 ( x ) dx 0
a 0
x dx
2a
7T0 1 7T 1 5 x 3 3 x 7T
A3
2 0
P3 ( x ) dx 0
a 3 0 2
dx 0
8a 3
2n 1 (n m)! m
4. Substituting Ynm (, ) Pn (cos )eim from Eq. (4.35a) in
4 (n m)!
Eq. (4.37), we get:
2n1 1 (n1 m1 )! 2n 2 1 (n 2 m 2 )!
4 (n1 m1 )! 4 (n 2 m 2 )!
2
e im e im d
1 2 2 m1,m2 (ii)
0
as you know from your UG integral calculus. Substituting Eq. (ii) in Eq. (i),
its LHS becomes: 107
Block 1 Mathematical Methods in Physics
(n1 m1)! (n m2 )!
(2n1 1) (2n2 1) 2
(n1 m1)! (n2 m2 )!
Pn
m1
(cos ) Pnm2 (cos ) sin d (iii)
1 2
0
Pn
m1
(cos ) Pnm2 (cos ) sin d n1, n2
1 2
0
Combining the results of Eqs. (iv) and (ii), we get the orthonormality
relation of the spherical harmonics [Eq. (4.37)].
5. We change the variable as e x t, and have:
dy dy dt dy dy
ex t
dx dt dx dt dt
d 2y d t dy t dy t 2 d 2 y
and t
dx 2 dt dt dt dt 2
The ODE then becomes:
dy d 2 y t dy
(1 t ) t t2 ty 0
dt dt 2 2 dt
d 2y
t
3 dy
or t (1 t ) y 0
dt 2 2 dt
Comparing this equation with the hypergeometric equation [Eq. (4.38)], we
find that:
3
c , (a b 1) 1, ab 1 a 1, b 1
2
The general solution as per Eq. (4.48) at t 1 or x 0 is:
y c1F (a, b, a b c 1,1 t )
c2 (1 t )c a b F (c b, c a, c a b 1, 1 t )
1
or y c1F (1, 1, ,1 e x )
2
5 1 5
c 2 (1 e x ) 3 2 F ( , , , 1 e x )
2 2 2
108