Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Description  





2 Instability for high degree  





3 Closed NewtonCotes formulas  





4 Open NewtonCotes formulas  





5 Composite rules  





6 See also  





7 References  





8 External links  














NewtonCotes formulas






العربية
Català
Čeština
Deutsch
Español
Français

Italiano
עברית
Magyar
Nederlands


Polski
Português
Русский
Српски / srpski

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Newton–Cotes formula for 

Innumerical analysis, the Newton–Cotes formulas, also called the Newton–Cotes quadrature rules or simply Newton–Cotes rules, are a group of formulas for numerical integration (also called quadrature) based on evaluating the integrand at equally spaced points. They are named after Isaac Newton and Roger Cotes.

Newton–Cotes formulas can be useful if the value of the integrand at equally spaced points is given. If it is possible to change the points at which the integrand is evaluated, then other methods such as Gaussian quadrature and Clenshaw–Curtis quadrature are probably more suitable.

Description[edit]

It is assumed that the value of a function f defined on is known at equally spaced points: . There are two classes of Newton–Cotes quadrature: they are called "closed" when and , i.e. they use the function values at the interval endpoints, and "open" when and , i.e. they do not use the function values at the endpoints. Newton–Cotes formulas using points can be defined (for both classes) as[1] where

The number h is called step size, are called weights. The weights can be computed as the integral of Lagrange basis polynomials. They depend only on and not on the function f. Let be the interpolation polynomial in the Lagrange form for the given data points , then

Instability for high degree[edit]

A Newton–Cotes formula of any degree n can be constructed. However, for large n a Newton–Cotes rule can sometimes suffer from catastrophic Runge's phenomenon[2] where the error grows exponentially for large n. Methods such as Gaussian quadrature and Clenshaw–Curtis quadrature with unequally spaced points (clustered at the endpoints of the integration interval) are stable and much more accurate, and are normally preferred to Newton–Cotes. If these methods cannot be used, because the integrand is only given at the fixed equidistributed grid, then Runge's phenomenon can be avoided by using a composite rule, as explained below.

Alternatively, stable Newton–Cotes formulas can be constructed using least-squares approximation instead of interpolation. This allows building numerically stable formulas even for high degrees.[3][4]

Closed Newton–Cotes formulas[edit]

This table lists some of the Newton–Cotes formulas of the closed type. For , let where , and .

Closed Newton–Cotes Formulas
n Step size h Common name Formula Error term
1 Trapezoidal rule
2 Simpson's rule
3 Simpson's 3/8 rule
4 Boole's rule

Boole's rule is sometimes mistakenly called Bode's rule, as a result of the propagation of a typographical error in Abramowitz and Stegun, an early reference book.[5]

The exponent of the step size h in the error term gives the rate at which the approximation error decreases. The order of the derivative of f in the error term gives the lowest degree of a polynomial which can no longer be integrated exactly (i.e. with error equal to zero) with this rule. The number must be taken from the interval (a,b), therefore, the error bound is equal to the error term when .

Open Newton–Cotes formulas[edit]

This table lists some of the Newton–Cotes formulas of the open type. For , let where , and .

Open Newton–Cotes Formulas
n Step size h Common name Formula Error term
0 Rectangle rule, or
midpoint rule
1
2 Milne's rule
3

Composite rules[edit]

For the Newton–Cotes rules to be accurate, the step size h needs to be small, which means that the interval of integration must be small itself, which is not true most of the time. For this reason, one usually performs numerical integration by splitting into smaller subintervals, applying a Newton–Cotes rule on each subinterval, and adding up the results. This is called a composite rule. See Numerical integration.

See also[edit]

References[edit]

  1. ^ Quarteroni, Alfio; Sacco, Riccardo; Saleri, Fausto (2006). Numerical Mathematics (Second ed.). Springer. pp. 386–387. ISBN 978-3-540-34658-6.
  • ^ Quarteroni, Alfio; Sacco, Riccardo; Saleri, Fausto (2006). Numerical Mathematics (Second ed.). Springer. pp. 390–391. ISBN 978-3-540-34658-6.
  • ^ Pavel Holoborodko (2011-03-24). "Stable Newton-Cotes Formulas". Retrieved 2015-08-17.
  • ^ Pavel Holoborodko (2012-05-20). "Stable Newton-Cotes Formulas (Open Type)". Retrieved 2015-08-18.
  • ^ Booles Rule at Wolfram Mathworld, with typo in year "1960" (instead of "1860")
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Newton–Cotes_formulas&oldid=1221652349"

    Category: 
    Numerical integration (quadrature)
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 1 May 2024, at 05:20 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki