Newton-Cotes formula for
n = 2
A Newton-Cotes formula (according to Isaac Newton and Roger Cotes ) is a numerical quadrature formula for the approximate calculation of integrals . These formulas is based on the idea that function to be integrated by a polynomial to interpolate and integrate this exactly as an approximation. The interpolation points are selected to be equidistant.
Derivation
The interpolation points are for the interpolation
polynomial of degree to be integrated
Equidistant with the constant distance chosen so that they are symmetrical to the interval center of the integration interval . Thus applies .
With (and thus ) one obtains intervals of length and thus and . These formulas are called closed Newton-Cotes formulas .
With (and thus ) one obtains open quadrature formulas:
- If you choose (and thus ), you get intervals of length and thus and . These formulas are called open Newton-Cotes formulas .
- If you choose (and thus ), you get intervals of length and thus and . These formulas are called Maclaurin formulas .
For the numerical integration of , the interpolation polynomial of the function for the given support points is used. For this applies:
-
,
where are the Lagrange base polynomials . It follows:
-
.
definition
For the Newton-Cotes formula it then follows:
with the weights
The weights are symmetrical, that is .
Because of the particular choice of sampling points, the quadrature formulas for odd integrate polynomials up to degree , with straight even to the degree of precision. Quadrature formulas with an even number (i.e. an odd number of nodes) are therefore preferable to those with an odd number . This property is also called the degree of accuracy of the quadrature formula.
Especially applies to that and thus .
If what at weights with different signs is the case, there is a danger that the rounding errors get progressively or cancellation occurs. Therefore, for numerical reasons, quadrature formulas with positive weights are to be preferred. Since the interpolation polynomial is useless for large , quadrature formulas with large are also not recommended. If you want to achieve better approximations, the use of summed quadrature formulas is recommended.
is the error (procedural error) that is made when applying the quadrature formula. With the special choice of the support points for -mal on continuously differentiable real-valued functions, this always has the form
-
,
where is a constant that is independent of and an intermediate value that is only known in exceptional cases. If it were generally known, one could calculate exactly, and thus also the integral, in contradiction to the fact that there are infinitely many integrals that cannot be calculated exactly. The error is zero for all functions whose -th derivative is zero, i.e. for all polynomials of degree less than / equal . Thus, the degree of accuracy is the quadrature formula. The value is also called the (polynomial) order of the quadrature formula.
With the help of the procedural error, the error estimate is obtained:
-
.
The exact error is always less than or equal to this error estimate, as the examples given below also show.
Completed Newton-Cotes formulas
The sampling points specified apply to the integration interval : . The support points are for a general interval .
|
Surname
|
Support points
|
Weights
|
|
1 |
Trapezoidal rule Tendon trapezoidal rule
|
|
|
|
2 |
Simpson's rule Kepler's barrel rule
|
|
|
|
3 |
3/8 rule Pulcherrima
|
|
|
|
4th |
Milne rule Boole rule
|
|
|
|
5 |
6 point rule
|
|
|
|
6th |
Weddle rule (after Thomas Weddle , 1817-1853)
|
|
|
|
The abbreviated values of all nodes to are:
n = 1: {1/2, 1/2}
n = 2: {1/6, 2/3, 1/6}
n = 3: {1/8, 3/8, 3/8, 1/8}
n = 4: {7/90, 16/45, 2/15, 16/45, 7/90}
n = 5: {19/288, 25/96, 25/144, 25/144, 25/96, 19/288}
n = 6: {41/840, 9/35, 9/280, 34/105, 9/280, 9/35, 41/840}
n = 7: {751/17280, 3577/17280, 49/640, 2989/17280, 2989/17280, 49/640, 3577/17280, 751/17280}
n = 8: {989/28350, 2944/14175, -464/14175, 5248/14175, -454/2835, 5248/14175, -464/14175, 2944/14175, 989/28350}
n = 9: {2857/89600, 15741/89600, 27/2240, 1209/5600, 2889/44800, 2889/44800, 1209/5600, 27/2240, 15741/89600, 2857/89600}
n = 10: {16067/598752, 26575/149688, -16175/199584, 5675/12474, -4825/11088, 17807/24948, -4825/11088, 5675/12474, -16175/199584, 26575/149688, 16067 / 598752}
To applies to and To applies
Example:
Approximation with Simpson's rule ( ). It applies and .
Process error: With one receives with
Error estimation:
Exact error:
Open Newton-Cotes formulas
The reference points are for the integration interval : . The support points are for a general interval .
|
Surname
|
Support points
|
Weights
|
|
0 |
Rectangle rule, center rule, Tangent trapezoid rule
|
|
|
|
1 |
|
|
|
|
2 |
|
|
|
|
3 |
|
|
|
|
4th |
|
|
|
|
5 |
|
|
|
|
6th |
|
|
|
|
For true for true
Of these formulas, only the rectangle rule is recommended. With more effort, the formula for has the same order as the rectangular rule, the higher formulas have negative weights.
Example:
Approximation with the formula for . It applies and .
-
.
Process error: With one receives with .
Error estimation:
Exact error:
Maclaurin quadrature formulas
These formulas are named after Colin Maclaurin . The reference points are for the integration interval : . The support points are for a general interval .
|
Surname
|
Support points
|
Weights
|
|
0 |
Rectangle rule, center rule, Tangent trapezoid rule
|
|
|
|
1 |
|
|
|
|
2 |
|
|
|
|
3 |
|
|
|
|
4th |
|
|
|
|
For true for true
Example:
Approximation with the formula for . It applies and .
Process error: With one receives with .
Error estimation:
Exact error:
Summed Newton-Cotes formulas
Starting with grade 8, many Newton-Cotes formulas have negative weights, which entails the risk of extinction . In addition, one cannot generally expect convergence since the polynomial interpolation is poorly conditioned. In the case of larger integration areas, these are therefore divided into individual sub-intervals and a low-order formula is applied to each individual sub-interval.
literature
- Hans R. Schwarz, Norbert Köckler: Numerical Mathematics. 6th edition. Teubner, Stuttgart 2006, ISBN 3-519-42960-8 , pp. 311-316.
- Roland W. Freund, Ronald HW Hoppe: Stoer / Bulirsch: Numerical Mathematics 1st 10th edition. Springer, Berlin 2007, ISBN 978-3-540-45389-5 , pp. 164-169.
- Michael R. Schäferkotter, Prem K. Kythe: Handbook of Computational Methods for Integration. Chapman & Hall, Boca Raton 2005, ISBN 1-58488-428-2 , pp. 54-62, 503-505.
- Günter Bärwolf: Numerics for engineers, physicists and computer scientists. ISBN 978-3-8274-1689-6 , Spektrum, Munich 2007, p. 128.
-
Gisela Engeln-Müllges , Klaus Niederdrenk, Reinhard Wodicka: Numerical algorithms: procedures, examples, applications. ISBN 978-3-642-13472-2 , Springer, Berlin and Heidelberg 2011.
Individual evidence
-
^ Thomas Weddle ( Newcastle-upon-Tyne ): A new simple and general method of solving numerical equations of all orders . Hamilton, Adams & Co. and J. Philipson, London 1842 ( Internet Archive - 52 pp.).
-
^ WolframAlpha . wolframalpha.com. Retrieved September 14, 2019.