21.04.2015 Views

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

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.

158 CHAPTER 8. BOUNDARY VALUE PROBLEMS<br />

and hence, since q = 0,<br />

⎛<br />

⎜<br />

y(t) = c 1 ⎝<br />

where the parameter vector c = ( c 1<br />

equation 8.16.<br />

Substituting 8.16 into 8.28,<br />

If we define the matrix<br />

then<br />

t 2 + 1<br />

2t<br />

t 2 − 1<br />

2t 2<br />

⎞ ⎛<br />

⎟ ⎜<br />

⎠ + c 2 ⎝<br />

t 2 − 1<br />

2t<br />

t 2 + 1<br />

2t 2<br />

⎞<br />

⎟<br />

⎠ (8.30)<br />

c 2<br />

) T is determined by the boundary conditions,<br />

y(a) = Y (a)c (8.31)<br />

y(b) = Y (b)c − Y (b)<br />

∫ b<br />

a<br />

Y −1 (s)q(s)ds (8.32)<br />

d = B a y(a) + B b y(b) (8.33)<br />

= (B a Y (a) + B b Y (b))c − B b Y (b)<br />

∫ b<br />

a<br />

Y −1 (s)q(s)ds (8.34)<br />

Q = B a Y (a) + B b Y (b) (8.35)<br />

c = Q −1 [d − B b Y (b)<br />

∫ b<br />

a<br />

]<br />

Y −1 (s)q(s)ds<br />

(8.36)<br />

Example 8.3. Solve the boundary value problem considered in section 8.1 using<br />

this formalism.<br />

Solution. We have a = 1 and b = 2, so<br />

( ) 1 0<br />

Y (a) = ; Y (b) =<br />

0 1<br />

( 5/4<br />

) 3/4<br />

3/8 5/8<br />

(8.37)<br />

and hence (see example 8.1),<br />

( ) ( )<br />

1 0 1 0<br />

Q =<br />

+<br />

0 0 0 1<br />

Hence<br />

Q −1 =<br />

( 0 0<br />

1 0<br />

) ( ) 5/4 3/4<br />

=<br />

3/8 5/8<br />

( 1 0<br />

)<br />

−5/3 4/3<br />

and therefore (since q = 0 for this problem)<br />

( )<br />

c = Q −1 1 0<br />

d =<br />

=<br />

−5/3 4/3<br />

( ) 1<br />

−1/3<br />

( ) 1 0<br />

5/4 3/4<br />

(8.38)<br />

(8.39)<br />

(8.40)<br />

<strong>The</strong> solution of the differential equation is then (we only state the first component<br />

since that is all we are really interested in, as it originated in a 2nd order equation):<br />

u(t) = t2 + 1<br />

2t<br />

− 1 t 2 − 1<br />

= t2 + 2<br />

3 2t 3t<br />

(8.41)<br />

Math 582B, Spring 2007<br />

California State University Northridge<br />

c○2007, B.E.<strong>Shapiro</strong><br />

Last revised: May 23, 2007

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

Saved successfully!

Ooh no, something went wrong!