Академический Документы
Профессиональный Документы
Культура Документы
Reading Problems
Outline
Background and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Assigned Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1
Background and Definitions
The ordinary differential equation referred to as Legendre’s differential equation is frequently
encountered in physics and engineering. In particular, it occurs when solving Laplace’s
equation in spherical coordinates.
Adrien-Marie Legendre (September 18, 1752 - January 10, 1833) began using, what are now
referred to as Legendre polynomials in 1784 while studying the attraction of spheroids and
ellipsoids. His work was important for geodesy.
d2 y dy
(1 − x2 ) − 2x + n(n + 1) y = 0 n > 0, |x| < 1
dx2 dx
is known as Legendre’s equation. The general solution to this equation is given as a function
of two Legendre functions as follows
where
1 dn
Pn(x) = (x2 − 1)n Legendre function of the first kind
2nn! dxn
1 1+x
Qn(x) = Pn(x) ln Legendre function of the second kind
2 1−x
d2 y dy m2
(1 − x )2
− 2x + n(n + 1) − y=0
dx2 dx 1 − x2
2
If we set m = 0 in this equation the differential equation reduces to Legendre’s equation.
y = A Pm m
n (x) + B Qn (x)
where Pm m
n (x) and Qn (x) are called the associated Legendre functions of the first and second
kind given as
dm
n (x) = (1 − x )
Pm 2 m/2
Pn(x)
dxm
dm
Qm
n (x) = (1 − x ) 2 m/2
Qn(x)
dxm
3
Legendre’s Equation and Its Solutions
Legendre’s differential equations is
d2 y dy
(1 − x2 ) − 2x + n(n + 1) y = 0 n > 0, |x| < 1
dx2 dx
or equivalently
d dy
(1 − x )
2
+ n(n + 1) y = 0 n > 0, |x| < 1
dx dx
Solutions of this equation are called Legendre functions of order n. The general solution can
be expressed as
where Pn(x) and Qn(x) are Legendre Functions of the first and second kind of order n.
1 dn
Pn(x) = (x2 − 1)n
2nn! dxn
Legendre functions of the first kind (Pn(x) and second kind (Qn(x) of order n = 0, 1, 2, 3
are shown in the following two plots
4
The first several Legendre polynomials are listed below
1
P0 (x) = 1 P3 (x) = (5x3 − 3x)
2
1
P1 (x) = x P3 (x) = (35x4 − 30x2 + 3)
8
1 1
P2 (x) = (3x2 − 1) P3 (x) = (63x5 − 70x3 + 15x)
2 8
2n + 1 n
Pn+1 (x) = xPn(x) − Pn−1 (x)
n+1 n+1
can be used to obtain higher order polynomials. In all cases Pn(1) = 1 and
Pn(−1) = (−1)n
1
Pm(x) Pn(x) dx = 0 m = n
−1
1
2
[Pn(x)]2 dx = m=n
−1 2n + 1
5
1
P0
P2 P1
0.5
P3
Px
-0.5
-1 -0.5 0 0.5 1
x
1
0.75 Q2 Q3 Q0
0.5
0.25
Qx
0
-0.25
-0.5
-0.75 Q1
-1 -0.5 0 0.5 1
x
6
Orthogonal Series of Legendre Polynomials
Any function f (x) which is finite and single-valued in the interval −1 ≤ x ≤ 1, and which
has a finite number or discontinuities within this interval can be expressed as a series of
Legendre polynomials.
We let
1
∞ 1
f (x)Pm(x) dx = An Pm(x)Pn(x) dx
−1 n=0 −1
1
2n + 1
An = f (x)Pn(x) dx n = 0, 1, 2, 3 . . .
2 −1
Since Pn(x) is an even function of x when n is even, and an odd function when n is odd, it
follows that if f (x) is an even function of x the coefficients An will vanish when n is odd;
whereas if f (x) is an odd function of x, the coefficients An will vanish when n is even.
7
When x = cos θ the function f (θ) can be written
∞
f (θ) = AnPn(cos θ) 0≤θ≤π
n=0
where
π
2n + 1
An = f (θ)Pn(cos θ) sin θ dθ n = 0, 1, 2, 3 . . .
2 0
(−1)nΓ(n + 1/2)
P2n(0) = √ P2n+1 (0) = 0
πΓ(n + 1)
(−1)n2Γ(n + 3/2)
P2n(0) = 0 P2n+1 (0) = √
πΓ(n + 1)
n(n + 1) n(n + 1)
Pn(1) = Pn(−1) = (−1)n−1
2 2
|Pn(x)| ≤ 1
dPn(x)
Pn(1) = at x = 1
dx
8
Generating Function for Legendre Polynomials
If A is a fixed point with coordinates (x1 , y1 , z1 ) and P is the variable point (x, y, z) and
the distance AP is denoted by R, we have
R2 = (x − x1 )2 + (y − y1 )2 + (z − z1 )2
From the theory of Newtonian potential we know that the potential at the point P due to
a unit mass situated at the point A is given by
C
φ=
R
where C is some constant. It can be shown that this function is a solution of Laplace’s
equation.
z
A(x,y,z)
R
OA AP
B(x,y,z) a
r
OB y O
a = OA
r = OB
C C
φ = = √
R r2 + a2 − 2 cos−1 θ
9
Through substitution we can write
C
−1/2
φ= 1 − 2xt + t2
r
where
a
t= , x = cos θ
r
Therefore
C
φ≡ g(x, t)
r
and OP
We introduce the angle θ between the vectors OA and write
R2 = r 2 + a2 − 2 cos−1 θ
where a = |OA|. If we let r/R = t and x = cos θ, then
is defined as the generating function for Pn(x). Expanding by the binomial expansion we
have
∞
1 (2xt − t2 )n
g(x, t) = n
n=0
2 n!
(α)0 = 1
10
(α)n is referred to as the Pochammer symbol and (α, n) is the Appel’s symbol.
Thus we have
∞
(1/2)n n!(2x)n−k tn−k (−t2 )k
n
g(x, t) =
n=0
n! k=0
k!(n − k)!
∞
n/2
(−1) (2n − 2k)!x
k n−2k
g(x, t) = (1 − 2xt + t2 )−1/2 = tn
n=0 k=0
2 k!(n − 2k)!(n − k)!
n
∞
2 −1/2
g(x, t) = (1 − 2xt + t ) = Pn(x)tn |x| ≤ 1, |t| < 1
n=0
1 1+x
Qn(x) = Pn(x) ln = Wn−1 (x)
2 1−x
where
n
1
Wn−1 (x) = Pm−1 (x)Pn−m(x)
m=1
m
is a polynomial of the (n − 1) degree. The first term of Qn(x) has logarithmic singularities
at x = ±1 or θ = 0 and π.
11
The first few polynomials are listed below
1 1+x
Q0 (x) = ln
2 1−x
Q1 (x) = P1 (x)Q0 (x) − 1
3
Q2 (x) = P2 (x)Q0 (x) − x
2
5 2
Q3 (x) = P3 (x)Q0 (x) − x2 +
2 3
The higher order polynomials Qn(x) can be obtained by means of recurrence formulas
exactly analogous to those for Pn(x).
Numerous relations involving the Legendre functions can be derived by means of complex
variable theory. One such relation is an integral relation of Qn(x)
∞ ! −n−1
Qn(x) = x+ x2 − 1 cosh θ dθ |x| > 1
0
t−x ∞
(1 − 2xt + t2 )−1/2 cosh−1 √ = Qn(x)tn
x −1
2
n=0
12
Legendre’s Associated Differential Equation
The differential equation
d2 y dy m2
(1 − x )
2
− 2x + n(n + 1) − y=0
dx2 dx 1 − x2
y = A Pm m
n (x) + B Qn (x)
where Pm m
n (x) and Qn (x) are called the associated Legendre functions of the first and second
kind respectively. They are given in terms of ordinary Legendre functions.
dm
Pm
n (x) = (1 − x ) 2 m/2
Pn(x)
dxm
dm
n (x) = (1 − x )
Qm 2 m/2
Qn(x)
dxm
The Pm n (x) functions are bounded within the interval −1 ≤ x ≤ 1 whereas Qn (x)
m
(1 − x2 )m/2 dm+n
Pm
n (x) = (x2 − 1)n = 0 m>n
2nn! dxm+n
3
P1 (x) = (1 − x2 )1/2 P3 (x) = (5x2 − 1)(1 − x2 )1/2
2
13
Other associated Legendre functions can be obtained by the recurrence formulas.
(n + 1 − m)Pm
n+1 (x) = (2n + 1)xPn (x) − (n + m)Pn−1 (x)
m m
2(m + 1)
Pm+2 (x) = x Pm+1 − (n − m)(n + m + 1)Pm
n (x)
n
(1 − x2 )1/2 n
Orthogonality of Pm
n (x)
1
Pm m
n (x)Pk (x) dx = 0 n = k
−1
and also
1 m
2 2 (n + m)!
Pn (x) dx =
−1 2n + 1 (n − m)!
f (x) = AmPm m m
1 (x) + Am+1 Pm+1 (x) + Am+2 Pm+2 (x) + . . .
14
where the coefficients are determined by means of
2k + 1 (k − m)! 1
Ak = f (x)Pm
k (x) dx
2 (k + m)! −1
15
Assigned Problems
1 dn 2
Pn(x) = (x − 1)n
2nn! dxn
2. Obtain the Legendre polynomial P4 (x) directly from Legendre’s equation of order 4
by assuming a polynomial of degree 4, i.e.
π !
1
Pn(x) = (x + x2 − 1 cos t)n dt
π 0
0 −1 ≤ x ≤ 0
f (x) =
x 0≤x≤1
16
6. Find the first three coefficients in the expansion of the function
cos θ 0 ≤ θ ≤ π/2
f (θ) =
0 π/2 ≤ θ ≤ π
in a series of the form
∞
f (θ) = AnPn(cos θ) 0≤θ≤π
n=0
7. Obtain the associated Legendre functions P21 (x), P32 (x) and P23 (x).
8. Verify that the associated Legendre function P32 (x) is a solution of Legendre’s associ-
ated equation for m = 2, n = 3.
1
Pnm(x) Pkm(x) dx = 0 n = k
−1
for the associated Legendre functions P21 (x) and P31 (x).
1 m
2 2 (n + m)!
Pn (x) dx =
−1 2n + 1 (n − m)!
for the associated Legendre function P11 (x).
11. Obtain the Legendre functions of the second kind Q0 (x) and Q1 (x) by means of
dx
Qn(x) = Pn(x)
[Pn(x)]2 (1 − x2 )
12. Obtain the function Q3 (x) by means of the appropriate recurrence formula assuming
that Q0 (x) and Q1 (x) are known.
17
Selected References
2. Arfken, G., “Legendre Functions of the Second Kind,” Mathematical Methods for
Physicists, 3rd ed. Orlando, FL: Academic Press, pp. 701-707, 1985.
18