🛰️Ordinary Differential Equations: Initial Value Problems
Multistep Methods
Adams–Bashforth and Adams–Moulton, predictor–corrector, starting values, zero-stability and the root condition
Cambridge, 1883 — Aberdeen, 1918
In 1883 Francis Bashforth published An Attempt to Test the Theories of Capillary Action, comparing measured shapes of liquid drops with those predicted by the equations of surface tension. The drop profile is the solution of a differential equation, and Bashforth needed it to many digits, by hand. John Couch Adams — who had predicted the position of Neptune from irregularities in the orbit of Uranus — gave him a method. Instead of re-sampling the slope several times in each step, it fitted a polynomial through the slopes already computed at earlier steps and integrated that polynomial across the next step.
Thirty-five years later, during the First World War, the American astronomer Forest Ray Moulton was asked to improve the range tables of the US Army's artillery at the Aberdeen Proving Ground. Shells experience drag that depends on speed, air density changing with height, and the rotation of the Earth; the old approximate formulas were not good enough. Moulton adapted Adams's methods, added an implicit corrector, and organised teams of human computers to produce trajectories. The predictor–corrector schemes he described in New Methods in Exterior Ballistics (1926) carry his name with Adams's.
A linear multistep method uses the last values to take the next step. The Adams methods integrate an interpolating polynomial through recent values of :
If interpolates (known values), the method is explicit — Adams–Bashforth. If it also uses , the method is implicit — Adams–Moulton.
Fourth-order Adams–Bashforth and Adams–Moulton formulas. AB4 needs one new evaluation of f per step — against four for RK4 — but it needs four past values to start.
Derivation
Deriving Adams–Bashforth from an interpolating polynomial
Two steps. Pass a straight line through the two most recent slopes, and :
Integrate it across the next step, from to . The constant gives ; the linear term gives :
That is AB2. The interpolation error of a line is (lesson 7-1), integrated over a step of length : local error , global .
Four steps. The same procedure with the cubic through — Lagrange's formula, integrated term by term over — produces the weights . They add up to 24, as they must: for constant the step must be exactly . Including among the interpolation points gives the implicit Adams–Moulton weights instead.
💡Predictor–corrector
The implicit Adams–Moulton formula is more accurate and more stable, but depends on the unknown . Avoid solving an equation: Predict with Adams–Bashforth, Evaluate there, Correct with Adams–Moulton, Evaluate again. This PECE scheme costs two evaluations per step and is fourth order. On a circular orbit with the same budget, ABM4 is seven times more accurate than RK4 at 400 evaluations and nineteen times at 800. The difference between predictor and corrector also estimates the local error for free (Milne's device).
Starting values. A -step method needs values before it can start. They come from a one-step method of the same order — RK4 for AB4 — or, in variable-order codes, from starting at order 1 with tiny steps and raising the order as history accumulates. Changing the step size is also harder than for Runge–Kutta, since the formulas assume equal spacing; production codes (Adams in LSODE,
solve_ivp's LSODA) handle both by working with interpolating polynomials directly.💡Absolute stability: what a fixed step does to a decaying mode
Accuracy as is one question. In practice is fixed, and a second question matters: does an error made now grow or shrink over many steps? To answer it once for all problems, apply each method to the test equation with — a single decaying mode. (Lesson 9-4 shows why every linear system is a collection of such modes, one per eigenvalue.)
A one-step method then multiplies by a fixed factor every step, its amplification factor , which depends only on . Explicit Euler gives , so ; RK4 gives the polynomial found in lesson 9-2. The numerical solution decays, as the true one does, only where . That set of is the method's region of absolute stability — for Euler a disc of radius 1 centred at , reaching on the real axis; for RK4 a larger region reaching .
A multistep method has no single factor; its solutions behave like for the roots of a polynomial, and the region is where all roots satisfy (see the derivation below). Here history has a price: AB2's region reaches only on the real axis and AB4's only . High order from past values comes with a small stability region. The interactive draws all of them; keep an eye on how small the explicit ones are — the next lesson is about problems where that matters enormously.
Derivation
Stability of a multistep method on
Apply AB2 to : , so with
A linear recurrence like this has solutions of the form . Substitute and divide by :
The numerical solution is a combination of and , so it stays bounded exactly when both roots have . On the real axis, a root reaches when , that is at : AB2 is stable for — half of Euler's interval: the extra order bought from memory is paid for in stability. One of the two roots approximates ; the other is a parasitic root that the method's memory creates, and it is the one that escapes first.
💡Zero-stability and the root condition
A general linear multistep method is , with characteristic polynomials and . As the method reduces to the recurrence — and its solutions behave like for the roots of . Zero-stability requires every root to satisfy , with roots on the unit circle simple: the root condition. Dahlquist's equivalence theorem (1956): a consistent multistep method converges if and only if it is zero-stable. And his first barrier: a zero-stable -step method has order at most — you cannot buy arbitrary accuracy from history alone.
📐A consistent method that never converges
The two-step method is consistent — of order three, higher than AB2 — yet has roots and . The parasitic root multiplies every error by at every step. On it gives with , with and with . Smaller steps make it worse, because there are more steps for the parasitic root to act. Consistency alone guarantees nothing.
Derivation
Why the roots of decide, as
As the right-hand side disappears and the method becomes the recurrence . Try :
so must be a root of , and every solution is a combination of them. (A double root contributes as well — which is why roots on the unit circle must be simple: grows.)
One root is always 1. For the method to reproduce a constant solution — the exact solution of — we need ; consistency guarantees it. That root carries the true solution. Every other root is created by the method's memory and carries nothing but errors. If any has , those errors are multiplied by at every step, and since reaching a fixed time takes steps, the amplification grows without bound as .
For the method above, : the root 1, as required, and a parasitic . The twenty steps of multiply any error committed early on by — and every step commits a new one.
You could not step twice into the same river.
💡Where you will use this
Orbital Mechanics: high-order Adams and Störmer–Cowell multistep methods propagate orbits in operational orbit-determination software, because each step needs only one or two force evaluations — and force models with gravity fields of high degree are expensive. Digital control and Signals: a multistep method is a digital filter; zero-stability is the filter's stability. Ballistics and guidance: the predictor–corrector tradition continues in trajectory simulators.
📚Further reading
- Arieh Iserles, A First Course in the Numerical Analysis of Differential Equations (2nd ed., Cambridge University Press, 2009), chapter 2, 'Multistep methods' — order, the root condition and Dahlquist's theorems.
- Ernst Hairer, Syvert Nørsett and Gerhard Wanner, Solving Ordinary Differential Equations I (2nd ed., Springer, 1993), chapter III, 'Multistep Methods and General Linear Methods'.
- Germund Dahlquist, 'Convergence and stability in the numerical integration of ordinary differential equations', Mathematica Scandinavica 4, 33–53 (1956) — consistency plus zero-stability equals convergence.
↓But there is a problem
Adams methods, Runge–Kutta methods, all the explicit schemes of this unit share one more limitation. In 1952 two chemists at the University of Wisconsin, Charles Curtiss and Joseph Hirschfelder, were integrating the equations of chemical reactions in which some species react in microseconds while the overall process takes seconds. Their explicit solver crawled along with microsecond steps long after the fast reactions had finished and nothing was changing quickly any more.
They called such equations stiff. Twenty years later, the circuit simulator SPICE at Berkeley met the same problem in every transistor.