Consider now the approximation of in the first-order differential equation
(1) |
Integration over a time step gives
and use of quadrature formulas leads to numerical solutions for solving (1). Consider for instance data going back intervals of size , . Any quadrature formula based on this data could be used, but the most often encountered approach is to use a polynomial approximant. This can be stated in Lagrange form as
The last approximate equality arises from replacing the exact value by its approximation . The result is known as an Adams-Bashforth scheme
with coefficients that are readily computed (cf. Table 1).
The Adams-Bashforth scheme is identical to forward Euler and the above approach yields schemes that are explicit, i.e., the new value is directly obtained from knowledge of previous values.
Choosing data that contains the point yet to be computed gives rise to a class of implicit schemes known as the Adams-Moulton schemes (Table 2)
Approximation of both operators and arising in , or is possible. Combining previous computations, the resulting schemes can be stated as
(2) |
Both sides arise from linear approximants: of the derivative on the left, and of on the right.
Any of the above schemes defines a sequence that approximates the solution of the initial value problem
over a time interval , , . A scheme is said to be convergent if
The above states that in the limit of taking small step sizes while maintaining for some finite time , the estimate at the endpoint converges to the exact value. Such a definition is rather difficult to apply directly, and an alternative characterization of convergence is desirable.
To motivate the overall approach, consider first the following model problem
(3) |
The model problem arises from truncation of the general non-linear function to first order
Since is a constant that simply leads to linear growth, and the model problem captures the lowest-order non-trivial behavior. The exact solution is
giving . The restriction of in the model problem arises from consideration of the effect of a small perturbation in the initial condition representative of floating point representation errors. This leads to , and the error can only be maintained small if .
Applying the forward Euler scheme to the model problem (3) gives
with . After steps the numerical approximation is
The exponential decay of the exact solution can only be recovered if which leads to a restriction on the allowable step size
If the step size is too large, , inherent floating point errors are amplified by the forward Euler method, and the scheme is said to be unstable. This is avoided by choosing a subunitary parameter , , which leads to a step size restriction .
These observations on the simple case of the Euler forward method generalize to linear multistep methods. Applying (2) to the model problem (3) leads to the following linear finite difference equation
(4) |
The above is solved using a procedure analogous to that for differential equations by hypothesizing solutions of the form
to obtain a characteristic equation
where are polynomials
The above polynomials allow an operational assessment of algorithms of form (2). An algorithm (2) that recovers the ordinary differential equation (1) in the limit of is said to be consistent, which occurs if and only if
Furthermore an algorithm of form (2) that does not amplify inherent floating point errors is said to be stable, which occurs if the roots of are subunitary in absolute value
A convenient procedure to determine the stable range of step sizes is to consider of unit absolute value
and evaluate the characteristic equation
where is the boundary locus delimiting zones of stability in the complex plane (Fig 1).
A method is said to be -stable if its region of stability contains the entire left half-plane in , and is said to be -stable if