The regular interval approaches all derive from the trapezoid rule
through the powerful concept of Richardson extrapolation
(Section 4). We therefore need consider in detail only
the theory of the trapezoid rule.
Figure 1 illustrates the basic concept underlying
regular-interval approaches, decomposition of the desired
integral
 |
(2) |
into a sum of integrals over
regular intervals of width
where
for
. The rationale for this
analysis is that the narrowness of the intervals allows the
development of expansions for the
. For the trapezoid rule,
the
become
sample points for the integration.
Figure:
Decomposition of the integral
into
regular intervals
|
|
Narrowness of the intervals
ensures that Taylor series
about the center points
well
represent
over the corresponding interval,
where
, and we define the value and derivatives
of the function at the midpoint as
. The integral over interval
is then
where all of the odd
terms integrate to zero by symmetry.
Figure 2:
Integration of interval
.
|
|
From (6), the lowest-order approximation to
is
the so-called midpoint rule. (See Figure 2.) The
associated error is second order,
 |
(7) |
where
denotes that the remaining terms are of the order
or higher.
If the
are our sample points, we have no direct knowledge of the
, however. Working with the sample points nearest to
,
and
, we do have
knowledge of the values
where we have used the series (5). Multiplying the
average of these two values with
gives the trapezoid rule for
approximating
,
This also has a second-order error,
 |
(10) |
Tomas Arias
2004-01-26