1. Introduction
The classical gamma function
is usually defined for real
in the following way:
The quotient above is called the
p-analogue or the
p-deformation of the gamma function, that is
where
and obviously
. For the rising factorial that appears in the denominator, we often use the Pochhammer symbol, denoted by
In [
1], the authors introduced a generalization of the Pochhammer symbol
which appears in various settings, such as the combination of creation and annihilation operators [
2,
3] and the perturbation computation of Feynman integrals [
4]. Motivated by this, they also defined the
k-analogue of the gamma function
for real
and
as
Of course,
, and we can easily derive a direct relation to the standard gamma function:
Applying (
4), the properties of
k-gamma and related functions are easily transferred from the standard gamma function. Note that
and the following recursive property holds,
which leads to the
k-factorial function for
. Hence, the
k-Pochhammer symbol can be written through the quotient of the
k-gamma functions as
which corresponds nicely to the standard relation (
1).
Note that introducing the
k-analogue is not as significant for mathematical purposes as for practical ones because it has a diverse application and simplifies notation and calculation. For example, the authors in [
5] used
k-gamma for combinatorial analysis in view of applications in statistics, and the authors in [
6] used such functions while solving the Schrödinger equation for harmonium and related models in view of important applications in quantum chemistry. Also, it is interesting that the
k-gamma function and related
k-Pochhammer symbol have a significant role in fractional calculus, see [
7] and the papers cited therein.
Most recently in [
8], the authors combined the
p and
k analogues of the gamma function and defined the
-gamma function for
and real
and
in the following way:
It is clear that yields a commutative diagram with other definitions of the gamma function:
Over the last few years, various properties and many inequalities related to
-gamma and other associated functions have been studied, see [
8,
9,
10,
11,
12,
13,
14,
15,
16].
The asymptotic behavior of the factorial function, and consequently of the gamma function, has been studied for centuries. The famous Stirling asymptotic formula
is a shortening of asymptotic expansion according to Barnes [
17]
Here,
leads to the formula for the factorial function, but parameter
t is introduced in the general expansion of the gamma function, since it appears naturally as a variable in Bernoulli polynomials
in the coefficients of this expansion. It also easily yields expansions with shifted variables, which give better precision. In a series of papers, many other Stirling-type asymptotic expansions for the gamma function were obtained, and their numerical precision was compared; for an overview, see [
18].
Asymptotic analysis of the gamma function is an important tool in the application of special functions, but has not been studied for the -analogues in the existing literature and papers. Therefore, the main aim of this paper is to obtain asymptotic expansions for the -gamma function and other -analogues of functions related to gamma, namely the digamma function, the polygamma functions, and the quotient of two gamma functions, which will be discussed in the last section. Algorithms for calculating coefficients in these expansions will be derived and some examples will be presented, namely the expansion for the k-Pochhammer symbol. In the fourth section, the numerical precision of the derived asymptotic formulas for the -gamma function is shown and compared.
2. Asymptotic Expansion of -Gamma Function
In this section, we will derive the main Stirling-type expansion (
7) of the
-gamma function, but let us start with the asymptotic expansion of the
k-gamma function, which is useful to have as a separate result.
In [
1], the authors deduced only the beginning of the asymptotic formula for the
k-gamma function in the form
but they did not present the general expansion nor the expression for the coefficients. Note that for the
k-gamma function, it is more natural to introduce parameter
t in the form
. This leads to the Bernoulli polynomials
in the same form as in the original expansion (
7), but this will also yield a direct connection to the
k-Pochhammer symbol because of relation (
5). The final result is in the next proposition, which can be easily obtained by taking the logarithm of (
4) and applying expansion (
7), so we will leave out the details.
Proposition 1. The logarithm of the k-gamma function has the following asymptotic expansions as : Note that for
, we obtain Bernoulli numbers
. For example, the first few terms in the asymptotic expansion for
, which leads to the double factorial function, are as follows:
For the asymptotic expansion of
, parameter
t will be introduced in the same way as for
, that is, as
, to preserve the properties of Bernoulli polynomials. In the next theorem, we will present the
-analogue of expansion (
7).
Theorem 1. The logarithm of the -gamma function has the following asymptotic expansion as : Proof. By applying (
5),
can be written through the quotient of
k-gamma functions in the following way
Now, by taking the logarithm of (
12), it follows that
and finally we apply (
9) from Proposition 1. □
Here, it is worthy to mention that Bernoulli polynomials satisfy nicely the property
Hence, the quotient appearing in the coefficients of (
11) can be calculated as follows:
Here are the first few terms in the
-analogue of Stirling asymptotic expansion for
as
:
where
Note that in this case, the coefficients are directly connected to the known formulas for the sum of powers of the first
p natural numbers. In the fourth section, we will discuss the numerical precision of this expansion for various values of
p and
k.
Recall that the classical digamma and polygamma functions are defined as derivatives of the logarithm of the gamma function. Analogously, we can define the
-digamma and
-polygamma functions as
Recently, many monotonicity properties and inequalities related to the
-digamma and polygamma functions have been studied by various authors, see [
8,
10,
11,
13,
14,
15,
16].
The digamma function has the following known asymptotic expansion, see [
17]:
Similarly, by differentiating (
11), we can obtain asymptotic expansions of the
-analogues of the digamma and polygamma functions.
Corollary 1. has the following asymptotic expansion as :For the -polygamma function, the following asymptotic expansion is valid as : Again, the difference in Bernoulli polynomials in the coefficients of these expansions can be calculated through sum (
14). For example, the first few terms in the expansion of
for
are exactly formulas for the sum of powers of the first
p natural numbers. As
, we have
3. Related Asymptotic Expansions of -Gamma Function
In this section, we will deal with the asymptotic expansions of the gamma function, which do not involve the exponential function like classical Stirling expansion (
15). These expansions are in fact generalizations of the Laplace expansion for the factorial function:
Such an approach was studied by the authors in [
19], and they presented the general expansion for
as
:
where polynomials
are defined by
and by the simple recursive formula
Many known asymptotic formulas are specific cases of this expansion for various choices of parameter
m; for example,
gives the Laplace formula and
leads to the famous Ramanujan formula. For a complete review and comparison of these expansions, see [
18].
However, to obtain the
-analogue of expansion (
17), we cannot simply use the same method as in Theorem 1. In this case, we need additional manipulations with asymptotic power series, but this has already been carried out for the quotient of two gamma functions.
The ratio in the form
has been studied by many authors in the past decades. Many monotonicity properties and inequalities concerning this quotient have been obtained, namely for the Wallis ratio
, which comes from the famous Wallis formula for number
. For an extensive overview of this topic, see [
20]. In [
21], the authors derived the asymptotic expansion of this quotient in the form
where polynomials
are defined by
and the recursive relation
Similarly as for the gamma function, parameter
was introduced to generalize known approximation formulas for the Wallis ratio, and the authors showed that choice
is more natural than the classical approach
by Tricomy-Erdely (1951) [
17]. We will use this result to obtain the following expansion.
Theorem 2. The logarithm of the -gamma function has the following asymptotic expansion for when :where the polynomials are defined by and the recursive relation Proof. In (
12), we connected the
-gamma function with the quotient of two
k-gamma functions, but using (
4), we further have
This leads to
and we can apply (
20) with
. □
Similarly as in the previous section, the quotient of Bernoulli polynomials appearing in (
23) can be calculated by (
14).
Let us show an example for
and
, that is, the
-analogue of Laplace asymptotic expansion, as
:
where the first few polynomials
are as follows:
However, as we have already mentioned, the most natural choice for the parameter
m is
, which in our case is
. Then, we have the following asymptotic expansion when
:
where the first few coefficients are obviously simpler than before,
It is common in the literature to study asymptotic expansions through shifted variables. For example, De Moivre’s ’
n-half’ formula follows from (
17) for
and
with
:
Shifted formulas provide a much better numerical approximation of the gamma function than original formulas, see [
18] for details.
Hence, we will derive the
-analogue of the ’
n-half’ formula. The next expansion follows from (
22), with
,
and
as
:
where
and for
we again have a simpler expansion as
:
However, there is an even more natural shift for this type of asymptotic expansion. Recall that the
-gamma function (
12) is directly connected with the quotient of gamma functions. The authors in [
21] proved that polynomials
in expansion (
20) can be expressed through the intrinsic variables
and that the most natural shift for the quotient of gamma functions is
. Then, all odd coefficients in the expansion are equal to zero. In our case, variable
is equal to
. Hence, from (
22), taking
and
, the following expansion holds true when
:
where
4. Numerical Precision of the Asymptotic Formulas
We will now check the numerical precision of the asymptotic formulas for the
-analogues of the gamma function. Namely, we will compare the Stirling-type formula (
15) with the exponential function, the Laplace-type formula (
25) with the natural choice of parameter
, and the shifted ’half’ formula (
27), which only has even coefficients in its expansion.
Numerical precision will be expressed through the number of exact decimal digits (EDDs), which are defined by
for some values of variable
x. Since we analyze asymptotic formulas for
, only big values of
x will be considered. In the following tables, the
-th column is the EDDs of the approximation formula (in the given row) using the series up to the
n-th coefficient. All the calculations were carried out with
Mathematica. Here, it is worthy to note that Bernoulli polynomials are implemented in most software packages, but nevertheless they can also be manually implemented by various efficient algorithms from the standard literature, e.g., [
17], or in our case by the sum of powers from formula (
14).
We will start with the EDDs for relatively small values of
p and
k, shown in
Table 1. Obviously, formulas are more accurate for larger values of
x and when taking more terms in their expansion. We can see that the shifted formula (
27) gives much better precision than the other formulas.
In
Table 2, we have the EDDs for bigger values of
p and small
k. The formulas are noticeably less accurate than for small values of
p and practically not useful for lower values of
x.
Finally, in
Table 3, we have smaller values of
p and greater values of
k. Here, we need even greater values of variable
x to achieve precision comparable to previous two cases. Such behavior of the formulas comes directly from the definition of the
-gamma function.
As expected, when
p and
k become greater, the formulas are less accurate, that is, they become better only with more terms in the expansion and for greater values of
x. Because of this, asymptotic formulas are not practical for
p and
k, with both having big values, so we will skip that case. We can conclude that Stirling-type expansion (
15) is better than (
25), but formula (
27) with shifted variables overpowers both of them and has the best precision with fewer terms in the expansion in all the presented cases. This coincides with approximation formulas for the classical gamma function, see [
18].
5. Asymptotic Expansions of the Ratio of -Gamma Functions
In the last section, we will study the
-analogue of the ratio of two gamma functions. In a recent paper [
11], the authors studied such a quotient of two
-gamma functions and established various related inequalities, particularly for the quotient in the form
which is the
-analogue of the Wallis ratio mentioned before. We will now present the analogue of the asymptotic expansion (
20).
Theorem 3. The quotient of two -gamma functions has the following asymptotic expansion as :where polynomials are defined by and for Proof. Applying (
12) and (
4), we obtain
Here, we cannot simply use (
20), but we can apply the result from [
22] concerning multiple quotients of gamma functions. The authors showed that for
, the following expansion holds
where polynomials
are defined recursively by
and
Hence, in our case
,
and the theorem follows. □
Let us show an example of this expansion for the quotient (
28) studied in recent papers. In this case, we have
,
, and we will take natural choice
:
where
There is another useful application of the expansion (
20). Recall that the
k-Pochhammer symbol is directly connected to the quotient of gamma functions:
We can now easily derive the asymptotic expansion of the
k-Pochhammer symbol taking
in (
20). We will use the natural choice
, which leads to
Polynomials
are calculated by (
21), and the first few are as follows:
As discussed before, polynomials
can be expressed through intrinsic variables
and
, and then better formulas can be obtained through shifted variable
. When we apply this to our case, we have
where
Polynomials
can be efficiently calculated by the recursive relation given by the authors in [
21].
Finally, applying (
29) we can derive the
-analogue of the quotient (
31) connected to the
k-Pochhammer symbol. Now, we have
, and for a natural choice
it follows that
where the first few polynomials
are as follows:
Of course, the quotient appearing in the coefficients (
29) can be calculated through sums (
14), and it can be expressed through intrinsic variables
and
, as mentioned before. In papers [
21,
22], various asymptotic expansions of the Wallis quotient were studied and efficient algorithms for calculating coefficients in such expansions were derived. They can also be applied to the quotient of
-gamma functions in a same way as the results above, which we leave to the interested reader.
6. Conclusions
In this paper, the asymptotic behavior of the -analogue of the gamma function was studied and discussed. The general asymptotic expansion for the -gamma function , as , was obtained and applied to the -analogues of functions related to gamma, namely the digamma function, polygamma functions, and the quotient of two gamma functions. Algorithms for calculating coefficients in these expansions were derived, and also some examples of expansions were presented. The numerical precision of the obtained asymptotic formulas was discussed and it was shown that the shifted formulas give better numerical results. Obtained expansions have potential in application to various areas from fractional analysis and statistics to quantum chemistry.