ArticleslgStudy

science

Adaptive quadrature

Adaptive quadrature is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Adaptive quadrature rather than just read about it. In short: Adaptive quadrature is a numerical integration method in which the integral of a function f(x) is approximated 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 ma…

Adaptive quadrature — main illustration
Adaptive quadrature — illustration

Key takeaways

  • Adaptive quadrature belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Adaptive quadrature to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Adaptive quadrature from memory before moving on to harder problems.

Reference excerpt

Adaptive quadrature is a numerical integration method in which the integral of a function f(x) is approximated 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 Adaptive quadrature follows the general scheme

1. procedure integrate ( f, a, b, τ ) 2. Q≈∫abf(x)dx 3. ε≈|Q−∫abf(x)dx| 4. if ε > τ then 5. m = (a + b) / 2 6. Q = integrate(f, a, m, τ/2) + integrate(f, m, b, τ/2) 7. endif 8. return Q

An approximation Q to the integral of f(x) over the interval [a,b] 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 Q≈∫abf(x)dx, the error estimator ε≈|Q−∫abf(x)dx|, 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 The quadrature rules generally have the form Qn=∑i=0nwif(xi)≈∫abf(x)dx where the nodes xi and weights wi are generally precomputed. In the simplest case, Newton–Cotes formulas of even degree are used, where the nodes xi are evenly spaced in the interval: xi=a+b−ani. When such rules are used, the points at which f(x) has been evaluated can be re-used upon recursion:

A similar strategy is used with Clenshaw–Curtis quadrature, where the nodes are chosen as xi=cos⁡(2inπ). Or, when Fejér quadrature is used, xi=cos⁡(2(i+0.5)n+1π). Other quadrature rules, such as Gaussian quadrature or Gauss-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 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:

Richardson extrapolation (see also Romberg's method) Null rules Epsilon algorithm

Subdivision logic "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 Adaptive numerical differentiation Adaptive step size in ODE Adaptive Simpson's method for an example of adaptive quadrature QUADPACK, a FORTRAN library that uses global adaptive quadrature

Notes

References

Worked examples

Example 1 — a first encounter with Adaptive quadrature

Start with the simplest possible case. Write down what Adaptive quadrature claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Adaptive quadrature before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Adaptive quadrature ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Adaptive quadrature

In research
Adaptive quadrature appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Adaptive quadrature in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Adaptive quadrature is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical integration, so understanding it makes those chapters shorter.
In everyday life
Look for Adaptive quadrature outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Adaptive quadrature” →

How to study Adaptive quadrature in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Adaptive quadrature means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Adaptive quadrature out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Adaptive quadrature in simple terms?

Adaptive quadrature is a numerical integration method in which the integral of a function f(x) is approximated 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…

Why does Adaptive quadrature matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Adaptive quadrature?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Adaptive quadrature.

Tags

  • Numerical integration

Keep exploring