Linear multistep method
Linear multistep methods are used for the numerical solution of ordinary differential equations. Conceptually, a numerical method starts from an initial point and then takes a short step forward in time to find the next solution point. The process continues with subsequent steps to map out the solution. Single-step methods (such as Euler's method) refer to only one previous point and its derivative to determine the current value. Methods such as Runge–Kutta take some intermediate steps (for example, a half-step) to obtain a higher order method, but then discard all previous information before taking a second step. Multistep methods attempt to gain efficiency by keeping and using the information from previous steps rather than discarding it. Consequently, multistep methods refer to several previous points and derivative values. In the case of linear multistep methods, a linear combination of the previous points and derivative values is used.
Definitions
Numerical methods for ordinary differential equations approximate solutions to initial value problems of the form [math]\displaystyle{ y' = f(t,y), \quad y(t_0) = y_0. }[/math]
The result is approximations for the value of [math]\displaystyle{ y(t) }[/math] at discrete times [math]\displaystyle{ t_i }[/math]: [math]\displaystyle{ y_i \approx y(t_i) \quad\text{where}\quad t_i = t_0 + i h, }[/math] where [math]\displaystyle{ h }[/math] is the time step (sometimes referred to as [math]\displaystyle{ \Delta t }[/math]) and [math]\displaystyle{ i }[/math] is an integer.
Multistep methods use information from the previous [math]\displaystyle{ s }[/math] steps to calculate the next value. In particular, a linear multistep method uses a linear combination of [math]\displaystyle{ y_i }[/math] and [math]\displaystyle{ f(t_i,y_i) }[/math] to calculate the value of [math]\displaystyle{ y }[/math] for the desired current step. Thus, a linear multistep method is a method of the form [math]\displaystyle{ \begin{align} & y_{n+s} + a_{s-1} \cdot y_{n+s-1} + a_{s-2} \cdot y_{n+s-2} + \cdots + a_0 \cdot y_n \\ & \qquad {} = h\cdot\left( b_s \cdot f(t_{n+s},y_{n+s}) + b_{s-1} \cdot f(t_{n+s-1},y_{n+s-1}) + \cdots + b_0 \cdot f(t_n,y_n) \right) \\ & \Leftrightarrow \sum_{j=0}^s a_jy_{n+j} = h\sum_{j=0}^sb_jf(t_{n+j},y_{n+j}), \end{align} }[/math] with [math]\displaystyle{ a_s=1 }[/math]. The coefficients [math]\displaystyle{ a_0, \dotsc, a_{s-1} }[/math] and [math]\displaystyle{ b_0, \dotsc, b_s }[/math] determine the method. The designer of the method chooses the coefficients, balancing the need to get a good approximation to the true solution against the desire to get a method that is easy to apply. Often, many coefficients are zero to simplify the method.
One can distinguish between explicit and implicit methods. If [math]\displaystyle{ b_s = 0 }[/math], then the method is called "explicit", since the formula can directly compute [math]\displaystyle{ y_{n+s} }[/math]. If [math]\displaystyle{ b_s \ne 0 }[/math] then the method is called "implicit", since the value of [math]\displaystyle{ y_{n+s} }[/math] depends on the value of [math]\displaystyle{ f(t_{n+s}, y_{n+s}) }[/math], and the equation must be solved for [math]\displaystyle{ y_{n+s} }[/math]. Iterative methods such as Newton's method are often used to solve the implicit formula.
Sometimes an explicit multistep method is used to "predict" the value of [math]\displaystyle{ y_{n+s} }[/math]. That value is then used in an implicit formula to "correct" the value. The result is a predictor–corrector method.
Examples
Consider for an example the problem [math]\displaystyle{ y' = f(t,y)=y, \quad y(0) = 1. }[/math] The exact solution is [math]\displaystyle{ y(t) = e^t }[/math].
One-step Euler
A simple numerical method is Euler's method: [math]\displaystyle{ y_{n+1} = y_n + hf(t_n, y_n). }[/math] Euler's method can be viewed as an explicit multistep method for the degenerate case of one step.
This method, applied with step size [math]\displaystyle{ h = \tfrac{1}{2} }[/math] on the problem [math]\displaystyle{ y' = y }[/math], gives the following results: [math]\displaystyle{ \begin{align} y_1 &= y_0 + hf(t_0, y_0) = 1 + \tfrac{1}{2} \cdot 1 = 1.5, \\ y_2 &= y_1 + hf(t_1, y_1) = 1.5 + \tfrac{1}{2} \cdot 1.5 = 2.25, \\ y_3 &= y_2 + hf(t_2, y_2) = 2.25 + \tfrac{1}{2} \cdot 2.25 = 3.375, \\ y_4 &= y_3 + hf(t_3, y_3) = 3.375 + \tfrac{1}{2} \cdot 3.375 = 5.0625. \end{align} }[/math]
Two-step Adams–Bashforth
Euler's method is a one-step method. A simple multistep method is the two-step Adams–Bashforth method [math]\displaystyle{ y_{n+2} = y_{n+1} + \tfrac{3}{2} hf(t_{n+1},y_{n+1}) - \tfrac{1}{2} hf(t_n,y_n). }[/math] This method needs two values, [math]\displaystyle{ y_{n+1} }[/math] and [math]\displaystyle{ y_n }[/math], to compute the next value, [math]\displaystyle{ y_{n+2} }[/math]. However, the initial value problem provides only one value, [math]\displaystyle{ y_0 = 1 }[/math]. One possibility to resolve this issue is to use the [math]\displaystyle{ y_1 }[/math] computed by Euler's method as the second value. With this choice, the Adams–Bashforth method yields (rounded to four digits): [math]\displaystyle{ \begin{align} y_2 &= y_1 + \tfrac 3 2 hf(t_1, y_1) - \tfrac 1 2 hf(t_0, y_0) = 1.5 + \tfrac 3 2 \cdot \tfrac 1 2 \cdot 1.5 - \tfrac 1 2 \cdot \tfrac 1 2 \cdot 1 = 2.375, \\ y_3 &= y_2 + \tfrac 3 2 hf(t_2, y_2) - \tfrac 1 2 hf(t_1, y_1) = 2.375 + \tfrac 3 2 \cdot \tfrac 1 2 \cdot 2.375 - \tfrac 1 2 \cdot \tfrac 1 2 \cdot 1.5 = 3.7812, \\ y_4 &= y_3 + \tfrac 3 2 hf(t_3, y_3) - \tfrac 1 2 hf(t_2, y_2) = 3.7812 + \tfrac 3 2 \cdot \tfrac 1 2 \cdot 3.7812 - \tfrac 1 2 \cdot \tfrac 1 2 \cdot 2.375 = 6.0234. \end{align} }[/math] The exact solution at [math]\displaystyle{ t = t_4 = 2 }[/math] is [math]\displaystyle{ e^2 = 7.3891\ldots }[/math], 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.
Families of multistep methods
Three families of linear multistep methods are commonly used: Adams–Bashforth methods, Adams–Moulton methods, and the backward differentiation formulas (BDFs).
Adams–Bashforth methods
The Adams–Bashforth methods are explicit methods. The coefficients are [math]\displaystyle{ a_{s-1}=-1 }[/math] and [math]\displaystyle{ a_{s-2} = \cdots = a_0 = 0 }[/math], while the [math]\displaystyle{ b_j }[/math] are chosen such that the methods have order s (this determines the methods uniquely).
The Adams–Bashforth methods with s = 1, 2, 3, 4, 5 are (Hairer, Nørsett & Wanner 1993, §III.1; Butcher 2003, p. 103): [math]\displaystyle{ \begin{align} y_{n+1} &= y_n + hf(t_n, y_n) , \qquad\text{(This is the Euler method)} \\ y_{n+2} &= y_{n+1} + h\left( \frac{3}{2}f(t_{n+1}, y_{n+1}) - \frac{1}{2}f(t_n, y_n) \right) , \\ y_{n+3} &= y_{n+2} + h\left( \frac{23}{12} f(t_{n+2}, y_{n+2}) - \frac{16}{12} f(t_{n+1}, y_{n+1}) + \frac{5}{12}f(t_n, y_n)\right) , \\ y_{n+4} &= y_{n+3} + h\left( \frac{55}{24} f(t_{n+3}, y_{n+3}) - \frac{59}{24} f(t_{n+2}, y_{n+2}) + \frac{37}{24} f(t_{n+1}, y_{n+1}) - \frac{9}{24} f(t_n, y_n) \right) , \\ y_{n+5} &= y_{n+4} + h\left( \frac{1901}{720} f(t_{n+4}, y_{n+4}) - \frac{2774}{720} f(t_{n+3}, y_{n+3}) + \frac{2616}{720} f(t_{n+2}, y_{n+2}) - \frac{1274}{720} f(t_{n+1}, y_{n+1}) + \frac{251}{720} f(t_n, y_n) \right) . \end{align} }[/math]
The coefficients [math]\displaystyle{ b_j }[/math] can be determined as follows. Use polynomial interpolation to find the polynomial p of degree [math]\displaystyle{ s-1 }[/math] such that [math]\displaystyle{ p(t_{n+i}) = f(t_{n+i}, y_{n+i}), \qquad \text{for } i=0,\ldots,s-1. }[/math] The Lagrange formula for polynomial interpolation yields [math]\displaystyle{ p(t) = \sum_{j=0}^{s-1} \frac{(-1)^{s-j-1}f(t_{n+j}, y_{n+j})}{j!(s-j-1)!h^{s-1}} \prod_{i=0 \atop i\ne j}^{s-1} (t-t_{n+i}). }[/math] The polynomial p is locally a good approximation of the right-hand side of the differential equation [math]\displaystyle{ y' = f(t,y) }[/math] that is to be solved, so consider the equation [math]\displaystyle{ y' = p(t) }[/math] instead. This equation can be solved exactly; the solution is simply the integral of p. This suggests taking [math]\displaystyle{ y_{n+s} = y_{n+s-1} + \int_{t_{n+s-1}}^{t_{n+s}} p(t)\,\mathrm dt. }[/math] The Adams–Bashforth method arises when the formula for p is substituted. The coefficients [math]\displaystyle{ b_j }[/math] turn out to be given by [math]\displaystyle{ b_{s-j-1} = \frac{(-1)^j}{j!(s-j-1)!} \int_0^1 \prod_{i=0 \atop i\ne j}^{s-1} (u+i) \,\mathrm du, \qquad \text{for } j=0,\ldots,s-1. }[/math] Replacing [math]\displaystyle{ f(t, y) }[/math] 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)
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).
Adams–Moulton methods
The Adams–Moulton methods are similar to the Adams–Bashforth methods in that they also have [math]\displaystyle{ a_{s-1} = -1 }[/math] and [math]\displaystyle{ a_{s-2} = \cdots = a_0 = 0 }[/math]. 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 [math]\displaystyle{ b_s = 0 }[/math], an s-step Adams–Moulton method can reach order [math]\displaystyle{ s+1 }[/math], while an s-step Adams–Bashforth methods has only order s.
The Adams–Moulton methods with s = 0, 1, 2, 3, 4 are (Hairer, Nørsett & Wanner 1993, §III.1; Quarteroni, Sacco & Saleri 2000) listed, where the first two methods are the backward Euler method and the trapezoidal rule respectively: [math]\displaystyle{ \begin{align} y_{n} &= y_{n-1} + h f(t_{n},y_{n}), \\ y_{n+1} &= y_n + \frac{1}{2} h \left( f(t_{n+1},y_{n+1}) + f(t_n,y_n) \right), \\ y_{n+2} &= y_{n+1} + h \left( \frac{5}{12} f(t_{n+2},y_{n+2}) + \frac{8}{12} f(t_{n+1},y_{n+1}) - \frac{1}{12} f(t_n,y_n) \right) , \\ y_{n+3} &= y_{n+2} + h \left( \frac{9}{24} f(t_{n+3},y_{n+3}) + \frac{19}{24} f(t_{n+2},y_{n+2}) - \frac{5}{24} f(t_{n+1},y_{n+1}) + \frac{1}{24} f(t_n,y_n) \right) , \\ y_{n+4} &= y_{n+3} + h \left( \frac{251}{720} f(t_{n+4},y_{n+4}) + \frac{646}{720} f(t_{n+3},y_{n+3}) - \frac{264}{720} f(t_{n+2},y_{n+2}) + \frac{106}{720} f(t_{n+1},y_{n+1}) - \frac{19}{720} f(t_n,y_n) \right) . \end{align} }[/math]
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 [math]\displaystyle{ t_{n-1},\dots, t_{n-s} }[/math], as above, but also [math]\displaystyle{ t_n }[/math]. The coefficients are given by [math]\displaystyle{ b_{s-j} = \frac{(-1)^j}{j!(s-j)!} \int_0^1 \prod_{i=0 \atop i\ne j}^{s} (u+i-1) \,\mathrm du, \qquad \text{for } j=0,\ldots,s. }[/math]
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).
Backward differentiation formulas (BDF)
The BDF methods are implicit methods with [math]\displaystyle{ b_{s-1} = \cdots = b_0 = 0 }[/math] and the other coefficients chosen such that the method attains order s (the maximum possible). These methods are especially used for the solution of stiff differential equations.
Analysis
The central concepts in the analysis of linear multistep methods, and indeed any numerical method for differential equations, are convergence, order, and stability.
Consistency and order
The first question is whether the method is consistent: is the difference equation [math]\displaystyle{ \begin{align} & a_{s}y_{n+s} + a_{s-1} y_{n+s-1} + a_{s-2} y_{n+s-2} + \cdots + a_0 y_n \\ & \qquad {} = h \bigl( b_s f(t_{n+s},y_{n+s}) + b_{s-1} f(t_{n+s-1},y_{n+s-1}) + \cdots + b_0 f(t_n,y_n) \bigr), \end{align} }[/math] a good approximation of the differential equation [math]\displaystyle{ y' = f(t,y) }[/math]? More precisely, a multistep method is consistent if the local truncation error goes to zero faster than the step size h as h goes to zero, where the local truncation error is defined to be the difference between the result [math]\displaystyle{ y_{n+s} }[/math] of the method, assuming that all the previous values [math]\displaystyle{ y_{n+s-1}, \ldots, y_n }[/math] are exact, and the exact solution of the equation at time [math]\displaystyle{ t_{n+s} }[/math]. A computation using Taylor series shows that a linear multistep method is consistent if and only if [math]\displaystyle{ \sum_{k=0}^{s-1} a_k = -1 \quad\text{and}\quad \sum_{k=0}^s b_k = s + \sum_{k=0}^{s-1} k a_k. }[/math] All the methods mentioned above are consistent (Hairer Nørsett).
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 [math]\displaystyle{ O(h^{p+1}) }[/math] as h goes to zero. This is equivalent to the following condition on the coefficients of the methods: [math]\displaystyle{ \sum_{k=0}^{s-1} a_k = -1 \quad\text{and}\quad q \sum_{k=0}^s k^{q-1} b_k = s^q + \sum_{k=0}^{s-1} k^q a_k \text{ for } q=1,\ldots,p. }[/math] The s-step Adams–Bashforth method has order s, while the s-step Adams–Moulton method has order [math]\displaystyle{ s+1 }[/math] (Hairer Nørsett).
These conditions are often formulated using the characteristic polynomials [math]\displaystyle{ \rho(z) = z^s + \sum_{k=0}^{s-1} a_k z^k \quad\text{and}\quad \sigma(z) = \sum_{k=0}^s b_k z^k. }[/math] In terms of these polynomials, the above condition for the method to have order p becomes [math]\displaystyle{ \rho(e^h) - h\sigma(e^h) = O(h^{p+1}) \quad \text{as } h\to 0. }[/math] In particular, the method is consistent if it has order at least one, which is the case if [math]\displaystyle{ \rho(1)=0 }[/math] and [math]\displaystyle{ \rho'(1)=\sigma(1) }[/math].
Stability and convergence
The numerical solution of a one-step method depends on the initial condition [math]\displaystyle{ y_0 }[/math], but the numerical solution of an s-step method depend on all the s starting values, [math]\displaystyle{ y_0, y_1, \ldots, y_{s-1} }[/math]. It is thus of interest whether the numerical solution is stable with respect to perturbations in the starting values. A linear multistep method is zero-stable for a certain differential equation on a given time interval, if a perturbation in the starting values of size ε causes the numerical solution over that time interval to change by no more than Kε for some value of K which does not depend on the step size h. This is called "zero-stability" because it is enough to check the condition for the differential equation [math]\displaystyle{ y' = 0 }[/math] (Süli Mayers).
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. A linear multistep method is zero-stable if and only if the root condition is satisfied (Süli Mayers).
Now suppose that a consistent linear multistep method is applied to a sufficiently smooth differential equation and that the starting values [math]\displaystyle{ y_1, \ldots, y_{s-1} }[/math] all converge to the initial value [math]\displaystyle{ y_0 }[/math] as [math]\displaystyle{ h \to 0 }[/math]. Then, the numerical solution converges to the exact solution as [math]\displaystyle{ h \to 0 }[/math] if and only if the method is zero-stable. This result is known as the Dahlquist equivalence theorem, named after Germund Dahlquist; this theorem is similar in spirit to the Lax equivalence theorem for finite difference methods. Furthermore, if the method has order p, then the global error (the difference between the numerical solution and the exact solution at a fixed time) is [math]\displaystyle{ O(h^p) }[/math] (Süli Mayers).
Furthermore, if the method is convergent, the method is said to be strongly stable if [math]\displaystyle{ z=1 }[/math] is the only root of modulus 1. If it is convergent and all roots of modulus 1 are not repeated, but there is more than one such root, it is said to be relatively stable. Note that 1 must be a root for the method to be convergent; thus convergent methods are always one of these two.
To assess the performance of linear multistep methods on stiff equations, consider the linear test equation y' = λy. A multistep method applied to this differential equation with step size h yields a linear recurrence relation with characteristic polynomial [math]\displaystyle{ \pi(z; h\lambda) = (1 - h\lambda\beta_s) z^s + \sum_{k=0}^{s-1} (\alpha_k - h\lambda\beta_k) z^k = \rho(z) - h\lambda\sigma(z). }[/math] This polynomial is called the stability polynomial of the multistep method. If all of its roots have modulus less than one then the numerical solution of the multistep method will converge to zero and the multistep method is said to be absolutely stable for that value of hλ. The method is said to be A-stable if it is absolutely stable for all hλ with negative real part. The region of absolute stability is the set of all hλ for which the multistep method is absolutely stable (Süli Mayers). For more details, see the section on stiff equations and multistep methods.
Example
Consider the Adams–Bashforth three-step method [math]\displaystyle{ y_{n+3} = y_{n+2} + h\left( {23\over 12} f(t_{n+2}, y_{n+2}) - {4 \over 3} f(t_{n+1}, y_{n+1}) + {5\over 12}f(t_{n}, y_{n})\right). }[/math] One characteristic polynomial is thus [math]\displaystyle{ \rho(z) = z^3-z^2 = z^2(z-1) }[/math] which has roots [math]\displaystyle{ z=0, 1 }[/math], and the conditions above are satisfied. As [math]\displaystyle{ z=1 }[/math] is the only root of modulus 1, the method is strongly stable.
The other characteristic polynomial is [math]\displaystyle{ \sigma(z) = \frac{23}{12} z^2 - \frac{4}{3} z + \frac{5}{12} }[/math]
First and second Dahlquist barriers
These two results were proved by Germund Dahlquist and represent an important bound for the order of convergence and for the A-stability of a linear multistep method. The first Dahlquist barrier was proved in (Dahlquist 1956) and the second in (Dahlquist 1963).
First Dahlquist barrier
The first Dahlquist barrier states that a zero-stable and linear q-step multistep method cannot attain an order of convergence greater than q + 1 if q is odd and greater than q + 2 if q is even. If the method is also explicit, then it cannot attain an order greater than q (Hairer Nørsett).
Second Dahlquist barrier
The second Dahlquist barrier states that no explicit linear multistep methods are A-stable. Further, the maximal order of an (implicit) A-stable linear multistep method is 2. Among the A-stable linear multistep methods of order 2, the trapezoidal rule has the smallest error constant (Dahlquist 1963).
See also
- Digital energy gain
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.
- Dahlquist, Germund (1956), "Convergence and stability in the numerical integration of ordinary differential equations", Mathematica Scandinavica 4: 33–53, doi:10.7146/math.scand.a-10454.
- Dahlquist, Germund (1963), "A special stability problem for linear multistep methods", BIT 3: 27–43, doi:10.1007/BF01963532, ISSN 0006-3835.
- 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 (2nd ed.), Berlin: Springer Verlag, ISBN 978-3-540-56670-0.
- Hairer, Ernst; Wanner, Gerhard (1996), Solving ordinary differential equations II: Stiff and differential-algebraic problems (2nd ed.), Berlin, New York: Springer-Verlag, ISBN 978-3-540-60452-5.
- 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 (Mathematical Association of America) 33 (9): 455–460, doi:10.2307/2299609.
- Moulton, Forest R. (1926), New methods in exterior ballistics, University of Chicago Press.
- Quarteroni, Alfio; Sacco, Riccardo; Saleri, Fausto (2000), Matematica Numerica, Springer Verlag, ISBN 978-88-470-0077-3.
- Süli, Endre; Mayers, David (2003), An Introduction to Numerical Analysis, Cambridge University Press, ISBN 0-521-00794-1.
External links
Original source: https://en.wikipedia.org/wiki/Linear multistep method.
Read more |