The Composite Trapezoidal Rule
- We subdivide [a,b] into
smaller intervals with
, apply the rule to each subinterval, and add.
- This gives the composite trapezoidal rule;
- The error is not the local error
but the global error, the sum of
local errors;
- In this equation, each of the
is somewhere within each subinterval.
- If
is continuous in [a, b], there is some point within [a,b] at which the sum of the
is equal to
, where
in [a, b].
- We then see that, because
,
- Example: Given the values for
and
in Table7.3.
Table 7.3:
Example for the trapezoidal rule.
![\begin{table}\begin{center}
\includegraphics[scale=0.9]{figures/5.4.ps}
\end{center}
\end{table}](img1112.png) |
- Use the trapezoidal rule to estimate the integral from
to
.
- Applying the trapezoidal rule:
- The data in Table 7.3 are for
and the true value is
.
- The trapezoidal rule value is off by
; there are three digits of accuracy.
- How does this compare to the estimated error?
Alternatively,
- The actual error was
. It is reasonable since the value is in the error bounds.
Thanks for attending and listening.
Cem Ozdogan
2011-12-27