1 Introduction

The theory of convexity plays a significant role in the development of inequalities. In spite of that the importance of inequalities containing convex functions is magnificent as it tackles numerous problems in various fields of mathematics at a substantial rate. Consequently, the study of these inequalities has gained tons of attention (see [3, 9, 24, 36, 43] and the references cited therein).

The inequalities that include higher order convexity have been utilized by several physicists in higher dimension problems since the founding of higher order convexity by T. Popoviciu (see [43, p. 15]). Over the recent years, the inequalities for n-convex functions have been generalized by numerous researchers. In [19], Butt et al. obtained useful identities via Taylor polynomial and generalized Popoviciu inequality for n-convex functions. In [42], Pečarić et al. introduced a new class of n-convex functions. They proposed an interesting theory to evaluate linear operator inequalities utilizing n-convex functions. This approach leads to various impressive and insightful results with a number of developments in statistics and operator theory. In [29], Khan et al. generalized new inequalities of Rényi Shannon entropies and provided the refinement of Jensen’s inequality for higher order convex functions by utilizing the Montgomery identity. In [20], Butt et al. generalized Popoviciu’s inequality for higher order convex functions by employing Fink’s identity in combination with a new Green’s function. Using Taylor’s polynomial along with new Green’s functions, Latif et al. in [32] obtained generalized results concerning majorization inequality. In [37], Niaz et al. estimated various entropies by utilizing Jensen type functionals. In addition, the authors generalized new inequalities for higher order convex functions employing Taylor’s formula. Levinson’s inequality has been generalized for 3-convex function utilizing Green’s functions by Adeel et al. [1]. Moreover, the obtained results are used in information theory via f-divergence, Shannon entropy, and Rényi divergence. Further, in [2], the authors used Taylor’s polynomial and generalized Levinson type inequalities for the class of m-convex functions. The obtained results are applied in information theory. In [45], Siddique et al. used Fink’s identity and Green’s functions and obtained generalized results related to majorization type inequalities. They also gave a generalized majorization theorem for higher order convex functions. The obtained results are applied with regard to Kullback–Leibler divergence and Shannon entropy.

For the past quarter-century, mathematicians have been fascinated by the idea of time scales. In mathematical analysis, time scales play a significant role. In 1988, Stefan Hilger initiated the theory of calculus on time scales. Difference calculus, differential calculus, and quantum calculus are the three most famous examples of calculus on time scales. Many of the fundamental aspects of time scales were covered by the books of Bohner and Peterson [15, 16]. During the past decade, several researchers have worked on this subject and established excellent results (see [4, 5, 1012, 22, 40, 44, 47] and the references cited therein). Dynamic equations and inequalities have a number of applications in other disciplines besides mathematics. For example, population dynamics, physical problems, quantum mechanics, wave equations, optical problems, heat transfer, and finance problems [18, 27, 50]. The modern name for a type of calculus that works without the concept of limits is quantum calculus. It is also known as q-calculus and is originally based on the idea of finite difference re-scaling. The concept of q-calculus was stated in 1740s, as Euler introduced the theory of partitions, also known as analytic number theory. At the beginning of the twentieth century, Jackson [26] presented the notion of q-definite integrals and generalized the concept of q-calculus. Due to significant importance of mathematics, referred to as modeling of quantum computing, the q-calculus has established a connection between mathematics and physics. Many of the fundamental aspects of quantum calculus are covered by the book of Kac and Cheung [27]. The concept of q-derivatives over the finite intervals was given by Tariboon et al. [48, 49] who discussed numerous quantum analogues of classical mathematical inequalities. In the last few decades, there has been a considerable development in q-calculus, see [17, 25, 35, 39, 5154, 56] and the references therein. Various Hermite–Hadamard type quantum integral inequalities for convex functions have been established by Sudsutad et al. [46]. Chen and Yang in [21] and Liu and Yang in [34] established various Chebyshev and Grüss type inequalities on finite intervals via quantum integrals, respectively. In [8], Alomari proved q-analogue of Bernoulli inequality. In [33], Li et al. established a novel quantum integral identity and obtained some new estimates of Hermite–Hadamard inequalities for quantum integrals. In [23], Erden et al. used convex functions and established various quantum integral inequalities. A novel generalized q-integral identity containing q-differentiable function has been established by Awan et al. [13]. Further considering the class of preinvex functions the obtained result were used to determine several associated quantum bounds. In [30], Khan et al. established quantum Hermite–Hadamard inequality via the Green’s function approach. In [7], Ali et al. proved some new Ostrowski type integral inequalities for q-differentiable bounded functions. In [31], Kunt et al. determined a new version of the celebrated Montgomery identity via quantum integral operators. The obtained result is used to establish some quantum integral inequalities of Ostrowski type. In [14], Ben et al. established q-fractional integral inequalities of Henry–Gronwall type.

Despite its resemblance to q-calculus, h-calculus is quite different. It is, in fact, the calculus of finite differences, but a more precise similarity with classical calculus makes it clear. For example, Newton’s interpolation formula is similar to h-Taylor formula, and Abel transform is just like the h-integration by parts. The definite h-integral is similar to Riemann sum; consequently, the fundamental theorem of h-calculus permits one to estimate finite sums.

Motivated by the above discussion, we generalize an inequality involving Csiszár divergence on time scales for n-convex functions by using Green’s function along with Taylor’s polynomial as a unification of both discrete and integral cases. In addition, we estimate Kullback–Leibler divergence, differential entropy, Shannon entropy, Jeffreys distance, and triangular discrimination on time scales, q-calculus, and h-discrete calculus.

2 Preliminaries

Let us take a quick look at time scales, as well as the essential definitions and notations. The details can be followed from [15]:

For \(\vartheta \in \mathbb{T}\), the forward jump operator \(\sigma : \mathbb{T} \rightarrow \mathbb{T}\) is defined as

$$ \sigma (\vartheta ) := \inf \{\alpha \in \mathbb{T}: \alpha > \vartheta \}. $$

Right-dense continuous (rd-continuous) function

Assume that \(\mathfrak{g} : \mathbb{T} \rightarrow \mathbb{R}\) is a function. Then \(\mathfrak{g}\) is rd-continuous if it is continuous at right-dense points of \(\mathbb{T}\) and its left-sided limit is finite at left-dense points of \(\mathbb{T}\). The set of rd-continuous functions \(\mathfrak{g} : \mathbb{T} \rightarrow \mathbb{R}\) will be denoted in this paper by \(C_{\mathrm{rd}}\).

The derived set \(\mathbb{T}^{k}\) is defined as follows: Given \(\mathbb{T}\) has a left-scattered maximum m, then \(\mathbb{T}^{k} = \mathbb{T} - m\); else, \(\mathbb{T}^{k} = \mathbb{T}\).

Delta derivative

Let \(\mathfrak{g} : \mathbb{T} \rightarrow \mathbb{R}\) and \(\vartheta \in \mathbb{T}^{k}\). Then \(\mathfrak{g}^{\Delta }(\vartheta )\) is defined to be the number (if it exists) with the property that for any \(\epsilon > 0\) there exists a neighborhood \(\mathfrak{U}\) of ϑ such that

$$ \bigl\vert \mathfrak{g}\bigl(\sigma (\vartheta )\bigr) - \mathfrak{g}(\alpha ) - \mathfrak{g}^{\Delta }(\vartheta ) \bigl(\sigma (\vartheta ) - \alpha \bigr) \bigr\vert \leq \epsilon \bigl\vert \sigma (\vartheta ) - \alpha \bigr\vert ,\quad \forall \alpha \in \mathfrak{U}. $$

Then \(\mathfrak{g}\) is known as delta differentiable at ϑ. If \(\mathbb{T}= \mathbb{R}\), then \(\mathfrak{g}^{\Delta }\) reduces to the usual derivative \(\mathfrak{g}^{\prime }\), and \(\mathfrak{g}^{\Delta }\) becomes the forward difference operator \(\Delta \mathfrak{g}(\vartheta ) = \mathfrak{g}(\vartheta +1) - \mathfrak{g}(\vartheta )\) for \(\mathbb{T} = \mathbb{Z}\). If \(\mathbb{T} = q^{\mathbb{N}_{0}} = \{q^{n}: n \in \mathbb{N}_{0} \}\), q-difference operator (\(q > 1\)) is given by

$$ \mathfrak{g}^{\Delta }(\vartheta ) = \frac{\mathfrak{g}(q\vartheta ) - \mathfrak{g}(\vartheta )}{(q-1)\vartheta },\qquad \mathfrak{g}^{\Delta }(0) = \lim_{\alpha \rightarrow 0} \frac{\mathfrak{g}(\alpha ) - \mathfrak{g}(0)}{\alpha }. $$

Existence of antiderivatives

Every rd-continuous function has an antiderivative. If \(x_{0} \in \mathbb{T}\), then F is given by

$$ F(\vartheta ):= \int _{x_{0}}^{x}f(\vartheta )\Delta \vartheta \quad \text{for } x \in \mathbb{T}^{k} $$

is an antiderivative of f.

If \(\mathbb{T} = \mathbb{R}\), then \(\int _{a}^{b}f(\vartheta )\Delta \vartheta = \int _{a}^{b}f( \vartheta ) \,d\vartheta \), and \(\int _{a}^{b}f(\vartheta )\Delta \vartheta = \sum_{ \vartheta =a}^{b-1}f(\vartheta )\) for \(\mathbb{T} = \mathbb{N}\), where \(a, b \in \mathbb{T}\) with \(a\leq b\). If \(\mathbb{T} = h\mathbb{Z}\), \(h > 0\) then \(\int _{a}^{b}f(\vartheta )\Delta \vartheta = \sum_{j=\frac{a}{h}}^{ \frac{b}{h} - 1} f(jh)h\) and \(\int _{a}^{b}f(\vartheta )\Delta \vartheta = \sum_{j=m}^{n - 1} q^{j+1}f(q^{j})\) for \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m< n\), where \(\mathbb{N}_{0} = \mathbb{N} \bigcup \{0\}\).

3 Improvement of the inequality involving Csiszár divergence

Let \(\vartheta _{1}, \vartheta _{2} \in \mathbb{R}\) with \(\vartheta _{1} < \vartheta _{2}\) and consider the Green’s function \(G : [\vartheta _{1}, \vartheta _{2}]\times [\vartheta _{1}, \vartheta _{2}] \rightarrow \mathbb{R}\) defined as follows:

$$ G(x, s) = \textstyle\begin{cases} \frac{(x-\vartheta _{2})(s-\vartheta _{1})}{\vartheta _{2}-\vartheta _{1}}& \text{for } \vartheta _{1} \leq s \leq x, \\ \frac{(s-\vartheta _{2})(x-\vartheta _{1})}{\vartheta _{2}-\vartheta _{1}}& \text{for } x \leq s \leq \vartheta _{2}, \end{cases} $$
(1)

where G is convex and continuous corresponding to both variables. It is notable that (see for example [28, 38, 41, 55]) any function \(\Phi \in C^{2}([\vartheta _{1}, \vartheta _{2}],\mathbb{R})\) can be written as

$$ \Phi (x) = \frac{\vartheta _{2}-x}{\vartheta _{2}-\vartheta _{1}} \Phi (\vartheta _{1}) + \frac{x-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) + \int _{\vartheta _{1}}^{\vartheta _{2}} G(x, s) \Phi ^{\prime \prime }(s) \,ds, $$
(2)

where \(G(x, s)\) is defined in (1).

Consider the following set:

$$ \Omega := \biggl\{ \mathbf{q} \Big| \mathbf{q} : \mathbb{T} \rightarrow [0, \infty ), \mathbf{q}(\xi )\geq 0, \int _{a}^{b} \mathbf{q}(\xi ) \Delta \xi = 1 \biggr\} . $$

The following result is given by Ansari et al. [11].

Theorem A

Suppose that \(\Phi : [0, \infty ) \rightarrow \mathbb{R}\) is a convex function on \([\vartheta _{1}, \vartheta _{2}] \subset [0, \infty )\) and \(\vartheta _{1}\leq 1 \leq \vartheta _{2}\). If \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\), then

$$ \int _{a}^{b}\mathbf{q}_{2}(\xi ) \Phi \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr)\Delta \xi \leq \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}). $$
(3)

Motivated by inequality (3), we begin by the following theorem.

Theorem 1

Assume the hypothesis of Theorem A, then (3) is equivalent to the following inequality:

$$ \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr)\Delta \xi \leq \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s), $$
(4)

where \(G(\cdot , s)\) is defined in (1) and \(s \in [\vartheta _{1}, \vartheta _{2}]\). Moreover, if we reverse the inequality in both (3) and (4), then again (3) and (4) are equivalent.

Proof

Let (3) hold. As the function \(G(\cdot , s)\) (\(s \in [\vartheta _{1}, \vartheta _{2}]\)) is convex and continuous, therefore (4) is valid.

Let (4) hold and \(\Phi \in C^{2}([\vartheta _{1}, \vartheta _{2}], \mathbb{R})\). Then by using (2) one can get

$$\begin{aligned}& \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2})- \int _{a}^{b}\mathbf{q}_{2}(\xi ) \Phi \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr)\Delta \xi \\& \quad = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1 }} \biggl[ \Phi (\vartheta _{1}) + \int _{\vartheta _{1}}^{\vartheta _{2}} G( \vartheta _{1}, s) \Phi ^{\prime \prime }(s) \,ds \biggr] \\& \qquad {}+ \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \biggl[\Phi ( \vartheta _{2}) + \int _{\vartheta _{1}}^{\vartheta _{2}} G( \vartheta _{2}, s) \Phi ^{\prime \prime }(s) \,ds \biggr] \\& \qquad {}-\int _{a}^{b}\mathbf{q}_{2}(\xi ) \biggl[ \frac{\vartheta _{2}-\frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}}{\vartheta _{2}-\vartheta _{1}} \Phi (\vartheta _{1}) + \frac{\frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi (\vartheta _{2}) \\& \qquad {}+\int _{\vartheta _{1}}^{\vartheta _{2}} G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Phi ^{ \prime \prime }(s) \,ds \biggr]\Delta \xi . \end{aligned}$$
(5)

Execute Fubini’s theorem with \(\int _{a}^{b} \mathbf{q}_{1}(\xi ) \Delta \xi = \int _{a}^{b} \mathbf{q}_{2}(\xi ) \Delta \xi = 1\) in (5) to obtain

$$\begin{aligned}& \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2})- \int _{a}^{b}\mathbf{q}_{2}(\xi ) \Phi \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr)\Delta \xi \\& \quad = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \int _{ \vartheta _{1}}^{\vartheta _{2}}G(\vartheta _{1}, s) \Phi ^{\prime \prime }(s)\,ds + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \int _{\vartheta _{1}}^{\vartheta _{2}} G(\vartheta _{2}, s) \Phi ^{ \prime \prime }(s) \,ds \\& \qquad {} - \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{\prime \prime }(s) \biggl[ \int _{a}^{b} \mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr)\Delta \xi \biggr]\,ds. \end{aligned}$$

If Φ is convex, then \(\Phi ^{\prime \prime }(s)\geq 0\) for all \(s \in [\vartheta _{1}, \vartheta _{2}]\), and thus inequality (3) holds for every convex function \(\Phi \in C^{2}([\vartheta _{1}, \vartheta _{2}],\mathbb{R})\). One can prove the last part of the theorem similarly. □

Remark 1

Assume the hypothesis of Theorem 1, the following two statements are equivalent:

\((l^{\prime }_{1})\):

If \(\Phi \in C([\vartheta _{1}, \vartheta _{2}],\mathbb{R})\) is concave, the inequality in (3) holds in reverse direction.

\((l^{\prime }_{2})\):

For all \(s \in [\vartheta _{1}, \vartheta _{2}]\), the reverse inequality in (4) holds.

In addition, if we reverse the inequality in both statements \((l^{\prime }_{1})\) and \((c^{\prime }_{2})\), then again \((l^{\prime }_{1})\) and \((l^{\prime }_{2})\) are equivalent.

Theorem 2

Assume the hypothesis of Theorem 1and define the functional involving Csiszár divergence:

$$ \mathfrak{J}_{1}(\Phi ) = \textstyle\begin{cases} \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2})-\int _{a}^{b}\mathbf{q}_{2}(\xi )\Phi ( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} )\Delta \xi \\ \quad \textit{if the inequality in } (4)\textit{ holds for all } s \in [\vartheta _{1}, \vartheta _{2}], \\ \int _{a}^{b}\mathbf{q}_{2}(\xi )\Phi ( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} )\Delta \xi - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) \\ \quad \textit{for all } s \in [\vartheta _{1}, \vartheta _{2}], \textit{if the reverse inequality in }(4)\textit{ holds}. \end{cases} $$
(6)

Remark 2

Assume the hypothesis of Theorem 2 with Φ is convex and continuous, then \(\mathfrak{J}_{1}(\Phi ) \geq 0\).

4 Generalization of an inequality containing Csiszár divergence by Taylor’s formula

Let us begin by defining the real-valued function

$$ (s - t)_{+} = \textstyle\begin{cases} s - t, & t\leq s, \\ 0, & t > s. \end{cases} $$
(7)

In [6], Taylor’s formula is given as follows:

Assume \(n \in \mathbb{Z}^{+}\) and \(h : [a, b] \rightarrow \mathbb{R}\) is such that \(h^{(n-1)}\) is absolutely continuous, then Taylor’s formula at the point \(c \in [a, b]\) is

$$ h(s) = T_{n-1}(h;c,s) + R_{n-1}(h;c,s)\quad \text{for all } s \in [a, b], $$
(8)

where the degree of Taylor polynomial \(T_{n-1}(h;c,x)\) is \(n-1\), i.e.,

$$ T_{n-1}(h;c,s) = \sum_{k=0}^{n-1} \frac{h^{k}(c)}{k!}(s-c)^{k}, $$

and \(R_{n-1}(h;c,s)\) is defined as

$$ R_{n-1}(h;c,s) = \frac{1}{(n-1)!} \int _{c}^{s} h^{n}(t) (s-t)^{n-1}\,dt. $$

Use Taylor’s formula at the endpoints to obtain

$$\begin{aligned}& h(s) = \sum_{k=0}^{n-1} \frac{h^{k}(a)}{k!}(s-a)^{k} + \frac{1}{(n-1)!} \int _{a}^{b} h^{n}(t) (s-t)^{n-1}_{+}\,dt, \end{aligned}$$
(9)
$$\begin{aligned}& h(s) = \sum_{k=0}^{n-1} \frac{h^{k}(b)}{k!}(b-s)^{k}(-1)^{k} - \frac{1}{(n-1)!} \int _{a}^{b} (-1)^{n-1}h^{n}(t) (t-s)^{n-1}_{+}\,dt. \end{aligned}$$
(10)

We establish the following identities by using (9) and (10).

Theorem 3

Assume \(n \in \mathbb{Z}^{+}\) and the function \(\Phi : [\vartheta _{1}, \vartheta _{2}] \rightarrow \mathbb{R}\) with \(\Phi ^{(n-1)}\) is absolutely continuous and \(\vartheta _{1}\leq 1 \leq \vartheta _{2}\). If \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\), then

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds \\ &{}+\frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{t}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$
(11)

where

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G(\vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Delta \xi $$
(12)

and

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{\vartheta _{1}}^{t} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$
(13)

where \(\mathfrak{J}_{1}(G(\cdot , s))\) is given in (12).

Proof

Use (2) in (6) and the linearity of \(\mathfrak{J}_{1}(\cdot )\) to obtain

$$ \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) = \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr)\Phi ^{\prime \prime }(s)\,ds. $$
(14)

On the function Φ, apply Taylor’s formula (8) at the point \(\vartheta _{1}\) and replace n with \(n-2\) (\(n \geq 3\)) or take the second derivative of (8) with \(c = \vartheta _{1}\) to obtain

$$ \Phi ^{\prime \prime }(s) = \sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} + \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{s} \Phi ^{(n)}(t) (s-t)_{+}^{n-3}\,dt, $$
(15)

and for \(c = \vartheta _{2}\) one gets

$$ \Phi ^{\prime \prime }(s) = \sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} + \frac{1}{(n-3)!} \int _{s}^{\vartheta _{2}} \Phi ^{(n)}(t) (s-t)_{+}^{n-3}\,dt. $$
(16)

Use (15) in (14) to obtain

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!} \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-\vartheta _{1})_{+}^{u-2}\,ds \\ &{}+\frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \int _{\vartheta _{1}}^{s} \Phi ^{(n)}(t) (s-t)_{+}^{n-3}\,dt \,ds. \end{aligned}$$
(17)

Utilize Fubini’s theorem on the final term of (17) to obtain (11). Furthermore, use (16) in (14) and execute Fubini’s theorem to get (13). □

Corollary 1

Choose \(\mathbb{T} = \mathbb{R}\) in Theorem 3to get the following new identities:

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (\cdot ) \bigr) =& \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{t}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where

$$ \mathfrak{J}_{1}\bigl(\Phi (\cdot )\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) - \int _{a}^{b} \mathbf{q}_{2}(\xi ) \Phi \biggl[ \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr]\,d\xi $$
(18)

and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G(\vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi . $$
(19)

Also

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (\cdot ) \bigr) =& \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}} \Phi ^{(n)}(t) \biggl( \int _{\vartheta _{1}}^{t} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where \(\mathfrak{J}_{1}(\Phi (\cdot ))\) and \(\mathfrak{J}_{1}(G(\cdot , s))\) are given in (18) and (19) respectively.

Corollary 2

Put \(\mathbb{T} = h\mathbb{Z}\) (\(h>0\)) in Theorem 3to obtain the following new identities in h-discrete calculus:

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (\cdot ) \bigr) =& \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{t}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where

$$\begin{aligned}& \mathfrak{J}_{1}\bigl(\Phi (\cdot )\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}\Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h \Phi \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)} \biggr), \end{aligned}$$
(20)
$$\begin{aligned}& \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G(\vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl( \frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \end{aligned}$$
(21)

and

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}} \Phi ^{(n)}(t) \biggl( \int _{\vartheta _{1}}^{t} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where \(\mathfrak{J}_{1}(\Phi (\cdot ))\) and \(\mathfrak{J}_{1}(G(\cdot , s))\) are given in (20) and (21) respectively.

Remark 3

Choose \(h = 1\) in Example 2. Suppose that \(a = 0\), \(b = n\), \(\mathbf{q}_{1}(j) = (\mathbf{q}_{1})_{j}\) and \(\mathbf{q}_{2}(j) = (\mathbf{q}_{2})_{j}\) to get the following new identities in the discrete case:

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (\cdot ) \bigr) =& \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{t}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where

$$ \mathfrak{J}_{1}\bigl(\Phi (\cdot )\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}\Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) - \sum_{j = 1}^{n} (\mathbf{q}_{2})_{j} \Phi \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}} \biggr) $$
(22)

and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G(\vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \sum_{j = 1}^{n} (\mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr). $$
(23)

Also

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}} \Phi ^{(n)}(t) \biggl( \int _{\vartheta _{1}}^{t} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where \(\mathfrak{J}_{1}(\Phi (\cdot ))\) and \(\mathfrak{J}_{1}(G(\cdot , s))\) are given in (22) and (23) respectively.

Corollary 3

Let \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m < n\) to get the following new identities in q-calculus:

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (\cdot ) \bigr) =& \int _{\vartheta _{1}}^{ \vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}}\Phi ^{(n)}(t) \biggl( \int _{t}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where

$$\begin{aligned}& \mathfrak{J}_{1}\bigl(\Phi (\cdot )\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}\Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2}) - \sum_{j=m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) \Phi \biggl(\frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})} \biggr), \end{aligned}$$
(24)
$$\begin{aligned}& \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G(\vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \sum_{j=m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr)G \biggl(\frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \end{aligned}$$
(25)

and

$$\begin{aligned} \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) =& \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds \\ &{}+ \frac{1}{(n-3)!} \int _{\vartheta _{1}}^{\vartheta _{2}} \Phi ^{(n)}(t) \biggl( \int _{\vartheta _{1}}^{t} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \biggr) \,dt, \end{aligned}$$

where \(\mathfrak{J}_{1}(\Phi (\cdot ))\) and \(\mathfrak{J}_{1}(G(\cdot , s))\) are given in (24) and (25) respectively.

Theorem 4

Assume the hypothesis of Theorem 3. Also suppose that Φ is an n-convex function with \(\Phi ^{(n-1)}\) is absolutely continuous. If

$$ \int _{s}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \geq 0,\quad t \in [ \vartheta _{1}, \vartheta _{2}], $$
(26)

then

$$ \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) \geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s-\vartheta _{1})_{+}^{u-2} \Biggr)\,ds $$
(27)

holds, and if

$$ \int _{\vartheta _{1}}^{s} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) (s-t)_{+}^{n-3}\,ds \leq 0,\quad t \in [ \vartheta _{1}, \vartheta _{2}], $$
(28)

then

$$ \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) \geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s-\vartheta _{2})_{+}^{u-2} \Biggr)\,ds $$
(29)

holds.

Proof

Since \(\Phi ^{(n-1)}\) is absolutely continuous on \([\vartheta _{1}, \vartheta _{2}]\), \(\Phi ^{(n)}\) exists almost everywhere. Given that Φ is n-convex, for all \(x \in [\vartheta _{1}, \vartheta _{2}]\), we have \(\Phi ^{(n)}(x)\geq 0\) (see [43, p. 16]). Use Theorem 3 to get (27) and (29) respectively. □

The next result is an instant significance of Theorem 4 as \(\mathfrak{J}_{1}(\Phi ) \geq 0\).

Corollary 4

Under the assumptions of Theorem 3with \(\mathbf{q} \in C([a, b]_{\mathbb{T}}, \mathbb{R})\) positive such that \(\int _{a}^{b}\mathbf{q}(t)\Delta t = 1\). Then

  1. (i)

    If Φ is an n-convex function (\(n\geq 3\)), then (27) holds for \(n \in \{3, \ldots \}\). Further, if

    $$ \sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{1})}{(u-2)!}(s- \vartheta _{1})_{+}^{u-2} \geq 0, $$

    then

    $$ \mathfrak{J}_{1}\bigl(\Phi (x)\bigr) \geq 0 $$
    (30)

    holds.

  2. (ii)

    For even n, (29) is valid. In addition, if

    $$ \sum_{u=2}^{n-1} \frac{\Phi ^{(u)}(\vartheta _{2})}{(u-2)!}(s- \vartheta _{2})_{+}^{u-2} \geq 0, $$

    then (30) is valid too.

Remark 4

It is also possible to compute Grüss, Cebyšev, and Ostrowski type bounds corresponding to following functional:

$$ \mathfrak{J}_{1}(\Phi ) := \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \Phi ( \vartheta _{2})- \int _{a}^{b}\mathbf{q}_{2}(\xi ) \Phi \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr)\Delta \xi . $$

5 Applications to information theory

Shannon entropy is the fundamental term in information theory, and it is often dealt with measure of uncertainty. The random variable, entropy, is characterized regarding its probability distribution, and it can appear as a better measure of uncertainty or predictability. Shannon entropy allows the estimation of the normal least number of bits essential to encode a string of symbols based on alphabet size and frequency of symbols.

5.1 Differential entropy on time scales

On time scale, Ansari et al. [10] introduced the differential entropy which is given as

$$ h_{\bar{b}}(X) := \int _{a}^{b} \mathbf{q}(\xi ) \log \frac{1}{\mathbf{q}(\xi )}\Delta \xi , $$
(31)

where \(\bar{b}>1\) and X is a continuous random variable and q is a positive density function on \(\mathbb{T}\) to X such that \(\int _{a}^{b} \mathbf{q}(\xi )\Delta \xi = 1\), whenever the integral exists.

Theorem 5

Let X be a continuous random variable and \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\). If n is odd (\(n = 3, 5,\ldots \)), then

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u}} \Biggr)\,ds $$
(32)

and

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u}} \Biggr)\,ds, $$
(33)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \log \vartheta _{1} + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \log \vartheta _{2} - \int _{a}^{b}\mathbf{q}_{2}(\xi ) \log \mathbf{q}_{1}( \xi )\Delta \xi - \tilde{h}_{\bar{b}}(X) $$

and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Delta \xi . $$

Proof

Since the Green’s function \(G(\cdot , s)\) given in (1) is convex, by using Remark 2, \(\mathfrak{J}_{1}G(\cdot , s)\geq 0\) and \((s - t)_{+}^{n-3}\geq 0\) for \(n = 3, 5, \ldots \) . The function \(\Phi (x) := \log x\) is n-convex for \(n = 3, 5, \ldots \) . Use \(\Phi (x) = \log x \) in Theorem 4, then (27) and (29) become (32) and (33), respectively, where

$$ \tilde{h}_{\bar{b}}(X) = \int _{a}^{b}\mathbf{q}_{2}(\xi ) \log \frac{1}{\mathbf{q}_{2}(\xi )}\Delta \xi . $$

 □

Example 1

Choose \(\mathbb{T} = \mathbb{R}\), in Theorem 5, inequalities(32) and (33) take the following form, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u}} \Biggr)\,ds \end{aligned}$$
(34)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u}} \Biggr)\,ds, \end{aligned}$$
(35)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \log \vartheta _{1} + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \log \vartheta _{2} - \int _{a}^{b}\mathbf{q}_{2}(\xi ) \log \mathbf{q}_{1}( \xi ) \,d\xi - \tilde{h}_{\bar{b}}(X) $$

and

$$ \tilde{h}_{\bar{b}}(X) := \int _{a}^{b} \mathbf{q}_{2}(\xi ) \log \frac{1}{\mathbf{q}_{2}(\xi )} \,d\xi . $$

Example 2

Choose \(\mathbb{T} = h\mathbb{Z}\), \(h > 0\) in Theorem 5, inequalities (32) and (33) take the following form in h-discrete calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u}} \Biggr)\,ds \end{aligned}$$
(36)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u}} \Biggr)\,ds, \end{aligned}$$
(37)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \bigl(-\log ( \vartheta _{1})\bigr) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \bigl(-\log ( \vartheta _{2})\bigr) + \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h \log \bigl[\mathbf{q}_{1}(jh)h \bigr] + \tilde{S} $$

and

$$ \tilde{S} := \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h \log \frac{1}{\mathbf{q}_{2}(jh)h}. $$

Remark 5

Choose \(h = 1\) in Example 2. Suppose that \(a = 0\), \(b = n\), \(\mathbf{q}_{1}(j) = (\mathbf{q}_{1})_{j}\), and \(\mathbf{q}_{2}(j) = (\mathbf{q}_{2})_{j}\) to get the following new forms of inequalities (32) and (33), respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u}} \Biggr)\,ds \end{aligned}$$
(38)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u}} \Biggr)\,ds, \end{aligned}$$
(39)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \bigl(\log ( \vartheta _{1})\bigr) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \bigl(\log ( \vartheta _{2})\bigr) - \sum_{j = 1}^{n} (\mathbf{q}_{2})_{j} \log ( \mathbf{q}_{1})_{j} - S $$

and

$$ S := \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} \log \frac{1}{(\mathbf{q}_{2})_{j}} $$

is discrete Shannon entropy.

Example 3

Let \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m < n\), inequalities (32) and (33) take the following form in quantum calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u}} \Biggr)\,ds \end{aligned}$$
(40)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(u-1)(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u}} \Biggr)\,ds, \end{aligned}$$
(41)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \log ( \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \log ( \vartheta _{2}) - \sum_{j = m}^{n - 1} q^{j+1} \mathbf{q}_{2}\bigl(q^{j}\bigr) \log \bigl[ \mathbf{q}_{1}\bigl(q^{j}\bigr)\bigr] - S_{q} $$

and

$$ S_{q} := \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) \log \frac{1}{\mathbf{q}_{2}(q^{j})}. $$

5.2 Kullback–Leibler divergence

Ansari et al. [11] defined the Kullback–Leibler divergence on time scale by

$$ D(\mathbf{q}_{1}, \mathbf{q}_{2}) = \int _{a}^{b} \mathbf{q}_{1}(\xi ) \ln \biggl[\frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr] \Delta \xi . $$
(42)

Theorem 6

Let X be a continuous random variable and \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\). If n is odd (\(n = 3, 5,\ldots \)), then

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u-1}} \Biggr)\,ds $$
(43)

and

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u-1}} \Biggr)\,ds, $$
(44)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (-\vartheta _{1} \ln \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (- \vartheta _{2} \ln \vartheta _{2}) + D( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Delta \xi , $$

where \(D(\mathbf{q}_{1}, \mathbf{q}_{2})\) given in (42).

Proof

The function \(\Phi (x) := -x \ln x\) is n-convex for \(n = 3, 5, \ldots \) . Use \(\Phi (x) = -x \ln x \) and observe the analogous method as in the proof of Theorem 5 to obtain (43) and (44). □

Example 4

Choose \(\mathbb{T} = \mathbb{R}\) in Theorem 6, inequalities(43) and (44) take the following form, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u-1}} \Biggr)\,ds \end{aligned}$$
(45)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u-1}} \Biggr)\,ds, \end{aligned}$$
(46)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (-\vartheta _{1} \ln \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (- \vartheta _{2} \ln \vartheta _{2}) + D_{\mathrm{KL}}( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ D_{\mathrm{KL}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \int _{a}^{b} \mathbf{q}_{1}( \xi ) \ln \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \,d\xi . $$

Example 5

Choose \(\mathbb{T} = h\mathbb{Z}\) (\(h>1\)) in Theorem 6, inequalities (43) and (44) take the following form in h-discrete calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u-1}} \Biggr)\,ds \end{aligned}$$
(47)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u-1}} \Biggr)\,ds, \end{aligned}$$
(48)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (-\vartheta _{1} \ln \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (- \vartheta _{2} \ln \vartheta _{2}) + \tilde{D}_{\mathrm{KL}}(\mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \tilde{D}_{\mathrm{KL}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j= \frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{1}(jh)h \ln \frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}. $$

Remark 6

Choose \(h = 1\) in Example 5. Suppose that \(a = 0\), \(b = n\), \(\mathbf{q}_{1}(j) = (\mathbf{q}_{1})_{j}\), and \(\mathbf{q}_{2}(j) = (\mathbf{q}_{2})_{j}\) to get the following new forms of inequalities (43) and (44), respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u-1}} \Biggr)\,ds \end{aligned}$$
(49)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u-1}} \Biggr)\,ds, \end{aligned}$$
(50)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (-\vartheta _{1} \ln \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (- \vartheta _{2} \ln \vartheta _{2}) + \mathrm{KL}( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \mathrm{KL}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum _{j = 1}^{n} (\mathbf{q}_{1})_{j} \ln \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}} $$

is discrete Kullback–Leibler divergence.

Example 6

Choose \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m < n\), inequalities (43) and (44) take the following form in q-calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{1})_{+}^{u-2}}{\vartheta _{1}^{u-1}} \Biggr)\,ds \end{aligned}$$
(51)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1} \frac{(-1)^{u-1}(s-\vartheta _{2})_{+}^{u-2}}{\vartheta _{2}^{u-1}} \Biggr)\,ds, \end{aligned}$$
(52)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (-\vartheta _{1} \ln \vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (- \vartheta _{2} \ln \vartheta _{2}) + \mathrm{KL}_{q}(\mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \mathrm{KL}_{q}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j = m}^{n - 1} q^{j+1} \mathbf{q}_{1}\bigl(q^{j}\bigr) \ln \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}. $$

5.3 Jeffreys distance

Ansari et al. [11] defined the Jeffreys distance on time scale by

$$ D_{J}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \int _{a}^{b} \bigl(\mathbf{q}_{1}( \xi ) - \mathbf{q}_{2}(\xi )\bigr) \ln \biggl[ \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \biggr]\Delta \xi . $$
(53)

Theorem 7

Let X be a continuous random variable and \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\). If n is odd (\(n = 3, 5,\ldots \)), then

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{1}^{u-1}} + \frac{u-1}{\vartheta _{1}^{u}} \biggr] \Biggr)\,ds $$
(54)

and

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{2}^{u-1}} + \frac{u-1}{\vartheta _{2}^{u}} \biggr] \Biggr)\,ds, $$
(55)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (1-\vartheta _{1}) \ln \vartheta _{1} + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (1- \vartheta _{2}) \ln \vartheta _{2} + D_{J}( \mathbf{q}_{1}, \mathbf{q}_{2}), $$

\(D_{J}(\mathbf{q}_{1}, \mathbf{q}_{2})\) is defined in (53), and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Delta \xi . $$

Proof

The function \(\Phi (x) := (1-x)\ln x\) is n-convex for \(n = 3, 5, \ldots \) . Use \(\Phi (x) = (1-x)\ln x \) and observe the analogous method like in the proof of Theorem 5 to obtain (54) and (55). □

Example 7

Choose \(\mathbb{T} = \mathbb{R}\), in Theorem 7, inequalities (54) and (55) take the following form, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{1}^{u-1}} + \frac{u-1}{\vartheta _{1}^{u}} \biggr] \Biggr)\,ds \end{aligned}$$
(56)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{2}^{u-1}} + \frac{u-1}{\vartheta _{2}^{u}} \biggr] \Biggr)\,ds, \end{aligned}$$
(57)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (1-\vartheta _{1}) \ln \vartheta _{1} + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (1- \vartheta _{2}) \ln \vartheta _{2} + D_{Ja}( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ D_{Ja}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \int _{a}^{b} \bigl[ \mathbf{q}_{1}( \xi )-\mathbf{q}_{2}(\xi ) \bigr] \ln \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \,d\xi . $$

Example 8

Choose \(\mathbb{T} = h\mathbb{Z}\) (\(h>1\)) in Theorem 7, inequalities (54) and (55) take the following form in h-discrete calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{1}^{u-1}} + \frac{u-1}{\vartheta _{1}^{u}} \biggr] \Biggr)\,ds \end{aligned}$$
(58)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{2}^{u-1}} + \frac{u-1}{\vartheta _{2}^{u}} \biggr] \Biggr)\,ds, \end{aligned}$$
(59)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (1-\vartheta _{1}) \ln (\vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (1- \vartheta _{2}) \ln (\vartheta _{2}) + \tilde{D}_{J_{a}}(\mathbf{q}_{1}, \mathbf{q}_{2}), $$

and

$$ \tilde{D}_{J_{a}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j= \frac{a}{h}}^{\frac{b}{h} - 1} ( \mathbf{q}_{1}- \mathbf{q}_{2}) (jh)h \ln \frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}. $$

Remark 7

Put \(h = 1\) in Example 8. Suppose that \(a = 0\), \(b = n\), \(\mathbf{q}_{1}(j) = (\mathbf{q}_{1})_{j}\), and \(\mathbf{q}_{2}(j) = (\mathbf{q}_{2})_{j}\) to get the following new forms of inequalities (54) and (55), respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{1}^{u-1}} + \frac{u-1}{\vartheta _{1}^{u}} \biggr] \Biggr)\,ds \end{aligned}$$
(60)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{2}^{u-1}} + \frac{u-1}{\vartheta _{2}^{u}} \biggr] \Biggr)\,ds, \end{aligned}$$
(61)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (1-\vartheta _{1}) \ln (\vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (1- \vartheta _{2}) \ln (\vartheta _{2}) + J_{a}(\mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ J_{a}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j = 1}^{n} ( \mathbf{q}_{1} - \mathbf{q}_{2})_{j} \ln \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}} $$

is discrete Jeffreys distance.

Example 9

Choose \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m < n\), inequalities (54) and (55) take the following form in q-calculus:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{1}^{u-1}} + \frac{u-1}{\vartheta _{1}^{u}} \biggr] \Biggr)\,ds \end{aligned}$$
(62)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \biggl[ \frac{1}{\vartheta _{2}^{u-1}} + \frac{u-1}{\vartheta _{2}^{u}} \biggr] \Biggr)\,ds, \end{aligned}$$
(63)

where

$$ \mathfrak{J}_{1}(\cdot ) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} (1-\vartheta _{1}) \ln (\vartheta _{1}) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} (1- \vartheta _{1}) \ln (\vartheta _{2}) + D_{J_{q}}(\mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ D_{J_{q}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j = m}^{n - 1} q^{j+1}\bigl[ \mathbf{q}_{1}\bigl(q^{j}\bigr)-\mathbf{q}_{2} \bigl(q^{j}\bigr)\bigr] \ln \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}. $$

5.4 Triangular discrimination

Ansari et al. [11] defined the triangular discrimination on time scales by

$$ D_{\Delta }(\mathbf{q}_{1}, \mathbf{q}_{2}) = \int _{a}^{b} \frac{[\mathbf{q}_{2}(\xi ) - \mathbf{q}_{1}(\xi )]^{2}}{\mathbf{q}_{2}(\xi ) + \mathbf{q}_{1}(\xi )} \Delta \xi . $$
(64)

Theorem 8

Let X be a continuous random variable and \(\mathbf{q}_{1}, \mathbf{q}_{2} \in \Omega \) with \(\vartheta _{1}\leq \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )} \leq \vartheta _{2}\) for all \(\xi \in \mathbb{T}\). If n is odd (\(n = 3, 5,\ldots \)), then

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{1})^{u+1}} \Biggr)\,ds $$
(65)

and

$$ \mathfrak{J}_{1}(\cdot )\geq \int _{\vartheta _{1}}^{\vartheta _{2}} \mathfrak{J}_{1} \bigl(G(\cdot , s)\bigr) \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds, $$
(66)

where

$$ \mathfrak{J}_{1}(\cdot ) = - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{1} - 1)^{2}}{\vartheta _{1} + 1} - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{2} - 1)^{2}}{\vartheta _{2} + 1} +D_{\Delta }( \mathbf{q}_{1}, \mathbf{q}_{2}), $$

\(D_{\Delta }(\mathbf{q}_{1}, \mathbf{q}_{2})\) is given in (64), and

$$ \mathfrak{J}_{1}\bigl(G(\cdot , s)\bigr) = \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G( \vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \Delta \xi . $$

Proof

The function \(\Phi (x) := -\frac{(x - 1)^{2}}{x + 1}\) is n-convex for \(n = 3, 5, \ldots \) . Use \(\Phi (x) = -\frac{(x - 1)^{2}}{x + 1}\) and observe the same method like in the proof of Theorem 5 to obtain (65) and (66). □

Example 10

Choose \(\mathbb{T} = \mathbb{R}\) in Theorem 8, inequalities (65) and (66) take the following form, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds \end{aligned}$$
(67)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \int _{a}^{b}\mathbf{q}_{2}(\xi )G \biggl( \frac{\mathbf{q}_{1}(\xi )}{\mathbf{q}_{2}(\xi )}, s \biggr) \,d\xi \biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds, \end{aligned}$$
(68)

where

$$ \mathfrak{J}_{1}(\cdot ) = - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{1} - 1)^{2}}{\vartheta _{1} + 1} - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{2} - 1)^{2}}{\vartheta _{2} + 1} + D_{\Delta _{a}}( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ D_{\Delta _{a}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \int _{a}^{b} \frac{[\mathbf{q}_{2}(\xi )-\mathbf{q}_{1}(\xi )]^{2}}{\mathbf{q}_{1}(\xi ) + \mathbf{q}_{2}(\xi )} \,d\xi $$

is triangular discrimination.

Example 11

Choose \(\mathbb{T} = h\mathbb{Z}\) (\(h>1\)) in Theorem 8, inequalities (65) and (66) take the following form in h-discrete calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{1})^{u+1}} \Biggr)\,ds \end{aligned}$$
(69)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j=\frac{a}{h}}^{\frac{b}{h} - 1} \mathbf{q}_{2}(jh)h G \biggl(\frac{\mathbf{q}_{1}(jh)}{\mathbf{q}_{2}(jh)}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds, \end{aligned}$$
(70)

where

$$ \mathfrak{J}_{1}(\cdot ) = - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{1} - 1)^{2}}{\vartheta _{1} + 1} - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{2} - 1)^{2}}{\vartheta _{2} + 1} + \tilde{D}_{ \Delta _{a}}(\mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \tilde{D}_{\Delta _{a}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j= \frac{a}{h}}^{\frac{b}{h} - 1} \frac{h[\mathbf{q}_{2}(hj)-\mathbf{q}_{1}(hj)]^{2}}{\mathbf{q}_{1}(hj) + \mathbf{q}_{2}(hj)}. $$

Remark 8

Take \(h = 1\) in Example 11 and consider \(a = 0\), \(b = n\), \(\mathbf{q}_{1}(j) = (\mathbf{q}_{1})_{j}\), and \(\mathbf{q}_{2}(j) = (\mathbf{q}_{2})_{j}\) to get the following new forms of inequalities (65) and (66), respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{1})^{u+1}} \Biggr)\,ds \end{aligned}$$
(71)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = 1}^{n} ( \mathbf{q}_{2})_{j} G \biggl( \frac{(\mathbf{q}_{1})_{j}}{(\mathbf{q}_{2})_{j}}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds, \end{aligned}$$
(72)

where

$$ \mathfrak{J}_{1}(\cdot ) = - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{1} - 1)^{2}}{\vartheta _{1} + 1} - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{2} - 1)^{2}}{\vartheta _{2} + 1} + \Delta ( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ \Delta (\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum _{j = 1}^{n} \frac{[(\mathbf{q}_{2})_{j}-(\mathbf{q}_{1})_{j}]^{2}}{(\mathbf{q}_{2})_{j} + (\mathbf{q}_{1})_{j}} $$

is discrete triangular discrimination.

Example 12

Choose \(\mathbb{T} = q^{\mathbb{N}_{0}}\), \(q > 1\), \(a = q^{m}\), and \(b = q^{n}\) with \(m < n\), inequalities (65) and (66) take the following form in q-calculus, respectively:

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{1})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{1})^{u+1}} \Biggr)\,ds \end{aligned}$$
(73)

and

$$\begin{aligned} \mathfrak{J}_{1}(\cdot ) \geq & \int _{\vartheta _{1}}^{\vartheta _{2}} \Biggl[\frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}}G( \vartheta _{1}, s) + \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} G(\vartheta _{2}, s) - \sum_{j = m}^{n - 1} q^{j+1}\mathbf{q}_{2}\bigl(q^{j}\bigr) G \biggl( \frac{\mathbf{q}_{1}(q^{j})}{\mathbf{q}_{2}(q^{j})}, s \biggr) \Biggr] \\ &{}\times \Biggl(\sum_{u=2}^{n-1}4(-1)^{u+1}(s- \vartheta _{2})_{+}^{u-2} \frac{u(u-1)}{(1+\vartheta _{2})^{u+1}} \Biggr)\,ds, \end{aligned}$$
(74)

where

$$ \mathfrak{J}_{1}(\cdot ) = - \frac{\vartheta _{2}-1}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{1} - 1)^{2}}{\vartheta _{1} + 1} - \frac{1-\vartheta _{1}}{\vartheta _{2}-\vartheta _{1}} \frac{(\vartheta _{2} - 1)^{2}}{\vartheta _{2} + 1} + D_{\Delta _{q}}( \mathbf{q}_{1}, \mathbf{q}_{2}) $$

and

$$ D_{\Delta _{q}}(\mathbf{q}_{1}, \mathbf{q}_{2}) := \sum_{j = m}^{n - 1} q^{j+1} \frac{[\mathbf{q}_{2}(q^{j})-\mathbf{q}_{1}(q^{j})]^{2}}{\mathbf{q}_{1}(q^{j}) + \mathbf{q}_{2}(q^{j})}. $$