Abstract
Moment-based methods are used to generate the three-term recurrence relation for polynomials orthogonal with respect to the Prudnikov, the generalized Prudnikov, and Prudnikov-type weight functions and their symmetric extensions. All procedures developed are implemented, and made available, in MATLAB software.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Let
where Kν is the second-kind modified Bessel function of order ν ([6, §10.25]). Prudnikov polynomials [11, §3] are polynomials orthogonal with respect to the weight function
A. P. Prudnikov (1927–1999) advocated their study in [7, Problem 2] and dealt with the case ν = 0 in [ibid., Problem 1]. S. Yakubovich, in [11], considered also generalized Prudnikov polynomials orthogonal with respect to the weight function
as well as Prudnikov-type polynomials, in [10, §2] of type 1, orthogonal with respect to
and in [10, §3] of type 2, orthogonal with respect to
Symmetric extensions of all these polynomials will also be considered, where x in the weight function is replaced by |x|, and the support interval is extended to the whole real line.
Multiple orthogonal polynomials relative to the pair xαρν(x), xαρν+ 1(x) of weight functions are studied in [8]; see also [2] and [12, §IIA].
Weight functions involving modified Bessel functions Kν(x) (rather than \(K_{\nu }(2\sqrt {x})\)) have been used previously in connection with wave functions for nonlocal potentials [5]; see also [3, Exercise 2.32], [4, §2.1.3], [9, §2.1.3].
The object of this note is to develop the respective orthogonal polynomials and their symmetric extensions, in particular, to obtain the three-term recurrence relations they satisfy and to provide related MATLAB software. The approach used in all cases is the classical Chebyshev algorithm, computing the recurrence coefficients from the moments of the weight function. Because of the underlying ill-conditioning, high-precision computation is required.
2 Moments
The n th-order moment of the generalized Prudnikov weight function is
as follows from [11, Eq. (2.4)] where μ is replaced by n + α. For the first Prudnikov-type weight function, the moment of order n is
Using Mathematica 12.3, one finds (cf. also [10, Eq. (1.8)])
where U(a,b,x) is the confluent hypergeometric function (also known as Tricomi’s function) or, in terms of generalized hypergeometric functions, \(U(a,b,x)={x}^{-a} {~}_{2}{F}_{0}(a,a-b+1;-;-{x}^{-1})\) [6, §13.6(vi)]. Thus,
For the second Prudnikov-type weight function, the moments have been given in [10, Eq. (1.9)], though involving (in the last line of the equation) the gamma function at a nonpositive integer, that is, plus or minus infinity depending from which side that integer is approached. We have, however,
Here, the second integral can be expressed in terms of the Meijer G-function, see [6, §16.17], for which we use here the MATLAB notation on the right of
(The content between brackets may be empty. For example, if p = 0, the first two arguments of meijerG are empty, or only the second one if p = n.)
To begin with, the term on the far right of (2.3) can be written as a Mellin transform of the function \(f(x)=2 {\mathrm {e}}^{-1/x}K_{\nu }(2\sqrt {x})\),
Using the Mathematica 12.3 command
MellinTransform[2 BesselK[v,2Sqrt[x]]Exp[-1/x],x,s]
yields
Letting
the right-hand side of (2.5) is
which, by [6, Eq. 16.19.4] and s = n + ν/2, equals
Thus, simplifying by employing [6, Eq. 16.19.1], we get
The moments of the symmetric extension of all the weight functions above are twice the moments stated, if n is even, and zero if n is odd.
If, in the integral of (2.4), we make the change of variable x↦x2, we can write equivalently
where \(g(x)=f(x^{2})=2{\mathrm {e}}^{-1/x^{2}} K_{\nu }(2x)\). As observed by one of the referees, the Mellin transform \({\mathscr{M}} g\) can be found in formula 3.14.3.13 on p. 211 of [1], where a = 1 and b = 2, giving
This formula not only is rather more complicated than (2.6), but, more importantly, also suffers from serious numerical problems when n = 0,1,2,…, as is the case here. Indeed, as each of these n is approached, either from above or from below, the first and third term become infinitely large, but with opposite signs. For n = 0, this is so because of the appearance of Γ(n) and Γ(−n) in the respective terms, and for n > 0 because of the appearance of 0F2(1 − n − ν,1 − n;− 1) and of Γ(−n). For these reasons, we prefer (2.6).
3 Orthogonal polynomials and recurrence coefficients
It is well known that (monic) orthogonal polynomials πk relative to a positive weight function w(x) on some finite or infinite interval [a,b] satisfy a three-term recurrence relation
where the coefficients αk are real and βk > 0. Conventionally, β0 is taken to be \(\beta _{0}={{\int \limits }_{a}^{b}} w(x){\mathrm {d}} x\). For any computational work with orthogonal polynomials, knowledge of this recurrence relation, that is, of its recurrence coefficients, is indispensable.
There is MATLAB software available that generates to any given accuracy the first N recurrence coefficients αk, βk, k = 0,1,2,…,N − 1, and places them into the first, respectively second, column of an N × 2 array ab; see, e.g., [3, §1]. The procedure used here is the Chebyshev algorithm, generating the first N recurrence coefficients from the first 2N moments of the weight function. Given the ill-conditioned nature of this proposition, it is important to know how many working digits are required to obtain all N coefficients βk (and thus, presumably, also all αk≠ 0) to a given relative accuracy. For the three weight functions of Prudnikov type, this is answered by the MATLAB routines dig_gprudnikov.m, dig_prudnikov_type.m, and for the respective symmetric extensions by dig_gprudnikov_symm.m, dig_prudnikov_type_symm.m. These routines not only provide the desired number dig of working digits, but also the respective array ab of recurrence coefficients to the accuracy requested. Once this number dig of required working digits is known, the array ab can be generated directly by the routines sr_gprudnikov.m, sr_prudnikov_type.m, sr_gprudnikov_symm.m, sr_prudnikov_type_symm.m.
For all MATLAB routines needed, visit
https://www.cs.purdue.edu/archives/2002/wxg/codes/PRUD.html.
3.1 Generalized Prudnikov polynomials
Our target precision for the recurrence coefficients, in this and the next two subsections, is 15-digit accuracy. For generalized Prudnikov polynomials with parameter α, the results of the routine dig gprudnikov.m are shown in Table 1 for selected values of ν and for α = ± 1/2. (Other values of α > − 1, including α = 0, in the range from − .9 to 10.6, have led to basically the same results, except, occasionally, somewhat larger ones, but never by more than 3 units.)
It can be seen that, for each N shown, the results are more or less the same, which means that the underlying conditioning is essentially independent of the parameters ν and α. The results, in fact, suggest condition numbers of the order 1010 − 1012 when N = 25, 1028 − 1030 when N = 50, and 1063 − 1067 when N = 100.
We used our routine sr_gprudnikov(dig,nofdig,N,nu,alpha) with dig = 30, nofdig= 18, N= 11, nu=alpha= 0, to check Table 9.1 in [7] containing the values of \(a_{n}=\sqrt {\beta _{n}}\) for n = 1,2,…,10. Agreement to all digits was observed except for the last digit, which occasionally is off by one unit.
3.2 Prudnikov-type polynomials of the first type
Here the results of the routine dig_prudnikov_type.m with type= 1 (for the weight function \(w_{\nu }^{+}\)) are shown in Table 2 for selected values of ν > − 1. As before in the case of generalized Prudnikov polynomials, the results are practically independent of ν.
The condition numbers for N = 25,50,100 are now about 1020, 1040, and 1085, that is, substantially larger than in the case of generalized Prudnikov weight functions.
3.3 Prudnikov-type polynomials of the second type
Here, the results of the routine dig_prudnikov_type.m with type= 2 (for the weight function \(w_{\nu }^{-}\)) are shown in Table 3 for selected values of \( \nu \in {\mathbb {R}}\). They are quite similar to the ones in Section 3.1 where applicable, and so is the degree of ill-contitioning.
Knowing the degree of ill-conditioning, it is easy to estimate the number of digits needed to get any desired accuracy. Thus, for example, when N = 100, to get 32-digit accuracy will require something like 32 + 67 = 99 digits in the case of generalized Prudnikov weight functions and Prudnikov weight functions of type 2, and 32 + 87 = 119 digits for Prudnikov weight functions of type 1. Both these numbers have been corroborated numerically.
3.4 Polynomials orthogonal relative to the symmetric extension of weight functions of Prudnikov type
Symmetry usually lowers condition numbers. This is the case here, where, compared with the case of generalized Prudnikov polynomials in Section 3.1, the number dig of required digits is now about one half of those in Table 1 when N is 25 and 50, and even somewhat smaller when N = 100. More specifically, dig is never greater than 16, 22, 35 for, respectively, N = 25,50,100 and parameters ν and α as in Table 1. Similarly, for symmetric Prudnikov-type polynomials of type 1, the largest numbers dig are 20, 27, 45 for, respectively N = 25,50,100 and for ν as in Table 2, and for symmetric Prudnikov-type polynomials of type 2 they are 15, 21, 34 for ν as in Table 3.
References
Brychkov, Yu.A., Marichek, A.O.I., Savischenko, N.V.: Handbook of Mellin transforms, Advances in Applied Mathematics. CRC Press, Boca Raton (2019)
Coussement, E., Van Assche, W.: Properties of multiple orthogonal polynomials associated with Macdonald functons. Proceedings of the Fifth International Symposium on Orthogonal Polynomials, Special Functions and their Applications (Patras, 1999). J. Comp. Appl. Math. 133, 253–261 (2001)
Gautschi, W.: Orthogonal polynomials in MATLAB. Exercises and Solutions, Software, Environments and Tools, 26. Society for Industrial and Applied Mathematics (SIAM), Philadelphia (2016)
Gautschi, W.: A software repository for orthogonal polynomials, Software, Environments and Tools 28. Society for Industrial and Applied Mathematics (SIAM), Philadelphia (2018)
Gordon, R.G.: Constructing wavefunctions for nonlocal potentials. J. Chem. Phys. 52, 6211–6217 (1970)
Olver, F.W.J., et al. (eds.): NIST Handbook of Mathematical Functions. Cambridge University Press, Cambridge (2010)
Van Assche, W.: Open problems. Proceedings of the Seventh Spanish Symposium on Orthogonal Polynomials and Applications (VII SPOA) (Granada 1991). J. Comput. Appl. Math. 48, 225–243 (1993)
Van Assche, W., Yakubovich, S.B.: Multiple orthogonal polynomials associated with Macdonald functions. Integral Transform. Spec. Funct. 9, 229–244 (2000)
Walter, G: A software repository for Gaussian quadratures and Christoffel functions, Software, Environments and Tools, 32. Society for Industrial and Applied Mathematics (SIAM), Philadelphia (2021)
Yakubovich, S.: Orthogonal polynmials with the Prudnikov-type weights. Complex Anal. Oper. Theory 14(1), Art. 26, pp. 27 (2020)
Yakubovich, S.: Orthogonal polynomials with ultra-exponential weight functions An explicit solution to the Ditkin–Prudnikov problem. Constr. Approx. 53, 1–38 (2021)
Zhang, L.: A note on the limiting mean distribution of singular values for products of two Wishart random matrices. J. Math. Phys. 54(8), 083303, 8 (2013)
Funding
The work of the second author was supported in part by the Serbian Academy of Sciences and Arts (Φ-96).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Gautschi, W., Milovanović, G.V. Orthogonal polynomials relative to weight functions of Prudnikov type. Numer Algor 90, 263–270 (2022). https://doi.org/10.1007/s11075-021-01187-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11075-021-01187-6