Professional Documents
Culture Documents
(1)
y=
c j xj
j=0
j(j 1)cj xj2 2x
jcj xj1 +
c j xj = 0
(1 x2 )
j=2
j=2
j=1
j(j 1)cj xj
j=2
j=1
j=0
2jcj xj +
c j xj = 0
j=0
After re-indexing the rst series and grouping the other series, we get
(j + 2)(j + 1)cj+2 xj
(j 2 + j )cj xj = 0
j=0
and then
j=0
(j + 2)(j + 1)cj+2 (j 2 + j )cj xj = 0 .
j=0
c0 , c 4 =
c2 =
c0
c2 =
2
43
4!
Date: April 14, 2014.
1
k1
k=0
i=0
[(2i + 1)(2i) ]
x2k
(2k)!
A second series solution (independent from the rst) can be obtained by making
c0 = 0 and c1 = 0. In this case ceven = 0 and
k
c1
[2i(2i 1) ]
c2k+1 =
(2k + 1)! i=1
The corresponding solution is
y2 (x) = c1
k
k=0
[(2i)(2i 1) ]
i=1
x2k+1
(2k + 1)!
Remark 1. It can be proved by using the ratio test that the series dening y1 and
y2 converge on the interval (1, 1) (check this as an exercise).
2. It is also proved that for every either y1 or y2 is unbounded on (1, 1). That
is, as x 1 or as x 1, one of the following holds, either |y1 (x)| or
|y2 (x)| .
3. The only case in which Legendre equation has a bounded solution on [1, 1] is
when the parameter has the form = n(n + 1) with n = 0 or n Z+ . In this
case either y1 or y2 is a polynomial (the series terminates). This case is considered
below.
2. Legendre polynomials
Consider the following problem
Problem. Find the parameters R so that the Legendre equation
(3)
(1 x2 )y + y = 0, 1 x 1 .
has a bounded solution.
This is a singular Sturm-Liouville problem. It is singular because the function
(1 x2 ) equals 0 when x = 1. For such a problem, we dont need boundary conditions. The boundary conditions are replaced by the boundedness of the solution.
As was pointed out in the above remark, the only values of for which we have
bounded solutions are = n(n + 1) with n = 0, 1, 2, . These values of are
the eigenvalues of the SL-problem.
To understand why this is so, we go back to the construction of the series solutions and look again at the recurrence relations giving the coecients
cj+2 =
(j + 1)j
cj ,
(j + 2)(j + 1)
j = 0, 1, 2,
(n + 1)n
cn = 0.
(n + 2)(n + 1)
(j + 2)(j + 1)
(j + 2)(j + 1)
cj+2 =
cj+2 ,
j(j + 1) n(n + 1)
(n j)(n + j + 1)
for j = n 2, n 4, 1 or 0. Equivalently,
cn2k =
(n 2k + 2)(n 2k + 1)
cn2k+2 ,
(2k)(2n 2k + 1)
k = 1, 2, , [n/2].
I will leave it as an exercise to verify the following formula for cn2k in terms of cn :
cn2k =
(1)k
n(n 1) (n 2k + 1)
cn .
2k k! (2n 1)(2n 3) (2n 2k + 1)
[n/2]
y(x) =
k=0
where cn is an arbitrary constant. The n-th Legendre polynomial Pn (x) is the above
polynomial of degree n for the particular value of cn
cn =
(2n)!
.
2n (n!)2
[n/2]
1 (1)k (2n 2k)! n2k
x
.
2n
k!(n k)!(n 2k)!
k=0
Note that if n is even (resp. odd), then the only powers of x involved in Pn are
even (resp. odd) and so Pn is an even (resp. odd).
The rst six Legendre polynomials are.
P0 (x) = 1
1
P2 (x) = (3x2 1)
2
1
P4 (x) = (35x4 30x2 + 3)
8
We have the following proposition.
P1 (x) = x
1
P3 (x) = (5x3 3x)
2
1
P5 (x) = (63x5 70x3 + 15x)
8
P0
P
2
P4
P6
P1
P
3
P5
P7
(1 x2 )
d2 y (k)
dy (k)
+ (2n k)(k + 1)y (k) = 0.
+ 2(n k 1)x
2
dx
dx
So formula (5) holds when k = 0. By induction suppose the (5) holds up to order
k 1. We can rewrite (5) for k 1 as
dy (k)
+ 2(n k)xy (k) + (2n k + 1)ky (k1) = 0.
dx
We dierentiate to obtain
(1 x2 )
d2 y (k)
dy (k)
+ [2(n k) + k(2n k + 1)]y (k) = 0.
+ [2(n k) 2]x
2
dx
dx
which is precisely (5).
(1 x2 )
d2 y (n)
dy (n)
2x
+ n(n + 1)y (k) = 0.
2
dx
dx
Hence y (n) solves the Legendre equation with = n(n + 1). Since y (n) is a polynomial of degree 2n, then by Proposition 1, it is a multiple of Pn . There is a constant
K such that Pn (x) = Ky (n) (x). To complete the proof, we need to nd K. For
this notice that the coecient of xn in Pn is (2n)!/(2n (n!)2 ). The coecient of xn
in y (n) is that of
(2n)! n
dn (x2n )
= (2n)(2n 1) (2n n + 1)xn =
x
n
dx
n!
Hence
(2n)!
(2n)!
1
= n
K= n .
n!
2 (n!)2
2 n!
This completes the proof of the Rodrigues formula.
K
(6)
1)
]
= k
[x(x2 1)k1 ]
k
k
dx 2 k! dx
2 k! dxk
dk1
1
((2k 1)x2 1)(x2 1)k2
= k1
k1
2
(k 1)! dx
For k = n + 1, we get
1 dn
((2n + 1)x2 1)(x2 1)n1
n! dxn
From Rodrigues formula at n 1, we get
1
dn1
d
2n dn
2
n1
[(x 1)
] = n
[(x2 1)n1 ]
Pn1 (x) =
n1
n1
dx 2
(n 1)! dx
2 n! dxn
Pn+1
(x) =
2n
As a consequence, we have
(x) Pn1
(x) =
Pn+1
2n + 1 dn
[(x2 1)n ] = (2n + 1)Pn (x) .
2n n! dxn
Generating function. It can be shown that the Legendre polynomials are generated by the function
1
g(x, t) =
.
1 2xt + t2
More precisely, if we extend g(x, t) as a Taylor series in t, then the coecient of tn
is the polynomial Pn (x):
(7)
1
=
Pn (x)tn .
1 2xt + t2
n=0
(x t)
1 2xt + t2
nPn (x)tn1 .
n=1
(x t)Pn (x)tn =
n=0
n=1
Equivalently,
n=0
xPn (x)tn
Pn (x)tn+1 =
n=0
nPn (x)tn1
n=1
2nxPn (x)tn +
n=1
nPn (x)tn+1
n=1
n=1
1 < x < 1,
with y bounded on (1, 1). The eigenvalues are n = n(n + 1) with corresponding
eigenfunctions Pn (x). Furthermore, the eigenfunctions corresponding to distinct
eigenvalues are orthogonal. That is
1
(9)
< Pn (x), Pm (x) >=
Pn (x)Pm (x)dx = 0 ,
n = m .
1
= [(x2 1)Pn (x)] Pm (x) [(x2 1)Pm
(x)] Pn (x)
2
2
= (x 1)Pn (x)Pm (x) (x 1)Pm (x)Pn (x)
2
= (x 1)(Pn (x)Pm (x) Pm
(x)Pn (x))
Integrate from 1 to 1
1
1
Pn (x)Pm (x)dx = (x2 1)(Pn (x)Pm (x) Pm
(x)Pn (x)) 1 = 0.
(n m )
1
1
(10)
||Pn (x)||2 =
Pn (x)2 dx =
1
2
2n + 1
1
1
dx
=
P
(x)P
(x)dx
tn+m
n
m
2
1 1 2xt + t
1
n,m0
x=1
1
||Pn (x)||2 t2n ,
ln |1 2xt + t2 | x=1 =
2t
n=0
1 1 + t
ln
||Pn (x)||2 t2n .
=
t
1t
n=0
Recall that for |s| < 1, the Taylor series of ln(1 + s) is
ln(1 + s) =
(1)j1
j=1
sj .
1 (1)j1 j (1)j1
j
=
t
(t)
t j=1
j
j
j=1
1 (1)j1 + 1 j
t
t j=1
j
2
=
t2n
2n
+
1
n=0
=
It follows that
2
t2n =
||Pn (x)||2 t2n .
2n
+
1
n=0
n=0
f (x)
cn Pn (x)
n=0
where
cn =
1
1
f (x)Pn (x)dx
f (x+ ) + f (x )
cn Pn (x) .
=
2
n=0
f (x) =
cn Pn (x) .
n=0
Remark 2. Suppose that f is an odd function. Since Pn is odd when n is odd and
Pn is even when n is even, then the Legendre coecients of f with even indices are
all zero (c2j = 0). The Legendre series of f contains only odd indexed polynomials.
That is,
fav (x) =
c2j+1 P2j+1 (x)
j=0
where
c2j+1 = (2(2j + 1) + 1)
f (x)P2j+1 (x)dx.
Similarly, if f is an even function, then its Legendre series contains only even
indexed polynomials.
fav (x) =
c2j P2j (x)
j=0
where
c2j = (2(2j) + 1)
f (x)P2j (x)dx.
0
If a function f is dened on the interval [0, 1], then we can extend it as an even
function feven to the interval [1, 1]. The Legendre series of feven contains only
even-indexed polynomials. Similarly, if we extend f as an odd function fodd to
[1, 1], then the Legendre series contains only odd-indexed polynomials. We have
the following theorem.
Theorem 5. Let f be a piecewise smooth function on [0, 1]. Then, f has an
expansion into even Legendre polynomials
fav (x) =
f (x+ ) + f (x )
c2j P2j (x) .
=
2
j=0
fav (x) =
f (x+ ) + f (x )
=
c2j+1 P2j+1 (x) .
2
j=0
cn = (2n + 1)
f (x)Pn (x)dx .
0
Example 1. Consider the function f (x) =
1
0
0 < x < 1,
The n-th Legendre
1 < x < 0
coecient of f is
cn =
2n + 1
2
1
1
f (x)Pn (x)dx =
2n + 1
2
Pn (x)dx .
0
10
1 1
1
dx =
2
0
2
3 1
3
xdx =
c1 =
2
0
4
5 11
2
(3x 1)dx = 0
c2 =
2
0 2
1
1
7
7
(5x3 3x)dx =
c3 =
2 0 2
16
c0 =
Hence,
3
7
1
P0 (x) + P1 (x) P3 (x) +
0 < x < 1,
2
4
16
3
7
1
1 < x < 0
0 = P0 (x) + P1 (x) P3 (x) +
2
4
16
1
0 < x < 1,
Example 2. Let f (x) =
. Since f is odd, its Legendre series
1
1 < x < 0
contains only odd indexed polynomials. We have
1
c2n+1 = (4n + 3)
P2n+1 (x)dx .
1=
0
Pk1
) with k = 2n + 1,
By using the recurrence relation (6) ((2k + 1)Pk = Pk+1
we get
1
(P2n+2
(x) P2n
(x))dx = P2n+2 (1) P2n+2 (0) P2n (1) + P2n (0) .
c2n+1 =
0
Since P2j (1) = 1 that P2j (0) = (1)j (2j)!/22j (j!)2 (see exercise 1), then it follows
that
(1)n (4n + 3) (2n)!
c2n+1 = P2n (0) P2n+2 (0) =
.
2n+1 (n + 1)
(n!)2
We have then the expansion
(1)n (4n + 3) (2n)!
P2n+1 (x) , 0 < x < 1 .
1=
2n+1 (n + 1)
(n!)2
n=0
6. Separation of variables for u = 0 in spherical coordinates
Recall that if (x, y, z) and (, , ) denote, respectively, the cartesian and the
spherical coordinates in R3 :
x = cos sin ,
y = sin sin ,
z = cos ,
2
2
2
1 2
cot
1
+
+
+ 2
+
2
2 sin2 2
2 2
1 2 u cot u
2u
2 u 2 u
1
+
+ 2 2+ 2
+ 2 2
=0
2
2
sin