Linear multistep method
From Wikipedia, the free encyclopedia
Linear multistep methods are methods used in mathematics for the numerical solution of ordinary differential equations. One-step methods (such as Euler's method and Runge–Kutta methods) refer only to one previous value to determine the current value. Multistep methods refer to several previous function values in an effort to achieve greater accuracy. In the case of linear multistep methods, a linear combination of the previous function values is used.
Contents |
[edit] Introductory example
Linear multistep methods solve initial value problems of the form
Consider for example the problem
The exact solution is y(t) = et.
A simple numerical method is Euler's method:
This method, applied with step size on the problem y' = y, gives the following results:
Euler's method is a one-step method. A simple multistep method is the two-step Adams–Bashforth method
This method needs two values, yn + 1 and yn, to compute the next value, yn + 2. However, the initial value problem provides only one value, y0 = 1. One possibility to resolve this issue is to use the y1 computed by Euler's method as the second value. With this choice, the Adams–Bashforth method yields (rounded to four digits):
The exact solution at t = t4 = 2 is , so the two-step Adams–Bashforth method is more accurate than Euler's method. This is always the case if the step size is small enough.
[edit] Definition
A linear multistep method is a method of the form
where h denotes the step size and f the right-hand side of the differential equation. The coefficents and determine the method.
The method is explicit if bs = 0. In that case, the recurrence relation can be used directly to compute yn + s. If then the method is implicit and the recurrence relation is an equation for yn + s which has to be solved.
[edit] Examples
Three families of linear multistep methods are commonly used: Adams–Bashforth methods, Adams–Moulton methods, and the backward differentiation formulas (BDFs).
[edit] Adams–Bashforth methods
The Adams–Bashforth methods are explicit methods. The coefficients are as − 1 = − 1 and , while the bj are chosen such that the methods has order s (this determines the methods uniquely).
The Adams–Bashforth methods with s = 1, 2, 3, 4 are (Hairer, Nørsett & Wanner 1993, §III.1):
- — this is simply the Euler method;
The coefficients bj can be determined as follows. Use polynomial interpolation to find the polynomial p of degree s − 1 such that
The Lagrange formula for polynomial interpolation yields
The polynomial p is locally a good approximation of the right-hand side of the differential equation y' = f(t,y) that is to be solved, so consider the equation y' = p(t) instead. This equation can be solved exactly; the solution is simply the integral of p. This suggests taking
The Adams–Bashforth method arises when the formula for p is substituted. The coefficients bj turn out to be given by
Replacing f(t, y) by its interpolant p incurs an error of order hs, and it follows that the s-step Adams–Bashforth method has indeed order s (Iserles 1996, §2.1)
The Adams–Bashforth methods were designed by John Couch Adams to solve a differential equation modelling capillary action due to Francis Bashforth. Bashforth (1883) published his theory and Adams' numerical method (Goldstine 1977).
[edit] Adams–Moulton methods
The Adams–Moulton methods are similar to the Adams–Bashforth methods in that they also have as − 1 = − 1 and . Again the b coefficients are chosen to obtain the highest order possible. However, the Adams–Moulton methods are implicit methods. By removing the restriction that bs = 0, an s-step Adams–Moulton method can reach order s + 1, while an s-step Adams–Bashforth methods has only order s.
The Adams–Moulton methods with s = 0, 1, 2, 3 are (Hairer, Nørsett & Wanner 1993, §III.1):
- — this is the backward Euler method;
- — this is the trapezoidal rule;
The derivation of the Adams–Moulton methods is similar to that of the Adams–Bashforth method; however, the interpolating polynomial uses not only the points tn−1, … tn−s, as above, but also tn. The coefficients are given by
The Adams–Moulton methods are solely due to John Couch Adams, like the Adams–Bashforth methods. The name of Forest Ray Moulton became associated with these methods because he realized that they could be used in tandem with the Adams–Bashforth methods as a predictor–corrector pair (Moulton 1926); Milne (1926) had the same idea. Adams used Newton's method to solve the implicit equation (Hairer, Nørsett & Wanner 1993, §III.1).
[edit] Analysis
The central concepts in the analysis of linear multistep methods, and indeed any numerical method for differential equations, are convergence, order, and stability.
The first question is whether the method is consistent: is the difference equation
a good approximation of the differential equation y' = f(t,y)? More precisely, a multistep method is consistent if the local error goes to zero as the step size h goes to zero, where the local error is defined to be the difference between the result yn + s of the method, assuming that all the previous values are exact, and the exact solution of the equation at time tn + s. A computation using Taylor series shows out that a linear multistep method is consistent if and only if
All the methods mentioned above are consistent (Hairer, Nørsett & Wanner 1993, §III.2).
If the method is consistent, then the next question is how well the difference equation defining the numerical method approximates the differential equation. A multistep method is said to have order p if the local error is of order O(hp + 1) as h goes to zero. This is equivalent to the following condition on the coefficients of the methods:
The s-step Adams–Bashforth method has order s, while the s-step Adams–Moulton method has order s + 1 (Hairer, Nørsett & Wanner 1993, §III.2).
These conditions are often formulated using the characteristic polynomials
In terms of these polynomials, the above condition for the method to have order p becomes
In particular, the method is consistent if it has order one, which is the case if ρ(1) = 0 and ρ'(1) = σ(1).
If the roots of the characteristic polynomial ρ all have modulus less than or equal to 1 and the roots of modulus 1 are of multiplicity 1, we say that the root condition is satisfied. The method is convergent if and only if it is consistent and the root condition is satisfied. Consequently, a consistent method is stable if and only if this condition is satisfied, and thus the method is convergent if and only if it is stable.
Furthermore, if the method is stable, the method is said to be strongly stable if z = 1 is the only root of modulus 1, otherwise, it is said to be weakly stable.
[edit] Example
Consider the Adams–Bashforth three-step method
The characteristic equation is thus
which has roots z = 0,1, and the conditions above are satisfied. As z = 1 is the only root of modulus 1, the method is strongly stable.
[edit] References
- Bashforth, Francis (1883), An Attempt to test the Theories of Capillary Action by comparing the theoretical and measured forms of drops of fluid. With an explanation of the method of integration employed in constructing the tables which give the theoretical forms of such drops, by J. C. Adams, Cambridge.
- Butcher, John C. (2003), Numerical Methods for Ordinary Differential Equations, John Wiley, ISBN 978-0-471-96758-3.
- Goldstine, Herman H. (1977), A History of Numerical Analysis from the 16th through the 19th Century, New York: Springer-Verlag, ISBN 978-0-387-90277-7.
- Hairer, Ernst; Nørsett, Syvert Paul & Wanner, Gerhard (1993), Solving ordinary differential equations I: Nonstiff problems (second ed.), Berlin: Springer Verlag, ISBN 978-3-540-56670-0.
- Iserles, Arieh (1996), A First Course in the Numerical Analysis of Differential Equations, Cambridge University Press, ISBN 978-0-521-55655-2.
- Milne, W. E. (1926), “Numerical integration of ordinary differential equations”, American Mathematical Monthly 33 (9): 455–460, <http://links.jstor.org/sici?sici=0002-9890%28192611%2933%3A9%3C455%3ANIOODE%3E2.0.CO%3B2-6>.
- Moulton, Forest R. (1926), New methods in exterior ballistics, University of Chicago Press.