1
Algebraic Polynomial Integration
Willi Freeden and Martin Gutting
CRC Press
The integration formulas are obtained by replacing the integral
(1.1)
by an expression
(1.2)
where is the uniquely determined interpolating polynomial of degree at the nodal system . Well-known from classical textbooks (see, e.g., P.J. Davis, P. Rabinowitz [1967], V.I. Krylov [1962], J. Stoer [1989], J. Werner [1991]) is the following theorem.
Let , with
be given knots. Suppose that , are known from a function of class . Then there exists a uniquely determined interpolatory quadrature formula
i.e.,
for all , i.e., for all polynomials of degree . The coefficients (weights) of the quadrature formula are given in the form
where are the Lagrange polynomials. given by
satisfy .
Theorem 1.1 leads to the following consequence:
(1.8)
In other words, is obtained by integrating the interpolating polynomial over .
Newton-Cotes Formulas. The Newton-Cotes formulas (cf. R. Cotes (1722)) are interpolatory quadratures to equidistant knots
(1.9)
The associated weights are calculated by
(1.10)
with
(1.11)
See Examples 1.2 and 1.3 for the derivation of the cases and . Further cases are summarized in Table 1.1.
| Name | ||||||
| 1 | (Simple) Trapezoidal rule | |||||
| 2 | Simpson's rule | |||||
| 3 | Newton's 3/8-rule | |||||
| 4 | Milne's rule | |||||
For we obtain the (Simple) Trapezoidal rule, i.e.,
The integrand is approximated by the linear function passing through the points and ( ). By integrating the linear function we obtain
For , Simpson's rule yields
It is derived by approximating the integrand by the quadratic polynomial passing through , and . J. Kepler (1615) used this method over 100 years prior. Hence, in German nomenclature, the method is sometimes called “Keplersche Fassregel”.
For large, the weights are large. Moreover, they are of mixed sign for and (which is usually not useful). Therefore, NewtonCotes formulas of higher orders are not often in use. They must be seen with caution.
In Table 1.2 the value of the integral
is calculated by a sequence of Newton-Cotes rules (following P.J. Davis, P. Rabinowitz (1967)) for -point coefficients from up to . The exact value is listed in the last line.
| 3.0000000 | 3.1415925 | ||
| 3.1333333 | 3.1415926 | ||
| 3.1384615 | 3.1415920 | ||
| 3.1421176 | 3.1415932 | ||
| 3.1418781 | 3.1415925 | ||
| 3.1415708 | 3.1415962 | ||
| 3.1415789 | 3.1415935 | ||
| 3.1415925 | 3.1415896 | ||
| 3.1415926 | 3.1415920 | ||
| 3.1415925 | 3.1415775 | ||
| Exact value | 3.1415926 |
In discussing the truncation error of approximate integration, it is useful to regard the error (cf. P.J. Davis, P. Rabinowitz (1967)) as a linear functional defined over a certain class of functions. In the considerations that follow, we consider integrands of class and linear functionals of integral type (1.1). Note that a generalization to linear functionals of the type
(1.20)
is obvious. Here, it is assumed that the functions are piecewise continuous over , and the points lie in the interval .
Evidently included as particular cases of (1.20) are the integral over or any subinterval, the -th derivative of , evaluated at a point out of , and any linear combination of ordinates of with abscissas in .
We consider an approximation of of the form (1.20) by a (quadrature) functional of the form
We shall say that is exact for the degree if for all polynomials of degree , i.e., . The error, or remainder, when is used to approximate is a linear functional defined by
We shall say that annihilates if
Theorem 1.7. Peano's Theorem
Let whenever . Then, for all ,
where
and
The result is due to G. Peano [1913, 1914]. The function is called the Peano kernel for the linear functional .
Note that the notation means the linear functional is applied to the -variable in the expression .
Proof. From the one-dimensional Taylor formula with explicit representation of the remainder term we obtain
(1.27)
By virtue of the setting (1.26), the integral remainder may be rewritten as
(1.28)
We apply to both sides of (1.27) and use the fact that annihilates all members of the class . This yields
(1.29)
Now, the type of functional we are working with allows the interchange of and the integral. Thus it follows that
(1.30)
This is the required result.
From Peano's Theorem (Theorem 1.7) we immediately obtain
For ,
If the Peano kernel does not change its sign over the interval , then may be expressed essentially as evaluated at an intermediate point. More explicitly, we have the following result.
If, in addition, does not change its sign on , then
Proof. Under the additional hypotheses we may apply the mean-value theorem for integrals. This leads to
(1.33)
Now, we insert , into (1.33) and obtain
(1.34)
This yields the assertion (1.32).
For an arbitrary rule of approximate integration (0.1) there is no reason for the Peano kernel to have one sign. However, for integration rules of NewtonCotes type, it can be shown that the kernel does have one sign.
Example 1.11. Remainder in the (Simple) Trapezoidal Rule
If we set
then is the truncation error in the (simple) trapezoidal rule. We may select in Peano's Theorem and obtain
Therefore,
The kernel , as determined by (1.36), is non-positive throughout ; hence we may apply Corollary 1.10. Now it is easy to see that
Consequently,
Example 1.12. Remainder in Simpson's rule
We consider an integral on the interval . Let
Now, whenever . Hence, we may take in Peano's Theorem. We find that . Explicitly written out we have
Obviously, in the interval so that Corollary 1.10 is applicable. Since , this leads to the error in Simpson's rule: