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.

Chapter 5<br />

Runge-Kutta Methods<br />

5.1 Taylor Series Methods<br />

We begin by expanding y n as a Taylor series about t n−1 ,<br />

y n = y n−1 + hy ′ n−1 + h2<br />

2 y′′ n−1 + · · · + hp<br />

p! yp n−1 + · · · (5.1)<br />

Using the chain rule for derivatives, and denoting f(t n−1 , y n−1 ) by f, we have<br />

y ′ = f (5.2)<br />

y ′′ = df<br />

dt = ∂f<br />

∂t + ∂f dy<br />

∂y dt<br />

(5.3)<br />

= f t + f y f = F (5.4)<br />

y ′′′ = d dt (f t + f y f) = ∂ ∂t (f t + f y f) + ∂ ∂y (f t + f y f) dy<br />

dt<br />

(5.5)<br />

= f tt + f yt f + f y f t + (f yt + f yy f + f y f y )f (5.6)<br />

= f tt + 2f yt f + f y f t + f yy f 2 + f 2 y f (5.7)<br />

= f y F + G (5.8)<br />

where<br />

and<br />

Hence<br />

F = f t + f y f<br />

G = f tt + 2f yt f + f yy f 2<br />

y n = y n−1 + hf + h2<br />

2 (f t + f y f)+ (5.9)<br />

h 3 (<br />

ftt + 2f yt f + f y f t + f yy f 2 + fy 2 f ) + · · ·<br />

6<br />

(5.10)<br />

Thus we can define a sequence of methods, depending where we truncate the series.<br />

A Taylor method that includes terms through h p therefore has a local truncation<br />

89

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

Saved successfully!

Ooh no, something went wrong!