[Paper Review] Simple derivation of basic quadrature formulas
This paper presents a simple, unified derivation of the midpoint, trapezoidal, and Simpson’s quadrature rules using integration by parts on the second or fourth derivative of the integrand multiplied by a carefully chosen polynomial or piecewise polynomial. The key contribution is a corrected trapezoidal rule with a smaller error constant than the standard midpoint and trapezoidal rules, all derived constructively with minimal prerequisites, suitable for calculus and numerical analysis courses.
Simple proofs of the midpoint, trapezoidal and Simpson's rules are proved for numerical integration on a compact interval. The integrand is assumed to be twice continuously differentiable for the midpoint and trapezoidal rules, and to be four times continuously differentiable for Simpson's rule. Errors are estimated in terms of the uniform norm of second or fourth derivatives of the integrand. The proof uses only integration by parts, applied to the second or fourth derivative of the integrand, multiplied by an appropriate polynomial or piecewise polynomial function. A corrected trapezoidal rule that includes the first derivative of the integrand at the endpoints of the integration interval is also proved in this manner, the coefficient in the error estimate being smaller than for the midpoint and trapezoidal rules. The proofs are suitable for presentation in a calculus or elementary numerical analysis class. Several student projects are suggested.
Motivation & Objective
- To provide accessible, elementary proofs of classical numerical integration rules—midpoint, trapezoidal, and Simpson’s—without relying on interpolation or advanced mean value theorems.
- To derive error estimates for these rules using only integration by parts and elementary optimization, assuming only continuity of second or fourth derivatives.
- To introduce and rigorously justify a corrected trapezoidal rule that includes endpoint first derivatives and achieves a smaller error constant than standard midpoint and trapezoidal rules.
- To extend the method to cases with less smooth integrands, including unbounded derivatives and Henstock–Kurzweil integrable functions, using the Alexiewicz norm.
- To support pedagogical use by suggesting student projects and exercises at both calculus and advanced undergraduate levels.
Proposed method
- The method begins with the integral of the second or fourth derivative of the integrand multiplied by a monic polynomial or piecewise polynomial function, then applies integration by parts to derive the quadrature formula.
- For the midpoint and trapezoidal rules, the proof uses integration by parts on $ \int_a^b f''(x) p(x) \, dx $, where $ p(x) $ is a quadratic or piecewise quadratic function chosen to eliminate boundary terms.
- For Simpson’s rule, the approach uses $ \int_a^b f^{(4)}(x) p(x) \, dx $ with a monic, piecewise quartic $ p(x) $, leading to the standard three-point formula.
- The corrected trapezoidal rule is derived by choosing $ p(x) $ such that the error term is minimized, resulting in a constant of proportionality for the error bound that is smaller than for the standard midpoint and trapezoidal rules.
- Error estimates are derived in terms of the uniform norm of the second or fourth derivative, with bounds like $ |E^M(f)| \leq \frac{(b-a)^3 \|f''\|_\infty}{24} $.
- The method is extended to less regular functions by using the Henstock–Kurzweil integral and the Alexiewicz norm, allowing error estimates when $ f'' $ is not Riemann or Lebesgue integrable.
Experimental results
Research questions
- RQ1How can the midpoint, trapezoidal, and Simpson’s rules be derived using only integration by parts and elementary polynomial optimization?
- RQ2Can a corrected trapezoidal rule be constructed that achieves a smaller error constant than the standard midpoint and trapezoidal rules?
- RQ3What error bounds can be obtained when the integrand has unbounded or non-integrable derivatives, such as $ f''(x) = \sin(1/x) $ or $ f(x) = \sqrt{x} $?
- RQ4To what extent can the method be generalized to functions where $ f'' $ is not Riemann or Lebesgue integrable, but is Henstock–Kurzweil integrable?
- RQ5How can the error estimates be refined when the second derivative varies significantly across subintervals?
Key findings
- The midpoint rule error is bounded by $ \frac{(b-a)^3 \|f''\|_\infty}{24} $, and the composite rule has error $ \leq \frac{(b-a)^3 \|f''\|_\infty}{24n^2} $.
- The trapezoidal rule error is bounded by $ \frac{(b-a)^3 \|f''\|_\infty}{12} $, and the composite rule has error $ \leq \frac{(b-a)^3 \|f''\|_\infty}{12n^2} $.
- Simpson’s rule error is bounded by $ \frac{(b-a)^5 \|f^{(4)}\|_\infty}{2880} $, and the composite rule has error $ \leq \frac{(b-a)^5 \|f^{(4)}\|_\infty}{2880n^2} $.
- The corrected trapezoidal rule has an error bound proportional to $ (b-a)^3 \|f''\|_\infty $ with the smallest possible constant of proportionality among the three standard rules.
- For functions with singularities such as $ f(x) = |\log x|^\alpha $, the method yields valid quadrature rules when $ f''(x) = O(1/x^2) $ as $ x \to 0^+ $, with error bounded by $ \sup |f''(x)x^2| $.
- When $ f'' $ is not Riemann or Lebesgue integrable, the error can still be estimated using the Henstock–Kurzweil integral and the Alexiewicz norm, extending the method’s applicability to broader classes of functions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.