
_ 
... 
l 
EULER'S METHOD  349 
Result (6.2.24) 
is 
a considerable improvement over the earlier bound (6.2.13); 
the  exponential 
exp(K(b-
x
0
)) 
is  replaced  by 
b-
x
0 
(bounding 
x,-
x
0
), 
which increases less  rapidly with 
b. 
The theorem does not apply directly to the 
earlier example 
(6.2.8),  but a careful .examination of the proof in  this  case 
will 
show that the proof 
is 
still valid. 
Stability  analysis  Recall  the  stability  analysis  for  the  initial  value  problem, 
given in Theorem 
6.2. To consider a similar idea for Euler's method, 
we 
consider 
the numerical method 
z,+
1 
= 
z, 
+ 
h[f(x,, 
zJ 
+ S{x,)] 
0 
~ 
n 
~ 
N(h)-
1  (6.2.28) 
with  z
0 
=  y
0 
+ 
c. 
This 
is 
in  analogue to  the  comparison 
of 
(6.1.5)  with (6.0.1), 
showing the stability of the initial value problem. 
We 
compare the two numerical 
solutions 
{z,} 
and {Y,} 
ash~ 
0. 
Let 
e, 
= 
z,-
y,, 
n;;::: 
0. 
Then e
0 
= 
c, 
and subtracting (6.2.3) from (6.2.28), 
e,+
1 
=  e, + 
h[f(x,, 
z,)-
f(x,, 
y,)] + 
h8(x,) 
This  has exactly  the same  form 
as 
(6.2.19).  Using  the same  procedure as  that 
following 
(6.2.19), 
we 
have 
Consequently, there are constants k
1
, 
k
2
, 
independent of h, with 
{6.2.29) 
This is the analogue 
to 
the result (6.1.4) for the original problem (6.0.1). This says 
that Euler's method 
is 
a stable numerical method  for  the solution of the initial 
value  problem 
(6.0.1). 
We 
insist  that 
all 
numerical  methods  for  initial  value 
problems  possess  this  form  of stability,  imitating  the  stability 
of 
the  original 
problem 
(6.0.1). In addition, 
we 
require other forms of stability 
as 
well, which are 
introduced later. In the future 
we 
take S(x) = 0 and consider only the effect of 
perturbing the initial  value 
Y
0
• 
This  simplifies  the analysis,  and the results  are 
equally useful. 
Rounding 
error 
analysis  Introduce an error into each step of the Euler method, 
with  each  error  derived  from  the  rounding  errors  of  the  operations  being 
performed. This number, denoted by 
p,, is called the local rounding error. Calling 
the resultant numerical values· 
j,, 
we 
have 
Yn+l 
= 
Yn 
+ 
hf(x,., 
Y,.) 
+ 
Pn 
n = 
0,1, 
... 
, 
N(h) 
-1 
{6.2.30) 
The values 
Y, 
are the finite-place numbers actually obtained in the computer, and 
y, 
is  the  value that would  be obtained if exact arithmetic were being used.  Let