Line 52: Line 52:
 
if  n  is odd.  Recall that if n is odd,  P_n  is odd.  An even times an odd is a ... etc.
 
if  n  is odd.  Recall that if n is odd,  P_n  is odd.  An even times an odd is a ... etc.
  
Page 209, Question 17:
+
Question: Page 209, Problem 17:
 
For the given equation, shouldn't p=1, q=16, r=1?  These values differ from the textbook's values.
 
For the given equation, shouldn't p=1, q=16, r=1?  These values differ from the textbook's values.
  
 
Answer:  If that were the case, then the equation would be
 
Answer:  If that were the case, then the equation would be
  
[py']' + (q+ lambda r) y = 0
+
[py']' + (q+ lambda r) y =
  
[1 y']' + (16 + lambda) y = 0
+
[1 y']' + (16 + lambda) y =
  
 
y" + (16 + lambda) y = 0
 
y" + (16 + lambda) y = 0
Line 65: Line 65:
 
and it ain't.  You need to use problem  6  in the same section to get p,q, and r.
 
and it ain't.  You need to use problem  6  in the same section to get p,q, and r.
  
--> Why isn't q=pg=16*exp(8x)?
+
Question: Why isn't q=pg=16*exp(8x)?
 +
 
 +
Answer:  Here is the idea of problem 6.  We have the equation
 +
 
 +
<math>y'' + 8 y' + (\lambda + 16)y=0.</math>
 +
 
 +
Multiply that equation by p(x).  You get
 +
 
 +
<math>py'' + 8p y' + (\lambda p+ 16p)y=0.</math>
 +
 
 +
If this were in Sturm-Liouville form, it would look like
 +
 
 +
<math>[py']'+ (q + \lambda r) y = </math>
 +
 
 +
<math>py'' + p'y' + (q+ \lambda r) y = 0.</math>
 +
 
 +
By comparing those two, we see that we need
 +
 
 +
<math>p'=8p</math>
 +
 
 +
and 16p = q  and p=r.
  
 
[[2010 MA 527 Bell|Back to the MA 527 start page]]  
 
[[2010 MA 527 Bell|Back to the MA 527 start page]]  

Revision as of 05:23, 23 October 2010

Homework 9 Collaboration Area

Here are some hints about the problems on Legendre Polynomials.

See p. 180 for a list of the first few Legendre Polynomials.

The even numbered Legendre Polynomials only involve even powers of x, so they are even functions.

The odd numbered Legendre Polynomials only involve odd powers of x, so they are odd functions.

The Legendre Polynomials are orthogonal on the interval [-1,1].

p. 209, 5. asks you to show that

$ P_n(\cos\theta) $

are orthogonal on [0,pi] with respect to the weight function

$ \sin\theta, $

i.e., to show that

$ \int_0^\pi P_n(\cos\theta)P_m(\cos\theta)\sin\theta\ d\theta=0 \qquad\text{if }n\ne m. $

The key here is to use the change of variables

$ x=\cos\theta $

and convert the integral to one in x over the interval [-1,1], where you can use the orthogonality of the Legendre Polynomials.

p. 216, problems 1 and 3 ask you to expand a given function in terms of Legendre Polynomials. Here, you will use the fact that if Q(x) is a polynomial of degree N, then

$ Q(x)=\sum_{n=0}^N c_nP_n(x) $

where the coefficients c_n are computed via orthogonality:

$ \int_{-1}^1 Q(x)P_m(x)\ dx=c_m\int_{-1}^1 P_m(x)P_m(x)\ dx. $

You will need to use the fact given on page 212 that

$ \int_{-1}^1 P_m(x)^2\ dx=\frac{2}{2m+1}. $

p. 216, 5. asks you to show that if f(x) is even, then all the odd coefficients in its Legendre expansion must vanish, i.e., that

$ \int_{-1}^1 f(x)P_n(x)\ dx=0 $

if n is odd. Recall that if n is odd, P_n is odd. An even times an odd is a ... etc.

Question: Page 209, Problem 17: For the given equation, shouldn't p=1, q=16, r=1? These values differ from the textbook's values.

Answer: If that were the case, then the equation would be

[py']' + (q+ lambda r) y =

[1 y']' + (16 + lambda) y =

y" + (16 + lambda) y = 0

and it ain't. You need to use problem 6 in the same section to get p,q, and r.

Question: Why isn't q=pg=16*exp(8x)?

Answer: Here is the idea of problem 6. We have the equation

$ y'' + 8 y' + (\lambda + 16)y=0. $

Multiply that equation by p(x). You get

$ py'' + 8p y' + (\lambda p+ 16p)y=0. $

If this were in Sturm-Liouville form, it would look like

$ [py']'+ (q + \lambda r) y = $

$ py'' + p'y' + (q+ \lambda r) y = 0. $

By comparing those two, we see that we need

$ p'=8p $

and 16p = q and p=r.

Back to the MA 527 start page

To Rhea Course List

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang