Skip to main content
Log in

On optimal adaptive quadratures for automatic integration

  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

In this paper, the problem of automatic integration is investigated. Quadratures that compute the integral of an r times differentiable function with the assumption that the rth derivative is positive within precision \(\varepsilon >0\) are constructed. A rigorous analysis of these quadratures is presented. It turns out that the mesh selection procedure proposed in this paper is optimal i.e., it uses the minimal number of function evaluations. It is also shown how to adapt the quadratures to the case where the assumption that the rth derivative has a constant sign is not fulfilled. The theoretical results are illustrated and confirmed with numerical tests.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Cools, R., Haegemans, A.: Algorithm 824: CUBPACK : a package for automatic cubature; framework description. ACM Trans. Math. Softw. 29, 287–296 (2003)

    Article  Google Scholar 

  2. Davis, P.J., Rabinowitz, P.: Methods of Numerical Integration, 2nd edn. Academic Press, New York (1984)

    MATH  Google Scholar 

  3. Espelid, T.: Doubly adaptive quadrature routines based on Newton–Cotes rules. BIT 43, 319–337 (2003)

    Article  MathSciNet  Google Scholar 

  4. Gander, W., Gautschi, W.: Adaptive quadrature-revisited. BIT 40, 84–101 (2000)

    Article  MathSciNet  Google Scholar 

  5. Gonnet, P.: A review of error estimation in adaptive quadrature. ACM Comput. Surv. 44, 22:1–22:36 (2012)

    Article  Google Scholar 

  6. Kacewicz, B.: Adaptive mesh selection asymptotically guarantees a prescribed local error for systems of initial value problems. Adv. Comput. Math. 44, 1325–1344 (2017)

    Article  MathSciNet  Google Scholar 

  7. Lyness, J.N.: Notes on the adaptive Simpson quadrature routine. J. Assoc. Comput. Mach. 16, 483–495 (1969)

    Article  MathSciNet  Google Scholar 

  8. Lyness, J.N.: When not to use an automatic quadrature routine? SIAM Rev. 25, 63–87 (1983)

    Article  MathSciNet  Google Scholar 

  9. Malcolm, M.A., Simpson, R.B.: Local versus global strategies for adaptive quadrature. ACM Trans. Math. Softw. 1, 129–146 (1975)

    Article  MathSciNet  Google Scholar 

  10. McKeeman, W.M.: Algorithm 145: adaptive numerical integration by Simpson’s rule. Commun. ACM 5, 604 (1962)

    Google Scholar 

  11. Piessens, R., de Doncker-Kapenga, E., Überhuber, C.W., Kahaner, D.K.: QUADPACK: A Subroutine Package for Automatic Integration. Springer, Berlin (1983)

    Book  Google Scholar 

  12. Plaskota, L.: Automatic integration using asymptotically optimal adaptive Simpson quadrature. Numer. Math. 131, 173–198 (2015)

    Article  MathSciNet  Google Scholar 

  13. Shampine, L.F.: Vectorized adaptive quadrature in MATLAB. J. Comput. Appl. Math. 211, 131–140 (2008)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

We would like to thank the referees and the editors for a thorough reading and for many useful comments and suggestions that helped us to improve this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maciej Goćwin.

Additional information

Communicated by Michiel E. Hochstenbach.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This research was partly supported by the Polish Ministry of Science and Higher Education and by the National Science Centre, Poland, under Project 2017/25/B/ST1/00945.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Goćwin, M. On optimal adaptive quadratures for automatic integration. Bit Numer Math 61, 411–439 (2021). https://doi.org/10.1007/s10543-020-00831-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10543-020-00831-2

Keywords

Mathematics Subject Classification

Navigation