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.
Similar content being viewed by others
References
Cools, R., Haegemans, A.: Algorithm 824: CUBPACK : a package for automatic cubature; framework description. ACM Trans. Math. Softw. 29, 287–296 (2003)
Davis, P.J., Rabinowitz, P.: Methods of Numerical Integration, 2nd edn. Academic Press, New York (1984)
Espelid, T.: Doubly adaptive quadrature routines based on Newton–Cotes rules. BIT 43, 319–337 (2003)
Gander, W., Gautschi, W.: Adaptive quadrature-revisited. BIT 40, 84–101 (2000)
Gonnet, P.: A review of error estimation in adaptive quadrature. ACM Comput. Surv. 44, 22:1–22:36 (2012)
Kacewicz, B.: Adaptive mesh selection asymptotically guarantees a prescribed local error for systems of initial value problems. Adv. Comput. Math. 44, 1325–1344 (2017)
Lyness, J.N.: Notes on the adaptive Simpson quadrature routine. J. Assoc. Comput. Mach. 16, 483–495 (1969)
Lyness, J.N.: When not to use an automatic quadrature routine? SIAM Rev. 25, 63–87 (1983)
Malcolm, M.A., Simpson, R.B.: Local versus global strategies for adaptive quadrature. ACM Trans. Math. Softw. 1, 129–146 (1975)
McKeeman, W.M.: Algorithm 145: adaptive numerical integration by Simpson’s rule. Commun. ACM 5, 604 (1962)
Piessens, R., de Doncker-Kapenga, E., Überhuber, C.W., Kahaner, D.K.: QUADPACK: A Subroutine Package for Automatic Integration. Springer, Berlin (1983)
Plaskota, L.: Automatic integration using asymptotically optimal adaptive Simpson quadrature. Numer. Math. 131, 173–198 (2015)
Shampine, L.F.: Vectorized adaptive quadrature in MATLAB. J. Comput. Appl. Math. 211, 131–140 (2008)
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
Corresponding author
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
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10543-020-00831-2