zbMATH — the first resource for mathematics

Numerical calculation of incomplete gamma functions by the trapezoidal rule. (English) Zbl 0593.65017
The trapezoidal rule is applied to the numerical calculation of the known integral representation of the complementary incomplete gamma function \[ \Gamma (a,x)=(2e^{-x}x^ a/\Gamma (1-a))\int^{+\infty}_{0}e^{- u^ 2}u^{-2a+1}/x+\quad u^ 2\quad du \] in the region \(a<-1\) and \(x>0\). This application of the trapezoidal rule is not standard since the function \(u^{-2a+1}(x+u^ 2)^{-1}\) in the integrand is not even, but numerical tests show that using the rule may still be convenient. The explanation of this surprising fact requires a careful investigation of the related Euler-Maclaurin formula and expecially of its remainder term. The outcome is a simple numerical procedure for obtaining values of incomplete gamma functions with good accuracy in the stated region. The explained method can be applied to the numerical evaluation of other important special functions.
Reviewer: Reviewer (Berlin)

65D20 Computation of special functions and constants, construction of tables
65B15 Euler-Maclaurin formula in numerical analysis
33B15 Gamma, beta and polygamma functions
Algorithm 542
Full Text: DOI EuDML
[1] Allasia, G., Besenghi, R.: Sul calcolo numerico delle funzioni gamma e digamma mediante la formula del trapezio. Boll. Unione Mat. Ital. (to appear)
[2] Davis, P.J., Rabinowitz, P.: Methods of numerical integration (2nd Ed.). New York: Academic Press 1984 · Zbl 0537.65020
[3] Erd?ly, A., Magnus, W., Oberhettinger, F., Tricomi, F.G.: Higher transcendental functions. New York: McGraw-Hill 1953 · Zbl 0051.30303
[4] Gatteschi, L.: Funzioni speciali. Torino: U.T.E.T. 1973
[5] Gautschi, W.: Un procedimento di calcolo per le funzioni gamma incomplete. Rend. Semin. Mat. Torino37, 1-9 (1979) · Zbl 0424.65004
[6] Gautschi, W.: A computational procedure for incomplete gamma functions. ACM Trans. Math. Software5, 466-481 (1979) · Zbl 0429.65011 · doi:10.1145/355853.355863
[7] Gautschi, W.: Algorithm 542-Incomplete gamma functions. ACM Trans. Math. Software5, 482-489 (1979) · Zbl 0434.65007 · doi:10.1145/355853.355864
[8] Hardy, G.H.: Divergent series. Oxford: University Press 1949 · Zbl 0032.05801
[9] Hunter, D.B.: The calculation of certain Bessel functions. Math. Comput.18, 123-128 (1964) · Zbl 0126.32202 · doi:10.1090/S0025-5718-1964-0158104-3
[10] Hunter, D.B.: The evaluation of a class of functions defined by an integral. Math. Comput.22, 440-444 (1968) · Zbl 0198.49501 · doi:10.1090/S0025-5718-68-99874-8
[11] Lindel?f, E.: Le calcul des r?sidus. New York: Chelsea 1947
[12] Luke, Y.L.: The special functions and their approximations. New York: Academic Press 1969 · Zbl 0193.01701
[13] Luke, Y.L.: Mathematical functions and their approximations. New York: Academic Press 1975 · Zbl 0318.33001
[14] McNamee, J.: Error bounds for the evaluation of integrals by the Euler-Maclaurin formula and by Gauss-type formulae. Math. Comput.18, 368-381 (1964) · Zbl 0125.36202 · doi:10.1090/S0025-5718-1964-0185804-1
[15] Pagurova, V.I.: Tables of the Exponential integral \(E_r (x) = \int\limits_1^x {e^{ - xu} u^{ - r} du} \) . New York: Pergamon Press 1961 · Zbl 0108.14002
[16] Tricomi, F.G.: Sulla funzione gamma incompleta. Ann. Mat. Pura Appl.31, 263-279 (1950) · Zbl 0040.18401 · doi:10.1007/BF02428264
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. It attempts to reflect the references listed in the original paper as accurately as possible without claiming the completeness or perfect precision of the matching.