Error bound for the trapezoidal rule
Builds on Trapezoidal ruleSecond derivativeInterpolation error formulaMean value theorem for integrals
Statement
Let , let be twice continuously differentiable, let , , and let be the composite trapezoidal rule with subintervals. Then there is with In particular,
Remarks
On one subinterval , the interpolation error formula gives for the linear interpolant .
Since there, the mean value theorem for integrals gives the local error .
Summing over the subintervals and using the intermediate value theorem for gives the global formula with .
Example: on with : the error is , and the formula gives .
Without the smoothness hypothesis the rate can fail: for on , whose second derivative is unbounded near , the error is only of order .
Mathlib proves the bound in the form trapezoidal_error_le_of_c2.
Going deeper
For a student
This bound is the model for error analysis of composite Newton–Cotes formulas: a local error of order summed over pieces gives a global error of order . It also tells how many subintervals are needed for a given tolerance, once a bound on is known. The Euler–Maclaurin formula refines it into an expansion of the error in even powers of , which is the basis of Richardson extrapolation and Romberg's method. For smooth periodic functions all the correction terms vanish, which explains the very fast convergence of the trapezoidal rule in that case.
Reading path
To understand this page from the ground up, read these 39 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Derivative concept
- Limit point of a set definition
- Local maximum definition
- Partition of an interval definition
- Polynomial interpolation concept
- Sequence definition
- Trapezoidal rule concept
- Limit of a function definition
- Local minimum definition
- Mesh of a partition definition
- Riemann sum definition
- Real sequence definition
- Subsequence definition
- Continuity at a point definition
- Derivative definition
- Riemann integrable function definition
- Bounded sequence definition
- Limit of a sequence definition
- Monotone sequence definition
- Continuous function definition
- Differentiable function definition
- Fermat's theorem on stationary points statement
- Riemann integral definition
- Convergent sequence definition
- Monotone convergence theorem for sequences statement
- Every sequence has a monotone subsequence statement
- Intermediate value theorem statement
- Derivative function definition
- Definite integral definition
- Bolzano–Weierstrass theorem statement
- Higher derivative definition
- Boundedness theorem statement
- Monotonicity of the integral statement
- Second derivative definition
- Extreme value theorem statement
- Mean value theorem for integrals statement
- Rolle's theorem statement
- Interpolation error formula statement
- Error bound for the trapezoidal rule statement
Further reading
About this page
| Tag | Q0M7PT9VN2 |
|---|---|
| URI | m2://Q0M7PT9VN2 |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 65D32, 41A55, 65D30 |
| Status | This copy of the site has no build data. Run m2 status Q0M7PT9VN2. |
| About | Trapezoidal rule |
| Uses | Trapezoidal rule, Second derivative, Interpolation error formula, Mean value theorem for integrals |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.