21.04.2015 Views

Lecture Notes in Differential Equations - Bruce E. Shapiro

Lecture Notes in Differential Equations - Bruce E. Shapiro

Lecture Notes in Differential Equations - 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.

367<br />

result with a smaller step size. However, <strong>in</strong> order to reduce computation<br />

time, it is desirable to f<strong>in</strong>d methods that will give better results withou<br />

a significant decrease <strong>in</strong> step size. We can do this by mak<strong>in</strong>g φ depend<br />

on values of the solution at multiple time po<strong>in</strong>ts. For example, a L<strong>in</strong>ear<br />

Multistep Method has the form<br />

y n+1 + a 0 y n + a 1 y n−1 + · · · = h(b 0 f n+1 + b 1 f n + b 2 f n−1 + · · · ) (33.42)<br />

For some numbers a 0 , a 1 , . . . and b 0 , b 1 , . . . . Euler’s method has a 0 =<br />

−1, a 1 = a 2 = · · · = 0 and b 1 = 1, b 0 = b 2 = b 3 = · · · = 0<br />

Here we <strong>in</strong>troduce the Local Truncation Error, one measure of the<br />

“goodness” of a numerical method. The Local truncation error tells us<br />

the error <strong>in</strong> the calculation of y, <strong>in</strong> units of h, at each step t n assum<strong>in</strong>g<br />

that there we know y n−1 precisely correctly. Suppose we have a numerical<br />

estimate y n of the correct solution at y(t n ). Then the Local Truncation<br />

Error is def<strong>in</strong>ed as<br />

LTE = 1 h (y(t n) − y n ) (33.43)<br />

= 1 h (y(t n) − y(t n−1 ) + y(t n−1 ) − y n ) (33.44)<br />

Assum<strong>in</strong>g we know the answer precisely correctly at t n−1 then we have<br />

so that<br />

For Euler’s method,<br />

hence<br />

LTE = y(t n) − y(t n−1 )<br />

h<br />

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

h<br />

y n−1 = y(t n−1 ) (33.45)<br />

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

h<br />

(33.46)<br />

− 1 h φ(t n, y n , . . . ) (33.47)<br />

φ = hf(t, y) (33.48)<br />

LTE(Euler) = y(t n) − y(t n−1 )<br />

h<br />

− f(t n , y n ) (33.49)

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

Saved successfully!

Ooh no, something went wrong!