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 General scheme  





2 Basic rules  





3 Error estimation  





4 Subdivision logic  





5 See also  





6 Notes  





7 References  














Adaptive quadrature






Català
 

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
 


Adaptive quadrature is a numerical integration method in which the integral of a function isapproximated using static quadrature rules on adaptively refined subintervals of the region of integration. Generally, adaptive algorithms are just as efficient and effective as traditional algorithms for "well behaved" integrands, but are also effective for "badly behaved" integrands for which traditional algorithms may fail.

General scheme[edit]

Adaptive quadrature follows the general scheme

1. procedure integrate ( f, a, b, τ )
2.     
3.     
4.     if ε > τ then
5.         m = (a + b) / 2
6.         Q = integrate(f, a, m, τ/2) + integrate(f, m, b, τ/2)
7.     endif
8.     returnQ

An approximation to the integral of over the interval is computed (line 2), as well as an error estimate (line 3). If the estimated error is larger than the required tolerance (line 4), the interval is subdivided (line 5) and the quadrature is applied on both halves separately (line 6). Either the initial estimate or the sum of the recursively computed halves is returned (line 7).

The important components are the quadrature rule itself

the error estimator

and the logic for deciding which interval to subdivide, and when to terminate.

There are several variants of this scheme. The most common will be discussed later.

Basic rules[edit]

The quadrature rules generally have the form

where the nodes and weights are generally precomputed.

In the simplest case, Newton–Cotes formulas of even degree are used, where the nodes are evenly spaced in the interval:

When such rules are used, the points at which has been evaluated can be re-used upon recursion:

A similar strategy is used with Clenshaw–Curtis quadrature, where the nodes are chosen as

Or, when Fejér quadrature is used,

Other quadrature rules, such as Gaussian quadratureorGauss-Kronrod quadrature, may also be used.

An algorithm may elect to use different quadrature methods on different subintervals, for example using a high-order method only where the integrand is smooth.

Error estimation[edit]

Some quadrature algorithms generate a sequence of results which should approach the correct value. Otherwise one can use a "null rule" which has the form of the above quadrature rule, but whose value would be zero for a simple integrand (for example, if the integrand were a polynomial of the appropriate degree).

See:

Subdivision logic[edit]

"Local" adaptive quadrature makes the acceptable error for a given interval proportional to the length of that interval. This criterion can be difficult to satisfy if the integrands are badly behaved at only a few points, for example with a few step discontinuities. Alternatively, one could require only that the sum of the errors on each of the subintervals be less than the user's requirement. This would be "global" adaptive quadrature. Global adaptive quadrature can be more efficient (using fewer evaluations of the integrand) but is generally more complex to program and may require more working space to record information on the current set of intervals.

See also[edit]

Notes[edit]

References[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Adaptive_quadrature&oldid=1178254224"

Category: 
Numerical integration (quadrature)
Hidden categories: 
Articles lacking in-text citations from August 2019
All articles lacking in-text citations
 



This page was last edited on 2 October 2023, at 14:16 (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