Miller's Recurrence Algorithm
   HOME

TheInfoList



OR:

Miller's recurrence algorithm is a procedure for calculating a rapidly decreasing solution of a linear recurrence relation developed by
J. C. P. Miller Jeffrey Charles Percy Miller (31 August 1906 – 24 April 1981) was an English mathematician and computing pioneer. He worked in number theory and on geometry, particularly polyhedra, where Miller's monster refers to the great dirhombicosidodec ...
. It was originally developed to compute tables of the modified Bessel function but also applies to Bessel functions of the first kind and has other applications such as computation of the coefficients of Chebyshev expansions of other special functions. Many families of special functions satisfy a recurrence relation that relates the values of the functions of different orders with common argument x. The modified Bessel functions of the first kind I_n(x) satisfy the recurrence relation :I_(x)=\fracI_n(x)+I_(x). However, the modified Bessel functions of the second kind K_n(x) also satisfy the same recurrence relation :K_(x)=\fracK_n(x)+K_(x). The first solution decreases rapidly with n. The second solution increases rapidly with n. Miller's algorithm provides a numerically stable procedure to obtain the decreasing solution. To compute the terms of a recurrence a_0 through a_N according to Miller's algorithm, one first chooses a value M much larger than N and computes a trial solution taking initial conditiona_M to an arbitrary non-zero value (such as 1) and taking a_ and later terms to be zero. Then the recurrence relation is used to successively compute trial values for a_, a_ down to a_0. Noting that a second sequence obtained from the trial sequence by multiplication by a constant normalizing factor will still satisfy the same recurrence relation, one can then apply a separate normalizing relationship to determine the normalizing factor that yields the actual solution. In the example of the modified Bessel functions, a suitable normalizing relation is a summation involving the even terms of the recurrence: :I_0(x)+2\sum_^\infty (-1)^mI_(x)=1 where the infinite summation becomes finite due to the approximation that a_ and later terms are zero. Finally, it is confirmed that the approximation error of the procedure is acceptable by repeating the procedure with a second choice of M larger than the initial choice and confirming that the second set of results for a_0 through a_N agree within the first set within the desired tolerance. Note that to obtain this agreement, the value of M must be large enough such that the term a_M is small compared to the desired tolerance. In contrast to Miller's algorithm, attempts to apply the recurrence relation in the forward direction starting from known values of I_0(x) and I_1(x) obtained by other methods will fail as rounding errors introduce components of the rapidly increasing solution. Olver and Gautschi analyses the error propagation of the algorithm in detail. For Bessel functions of the first kind, the equivalent recurrence relation and normalizing relationship are: :J_(x)=\fracJ_(x)-J_(x) :J_0(x)+2\sum_^\infty J_(x)=1. The algorithm is particularly efficient in applications that require the values of the Bessel functions for all orders 0 \cdots N for each value of x compared to direct independent computations of N+1 separate functions.


References

{{reflist, refs= {{cite book , last1=Bickley , first1=W.G. , last2=Comrie , first2=L.J. , last3=Sadler , first3=D.H. , last4=Miller , first4=J.C.P. , last5=Thompson , first5=A.J. , year=1952 , publisher = Cambridge University Press , title = British Association for the advancement of science, Mathematical Tables, vol. X, Bessel functions, part II, Functions of positive integer order , isbn = 978-0521043212 , cited in Olver (1964) {{cite book, last1=Hart , first1=J.F. , year=1978 , title=Computer Approximations , edition=reprint , publisher=Robert E. Krieger , location=Malabar, Florida , isbn=978-0-88275-642-4 , pages=25–26 {{cite book , last1=Arfken , first1=George , title=Mathematical Methods for Physicists , date=1985 , publisher=Academic Press , isbn=978-0-12-059820-5 , pag
576
, edition=3rd , url-access=registration , url=https://archive.org/details/mathematicalmeth00arfk/page/576
{{cite journal , last1=Olver , first1=F.W.J. , title=Error Analysis of Miller's Recurrence Algorithm , journal=Math. Comp. , date=1964 , volume=18 , issue=85 , pages=65–74 , doi=10.2307/2003406 , jstor=2003406 {{cite journal , last1=Gautschi , first1=Walter , title=Computational aspects of three-term recurrence relations , journal=SIAM Review , date=1967 , volume=9 , pages=24–82 , doi=10.1137/1009002 , url=https://www.cs.purdue.edu/homes/wxg/selected_works/section_09/029.pdf {{cite journal , last1=Németh , first1=G. , title=Chebyshev Expansions for Fresnel Integrals , journal=Numer. Math. , date=1965 , volume=7 , issue=4 , pages=310–312 , doi=10.1007/BF01436524 Algorithms Numerical analysis