
11
Adaptive Step Size S election
All the methods discuss ed thus far have been parameterized by the step size
h. The number of steps required to integrate over a given interval [0, t
f
] is
proportional to 1/h and the accuracy of the results is proportional to h
p
, for
a method of order p. Thus, halving h is expected to double
1
the amount of
computational effort while reducing the error by a factor of 2
p
(more than an
extra digit of accuracy if p > 3).
We now explore the possibility of taking a different step length, h
n
, at step
number n, say, in order to improve efficie ncy—to obtain the same accuracy with
fewer steps or better accuracy with the same number of steps. We want to adapt
the step size to local conditions—to take short steps when the solution varies
rapidly and longer steps when there is relatively little activity. The process
of calculating suitable s tep sizes should be automatic (by formula rather than
by human intervention) and inexpensive (accounting for a small percentage of
the overall computing cost, otherwise one might as well rep e at the calculations
with a smaller, constant step s ize h).
We shall describe methods for computing numerical solutions at times t =
t
0
, t
1
, t
2
, . . . that are not equally spaced, so we define the sequence of step sizes
h
n
= t
n+1
− t
n
, n = 0, 1, 2, . . . . (11.1)
What should be the strategy for calculating these step sizes? It appears in-
tuitively attractive that they be chosen so as to ensure that our solutions
1
These ball-park estimates are based on h being sufficiently small so that O(h
p
)
quantities are dominated by their leading terms.
Springer Undergraduate Mathematics Series, DOI 10.1007/978-0-85729-148-6_11,
© Springer-Verlag London Limited 2010
D.F. Griffiths, D.J. Higham, Numerical Methods for Ordinary Differential Equations,