The Computable Differential Equation Lecture ... - Bruce E. Shapiro
The Computable Differential Equation Lecture ... - Bruce E. Shapiro
The Computable Differential Equation Lecture ... - Bruce E. Shapiro
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
76 CHAPTER 4. IMPROVING ON EULER’S METHOD<br />
<strong>The</strong>orem 4.3. Let δ and δ ∗ bet two different perturbations of a method y n and<br />
let the ỹ n and ỹ ∗ n bet the corresponding perturbed methods. <strong>The</strong>n the method y n is<br />
zero-stable if and only if for any ɛ > 0 there exist constants S and h 0 such that for<br />
all h ∈ (0, h 0 ] whenever<br />
‖δ n − δ ∗ n‖ ≤ ɛ, 0 ≤ n ≤ N (4.68)<br />
then<br />
‖ỹ n − ỹ ∗ n‖ ≤ Sɛ, 0 ≤ n ≤ N (4.69)<br />
Definition 4.8 (Consistency). A one-step method is said to be consistent if<br />
φ(t, y(t), 0) = f(t, y(t)). A method is said to be consistent (or accurate) to<br />
order p or O(h p ) if the leading term in the local truncation error has order p,<br />
d n = O(h p ) (4.70)<br />
<strong>The</strong>orem 4.4 (Convergence = Consistency + Stability). A one-step method<br />
converges if it is consistent of order p and 0-stable.<br />
Proof. By zero-stability<br />
|y n − y(t n )| ≤ K<br />
[<br />
]<br />
|y 0 − y(0)| + ‖N y n − N y(t n )‖<br />
(4.71)<br />
= K‖N y n − d n ‖ (4.72)<br />
= K∥ y n − y<br />
∥<br />
n−1<br />
∥∥<br />
− φ(t n , y n ) − d n (4.73)<br />
h n<br />
= K‖d n ‖ = O(h p ) (4.74)<br />
where the last step follows by consistency (equation 4.70). Hence the method is<br />
convergent of order p by equation 4.52.<br />
Definition 4.9 (Local Error). <strong>The</strong> local error<br />
I n = ỹ(t n ) − y n (4.75)<br />
is the amount by which the numerical solution y n differs from the exact solution of<br />
the Local IVP<br />
ỹ ′ (t) = f(t, ỹ(t)) (4.76)<br />
ỹ(t n−1 ) = y n−1 (4.77)<br />
<strong>The</strong>orem 4.5. In general for the IVP methods we will consider,<br />
h|N ỹ(t n )| = |I n |(1 + O(h)) (4.78)<br />
|d n | = |N ỹ(t n )| + O(h p+1 ) (4.79)<br />
Ideally we want a method to be as accurate as possible, in the sense that the absolute<br />
error is minimized. In general, reducing the step size of an O(h p ) method will<br />
reduce the error by a factor of h p . <strong>The</strong> question naturally arises as to what is a sufficiently<br />
small step size. For example, consider the test equation y ′ = y, y(0) = 1. We<br />
Math 582B, Spring 2007<br />
California State University Northridge<br />
c○2007, B.E.<strong>Shapiro</strong><br />
Last revised: May 23, 2007