Abstract
In order to approximate the integral $I(f)=\int_a^b f(x) dx$, where $f$ is a sufficiently smooth function, models for quadrature rules are developed using a given {\it panel} of $n\,\,(n\geq 2)$ equally spaced points. These models arise from the undetermined coefficients method, using a Newton's basis for polynomials. Although part of the final product is algebraically equivalent to the well known closed Newton-Cotes rules, the algorithms obtained are not the classical ones.In the basic model the most simple quadrature rule $Q_n$ is adopted (the so-called left rectangle rule) and a correction $\tilde E_n$ is constructed, so that the final rule $S_n=Q_n+\tilde E_n$ is interpolatory. The correction $\tilde E_n$, depending on the divided differences of the data, might be considered a {\em realistic correction} for $Q_n$, in the sense that $\tilde E_n$ should be close to the magnitude of the true error of $Q_n$, having also the correct sign. The analysis of the theoretical error of the rule $S_n$ as well as some classical properties for divided differences suggest the inclusion of one or two new points in the given panel. When $n$ is even it is included one point and two points otherwise. In both cases this approach enables the computation of a {\em realistic error} $\bar E_{S_n}$ for the {\it extended or corrected} rule $S_n$. The respective output $(Q_n,\tilde E_n, S_n, \bar E_{S_n})$ contains reliable information on the quality of the approximations $Q_n$ and $S_n$, provided certain conditions involving ratios for the derivatives of the function $f$ are fulfilled. These simple rules are easily converted into {\it composite} ones. Numerical examples are presented showing that these quadrature rules are useful as a computational alternative to the classical Newton-Cotes formulas.
Highlights
The first two quadrature rules taught in any numerical analysis course belong to a group known as closed Newton-Cotes rules
The basic rules are known as trapezoidal rule and the Simpson’s rule
Since the interpolating polynomial of the panel is unique, the value computed for S n( f ) using either model is the same and equal to the value one finds if the simple closed Newton-Cotes rule for n spaced points has been applied to the data
Summary
B a f (x)dx of smooth function f in the finite interval [a, b]. The basic rules are known as trapezoidal rule and the Simpson’s rule. Unlike the usual approach where one builds a quadrature formula Q( f ) (like the trapezoidal or Simpson’s rule) which is supposed to be a reasonable approximation to the exact value of the integral, here we do not care wether the approximation R( f ) is eventually bad, provided that the correction E( f ) has been well modeled. In this case the value S ( f ) will be a good approximation to the exact value of the integral I( f ).
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.