Integrating products of Bessel functions with an additional exponential or rational factor

Abstract We provide two Matlab programs to compute integrals of the form ∫ 0 ∞ e − c x x m ∏ i = 1 k J ν i ( a i x ) d x and ∫ 0 ∞ x m r 2 + x 2 ∏ i = 1 k J ν i ( a i x ) d x with J ν i ( x ) the Bessel function of the first kind and (real) order ν i . The parameter m is a real number such that ∑ i ν i + m > − 1 (to assure integrability near zero), r is real and the numbers c and a i are all strictly positive. The program can deliver accurate error estimates. Program summary Program title: BESSELINTR, BESSELINTC Catalogue identifier: AEAH_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEAH_v1_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 1601 No. of bytes in distributed program, including test data, etc.: 13 161 Distribution format: tar.gz Programming language: Matlab (version ⩾6.5), Octave (version ⩾ 2.1 . 69 ) Computer: All supporting Matlab or Octave Operating system: All supporting Matlab or Octave RAM: For k Bessel functions our program needs approximately ( 500 + 140 k ) double precision variables Classification: 4.11 Nature of problem: The problem consists in integrating an arbitrary product of Bessel functions with an additional rational or exponential factor over a semi-infinite interval. Difficulties arise from the irregular oscillatory behaviour and the possible slow decay of the integrand, which prevents truncation at a finite point. Solution method: The interval of integration is split into a finite and infinite part. The integral over the finite part is computed using Gauss–Legendre quadrature. The integrand on the infinite part is approximated using asymptotic expansions and this approximation is integrated exactly with the aid of the upper incomplete gamma function. In the case where a rational factor is present, this factor is first expanded in a Taylor series around infinity. Restrictions: Some (and eventually all) numerical accuracy is lost when one or more of the parameters r , c , a i or v i grow very large, or when r becomes small. Running time: Less than 0.02 s for a simple problem (two Bessel functions, small parameters), a few seconds for a more complex problem (more than six Bessel functions, large parameters), in Matlab 7.4 (R2007a) on a 2.4 GHz AMD Opteron Processor 250. References: [1] J. Van Deun, R. Cools, Algorithm 858: Computing infinite range integrals of an arbitrary product of Bessel functions, ACM Trans. Math. Software 32 (4) (2006) 580–596.

[1]  M. Abramowitz,et al.  Handbook of Mathematical Functions With Formulas, Graphs and Mathematical Tables (National Bureau of Standards Applied Mathematics Series No. 55) , 1965 .

[2]  Note on ``Electromagnetic Response of a Large Circular Loop Source on a Layered Earth: A New Computation Method'' by N. P. Singh and T. Mogi , 2006 .

[3]  M. Mobilia Competition between homogeneous and local processes in a diffusive many-body system , 2003, cond-mat/0307222.

[4]  Ronald Cools,et al.  A stable recurrence for the incomplete gamma function with imaginary second argument , 2006, Numerische Mathematik.

[5]  Claude Brezinski,et al.  Convergence acceleration during the 20th century , 2000 .

[6]  A. Panagopoulos,et al.  On an integral related to biaxially anisotropic media , 2002 .

[7]  M. Tezer,et al.  On the numerical evaluation of an oscillating infinite series , 1989 .

[8]  Gaston H. Gonnet,et al.  On the LambertW function , 1996, Adv. Comput. Math..

[9]  G. A. Watson A treatise on the theory of Bessel functions , 1944 .

[10]  Milton Abramowitz,et al.  Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables , 1964 .

[11]  Toru Mogi,et al.  Electromagnetic Response of a Large Circular Loop Source on a Layered Earth: A New Computation Method , 2005 .

[12]  John T. Conway,et al.  Analytical solutions for the Newtonian gravitational field induced by matter within axisymmetric boundaries , 2000 .

[13]  Colm T. Whelan On the evaluation of integrals over three spherical Bessel functions , 1993 .

[14]  A. A. Pivovarov,et al.  On the evaluation of sunset-type Feynman diagrams , 1998 .

[15]  H. M. McConnell,et al.  Hydrodynamics of quantized shape transitions of lipid domains , 1995, Proceedings of the Royal Society of London. Series A: Mathematical and Physical Sciences.

[16]  Jose M. Roesset Nondestructive Dynamic Testing of Soils and Pavements , 1998 .

[17]  Anthony M. J. Davis Drag modifications for a sphere in a rotational motion at small, non-zero Reynolds and Taylor numbers : wake interference and possibly Coriolis effects , 1992 .

[18]  J. T. Londergan,et al.  Analytic expressions for integrals of products of spherical Bessel functions , 1991 .

[19]  S. K. Lucas,et al.  Evaluating infinite integrals involving products of Bessel functions of arbitrary order , 1995 .

[20]  Howard A. Stone,et al.  Motion of a rigid particle in a rotating viscous flow: an integral equation approach , 1994, Journal of Fluid Mechanics.

[21]  Ronald Cools,et al.  A Matlab Implementation of an Algorithm for Computing Integrals of Products of Bessel Functions , 2006, ICMS.

[22]  Nagendra Pratap Singh,et al.  EMLCLLER—a program for computing the EM response of a large loop source over a layered earth model☆ , 2003 .

[23]  Ronald Cools,et al.  Algorithm 858: Computing infinite range integrals of an arbitrary product of Bessel functions , 2006, TOMS.