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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

<strong>The</strong> complete derivation of the order conditions makes use of graph-theoritic<br />

methods that are beyond the scope of this presentation (see [7]). Instead, we quote<br />

some of the simpler results. For example, a method must satisfy the following if it<br />

is of order p:<br />

b T C k−1 1 = 1 , k = 1, 2, . . . , p (5.126)<br />

k<br />

b T A k−1 1 = 1 , k = 1, 2, . . . , p (5.127)<br />

k!<br />

where C = diagonal(c 1 , . . . , c s ), b T = (b 1 , . . . , b s ), A is the matrix of coefficients a ij ,<br />

and s is the number of stages. Since ∑ k a jk = c j we have the additional condition<br />

A1 = c, where c = (c 1 , . . . , c s ) T . Expanding to individual components we have the<br />

following order conditions. For order 1,<br />

b T 1 = ∑ i<br />

b i = 1 (5.128)<br />

For order 2, in addition to the order 1 conditions, we must have<br />

b T c = ∑ i<br />

b i c i = 1 2<br />

(5.129)<br />

For order 3 we must also have the following conditions:<br />

b T Cc = ∑ i<br />

b i c 2 i = 1 3<br />

(5.130)<br />

b T Ac = ∑ i,j<br />

b i a ij c j = 1 6<br />

(5.131)<br />

<strong>The</strong> upper limit of these sums in 5.128 through 5.131 is the number of stages, so there<br />

are different conditions depending on the number of stages in the methods. <strong>The</strong> formulas<br />

have been automated in the Mathematica package NumericalMath‘Butcher‘<br />

as the function RungeKuttaOrderConditions. To access this function enter<br />

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

Saved successfully!

Ooh no, something went wrong!