Skip to main content

Some integrals involving k gamma and k digamma function


In this paper, some new integrals involving k gamma function and k digamma function have been established. An integral is established involving k gamma function, and its special values are discussed. Similarly, some new integrals have been established for k digamma function, and different elementary function is associated with it for different values of k. A nice representation of the Euler-Mascheroni constant and π in the form of k digamma function for different values of k is also obtained.

k gamma function

The k gamma function is a generalization of the classical gamma function introduced by Diaz and Pariguan [1], denoted and defined as

$$ {\Gamma}_k(z)=\underset{n\to \infty }{\lim}\frac{n!{k}^n{(nk)}^{\frac{z}{k}-1}}{(z)_{n,k}},\kern0.36em k>0,z\in \mathrm{\mathbb{C}}\backslash k{\mathrm{\mathbb{Z}}}^{-}. $$

The symbol for (z)n, k is called Pochhammer’s k symbol [2] and is defined as

$$ {(z)}_{n,k}=z\left(z+k\right)\left(z+2k\right)\cdots \left(z+\left(n-1\right)k\right). $$

Due to (1.2), we see that (1.1) has simple poles at 0, − k, − 2k, − 3k, . The residue of k gamma function at these simple poles is \( \frac{1}{{\left(-1\right)}^n{k}^nn!} \), see [3]. The integral form of k gamma function is denoted and defined as [4]

$$ {\Gamma}_k(z)=\underset{0}{\overset{\infty }{\int }}{e}^{-\frac{t^k}{k}}{t}^{z-1} dt. $$

The improper integral is convergent for Re(z) > 0.. The k gamma function reduces to the classical gamma function, i.e., Γk → Γ  as  k → 1. A simple change of variable tk = ky reveals the relationship between k gamma function and classical gamma function

$$ {\Gamma}_k(z)={k}^{\frac{z}{k}-1}\Gamma \left(\frac{z}{k}\right). $$

The following properties of the k gamma function have been discussed in [5, 6]

$$ {\Gamma}_k\left(z+k\right)=z{\Gamma}_k(z), $$
$$ {\Gamma}_k(z){\Gamma}_k\left(k-z\right)=\frac{\pi }{\sin \left(\frac{\pi z}{k}\right)}. $$

In the “An integral involving the k gamma function” section, we will establish an integral involving k gamma function and its special cases will also be discussed. In the “Stirling formula for the k gamma function” section, the Stirling formula will be derived for the k gamma function. In the “Some integrals representing digamma function” section, we will provide few integrals involving the k digamma function. Few special cases of the k digamma function will also be presented. In the “Euler-Mascheroni constant and k digamma function” section, we will find the relationship between the Euler-Mascheroni constant in the form k digamma function for different values of k.

An integral involving the k gamma function

In this section, we will derive an interesting integral involving k gamma function.

Theorem 2.1 Consider a complex number p of the form p = a + ib. Then

$$ \frac{\Gamma_k(z)}{n{\left|p\right|}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}\cos \left(\frac{z\theta}{k}\right)=\underset{0}{\overset{\infty }{\int }}{e}^{-{au}^n}\left(\cos {bu}^n\right){u}^{\frac{nz}{k}-1} du, $$
$$ \frac{\Gamma_k(z)}{n{\left|p\right|}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}\sin \left(\frac{z\theta}{k}\right)=\underset{0}{\overset{\infty }{\int }}{e}^{-{au}^n}\left(\sin {bu}^n\right){u}^{\frac{nz}{k}-1} du. $$

Proof Making the substitution \( t={\left({kpu}^n\right)}^{\frac{1}{k}}\Rightarrow dt={pnu}^{n-1}{\left({kpu}^n\right)}^{\frac{1}{k}-1} du \) into (1.3), we get

$$ {\Gamma}_k(z)=\underset{0}{\overset{\infty }{\int }}{e}^{-{pu}^n}{\left({kpu}^n\right)}^{\frac{z-1}{k}}{pnu}^{n-1}{\left({kpu}^n\right)}^{\frac{1}{k}-1} du={np}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}\underset{0}{\overset{\infty }{\int }}{e}^{-{pu}^n}{u}^{\frac{nz}{k}-1} du, $$

so we get

$$ \frac{\Gamma_k(z)}{np^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}=\underset{0}{\overset{\infty }{\int }}{e}^{-{pu}^n}{u}^{\frac{nz}{k}-1} du. $$

Similarly, for the conjugate of p, we can write

$$ \frac{\Gamma_k(z)}{n{\overline{p}}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}=\underset{0}{\overset{\infty }{\int }}{e}^{-\overline{p}{u}^n}{u}^{\frac{nz}{k}-1} du. $$

Adding and simplifying (2.2) and (2.3), we get

$$ \frac{\Gamma_k(z)}{nk^{\frac{z}{k}-1}}\left(\frac{1}{{\left|p\right|}^{\frac{z}{k}}{e}^{\frac{iz\theta}{k}}}+\frac{1}{{\left|p\right|}^{\frac{z}{k}}{e}^{-\frac{iz\theta}{k}}}\right)=\underset{0}{\overset{\infty }{\int }}\left({e}^{-\left(a+ ib\right){u}^n}+{e}^{-\left(a- ib\right){u}^n}\right){u}^{\frac{nz}{k}-1} du. $$

where θ and |p| are the principal argument and modulus of p, respectively, so that (2.4) reduces to

$$ \frac{\Gamma_k(z)}{n{\left|p\right|}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}\left(\frac{1}{e^{\frac{iz\theta}{k}}}+\frac{1}{e^{-\frac{iz\theta}{k}}}\right)=\underset{0}{\overset{\infty }{\int }}{e}^{-{au}^n}\left({e}^{-{ibu}^n}+{e}^{ibu^n}\right){u}^{\frac{nz}{k}-1} du. $$

By Euler’s identity, we can write

$$ \frac{\Gamma_k(z)}{n{\left|p\right|}^{\frac{z}{k}}{k}^{\frac{z}{k}-1}}\left(2\cos \left(\frac{z\theta}{k}\right)\right)=\underset{0}{\overset{\infty }{\int }}{e}^{-{au}^n}\left(2\cos \left({bu}^n\right)\right){u}^{\frac{nz}{k}-1} du. $$

This yields the final integral (2.1a). Similarly, subtracting (2.2) and (2.3) and continuing in the same fashion, we get (2.1b).

Corollary 2.2 Take \( a=0,b=1,n=1\Rightarrow \left|p\right|=1,\theta =\frac{\pi }{2} \) in (2.1b), and using the relation (1.5) together with k = 1, we see that

$$ \underset{z\to 0}{\lim}\left(\frac{\sin \left( z\pi /2\right)}{z\pi /2}\right)\underset{z\to 0}{\lim}\left(\frac{\pi z}{\sin \left(\pi z\right)}\right)\frac{\pi }{\Gamma (1)}\left(\frac{z\pi}{2\pi z}\right)=\underset{0}{\overset{\infty }{\int }}\sin (u){u}^{-1} du. $$

This reduces to a well-known integral

$$ \underset{0}{\overset{\infty }{\int }}\frac{\sin u}{u} du=\frac{\pi }{2}. $$

Corollary 2.3 Take \( z=\frac{1}{2},a=0,b=1,n=2\Rightarrow p=1,\theta =\frac{\pi }{2} \) into (2.1b)

$$ \underset{0}{\overset{\infty }{\int }}\sin \left({u}^2\right){u}^{\frac{1}{k}-1} du=\frac{\Gamma_k\left(\frac{1}{2}\right)}{2{k}^{\frac{1}{2k}-1}}\sin \left(\frac{\pi }{4k}\right). $$

As k → 1, the integral reduces to

$$ \underset{0}{\overset{\infty }{\int }}\sin \left({u}^2\right) du=\frac{\sqrt{2\pi }}{4}. $$

Corollary 2.4 Take \( z=\frac{1}{2},k=1,b=0,n=2 \) into (2.1a); it turns out the Gaussian integral

$$ \underset{0}{\overset{\infty }{\int }}{e}^{-{au}^2} du=\frac{1}{2}\sqrt{\frac{\pi }{a}},a>0. $$

In general, for m > 0 and \( z=\frac{1}{m},k=1,a=1,b=0 \) into (2.1a), we get

$$ \underset{0}{\overset{\infty }{\int }}{e}^{-{u}^m} du=\frac{1}{m}\Gamma \left(\frac{1}{m}\right). $$

The integral (2.5) can also be written as

$$ \underset{-\infty }{\overset{\infty }{\int }}{e}^{-{au}^2} du=\sqrt{\frac{\pi }{a}},a>0. $$

Stirling formula for the k gamma function

The Stirling formula is an approximation of the factorial for large n. It associates an appropriate function to the growth of n! which is given as

$$ \Gamma \left(n+1\right)=n!\approx {n}^n{e}^{-n}\sqrt{2\pi n},n\in \mathrm{\mathbb{N}}. $$

In fact, it is quite accurate even for small n; for example, the Stirling formula gives 99% accuracy when compared with the value of 10! A formula similar to the Stirling formula can be obtained for the k gamma function as follows:

Theorem 3.1 For k > 0, Re(z) > 0,

$$ {\Gamma}_k\left(z+1\right)={\left(\frac{z}{e}\right)}^{\raisebox{1ex}{$z$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}\sqrt{\frac{2\pi }{kz^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}}}. $$

Proof Consider

$$ {\Gamma}_k\left(z+1\right)=\underset{0}{\overset{\infty }{\int }}{e}^{-\frac{t^k}{k}}{t}^z dt=\underset{0}{\overset{\infty }{\int }}{e}^{-\frac{t^k}{k}+z\ln t} dt. $$

Now if we let \( f(t)=-\frac{t^k}{k}+z\ln t \) and notice that its critical value is \( {f}^{\prime }(t)=0\Rightarrow t={z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}=a \)which gives maximum value \( {f^{\prime}}^{\prime }(a)=-{kz}^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}<0\kern0.24em \mathrm{for}\;k>0. \) Now if we expand the function f(t) by Taylor series around its critical point, we get

$$ f(t)=f(a)+\left(t-a\right){f}^{\prime }(a)+\frac{{\left(t-a\right)}^2}{2!}{f^{\prime}}^{\prime }(a)+O\left({\left(t-a\right)}^3\right). $$

Since a is the critical point of the function, the second term of the series vanishes, and the rest simplifies to

$$ f(t)=-\frac{z}{k}+\frac{z}{k}\ln (z)-\frac{k}{2}{z}^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{\left(t-{z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}\right)}^2+O\left({\left(t-{z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}\right)}^3\right). $$

Substituting it into (3.3) and ignoring the higher order terms, we get

$$ {\Gamma}_k\left(z+1\right)={z}^{\raisebox{1ex}{$z$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{e}^{-\frac{z}{k}}\underset{0}{\overset{\infty }{\int }}{e}^{-\frac{k}{2}{z}^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{\left(t-{z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}\right)}^2} dt. $$


$$ t-{z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}=y $$
$$ {\Gamma}_k\left(z+1\right)={z}^{z/k}{e}^{-\frac{z}{k}}\underset{-z1/k}{\overset{\infty }{\int }}{e}^{-\frac{k}{2}{z}^{1-2/k}{\left(t-{z}^{1/k}\right)}^2} dt. $$

Since the integrand of the integral in (3.4) is a Gaussian curve whose peak, the maximum value, lies at \( t={z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.} \) so at t < 0 the integral is negligible. Therefore, we can extend the lower limit to −∞

$$ {\Gamma}_k\left(z+1\right)\approx {z}^{\raisebox{1ex}{$z$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{e}^{-\frac{z}{k}}\underset{-\infty }{\overset{\infty }{\int }}{e}^{-\frac{k}{2}{z}^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{\left(t-{z}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}\right)}^2} dt. $$

Using (2.6), we can write as

$$ {\Gamma}_k\left(z+1\right)={z}^{\raisebox{1ex}{$z$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}{e}^{-\frac{z}{k}}\sqrt{\frac{\pi }{\frac{k}{2}{z}^{1-\raisebox{1ex}{$2$}\!\left/ \!\raisebox{-1ex}{$k$}\right.}}}. $$

This simplifies to (3.2) as claimed. Notice that for k → 1, (3.5) reduces to (3.1).

Some integrals representing digamma function

The logarithmic derivative of the k gamma function for Re(z), k > 0 is known as k digamma function, denoted and defined as [7]

$$ {\psi}_k(z)=\frac{\partial }{\partial z}\log {\Gamma}_k(z)=\frac{\Gamma_k^{\prime }(z)}{\Gamma_k(z)}. $$

Taking the logarithmic derivative of the relation (1.4), we see that

$$ \frac{\partial }{\partial z}\log {\Gamma}_k\left(z+k\right)=\frac{\partial }{\partial z}\log z+\frac{\partial }{\partial z}\log {\Gamma}_k(z). $$

Using (4.1), we can write

$$ {\psi}_k\left(z+k\right)={\psi}_k(z)+\frac{1}{z}. $$

The relation (4.2) is sometimes called the functional equation of k digamma function.

Remark 4.1 Notice that for k → 1, ψk(z) → ψ(z).

A series representation of k digamma function is derived in [3] by taking the logarithmic derivative of the inverse of k—analogue Weierstrass form of the k gamma function

$$ {\Gamma}_k(z)={z}^{-1}{k}^{\frac{z}{k}}{e}^{-\frac{z}{k}\gamma}\prod \limits_{n=1}^{\infty}\left(\frac{nk}{z+ nk}\right){e}^{\frac{z}{nk}}. $$

And is given by

$$ {\psi}_k(z)=-\frac{1}{z}+\frac{1}{k}\log k-\frac{\gamma }{k}+\sum \limits_{n=1}^{\infty}\left(\frac{1}{nk}-\frac{1}{z+ nk}\right). $$

where γ is the Euler-Mascheroni constant given by the following series form

$$ \gamma =\sum \limits_{n=1}^{\infty}\frac{1}{n}-\log (n)=0.5772156649. $$

We can rearrange the series (4.3) to write

$$ {\psi}_k(z)=\frac{1}{k}\log k-\frac{\gamma }{k}+\sum \limits_{n=0}^{\infty}\left(\frac{1}{\left(n+1\right)k}-\frac{1}{nk+z}\right). $$

Next, we derive some integrals involving k digamma function.

Theorem 4.2 Let s > 0 be a real number then for k > 0

$$ \underset{0}{\overset{1}{\int }}\frac{x^{s-1}}{1+{x}^k} dx=\frac{1}{2}\left[{\psi}_k\left(\frac{s+k}{2}\right)-{\psi}_k\left(\frac{s}{2}\right)\right]={\psi}_k(s)-{\psi}_k\left(\frac{s}{2}\right)-\frac{1}{k}\log (2), $$
$$ \underset{0}{\overset{1}{\int }}\frac{x^{s-1}\left(1-{x}^{\left(n+1\right)k}\right)}{1-{x}^{2k}} dx=\frac{1}{2}\left({\psi}_k\left(\frac{s+\left(n+1\right)k}{2}\right)-{\psi}_k\left(\frac{s}{2}\right)\right), $$
$$ \underset{0}{\overset{1}{\int }}\frac{1}{x\left(1+{x}^k\right)}\sum \limits_{n=0}^{\infty }{x}^{\frac{s}{2^n}} dx={\psi}_k(s)-{\psi}_k\left(\frac{s}{2^{n+1}}\right)-\frac{n+1}{k}\log (2), $$
$$ \underset{0}{\overset{\infty }{\int }}\tanh (kx){e}^{- sx} dx=\frac{1}{2}\left[{\psi}_k\left(\frac{s+2k}{4}\right)-{\psi}_k\left(\frac{s}{4}\right)-\frac{2}{s}\right]. $$

Proof Using the Taylor series of \( \frac{1}{1+{x}^k} \), the LHS of (4.5) becomes

$$ \underset{0}{\overset{1}{\int }}\frac{x^{s-1}}{1+{x}^k} dx=\underset{0}{\overset{1}{\int }}\sum \limits_{n=1}^{\infty }{\left(-1\right)}^{n-1}{x}^{kn-k+s-1} dx. $$

Interchanging integral and summation

$$ =\sum \limits_{n=1}^{\infty }{\left(-1\right)}^{n-1}\underset{0}{\overset{1}{\int }}{x}^{kn-k+s-1} dx=\sum \limits_{n=1}^{\infty }{\left(-1\right)}^{n-1}\left(\frac{1}{kn-k+s}\right). $$

Rearranging the sum into even and odd terms, we can write

$$ =\sum \limits_{n=1}^{\infty}\left(\frac{1}{2 nk-2k+s}-\frac{1}{2 nk-k+s}\right). $$

Adding and subtracting \( \frac{1}{2 nk} \) under the summation and factoring out \( \frac{1}{2} \), we get

$$ =\frac{1}{2}\sum \limits_{n=1}^{\infty}\left(\frac{1}{nk}-\frac{1}{nk+\frac{s-k}{2}}\right)-\frac{1}{2}\sum \limits_{n=1}^{\infty}\left(\frac{1}{nk}-\frac{1}{nk+\frac{s-2k}{2}}\right). $$

Changing the index of the sum, we get

$$ =\frac{1}{2}\sum \limits_{n=0}^{\infty}\left(\frac{1}{\left(n+1\right)k}-\frac{1}{nk+\frac{s+k}{2}}\right)-\frac{1}{2}\sum \limits_{n=0}^{\infty}\left(\frac{1}{\left(n+1\right)k}-\frac{1}{nk+\frac{s}{2}}\right). $$

Adding and subtracting (logk)/k − γ/k and using (4.4), we get the first equality of (4.5). To prove the second equality of (4.5), we take Legendre duplication k analogous formula r = 2 in corollary 3.14 in [8]

$$ {\Gamma}_k(2z)={2}^{\frac{2z}{k}-\frac{1}{2}}{k}^{\frac{1}{2}}{\left(2\pi \right)}^{-\frac{1}{2}}{\Gamma}_k(z){\Gamma}_k\left(z+\frac{k}{2}\right). $$

Taking the logarithm of (4.8)

$$ \log {\Gamma}_k(2z)=\left(\frac{2z}{k}-\frac{1}{2}\right)\log 2+\frac{1}{2}\log k-\frac{1}{2}\log \left(2\pi \right)+\log {\Gamma}_k(z)+\log {\Gamma}_k\left(z+\frac{k}{2}\right). $$

Taking derivatives of (4.9) with respect to z and using the definition (4.1), we get

$$ {\psi}_k(2z)=\frac{1}{2}\left\{{\psi}_k(z)+{\psi}_k\left(z+\frac{k}{2}\right)\right\}+\frac{1}{k}\log (2). $$

Replacing z by s/2 in (4.10)

$$ {\psi}_k(s)=\frac{1}{2}\left\{{\psi}_k\left(\frac{s}{2}\right)+{\psi}_k\left(\frac{s+k}{2}\right)\right\}+\frac{1}{k}\log (2). $$

Rearranging we get the second equality of (4.5).

$$ \frac{1}{2}\left\{{\psi}_k\left(\frac{s+k}{2}\right)-{\psi}_k\left(\frac{s}{2}\right)\right\}={\psi}_k(s)-{\psi}_k\left(\frac{s}{2}\right)-\frac{1}{k}\log (2). $$

To derive (4.6a), we replace s by s + k, s + 2k, s + 3k, s + nk in (4.5); we get

$$ {\displaystyle \begin{array}{c}\underset{0}{\overset{1}{\int }}\frac{x^{s+k-1}}{1+{x}^k} dx=\frac{1}{2}\left({\psi}_k\left(\frac{s+2k}{2}\right)-{\psi}_k\left(\frac{s+k}{2}\right)\right)\\ {}\underset{0}{\overset{1}{\int }}\frac{x^{s+2k-1}}{1+{x}^k} dx=\frac{1}{2}\left({\psi}_k\left(\frac{s+3k}{2}\right)-{\psi}_k\left(\frac{s+2k}{2}\right)\right)\\ {}\kern0.72em \mathrm{M}\kern6.239996em \mathrm{M}\\ {}\underset{0}{\overset{1}{\int }}\frac{x^{s+ nk-1}}{1+{x}^k} dx=\frac{1}{2}\left({\psi}_k\left(\frac{s+\left(n+1\right)k}{2}\right)-{\psi}_k\left(\frac{s+ nk}{2}\right)\right).\end{array}} $$

Now observing that the RHS of (4.11) is a telescoping sum, so adding all the (n + 1) terms in (4.11), we get

$$ \underset{0}{\overset{1}{\int }}\frac{x^{s-1}\left(1+{x}^k+{x}^{2k}+\cdots {x}^{nk}\right)}{1+{x}^k} dx=\frac{1}{2}\left({\psi}_k\left(\frac{s+\left(n+1\right)k}{2}\right)-{\psi}_k\left(\frac{s}{2}\right)\right). $$

The series under the integral on LHS of (4.12) is a finite geometric series with common ratio xk, so summing it, we get (4.6a). In a similar fashion, we can derive (4.6b) by successively replacing s by \( \raisebox{1ex}{$s$}\!\left/ \!\raisebox{-1ex}{$2$}\right.,\raisebox{1ex}{$s$}\!\left/ \!\raisebox{-1ex}{${2}^2$}\right.,\raisebox{1ex}{$s$}\!\left/ \!\raisebox{-1ex}{${2}^3$}\right.,\cdots \raisebox{1ex}{$s$}\!\left/ \!\raisebox{-1ex}{${2}^n$}\right. \) in the second equality of (4.5).

Remark 4.3 The ratio test shows that the infinite series \( {\sum}_{n=0}^{\infty }{x}^{\frac{s}{2^n}} \) is convergent for all real value of x as long as s > 0.

For the relation (4.7), first, we write the integrand as an exponential function

$$ \underset{0}{\overset{\infty }{\int }}\tanh (kx){e}^{- sx} dx=\underset{0}{\overset{\infty }{\int }}\frac{1-{e}^{-2 kx}}{1+{e}^{-2 kx}}{e}^{- sx} dx. $$

By making the substitution \( kx=-\log \sqrt{t^k}\Rightarrow dx=-\frac{1}{2t} dt \) in (4.13), we can write

$$ \underset{0}{\overset{\infty }{\int }}\tanh (kx){e}^{- sx} dx=\frac{1}{2}\underset{0}{\overset{1}{\int }}\frac{1-{t}^k}{1+{t}^k}{t}^{\frac{s}{2}-1} dt=\frac{1}{2}\underset{0}{\overset{1}{\int }}\frac{t^{\frac{s}{2}-1}}{1+{t}^k} dt-\frac{1}{2}\underset{0}{\overset{1}{\int }}\frac{t^{\frac{s}{2}+k-1}}{1+{t}^k} dt. $$

By using the first equality of (4.5), we can write

$$ \underset{0}{\overset{\infty }{\int }}\tanh (kx){e}^{- sx} dx=\frac{1}{2}\left[\frac{1}{2}\left({\psi}_k\left(\frac{s+2k}{4}\right)-{\psi}_k\left(\frac{s}{4}\right)\right)-\frac{1}{2}\left({\psi}_k\left(\frac{s+4k}{4}\right)-{\psi}_k\left(\frac{s+2k}{4}\right)\right)\right]. $$

After a bit simplification

$$ \underset{0}{\overset{\infty }{\int }}\tanh (kx){e}^{- sx} dx=\frac{1}{2}\left[{\psi}_k\left(\frac{s+2k}{4}\right)-\frac{1}{2}{\psi}_k\left(\frac{s}{4}\right)-\frac{1}{2}{\psi}_k\left(k+\frac{s}{4}\right)\right]. $$

Using the relation (4.2), Eq. (4.14) reduces to the required result (4.7)

Remark 4.4 Equation (4.7) can be also be written in the form of Laplace transform of tanh(kx), that is

$$ L\left(\tanh (kx)\right)=\frac{1}{2}\left[{\psi}_k\left(\frac{s+2k}{4}\right)-{\psi}_k\left(\frac{s}{4}\right)-\frac{2}{s}\right]. $$

Special values: Replacing k = 1 = s in the first equality of (4.5), we can write

$$ \log (2)=\frac{1}{2}\left[\psi (1)-\psi \left(\frac{1}{2}\right)\right]. $$

Replacing k = 2, s = 1 and for k = 4, s = 2, we get from (4.5)

$$ \frac{\pi }{2}={\psi}_2\left(\frac{3}{2}\right)-{\psi}_2\left(\frac{1}{2}\right)=2\left({\psi}_4(3)-{\psi}_4(1)\right). $$

Replacing k = 1/2, s = 1, we get from (4.5)

$$ \underset{0}{\overset{1}{\int }}\frac{1}{1+\sqrt{x}} dx=2-2\log (2)=\frac{1}{2}\left[{\psi}_{\frac{1}{2}}\left(\frac{3}{4}\right)-{\psi}_{\frac{1}{2}}\left(\frac{1}{2}\right)\right]. $$

Euler-Mascheroni constant and k digamma function

In this section, we represent the Euler-Mascheroni constant in the form k digamma function for different values of k.

Proposition 5.1 Substituting k = 4  and z = 1 in (4.3), we see that

$$ {\psi}_4(1)=-1+\frac{1}{4}\log 4-\frac{\gamma }{4}+\sum \limits_{n=1}^{\infty}\left(\frac{1}{4n}-\frac{1}{4n+1}\right). $$

The series in (5.1) is not hard to sum. First, observe that this series can be written as

$$ \sum \limits_{n=1}^{\infty}\left(\frac{1}{4n}-\frac{1}{4n+1}\right)=\sum \limits_{n=1}^{\infty}\underset{0}{\overset{1}{\int }}\left({x}^{4n-1}-{x}^{4n}\right) dx=\underset{0}{\overset{1}{\int }}\sum \limits_{n=1}^{\infty}\left({x}^{4n-1}-{x}^{4n}\right) dx=\underset{0}{\overset{1}{\int }}\left({x}^3\sum \limits_{n=1}^{\infty }{\left({x}^4\right)}^{n-1}-{x}^4\sum \limits_{n=1}^{\infty }{\left({x}^4\right)}^{n-1}\right) dx $$

Now employing the Taylor series

$$ =\underset{0}{\overset{1}{\int }}\left(\frac{x^3}{1-{x}^4}-\frac{x^4}{1-{x}^4}\right)\; dx\kern0.5em =\underset{0}{\overset{1}{\int }}\frac{x^3}{\left(1+x\right)\left(1+{x}^2\right)}\; dx=\underset{0}{\overset{1}{\int }}\left(1-\frac{1}{2\left(1+x\right)}-\frac{x+1}{2\left(1+{x}^2\right)}\right)\; dx. $$

Evaluating the integral, we get the sum of the series

$$ \sum \limits_{n=1}^{\infty}\left(\frac{1}{4n}-\frac{1}{4n+1}\right)=1-\frac{\pi }{4}-\frac{3}{4}\log (2). $$

Substituting (5.2) into (5.1), we get a nice representation of the Euler-Mascheroni constant in the form of 4—digamma function

$$ \gamma =-4{\psi}_4(1)-\frac{\pi }{2}-\log (2). $$

Or more elegantly

$$ \pi +2\gamma =-8{\psi}_4(1)-2\log (2). $$

From (4.15) and (5.3), we get some more such representations

$$ {\displaystyle \begin{array}{c}\gamma =-4{\psi}_4(3)+\frac{\pi }{2}-\log (2),\\ {}\gamma =-4{\psi}_4(3)+{\psi}_2\left(\frac{3}{2}\right)-{\psi}_2\left(\frac{1}{2}\right)-\log (2),\\ {}\gamma =-4{\psi}_4(3)+{\psi}_2\left(\frac{3}{2}\right)-{\psi}_2\left(\frac{1}{2}\right)+\frac{1}{4}{\psi}_{\frac{1}{2}}\left(\frac{3}{4}\right)-\frac{1}{4}{\psi}_{\frac{1}{2}}\left(\frac{1}{2}\right)-1.\end{array}} $$

Adding (5.3) and (5.4), we get such representation for π

$$ \pi =4\left[{\psi}_4(3)-{\psi}_4(1)\right]. $$


In this paper, we established and investigated few new definite integrals involving k gamma function and k digamma function. Known results of the classical gamma function and classical digamma function were obtained as special cases of k gamma function and k digamma function. We also established nice representations of π and of the Euler-Mascheroni constant which were generated, and many more can still be obtained.

Availability of data and materials

Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.


  1. 1.

    Diaz, R., Pariguan, E.: On hypergeometric functions and k-Pochhammer symbol. Divulg. Mat. 15(2), 179–192 (2007)

    MathSciNet  MATH  Google Scholar 

  2. 2.

    Kokologiannaki, C.G.: Properties and inequalities of generalized k-gamma, beta and zeta functions. Int J Contemp Math Sci. 5(14), 653–660 (2010)

    MathSciNet  MATH  Google Scholar 

  3. 3.

    Mubeen, S., Rehman, A., Shaheen, F.: Properties of k-gamma, k-beta and k-psi functions. Bothalia. 44(4), 372–380 (2014)

    MATH  Google Scholar 

  4. 4.

    Kokologiannaki C.G, Krasniqi V: Some properties of k-gamma function, Le Matematiche, 2013, LXVIII: 13 – 22.

  5. 5.

    Mansoor, M.: Determining the k-generalized gamma function Gamma_k(x), by functional equations. Int J Contemp Math Sci. 4(21), 1037–1042 (2009)

    MathSciNet  Google Scholar 

  6. 6.

    Mubeen, S., Habibullah, G.M.: An integral representation of some k-hypergeometric functions. Int Math Forum. 7(4), 203–207 (2012)

    MathSciNet  MATH  Google Scholar 

  7. 7.

    Krasniqi, V.: A limit for the k-gamma and k-beta function. Int Math Forum. 5(33), 1613–1617 (2010)

    MathSciNet  MATH  Google Scholar 

  8. 8.

    Mubeen, S., Rehman, A.: A note on k-Gamma function and Pochhammer k-symbol. J Inform Math Sci. 6(2), 93–107 (2014)

    Google Scholar 

Download references


Not applicable.


There are no funding sources for this manuscript.

Author information




Ahmed S. contributed the whole research article and approved the final manuscript.

Corresponding author

Correspondence to Saeed Ahmed.

Ethics declarations

Competing interests

The author declares that there are no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Ahmed, S. Some integrals involving k gamma and k digamma function. J Egypt Math Soc 28, 39 (2020).

Download citation


  • k gamma function
  • k digamma function

Mathematics subject classification

  • 33B15, 41A58, 33C20