We further consider some methods that estimate the slope
by points in addition to the two end points
and
.
The Adams-Bashforth methods
Here we consider the multi-step methods for approximating
at some point inside the interval
as a linear interpolation between the two end points
and
. Specifically, the derivative
as a function of time
can be approximated by
Lagrange interpolation:
Now the increment of
from
to
can be found to be:
and the iteration can be formed based on two previous steps:
![$\displaystyle y_{n+2}=y_{n+1}+\Delta y=y_{n+1}+h\left(\frac{3}{2}f_{n+1}-\frac{1}{2}f_{n}\right)$](img583.svg) |
(222) |
This method can be generalized to an mth order multi-step
Adams-Bashforth method, which approximates
as a weighted
average of
(
) obtained
in the previous
steps:
![$\displaystyle y'_{n+m-1}=\sum_{i=n}^{n+m-1} b_i f(t_i,y(t_i))
=\sum_{i=n}^{n+m-1} b_i f(t_i,y(t_i))$](img587.svg) |
(223) |
based on which the next function value can be obtained as
![$\displaystyle y_{n+m}=y_{n+m-1}+h\;\sum_{i=n}^{n+m-1} b_i f_i
=y_{n+m-1}+h\;\sum_{i=n}^{n+m-1} b_i f(t_i,y(t_i))$](img588.svg) |
(224) |
The specific values of the coefficients
can be found in
a fashion similar to the case of
as shown above, based
on the mth order Lagrange interpolation of
previous results
(
). Specially, when
,
this becomes forward Euler's method.
In the Adams-Bashforth methods, the slope
in the interval
is approximated by the previous
points
, excluding
at
, the
end point of the current interval. This multi-step methods can be
modified to also include the next point
in the summation that approximates
:
![$\displaystyle y_{n+m}=y_{n+m-1}+h\;\sum_{i=n}^{n+m} b_i f_i
=y_{n+m-1}+h\;\sum_{i=n}^{n+m} b_i f(t_i,y(t_i))$](img597.svg) |
(225) |
Note that this iteration becomes implicit as
to be estimated
appears on both sides of the equation, which needs to be solved to get
. Such methods are called the
Adams-Moulton methods.
Specially, when
, this is the backward Euler's method; when
,
this is the trapezoidal method.