One way we might evaluate the error is to use Taylor expansions with integral remainders for f. We illustrate for the trapezium rule using the Taylor results


We investigate the error in more generality in the following theorem:
Theorem 3839 ((Peano))
If the linear functional
is defined by
, and if
E(p)=0 for all polynomials p of degree not greater than m then
![]()
![]()
Corollary 3843
If further Km is of constant sign on [a,b], then
![]()
Examples

![]()
![]()



![]()
Example
Find the open quadrature formulausing the method of undetermined coefficients. Find also an error estimate using Peano's Theorem assuming
.
Let
. Then
from which we find the values
. Now
and
. From Peano's Theorem we have
so
We can theoretically construct more and more accurate quadrature formulae by taking higher degree interpolating polynomials. However, the coefficients in these formulae become large and therefore liable to produce rounding errors. An alternative and much commoner approach is to use composite rules.