
13.2 One-Step Methods 181
we are led to an alternative modified equation
y
0
(t) = µy(t), µ =
λ
1 +
1
2
λh
, (13.8)
with which the numerical method is also consistent of second order. This illus-
trates the non-uniqueness of modified equations. It also allows us to demon-
strate the important principal that one cannot deduce stability properties of a
numerical method by analysing its modified equation(s). Here, when λ < 0, the
solutions to the original modified Equation (13.6) decay to zero for all h > 0,
since µ < 0. For the alternative modified Equation (13.8), µ < 0 only for those
step sizes h for which 1 +
1
2
hλ > 0. Thus the two possible modified equations
have quite different behaviours when h is too large. So the concept is only
relevant for sufficiently small h.
Example 13.2
Use modified equations to compare the behaviour of forward and backward
Euler methods for solving the logistic equation x
0
(t) = 2x(t)
1 − x(t)
with
initial condition x(0) = 0.1.
With f(y) = 2y(1 − y), the modified equation (13.5) for Euler’s method
becomes
y
0
(t) =
1 − hy(1 − 2y)
y(1 − y), (13.9)
while that for the backward Euler method is (see Exercise 13.5)
y
0
(t) =
1 + hy(1 − 2y)
y(1 − y), (13.10)
the initial condition being y(0) = 0.1 in both cases. The right-hand sides of both
these e quations are positive for 0 < y < 1 and h < 1, so the corresponding
IVPs have monotonically increasing solutions.
For 0.5 < y < 1 the solution y(t) of (13.9) satisfies y
0
(t) < y(1 − y), so the
solution of the modified equation (and, therefore, the solution of the forward
Euler method) increases more slowly than the exact solution x(t), while, for
0.5 < y < 1, y
0
(t) > y(1 − y) and the numerical solution grows more quickly.
These properties are reversed for Equation (13.10) and the backward Euler
method. These deductions are confirmed by the numerical results shown in
Figure 13.2 with h = 0.3 and h = 0.15.
In our next example we stay with Euler’s method, but this time it is applied
to a system of ODEs. The steps involved in the construction of a modified
system of equations are similar to those in Example 13.1, except that vector
quantities are involved.