Abstract
In this paper, the fast algorithms of the derivatives of Bessel functions with respect to the parameter are obtained. Based on these fast algorithms, we discuss the calculations of the derivatives of the functions related to the heterogeneous Bessel differential equation, such as Anger, Weber, Struve and modified Struve functions. In addition, the fast calculation of some integrals related to these functions are obtained. At last, numerical examples show the algorithms given in this paper are fast and high precision.
1. Introduction
Bessel equation is one of the common differential equations in mathematical physics. It has Noether symmetries under certain conditions. Moreover, the Bessel functions play a very important role in wave problems and various problems involving potential field. The most typical problems include electromagnetic wave propagation in cylindrical waveguide, heat conduction in cylinder and vibration modal analysis of circular (or annular) thin films. Moreover, the Bessel functions have had many applications such as the definition of FM synthesis in signal processing or Kaiser window.
The Bessel functions were first defined by Daniel Bernoulli. The Bessel functions are canonical solutions of the following differential equation in [1]
For (1), there are the following two linearly independent solutions: , , where is the Bessel function of the first kind and is the Bessel function of the second kind.
For the modified Bessel’s equation in [1]
there are two linearly independent solutions: , , where is the modified Bessel function of the first kind and is the modified Bessel function of the second kind.
Bessel functions of the third kind (Hankel functions) are , . For , , , in [2], there are
where
and
Recently, the study on Bessel functions and Bessel polynomials has attracted much attention. Riyasat et al. introduced a generalized 2D extension of q-Bessel polynomials and obtained orthogonality associated with Bessel-type Sheffffer sequences with q-parameters in [3,4]. Furthermore, some scholars have discussed analytical properties of the derivative of Bessel functions with respect to the parameters in [5,6,7,8,9,10,11,12,13,14,15]. For example, the results of [11] were as follows:
where Si(2x) and Ci(2x) are the sine and cosine integrals, respectively.
Moreover, Brychkov gave the following results in [5]:
and
where
and
is the Kampe Feriet function.
Using the Leibniz’s law of derivation for (1), we have
where .
Therefore, is a solution of the following inhomogeneous equation
where
and the general solution of (11) is
Hence, the derivatives with respect to parameter of the Bessel function are closely related to inhomogeneous Bessel’s differential equation. It is clear that (9) cannot be used for the fast calculation of and for . In this article, we will consider the fast calculation of the derivatives of Bessel functions with respect to the parameter.
The structure of this paper is organized as follows. In Section 2, we obtain the recurrence formula of the derivative with respect to the parameter of and and their applications. In Section 3, we obtain fast calculation of the derivative of and the correlation function with respect to the parameter and their applications. In Section 4, the conclusion is given.
2. The Recurrence Formula of the Derivative with Respect to the Parameter of and and Their Applications
In this section, we always assume that and .
If we can obtain the fast algorithm of , then we will obtain the fast algorithm of by .
In the following, we will consider the fast algorithm for and .
First, the following results were given in [2]:
and
where is digamma function defined by
and is the Euler-Mascheroni constant.
Using the Leibniz’s law of derivation for (3), we have the following result:
where
For , the following recurrence has been obtained in [16].
Lemma 1.
Ifand, then
where
Moreover, by
and
see [17], we have the following lemma.
Lemma 2.
Ifand, then
where
for
By Lemma 2, we obtain the following lemma.
Lemma 3.
Ifand, then
In the following, we obtain the fast algorithm of and by Lemma 3 and (17).
Theorem 1.
Ifand, then
To verify the effectiveness of (28), we will verify it in Mathematica.
In the following, we can use Symbolic computation and Numerical integration for calculating in Mathematica, respectively.
- (1)
- Symbolic computation.
N[D[BesslJ[alphah,x],{alphah,m}]/.alphah−> alpha,prec]
N[D[BesslI[alphah,x],{alphah,m}]/.alphah−> alpha,prec]
- (2)
- Numerical integration.
By the following integral representations of and in [2],
and
we have
and
In Mathematica, (33) and (34) can be calculated by internal numerical integral function. Some numerical results are as follows.
Where and denote the calculation of and by (28), respectively. From Table 1, we see that (29) and (30) have the same computational precision as (28). However, the calculating time of (29) and (30) is time-consuming. Moreover, (33) and (34) not only have the big error but also quite time-consuming. Therefore, (28) is an effective algorithm due to its high accuracy and fast computation.
Table 1.
The comparison of the numerical results for and .
Furthermore, by Lemma 1 and the Leibniz’s law of derivation we have the following lemma.
Lemma 4.
Ifand, then
where
In the following, we give some integrals related to and . The results of [1] and [2] are as follows:
Thus, we have
and
where
In the same way, we have
for and
for
For (40)–(42), we will compare the left section with their right expression of the formula . The results are as follows.
It can be seen from Table 2 that the algorithm of , and are fast and high precision. Numerical integration is not only time-consuming, but also cannot achieve the specified precision. Sometimes we can not obtain the correct results. For example, let , , in (41), the results of numerical integration in Mathematica are 4966.858⋯, 7490.425⋯ and −16,078.679⋯ with the specified precision of 16, 32 and 48 bits, respectively. However, the accurate value is 167,540.81926⋯. Therefore, it is necessary for many singular integrals to find the corresponding expression of the special functions and their derivatives.
Table 2.
The comparison of the numerical results for (40)–(42).
3. Fast Calculation of the Derivative of , , , and the Correlation Function with Respect to the Parameter and Their Applications
In this section, we will obtain the fast calculation of the derivative of , , , and the correlation function with respect to the parameter and their applications. Moreover, we always assume that and in this section.
By (5), we have
so we have the following recurrence formulas
and
For the derivative of Hankel function , with respect to the parameter, we have
where and are calculated according to (28) and (44), respectively.
In the following, we will consider the derivatives of the functions related to the inhomogeneous Bessel equation with respect to parameter. The Anger function satisfies the following equation in [2]
and it has the following integral representation and the series expansion
Moreover, the Weber function satisfies the following equation in [2]
and it has the following integral representation and the series expansion
The Struve function has the following power series form in [2]
and it is a solution of the non-homogeneous Bessel’s differential equation
The modified Struve function has the following power series form in [2]
and it is a solution of the non-homogeneous Bessel’s differential equation
By Lemma 3 and (48), we have the following theorem.
Theorem 2.
Ifand, then
Moreover, some integrals related to , , , , and are given in [1] and [2]. For example,
and
Using (59)–(63), (48) and (50), many integrals can be expressed according to the derivatives of related Bessel functions with respect to the parameter. We obtain the following results.
By (59), we have
By (60), we have
By (61), we have
By (62), we have
By (48) and (50), we have
By (63), we have
In the following, we obtain the following comparison of the numerical results for (64)–(69).
As can be seen from Table 3, some integrals related to , , , , and can be calculated by the right sides of (64)–(69). These algorithms can accelerate calculation speed and improve precision. Therefore, the algorithms given in this paper are fast and high precision.
Table 3.
The comparison of the numerical results for (64)–(69).
4. Conclusions
In this paper, a recursive algorithm for is established for Therefore, a quick calculation is obtained by (28). Based on the calculation of , we obtain the calculation of , and , . Furthermore, some integrals can be expressed in terms of derivatives of related Bessel functions with respect to the parameter. Numerical examples show the algorithms given in this paper are fast and high precision.
Author Contributions
A.L. and H.Q. authors contributed equally. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by National Natural Science Foundation of China (grant number 61379009 and 61771010).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The programming code needed for computation and the data generated are available upon request.
Acknowledgments
The authors express their many thanks to the reviewers for spending their precious time to review the paper and provide valuable comments, suggestions and corrections.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Gradshteyn, I.S.; Ryzhik, I.M. Table of Integrals, Series, and Products, 7th ed.; Academic Press: Burlington, VT, USA, 2007. [Google Scholar]
- Olver, F.W.J.; Lozier, D.W.; Boisvert, R.F.; Clark, C.W. NIST Handbook of Mathematical Functions; Cambridge University Press: New York, NY, USA, 2010. [Google Scholar]
- Riyasat, M.; Khan, S.; Haneef, M. Generalized 2D extension of q-Bessel polynomials. Rep. Math. Phys. 2022, 90, 63–80. [Google Scholar] [CrossRef]
- Riyasat, M.; Khan, S.; Nahid, T. Orthogonality associated with Bessel type Sheffer sequences with q-parameters. Math. Notes 2022, 111, 441–454. [Google Scholar] [CrossRef]
- Brychkov, Y.A. Higher derivatives of the Bessel functions with respect to the order. Int. Trans. Spec. Funct. 2016, 27, 566–577. [Google Scholar] [CrossRef]
- Apelblat, A.; Kravitsky, N. Integral representations of derivatives and integrals with respect to the order of the Bessel functions , , the Anger function and the integral Bessel function . IMA. J. Appl. Math. 1985, 34, 187–210. [Google Scholar]
- González-Santander, J.L. Closed form expressions for derivatives of Bessel functions with respect to the order. J. Math. Anal. Appl. 2018, 466, 1060–1081. [Google Scholar]
- Oberhettinger, F. On the derivative of Bessel functions with respect to the order. J. Math. Phys. 1958, 37, 75–78. [Google Scholar]
- Dunster, T.M. On the order derivatives of Bessel functions. Constr. Approx. 2017, 46, 47–68. [Google Scholar]
- González-Santander, J.L. Reflection formulas for order derivatives of Bessel functions. arXiv 2018, arXiv:1809.08124. [Google Scholar]
- Airey, J.R. The Bessel function derivatives and . Philos. Mag. 1935, 19, 236–243. [Google Scholar]
- Brychkov, Y.A.; Geddes, K.O. On the derivatives of the Bessel and Struve functions with respect to the order. Int. Trans. Spec. Funct. 2005, 16, 187–198. [Google Scholar]
- Sesma, J. Derivatives with Respect to the Order of the Bessel Function of the First Kind. Available online: https://arxiv.org/pdf/1401.4850.pdf (accessed on 20 January 2014).
- Cohl, H.S. Derivatives with respect to the degree and order of associated Legendre functions for z > 1 using modified Bessel functions. Int. Trans. Spec. Funct. 2010, 21, 581–588. [Google Scholar]
- Li, A.; Qin, F.; Qin, H. The calculation and application of the partial derivatives of the generalized hypergeometric function. IAENG Int. J. Appl. Math. 2020, 50, 713–719. [Google Scholar]
- Li, A.; Qin, F. The representations on the partial derivatives of the extended, generalized Gamma and incomplete Gamma functions and their applications. IAENG Int. J. Appl. Math. 2017, 47, 312–318. [Google Scholar]
- Qin, H.; Shang, N.; Li, A. Some identities on the Hurwitz zeta function and the extended Euler sums. Int. Trans. Spec. Funct. 2013, 24, 561–581. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).