Skip to main content
Log in

Computing Complex Airy Functions by Numerical Quadrature

  • Published:
Numerical Algorithms Aims and scope Submit manuscript

Abstract

Integral representations are considered of solutions of the Airy differential equation w ′′zw=0 for computing Airy functions for complex values of z. In a first method contour integral representations of the Airy functions are written as non-oscillating integrals for obtaining stable representations, which are evaluated by the trapezoidal rule. In a second method an integral representation is evaluated by using generalized Gauss–Laguerre quadrature; this approach provides a fast method for computing Airy functions to a predetermined accuracy. Comparisons are made with well-known algorithms of Amos, designed for computing Bessel functions of complex argument. Several discrepancies with Amos' code are detected, and it is pointed out for which regions of the complex plane Amos' code is less accurate than the quadrature algorithms. Hints are given in order to build reliable software for complex Airy functions.

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.

Institutional subscriptions

Similar content being viewed by others

References

  1. M. Abramowitz and I.A. Stegun (eds.), Handbook of Mathematical Functions, National Bureau of Standards Applied Mathematics Series No. 55 (US Government Printing Office, Washington, DC, 1964).

    Google Scholar 

  2. D.E. Amos, Algorithm 644: A portable package for Bessel functions of a complex argument and nonnegative order, ACM Trans. Math. Softw. 12 (1986) 265-273.

    Google Scholar 

  3. R.M. Corless, D.J. Jeffrey and H. Rasmussen, Numerical evaluation of Airy functions with complex arguments, J. Comput. Phys. 99 (1992) 106-114.

    Google Scholar 

  4. W. Gautschi, Computation of Bessel and Airy functions and of related Gaussian quadrature, BIT 42 (2002) 110-118.

    Google Scholar 

  5. A. Gil, J. Segura and N.M. Temme, On non-oscillating integrals for computing inhomogeneous Airy functions, Math. Comput. 70 (2001) 1183-1194.

    Google Scholar 

  6. A. Gil, J. Segura and N.M. Temme, AiZ: a Fortran program for the computation of complex Airy functions (submitted).

  7. E.T. Goodwin, The evaluation of integrals of the form \(\smallint _{ - \infty }^\infty f(x){\text{e}}^{ - x^2 } {\text{d}}x\), Cambridge Phil. Soc. Proc. 45 (1949) 241-245.

    Google Scholar 

  8. D.W. Lozier and F.W.J. Olver, Numerical evaluation of special functions, in: AMS Proceedings of Symposia in Applied Mathematics, Vol. 48, ed. W. Gautschi (1994) pp. 79-125.

  9. Y.L. Luke, The Special Functions and Their Approximations, Vol. I-II (Academic Press, New York, 1969).

    Google Scholar 

  10. F.W.J. Olver, Asymptotics and Special Functions (Academic Press, New York, 1974, reprinted by A.K. Peters, 1997).

    Google Scholar 

  11. Z. Schulten, D.G.M. Anderson and R.G. Gordon, An algorithm for the evaluation of complex Airy functions, J. Comput. Phys. 31 (1979) 60-75.

    Google Scholar 

  12. N.M. Temme, Special Functions: An Introduction to the Classical Functions of Mathematical Physics (Wiley, New York, 1996).

    Google Scholar 

  13. R. Wong, Asymptotic Approximations of Integrals (Academic Press, New York, 1989).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Gil, A., Segura, J. & Temme, N.M. Computing Complex Airy Functions by Numerical Quadrature. Numerical Algorithms 30, 11–23 (2002). https://doi.org/10.1023/A:1015636825525

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1015636825525

Navigation