Line 8: Line 8:
  
 
What do we do with the x in the first term of this problem?
 
What do we do with the x in the first term of this problem?
 
I don't understand what to do with this problem, either. Again, it would be fantastic if the book gave us harder examples.
 
  
 
Answer: When you do a Laplace transform wrt t, the x floats along like when you do d/dt(x*t). Then you can use formula 4 in section 1.5 to solve the 1st order ODE.
 
Answer: When you do a Laplace transform wrt t, the x floats along like when you do d/dt(x*t). Then you can use formula 4 in section 1.5 to solve the 1st order ODE.
 
Thank you!! Section 1.5 was VERY helpful!! :)
 
  
 
Question Page 209 Problem 7:
 
Question Page 209 Problem 7:
Line 20: Line 16:
  
 
Answer: When you do the positive lambda case, you get A = 0 and let B = 1 => Sin(5*mu) = 0. If mu = m*pi/5, this equation is true. I let B=1 because we cannot have both A and B = 0.
 
Answer: When you do the positive lambda case, you get A = 0 and let B = 1 => Sin(5*mu) = 0. If mu = m*pi/5, this equation is true. I let B=1 because we cannot have both A and B = 0.
 
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
 
 
<math>P_n(\cos\theta)</math>
 
 
are orthogonal on [0,pi] with respect to the weight function
 
 
<math>\sin\theta,</math>
 
 
i.e., to show that
 
 
<math>\int_0^\pi P_n(\cos\theta)P_m(\cos\theta)\sin\theta\ d\theta=0
 
\qquad\text{if }n\ne m.</math>
 
 
The key here is to use the change of variables
 
 
<math>x=\cos\theta</math>
 
 
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
 
 
<math>Q(x)=\sum_{n=0}^N c_nP_n(x)</math>
 
 
where the coefficients  c_n  are computed via orthogonality:
 
 
<math>\int_{-1}^1 Q(x)P_m(x)\ dx=c_m\int_{-1}^1 P_m(x)P_m(x)\ dx.
 
</math>
 
 
You will need to use the fact given on page 212 that
 
 
<math>\int_{-1}^1 P_m(x)^2\ dx=\frac{2}{2m+1}.</math>
 
 
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
 
 
<math>\int_{-1}^1 f(x)P_n(x)\ dx=0</math>
 
 
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:
 
Question: Page 209, Problem 17:
Line 118: Line 63:
  
 
Hmmm.  I see what you mean.  I think the answer in the back of the book is wrong.--[[User:Bell|Steve Bell]] 12:07, 23 October 2010 (UTC)
 
Hmmm.  I see what you mean.  I think the answer in the back of the book is wrong.--[[User:Bell|Steve Bell]] 12:07, 23 October 2010 (UTC)
 
  
 
p. 216, #s 1 and 3:
 
p. 216, #s 1 and 3:
Line 124: Line 68:
 
I am using the hints given, but I'm still not sure I'm doing this correctly. For example, for #1, I've calculated c4 as c4 = [((2*4)+1)/2] * integral from -1 to 1 of (7x^4-6x^2)(P_4(x)) dx, where P_4= (1/8)(35x^4-30x^2+3), and then I would do something similar for C3, C2, C1, and C0. But if I find C4 this way, I'll get an answer where there's an x^9 term, and I don't see how to get an answer in terms for P_4 and P_1, like there is in the back of the book.
 
I am using the hints given, but I'm still not sure I'm doing this correctly. For example, for #1, I've calculated c4 as c4 = [((2*4)+1)/2] * integral from -1 to 1 of (7x^4-6x^2)(P_4(x)) dx, where P_4= (1/8)(35x^4-30x^2+3), and then I would do something similar for C3, C2, C1, and C0. But if I find C4 this way, I'll get an answer where there's an x^9 term, and I don't see how to get an answer in terms for P_4 and P_1, like there is in the back of the book.
  
I agree on problems 1 and 3.  I am trying to use the hints, but I can't make any sense out of it.
+
p. 209 #7 & #17:
  
p. 209, #17
+
To verify orthogonality, do you just use Theorem , or do you have to do the integral?
  
I don't understand how to solve for lamba. The examples in the book are WAAAAY easier! Help! Thank you!
+
Answer:  The theorem says the eigenfunctions are orthogonal.  However, to VERIFY that, you'll have to compute the integrals.
  
 +
Answer: I cannot figure out how to solve 17 yet, but for 7, you can get down to
  
p. 209 #7 & #17:
+
<math>\int_a^b  Sin(nx) *Sin(mx) \, \mathrm{d}x</math>.
  
To verify orthogonality, do you just use Theorem , or do you have to do the integral?
 
  
Answer: I cannot figure out how to solve 17 yet, but for 7, you can get down to <math>\int_a^b \! Sin(nx) *Sin(mx) \, \mathrm{d}x</math>. I think this is assumed to be zero and we don't need to work it out.
 
  
 
p. 209, #17
 
p. 209, #17

Revision as of 07:16, 24 October 2010

Homework 9 Collaboration Area

Here are some

Hints from Bell about Legendre Polynomials.

Question Page 597, Problem 5:

What do we do with the x in the first term of this problem?

Answer: When you do a Laplace transform wrt t, the x floats along like when you do d/dt(x*t). Then you can use formula 4 in section 1.5 to solve the 1st order ODE.

Question Page 209 Problem 7:

Where does the $ \pi $ come from in this solution?

Answer: When you do the positive lambda case, you get A = 0 and let B = 1 => Sin(5*mu) = 0. If mu = m*pi/5, this equation is true. I let B=1 because we cannot have both A and B = 0.

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 q=16p and r=p. Solving the ODE for p yields

$ p(x)=e^{8x}. $

(We can take the arbitrary constant in the solution to be a convenient value because we just want one p(x) that has this property.)

Finally, we get

$ p(x)=e^{8x},\quad q(x)=16e^{8x},\quad\text{and }r(x)=e^{8x}. $

Hmmm. I see what you mean. I think the answer in the back of the book is wrong.--Steve Bell 12:07, 23 October 2010 (UTC)

p. 216, #s 1 and 3:

I am using the hints given, but I'm still not sure I'm doing this correctly. For example, for #1, I've calculated c4 as c4 = [((2*4)+1)/2] * integral from -1 to 1 of (7x^4-6x^2)(P_4(x)) dx, where P_4= (1/8)(35x^4-30x^2+3), and then I would do something similar for C3, C2, C1, and C0. But if I find C4 this way, I'll get an answer where there's an x^9 term, and I don't see how to get an answer in terms for P_4 and P_1, like there is in the back of the book.

p. 209 #7 & #17:

To verify orthogonality, do you just use Theorem , or do you have to do the integral?

Answer: The theorem says the eigenfunctions are orthogonal. However, to VERIFY that, you'll have to compute the integrals.

Answer: I cannot figure out how to solve 17 yet, but for 7, you can get down to

$ \int_a^b Sin(nx) *Sin(mx) \, \mathrm{d}x $.


p. 209, #17

Answer:

You can solve for lambda in a way similar to the way Prof. Bell did it at the beginning of class on 10/20/10. From the original problem you get: r^2+8r=16 = -lamda. Here r = sqrt(-lambda)-4. As normal, the lambda >0 case gives you non-zero solutions. Since our root is complex of the form -4 plus/minus i*sqrt(lambda), where mu = sqrt(lambda). We can solve for lambda like in 7 by using the general form of:

y = exp(-4*x)*(A*cos(mu*x)+B*sin(mu*x)). Plug in boundary conditions and Ta-Da. Oh and I conveniently pulled 'i' into B so I wouldn't have to worry about it. Seemed to turn out ok...


Back to the MA 527 start page

To Rhea Course List

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett