16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

136 CHAPTER 3. LINEAR ODE MODELS<br />

Q0 = 1<br />

1<br />

ln(x +1)¡<br />

2 2 ln(1 ¡ x); Q1 = 1<br />

1<br />

x ln(x +1)¡ x ln(1 ¡ x) ¡ 1;<br />

2 2<br />

Q2 = ¡ 1<br />

ln(x +1)+1 ln(1 ¡ x)+3<br />

4 4 4 x2 ln(x +1)¡ 3<br />

4 x2 3 x<br />

ln(1 ¡ x) ¡<br />

2<br />

The Qm(x) formequal to zero or a positive integer diverge to in¯nity at x = ¡1<br />

and +1 and must therefore be rejected as being unphysical.<br />

PROBLEMS:<br />

Problem 3-15: A Sturm{Liouville equation<br />

Show that the following ODE is of the Sturm{Liouville form:<br />

y 00 (x) ¡ 2 xy 0 (x)+2ny(x) =0:<br />

Determine the general solution of this ODE and plot the included special functions<br />

over a suitable range of the independent variable x.<br />

Problem 3-16: Recurrence Formula<br />

Bessel functions of di®erent orders can be related through recurrence relations.<br />

Use Maple to prove the following Bessel function recurrence relations.<br />

² Jm¡1(x)+Jm+1(x) =(2m=x) Jm(x);<br />

² 4 d2Jm(x) dx 2 = Jm+2(x) ¡ 2 Jm(x)+Jm¡2(x).<br />

Problem 3-17: Bessel function solutions<br />

Find the general solution of each of the following ODEs in terms of Bessel<br />

functions and identify the order. Identify any other new functions that occur.<br />

(a) y00 (x)+y(x)= p x =0;<br />

(b) y00 (x)+xy(x) =0, Hint: Useconvert( ,Bessel);<br />

<br />

¡ x 8<br />

5 y(x) =0;<br />

(c) d2<br />

dx 2<br />

μ<br />

x 16<br />

5 d2 y<br />

dx 2<br />

Problem 3-18: Orthogonality<br />

An important general property that all solutions yn(x) of the Sturm{Liouville<br />

equation corresponding to a given ¸n possess is orthogonality. Provided that<br />

y(x) ory 0 (x) orp(x) vanishes at the endpoints a and b of the range (referred<br />

to as Sturm{Liouville boundary conditions), then<br />

Z b<br />

a<br />

w(x) ym(x) yn(x) dx =0; for m 6= n; (3.3)<br />

where w(x) isreferredtoastheweight function. Con¯rm the orthogonality<br />

property for Legendre functions of the second kind of orders 2 and 3 over the<br />

range x = ¡1 to +1. Which of the possible Sturm{Liouville boundary conditions<br />

is satis¯ed?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!