Recursive Computation of the Repeated Integrals of the Error Function

Similar documents
The incomplete gamma functions. Notes by G.J.O. Jameson. These notes incorporate the Math. Gazette article [Jam1], with some extra material.

CALCULATION OP CERTAIN BESSEL FUNCTIONS 123

High Precision Calculation of Arcsin x, Arceos x, and Arctan % By I. E. Perlin and J. R. Garrett

Approximations for the Bessel and Struve Functions

A Note on the Recursive Calculation of Incomplete Gamma Functions

ON THE DENSITY OF SOME SEQUENCES OF INTEGERS P. ERDOS

On the Equation of the Parabolic Cylinder Functions.

Quadrature Formulas for Infinite Integrals

ON THE HARMONIC SUMMABILITY OF DOUBLE FOURIER SERIES P. L. SHARMA

Ht) = - {/(* + t)-f(x-t)}, e(t) = - I^-á«.

Math 0230 Calculus 2 Lectures

A Chebyshev Polynomial Rate-of-Convergence Theorem for Stieltjes Functions

MATH 6B Spring 2017 Vector Calculus II Study Guide Final Exam Chapters 8, 9, and Sections 11.1, 11.2, 11.7, 12.2, 12.3.

(4) cn = f f(x)ux)dx (n = 0, 1, 2, ).

Some Integrals Involving Associated Legendre Functions

THE NECESSITY OF HARRIS' CONDITION FOR THE EXISTENCE OF A STATIONARY MEASURE WILLIAM VEECH1

A CONVERGENCE CRITERION FOR FOURIER SERIES

NOTE ON THE BESSEL POLYNOMIALS

x arctan x = x x x x2 9 +

A Double Integral Containing the Modified Bessel Function: Asymptotic* and Computation. (1.1) l(x,y) = f f e-"-%(2]ful)dudt,

Computation of Eigenvalues of Singular Sturm-Liouville Systems

SOME FINITE IDENTITIES CONNECTED WITH POISSON'S SUMMATION FORMULA

Czechoslovak Mathematical Journal

Newton, Fermat, and Exactly Realizable Sequences

Homotopy Perturbation Method for Solving Systems of Nonlinear Coupled Equations

Solutions of the Schrödinger equation for an attractive 1/r 6 potential

SEPARATELY CONTINUOUS FUNCTIONS IN A NEW SENSE ARE CONTINUOUS

ON THE HILBERT INEQUALITY. 1. Introduction. π 2 a m + n. is called the Hilbert inequality for double series, where n=1.

ASYMPTOTIC DISTRIBUTION OF THE MAXIMUM CUMULATIVE SUM OF INDEPENDENT RANDOM VARIABLES

Calculation of the Ramanujan t-dirichlet. By Robert Spira

THE PRESERVATION OF CONVERGENCE OF MEASURABLE FUNCTIONS UNDER COMPOSITION

Laplace Transform of Spherical Bessel Functions

Final Examination Solutions

Recall that any inner product space V has an associated norm defined by

Infinite Continued Fractions

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

THE CONTIGUOUS FUNCTION RELATIONS FOR pf q WITH APPLICATIONS TO BATEMAN'S ƒ»«and RICE'S # n (r, p, v)

Problem Points Score Total 100

INFINITE SEQUENCES AND SERIES

MATHEMATICS OF COMPUTATION, VOLUME 26, NUMBER 118, APRIL An Algorithm for Computing Logarithms. and Arctangents. By B. C.

Recurrences COMP 215

Section 7.2 Solving Linear Recurrence Relations

Zeros of the Hankel Function of Real Order and of Its Derivative

FUNCTIONS THAT PRESERVE THE UNIFORM DISTRIBUTION OF SEQUENCES

CRITERIA FOR ABSOLUTE CONVERGENCE OF FOURIER SERIES

J2 e-*= (27T)- 1 / 2 f V* 1 '»' 1 *»

Constructions with ruler and compass.

3 Applications of partial differentiation

Chapter 11 - Sequences and Series

Calculations of Integrals of Products of Bessel Functions

Approximations for zeros of Hermite functions

Two special equations: Bessel s and Legendre s equations. p Fourier-Bessel and Fourier-Legendre series. p

ARCHIVUM MATHEMATICUM (BRNO) Tomus 32 (1996), 13 { 27. ON THE OSCILLATION OF AN mth ORDER PERTURBED NONLINEAR DIFFERENCE EQUATION

Introduction and Preliminaries

Note on Backward Recurrence Algorithms

ON THE CONVERGENCE OF APPROXIMATE SOLUTIONS OF

The ABC of hyper recursions

ON GRONWALL AND WENDROFF TYPE INEQUALITIES

EXPANSION OF ANALYTIC FUNCTIONS IN TERMS INVOLVING LUCAS NUMBERS OR SIMILAR NUMBER SEQUENCES

SOME INTEGRAL INEQUALITIES

13 PDEs on spatially bounded domains: initial boundary value problems (IBVPs)

ANALYTIC CONTINUATION FOR FUNCTIONS OF SEVERAL COMPLEX VARIABLES

ON THE GIBBS PHENOMENON FOR HARMONIC MEANS FU CHENG HSIANG. 1. Let a sequence of functions {fn(x)} converge to a function/(se)

Numerical Quadrature over a Rectangular Domain in Two or More Dimensions

Difference Equations for Multiple Charlier and Meixner Polynomials 1

ON THE SPACE OF INTEGRAL FUNCTIONS. IV

st = Miiu, 5 = f(xi))aiu, = Zm,Aiu,

ON THE AVERAGE NUMBER OF REAL ROOTS OF A RANDOM ALGEBRAIC EQUATION

8.1 Sequences. Example: A sequence is a function f(n) whose domain is a subset of the integers. Notation: *Note: n = 0 vs. n = 1.

Real Analysis, 2nd Edition, G.B.Folland Elements of Functional Analysis

UNIFORM INTEGRABILITY AND THE POINTWTSE ERGODIC THEOREM

Error Analysis of the Algorithm for Shifting the Zeros of a Polynomial by Synthetic Division

Quadratic Transformations of Hypergeometric Function and Series with Harmonic Numbers

MATH 12 CLASS 23 NOTES, NOV Contents 1. Change of variables: the Jacobian 1

Fourier Series. 1. Review of Linear Algebra

LAW OF LARGE NUMBERS FOR THE SIRS EPIDEMIC

By C. W. Nelson. 1. Introduction. In an earlier paper by C. B. Ling and the present author [1], values of the four integrals, h I f _wk dw 2k Ç' xkdx

Class Meeting # 1: Introduction to PDEs

A COMPLETELY MONOTONIC FUNCTION INVOLVING THE TRI- AND TETRA-GAMMA FUNCTIONS

z-transforms 21.1 The z-transform Basics of z-transform Theory z-transforms and Difference Equations 36

b) The system of ODE s d x = v(x) in U. (2) dt

Section 11.1 Sequences

w = X ^ = ^ ^, (i*i < ix

Horst Alzer A MEAN VALUE INEQUALITY FOR THE DIGAMMA FUNCTION

CONVERGENT SEQUENCES IN SEQUENCE SPACES

Math 1B Final Exam, Solution. Prof. Mina Aganagic Lecture 2, Spring (6 points) Use substitution and integration by parts to find:

An Improved Method for the Numerical Solution of the Suspension Bridge Deflection Equations*

(1.1) g(w) = fi T(w + o-i) / fi T(w + Pj),

Closed-form Second Solution to the Confluent Hypergeometric Difference Equation in the Degenerate Case

THE PRIME NUMBER THEOREM FROM log»! N. LEVINSON1. During the nineteenth century attempts were made to prove the

INTRODUCTION TO COMPUTATIONAL MATHEMATICS

A UNIQUENESS THEOREM FOR A BOUNDARY VALUE PROBLEM

Normalization integrals of orthogonal Heun functions

ON BLEIMANN-BUTZER-HAHN OPERATORS FOR EXPONENTIAL FUNCTIONS ULRICH ABEL AND MIRCEA IVAN

Waves on 2 and 3 dimensional domains

18 BESSEL FUNCTIONS FOR LARGE ARGUMENTS. By M. Goldstein and R. M. Thaler

#A6 INTEGERS 17 (2017) AN IMPLICIT ZECKENDORF REPRESENTATION

5.5 Recurrence Relations and Clenshaw s Recurrence Formula

AN ARCSINE LAW FOR MARKOV CHAINS

Asymptotic Notation. such that t(n) cf(n) for all n n 0. for some positive real constant c and integer threshold n 0

Transcription:

Recursive Computation of the Repeated Integrals of the Error Function By Walter Gautschi 1. This paper is concerned with a special technique, originated by J. C. P. Miller [1, p. xvii], of computing a solution/» of a second-order difference equation (1.1) 2/n+i + a yn + bnvn-i = 0 (n = 1, 2, 3, ) for n = 0(l)iV, N large, in cases where (1.1) has a second solution, gn, which ultimately grows much faster than /. Straightforward use of (1.1) is then not adequate, since rounding errors will "activate" the second solution gn, which in turn will eventually overshadow the desired solution /. Miller's device consists of applying (1.1) in backward direction, (1.2) y -i = -bn~l{anyn + yn+i) (n = v 1, v 2,,l;v > N), starting with the initial values (1.3) 2/,-i = a, y, = 0, where a is any real number ^0. If v is taken sufficiently large the values so obtained turn out to be approximately proportional to / in the range 0 ^ n ^ N. The factor of proportionality may then be determined, e.g., by comparing y0 with/0. This technique was originally devised [1] for the computation of Bessel functions I (x), and has since then been applied to various other Bessel functions [2], [5], [9], to Legendre functions [8], and to the repeated integrals of the error function* [6], (1.4) in erfc x = -?= i ( ~,a;)n e-* dt (n - 0,1, 2, ), V*" Jx nl 1 Í 2 _x2, i erfc x = = e. An analogous technique for first-order difference equations is described in [4, p. 25]. We shall present in Section 2 a detailed description of Miller's procedure, paying special attention to the error term. In Section 3 we study the procedure as applied to the computation of the functions (1.4) and show that the process converges for any positive x, as v > <». In Sections 4-5 estimates will be developed of how large v must be taken to ensure any prescribed accuracy. Received August 22, 1960. * In this notation in(n ä 0) should be interpreted as the nth power of the integral operator -i: so that /.00 i" erfc x = erfc x, i* erfc x = I in~l erfc t dt (n = 1, 2, ). This notation for the repeated integrals of the error function, even though not entirely satisfactory, has become standard. 227

228 WALTER GAUTSCHI 2. Consider the homogeneous second-order difference equation (2.1) î/n+i + anyn + & z/»-i = 0 (n = 1, 2, 3, ) and assume that (2.2) bn ^ 0 for all» 1. Let fn be the (nontrivial) solution of (2.1) to be computed for n = 0(1 )Af. We assume (2.3) / ft 0. Let there be another solution gn of (2.1), for which (2.4) gn ^ 0 for all n ^ 0, and (2.5) lim \u = 0. It follows readily that /, g are linearly independent. Now let ynw(n = 0, 1,, v 2; v > N) be the result of applying (2.1) in backward direction, starting with (2.6) yl-i = <x, y,m = 0 («*()). These values, by (2.2), are well defined, and, as will presently be shown, y0m t* 0 for v sufficiently large. Let us then define We show that for any fixed n, (2.8) lim/ w=/. P-*-00 Moreover, 1 _4?2 (2.9) /Bw = / -^. It is sufficient to prove (2.9), since (2.8) then follows from (2.5). Let ynw be extended to all n > v by means of (2.1). Then for every fixed v the sequence {ynm}(n = 0, 1, 2, ) is a solution of (2.1), and therefore representable in the form ynm = Al% + Bwgn (» à 0). By (2.6), (2.10) A(7,-i + 5(V: = «, A">/. + Bwgr = 0.

RECURSIVE COMPUTATION OF REPEATED INTEGRALS OF ERROR FUNCTION 229 Certainly, Aw ^ 0, since otherwise, by (2.4), AM = Bw = 0, which contradicts the first equation in (2.10). From the second equation, Bw/Aw = f,/g,. Therefore *" = Aw (/ + f fa) - Aw (/ - fa). If v is sufficiently large it follows because of (2.3) and (2.5) that y0w 9 0. By (2.7), which proves (2.9). It is convenient to define /ow/n-^0») W/.- fa) l- i-{-? \ fa / fa Jo (2.11) Pn=H U = 0,1,2,-..), fajo so that pn > 0 as n >, and Jn = Ji, 1 (py/pn) 1 p The relative error of /» is given by (2.12) /n ' ~ /n = -^ fl - -V /n 1 Pv \ Pn/ The approximations /» obviously do not depend on a, so that a can be chosen at will. If a high-speed computer is employed it is advisable to choose a small value for a to guard against "overflow" in the values of ynm- 3. Now let (3.1) / = in~x erfc*, X 70 (n = 0, 1, 2, ). Then / is a solution of (3.2) yn+i + - yn - 2/n-i = 0 (n - 1, 2, 8, ) Jh Jilt as is readily verified by writing C i erfc eric x-^-i1 x - v_ yn Jx r (t (n - _ XY~X 1}! te"2 * dt «- X- n f {t (n ~ - ^ 1)! e^ e dt) ^V and evaluating the first integral by parts. A second solution of (3.2) is given by (3.3) gn = (-îye-1 erîc (-x) (n = 0, 1, 2, ). It is clear that the assumptions (2.2)-(2.4) are satisfied in this case. We shall now verify (2.5), i.e. (3.4) lim./.erf.cx. =0 (x > 0). -«, i" erfc ( x)

230 WALTER GAUTSCHI This then will prove the convergence of the procedure in Section 2, as applied to (3.2). We recall that the repeated integrals of the error function are related to the parabolic cylinder functions Dv(x) by [7, p. 76] It is furthermore known [3, p. 123] that % erfc X = 2<-1>/*v^ D-"-l(x^/2)- ZU-xi«) =-Vire-V" I" 0 / 1 \~ (n _ 2 bounded). 2(,+i)/2r in + A L \Vn/J Therefore we obtain immediately for any fixed a;, real or complex, e "erfc a: = e-v2nx i+0( 4= ) (»->«>). vo.o; 2 r / + \ L VvVJ Hence, erfc a;. / r, N in erfc ( a;) which proves (3.4). 4. With/, # defined by (3.1) and (3.3) we have for the quantities pn in (2.11) (4.1) Pn = (-IT S ' rfj3 X ^ («= 0,1,2, ). i" 1 erfc ( x) It is shown in this section that for any fixed x > 0 the sequence j p } is monotonically decreasing, i.e., (4.2) Pn+l Pn in erfc x in~l erfc ( x) î'n_1 erfc x in erfc ( x) < 1 (ra è 0). Inequality (4.2) is obvious if n = 0 and, by (1.4), equivalent to f (t - ao"-v2 dt f" (s + x)ne~s% ds - r (t - i)v" dt f (s + a;)""1 e~sl ds > 0 if w > 0. By introducing new variables of integration, t = u -\- x, s = v x, and writing the left-hand side as a double integral, one obtains (4.3) f] Mn_V_1(» - «) -<«+*>*-<«>* du dv > 0, where Q denotes the first quadrant «è 0, s 0. Let Qi, Q2 denote the regions Qi: 0 < u < v, Q2: 0 < v < u.

RECURSIVE COMPUTATION OF REPEATED INTEGRALS OF ERROR FUNCTION 231 Interchanging variables of integration gives // n-l n \i \ -(u+x)2-(c-x)2 j j I n-1 n 1/ \ -(t)+x)2-(u-x)2,, If u v {v u)e dudv = H u v {v u)e dudv. JJq2 JJqi Therefore (4.3) is equivalent to ff un-v-\v - u)[e-'u+x)^-x)i - e-^>'-<»-)'] du dv > o. JJQl Now, un~lvn~l{v u) > 0 in Qi, and the same is true for the expression in brackets, since (u + a;)2 (v x)2 > (v + a;)2 (u x)2 for u < v. This proves (4.3), and thus (4.2). 5. We are now in a position to estimate v such that for any given integer p, I (/»W - /.)//. I ^ 10" for n = 0, 1,, N + 1. Here, fnm denotes the approximations of Section 2. Since, by (2.12), to / = "_1 erfc x obtained by the procedure I (fnm - in)lin S * U + fa D + 0(p,2), and since p _1 increases with n, by (4.2), it is sufficient to choose v such that (5.1) p. (1 + p*+id ^ 10"p. From (3.5) and (4.1) we have (5.2) p +1 = e-'v^» [l + 0 Q=)J. Assuming N large enough to neglect the O-term in (5.2) for n 2: N, the requirement (5.1) may be simplified to or even to 10-p ç-ïs/îvx < _ \ -L. gi-\/2!fx ' (5.3) e-2^"" ^.-. 2g2 V 2 Vx having made the right-hand bound smaller. Inequality (5.3) yields ^ (2y/Wx which gives us the desired estimate of v. Oak Ridge National Laboratory Oak Ridge, Tennessee + pin 10 + Zn2\2 " = I-WTx-) '

232 WALTER GAUTSCHI 1. British Association for the Advancement of Science, Mathematical Tables, Volume X, Bessel Functions, Part II, Functions of Positive Integer Order, Cambridge University Press, 1952. 2. F. J. Corbató & J. L. Uretsky, "Generation of spherical Bessel functions in digital computers," J. Assoc. Comp. Mach., v. 6, 1959, p. 366-375. 3. A. Erdélyi, et al., Higher Transcendental Functions, Vol. II, McGraw-Hill Book Co., Inc., New York, 1953. 4. W. Gautschi, "Recursive Computation of certain integrals," J. Assoc. Comput. Mach., v. 8, 1961, p. 21-40. 5. M. Goldstein & R. M. Thaler, "Recurrence techniques for the calculation of Bessel functions," MTAC, v. 13, 1959, p. 102-108. 6. J. Kaye, "A table of the first eleven repeated integrals of the error function," /. Math. Phys., v. 34, 1955, p. 119-125. See also RMT 58, MTAC, v. 10, 1956, p. 176. 7. National Physical Laboratory, Tables of Weber Parabolic Cylinder Functions, J. C. P. Miller, Editor, H. M. Stationery Office, London, 1955. 8. A. Rotenberg, "The calculation of toroidal harmonics," Math. Comp., v. 14, 1960, p. 274-276. 9. I. A. Stegun & M. Abramowitz, "Generation of Bessel functions on high-speed computers," MTAC, v. 11, 1957, p. 255-257.