Lecture 22: Ordinary Differential Equations - Multistep Methods

1.Adams-Bashforth and Adams-Moulton schemes

Consider now the approximation of =f in the first-order differential equation

y'=f(t,y). (1)

Integration over a time step [ti,ti+1] gives

y(ti+1)-y(ti)=titi+1f(t,y(t))dt,

and use of quadrature formulas leads to numerical solutions for solving (1). Consider for instance data 𝒟={(ti+1-k,fi+1-k),k=1,,s} going back s intervals of size h, ti+1-k=ti+1-kh. 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

f(t,y(t))k=1sk(t)fk,fk=f(ti+1-k,y(ti+1-k))f(ti+1-k,yi+1-k).

The last approximate equality arises from replacing the exact value y(ti+1-k) by its approximation yky(ti+1-k). The result is known as an Adams-Bashforth scheme

yi+1=yi+titi+1k=1sk(t)fkdt=yi+k=1s(titi+1k(t)dt)fk=yi+hk=1sbkfi+1-k,

with coefficients that are readily computed (cf. Table 1).

bk=1h(titi+1k(t)dt).
s b1 b2 b3 b4 1 1 2 - 3 - 4 - -

Table 1. Adams-Bashforth scheme coefficients.

The s=1 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 𝒟={(ti+1-k,fi+1-k),k=0,,s-1} that contains the point yet to be computed (ti+1,yi+1) gives rise to a class of implicit schemes known as the Adams-Moulton schemes (Table 2)

yi+1=yi+hk=0s-1bkfi+1-k,
s b0 b1 b2 b3 1 1 2 3 - 4 -

Table 2. Adams-Moulton scheme coefficients.

2.Simultaneous operator approximation - linear multistep methods

Approximation of both operators =d/dt and =f arising in y=y, or y'=f(t,y) is possible. Combining previous computations, the resulting schemes can be stated as

k=0sakyi+k=hk=0sbkfi+k,fi+k=f(ti+k,yi+k). (2)

Both sides arise from linear approximants: of the derivative on the left, and of f on the right.

3.Consistency, convergence, stability

Any of the above schemes defines a sequence {yn}n that approximates the solution y(tn) of the initial value problem

y'=f(t,y),y(0)=y0,

over a time interval [0,T], tn=nh, h=T/N. A scheme is said to be convergent if

lim h0 Nh=T yN=y(T).

The above states that in the limit of taking small step sizes while maintaining Nh=T for some finite time T, 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.

3.1.Model problem

To motivate the overall approach, consider first the following model problem

y'=λy,y(0)=y0,λ0 (3)

The model problem arises from truncation of the general non-linear function f to first order

y'=f(y)=f(0)+f'(0)y+.

Since f(0) is a constant that simply leads to linear growth, and the model problem captures the lowest-order non-trivial behavior. The exact solution is

y(t)=eλty0y(tn)=enλhy0,

giving y(T)=eλTy0. The restriction of λ0 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 y(T)=eλT(y0+δ), and the error ε=y(T)-y(T)=eλTδ can only be maintained small if λ0.

Applying the forward Euler scheme to the model problem (3) gives

yn+1=yn+λhyn=(1+z)yn,

with z=λh. After N steps the numerical approximation is

yN=(1+z)Ny0.

The exponential decay of the exact solution can only be recovered if which leads to a restriction on the allowable step size

-2λ>h>0.

If the step size is too large, h>-2/λ, 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 z , |z|=|λh|1, which leads to a step size restriction h<1/|λ|.

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

k=0sakyi+k=zk=0sbkyi+k. (4)

The above is solved using a procedure analogous to that for differential equations by hypothesizing solutions of the form

yn=rn,

to obtain a characteristic equation

π(r;z)=ρ(r)-zσ(r)=0,

where ρ(r),σ(r) are polynomials

ρ(r)=k=0sakrk,σ(r)=k=0sbkrk.

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 h0 is said to be consistent, which occurs if and only if

ρ(1)=0,ρ'(1)-σ(1)=0.

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 π(r;z) are subunitary in absolute value

|rj|<1,π(rj;z)=0.

Theorem. An algorithm to solve (1) that is consistent and stable is convergent.

3.2.Boundary locus method

A convenient procedure to determine the stable range of step sizes is to consider r of unit absolute value

r=eiθ,

and evaluate the characteristic equation

π(eiθ;z)=ρ(eiθ)-zσ(eiθ)=0z(θ)=ρ(eiθ)σ(eiθ),

where z(θ) is the boundary locus delimiting zones of stability in the complex plane (Fig 1).

A method is said to be A-stable if its region of stability contains the entire left half-plane in , and is said to be L-stable if limωρ(ωeiθ)/σ(ωeiθ)=0.