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.

100 CHAPTER 5. RUNGE-KUTTA METHODS<br />

(5.98)<br />

different Runge-Kutta methods; individual ones are usually described by presenting<br />

their Butcher Array,<br />

c 1 a 11 a 12 · · · a 1s<br />

c 2 a 21 a 22 · · · a 2s<br />

. .<br />

.<br />

b 1 b 2 · · · b s<br />

c s a s1 a s2 · · · a ss<br />

<strong>The</strong> c i are the row-sums of the matrix. For explicit methods, the Butcher array is<br />

strictly lower triangular. Thus it is common to omit the upper-diagonal terms when<br />

writing the Butcher array.<br />

An equivalent formulation to equations 5.95 and 5.96 is given by<br />

Y i = y n−1 + h<br />

y n = y n−1 + h<br />

s∑<br />

a ij f(t n−1 + c j h, Y j ) (5.99)<br />

j=1<br />

s∑<br />

b i f(t n−1 + c i h, Y i ) (5.100)<br />

i=1<br />

Example 5.2. Show that Euler’s method is specified by the following Butcher array:<br />

0 0<br />

1<br />

(5.101)<br />

Solution. We have s = 1, a 11 = 0, c 1 = 0, and b 1 =0. Hence<br />

K 1 = f(t n−1 + c 1 h, y n−1 + ha 11 K 1 ) (5.102)<br />

= f(t n−1 , y n−1 ) (5.103)<br />

y n = y n−1 + hb 1 K 1 (5.104)<br />

= y n−1 + hf(t n−1 , y n−1 ) (5.105)<br />

which reproduces Euler’s method.<br />

=⇒<br />

<strong>The</strong> most general two-stage explicit method takes the form<br />

Since the c i are row sums this simplifies to<br />

(5.106)<br />

c 1 0<br />

c 2 a 21 0<br />

b 1 b 2<br />

(5.107)<br />

0 0<br />

a a 0<br />

b 1 b 2<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!