1. Introduction and Background
A number of inequalities have been widely studied and used in different contexts [
1]. For instance, some integral inequalities involving the Taylor remainder were established in [
2,
3]. Sharp Hermite–Hadamard integral inequalities, sharp Ostrowski inequalities and generalized trapezoid type for Riemann–Stieltjes integrals, as well as a companion of this generalization, were introduced in [
4,
5,
6], respectively. In addition, some authors provided Grüss type inequalities in one and several variables [
7,
8,
9]. Specifically, Grüss type inequalities with multiple points for derivatives bounded by functions on time scales, Ostrowski–Grüss type inequalities of the Chebyshev functional with an application to one-point integrals, and Grüss type inequalities for vector-valued functions, were analyzed in [
10,
11,
12], respectively. In [
13], it was proved that an endpoint Kato–Ponce inequality holds and presented endpoint approximations for variants of this inequality.
In 1938, Ostrowski [
14] established an interesting inequality for differentiable functions with bounded derivatives as follows. Let
I be an interval and
be a differentiable function on
such that
, for
and
, where
denotes the interior of
I,
is the derivative of
f, and
stands for an integrable function on
. If
, then the inequality
holds for all
. The constant
defined in (
1) is the best possible in the sense that it cannot be replaced by a smaller value. This inequality has been rewritten for arbitrary two-points in [
15] and then generalized in [
16]. For recent results and extensions concerning the Ostrowski inequality, we refer the reader to the comprehensive book [
17] and the recent survey [
18].
The celebrated Hayashi inequality [
19] (see also [
1], pp. 311–312), which is presented in the following theorem, is one of the most important inequalities that has been utilized to develop some Ostrowski type inequalities.
Theorem 1. Let be a nonincreasing function on and an integrable function on , with , for all . Then, the inequalityholds, where and B is a positive real constant. The Hayashi inequality is a generalization of the Steffensen inequality [
20], which holds under the same conditions with
in the expression given in (
2). To observe the importance and applications of the Hayashi inequality, the expression stated in (
2) was used to prove three Ostrowski type inequalities as presented in the following theorem.
Theorem 2. Let be an absolutely continuous function on , with , and being integrable on . Then, we have that:
- (i)
for all , with the equality with respect to (3) being satisfied when , for ; - (ii)
for all ; and - (iii)
for all , where .
Same versions of the inequalities given in (
3)–(
5) for general absolutely continuous functions
on
, with
, were proved. Note that the upper bounds of the inequalities stated in (
3)–(
5) are better than the same inequalities presented in the literature [
6,
21,
22,
23,
24,
25]. In [
26], it was proved a generalized Ostrowski inequality for differentiable functions defined on an interval
expressed as
for all
and
, with
.
In [
27], the following perturbed version of the inequality stated in (
6), for differentiable functions satisfying
, for all
, was proved:
for
. The best constant of the inequality given in (
6) is
occurring when
. However, this constant becomes
if one employs the inequality defined in (
7), which means that inequality presented in (
7) is better than the inequality expressed in (
6). For more information about the above inequalities, the reader is referred to [
22,
27,
28,
29] and the references therein.
The objective of this work is to improve the inequalities stated in (
3)–(
7). Then, we obtain better bounds for such inequalities. Our proofs for these inequalities are based on applying the Hayashi inequality formulated in (
2). We give some examples that show these improvements. Hence, an application of this inequality in a probability framework is performed, as well as its role in constructing and improving some old inequalities.
The remainder of this paper is organized as follows. In
Section 2, we provide the main results of this investigation and examples that show the improvements that we obtain.
Section 3 presents applications of our results in a probability setting. We end this paper with brief conclusions about our study in
Section 4.
2. Main Results
We begin with a generalization of the inequality established in (
3) in the following theorem.
Theorem 3. Under the assumptions of Theorem 2, we reachfor all . In particular, if in the inequality given in (8), we getfor all , where . Proof. Fix . Seeking simplicity to reach our proof, we divide it into four steps as follows.
Step 1: Let
and
. Applying the Hayashi inequality stated in (
2), setting
and
, we have
where
Then, substituting Equations (
10)–(
12) in the inequality given in (
9), we generate
Step 2: Let
and
, with
. Employing the inequality presented in (
2) again, we generate
Substituting Equations (
15)–(
17) in the inequality stated in (
14), we arrive at
Step 3: Let
and
, with
. Using the inequality defined in (
2) again, we have
Substituting Equations (
20)–(
22) in the inequality given in (
19), we attain at
Step 4: Let
and
. Using the inequality given in (
2), we obtain
Substituting Equations (
25)–(
27) in the inequality expressed in (
24), we generate
Adding the inequalities formulated in (
13), (
18), (
23) and (
28), we reach an inequality of the form
that is,
. Thus, we arrive at
which gives the first inequality stated in (
8). The second inequality defined below the expression stated in (
8) can be proved by considering the function
. Then,
, so that
, which completes the proof of the theorem. □
A generalization of the inequality given in (
8) is incorporated in the following corollary.
Corollary 1. Let be an absolutely continuous function on , with , and being integrable on . Then, we havefor all . In particular, for , we obtainfor all , where . Proof. It may be established by repeating the proof of Theorem 3, with , for . □
Some cases of the inequality stated in (
29) are deduced in the following remarks.
Remark 1. As noticed, the inequalities presented in (6) and (7) give the best upper bounds when . Therefore, the inequality expressed in (29) improves the upper bound of the inequality established in (6) by , and of the inequality formulated in (7) by , which is better than the Ujević improvement [27]. Remark 2. If we set in the inequality stated in (29), then this inequality is better than the inequality given in (
5).
Remark 3. If we fix in the inequality defined in (29), then we recapture the inequality presented in (4). However, if one chooses , then the inequality formulated in (29) is better than the inequality expressed in (
4).
Remark 4. Let in the inequality established in (29). Then, we reachfor all . In particular, if in the inequality presented in (30), then we arrive atwhere . Thus, the inequality stated in (30) can be re-written for aswhich gives an approximation error for the Gauss–Legendre quadrature rule of 3rd order; that is, It is helpful to remember that the error term of the Gauss–Legendre quadrature rule involves a 5th degree derivative, so that this rule can precisely integrate polynomials of 5th degree. However, if the 5th derivative of a given function is either unbounded or does not exist, then we cannot apply it. Using our most recent approximations, we can apply the Gauss–Legendre quadrature of 3rd order to continuous differentiable functions (that is, with only a first bounded derivative) and an absolute error less than , where . This is an elegant advantage of our result.
Example 1. Let , for . Clearly, does not exist (since the 5th derivative is unbounded). Thus, we cannot apply the Gauss–Legendre quadrature of 3rd order. However, as noted in Remark 4, one can find , and then Note that the exact value of the integral stated in Equation (31) is equal to . Moreover, the absolute error is equal to , which is less than . An improvement of the inequality defined in (
6) can be deduced by applying the Hayashi inequality as presented in the following theorem.
Theorem 4. Under the assumptions of Theorem 3, we havefor all , where , and for all . As a particular case, a Simpson type inequality is deduced once we choose and . Hence, we obtain Proof. Fix . Seeking simplicity to reach our proof, we divide it into four steps as follows.
Step 1: Let
and
. Applying the Hayashi inequality stated in (
2), setting
and
, we reach
where
Moreover, we have
Substituting Equations (
34)–(
36) in the inequality established in (
33), we arrive at
Step 2: Let
and
. Employing the Hayashi inequality expressed in (
2) again, we obtain
Substituting Equations (
39)–(
41) in the inequality given in (
38), we reach
Considering the expressions stated in (
37) and (
42), we obtain
, and
, we attain at
which proves the first inequality given in (
32). To prove the second inequality expressed below the formula stated in (
32), define the mapping
, getting
, so that
, which completes the proof of the theorem. □
Corollary 2. Under the assumptions of Corollary 1, we havewhere and , for all . In a particular case, a Simpson type inequality is deduced once we choose and . Thus, we obtain Proof. It can be established by repeating the proof of Theorem 4, with and . □
Remark 5. Let in the inequality stated in (43). Then, we obtainfor all , where . In a particular case, a Simpson type inequality is deduced once we choose and . Thus, we reachwhich gives an approximation error for the Simpson quadrature rule; that is, Note that the error term of the Simpson quadrature rule involves a 4th degree derivative, so that this rule allows us to integrate polynomials of 4th degree exactly. However, if the 4th degree derivative of a given function is either unbounded or does not exist, then we cannot apply it. Hence, the approximation given in Equation (44) permits us to apply the Simpson quadrature rule for continuous differentiable functions (that is, has a first bounded derivative only) with absolute error less than , where . Note that this is another elegant advantage of our result. Example 2. Let I be a real interval such that . Consider the function , for . Clearly, does not exist (since the 4th degree derivative is unbounded). Thus, we cannot apply the Simpson quadrature rule. However, as noted in Remark 5, one can find that and Note that the exact value of the integral presented in Equation (45) is equal to . Moreover, the absolute error is equal to , which is less than . An improvement of the inequalities presented in (
6) and (
7) is considered in the following theorem.
Theorem 5. Under the assumptions of Theorem 3, we havefor all and , where . Proof. Then, fix . Seeking simplicity to reach our proof, we divide it into four steps as follows.
Step 1: Let
and
. Applying the Hayashi inequality stated in (
2), setting
and
, the inequality given in (
37) holds.
Step 2: Let
and
. Employing the Hayashi inequality expressed in (
2) again, we obtain
Substituting Equations (
48)–(
50) in the inequality given in (
47), we arrive at
Step 3: Let
and
. Assuming the Hayashi inequality defined in (
2) again, we obtain
Substituting Equations (
53)–(
55) in the inequality established in (
52), we have
Considering the inequalities given in (
37), (
51) and (
56), we obtain
which is equivalent to the first inequality stated in (
46). To prove the inequality given below the expression presented in (
46), define the mapping
and then
, so that
, which completes the proof of the theorem. □
A generalization of the inequality considered in (
46) is incorporated in the following corollary.
Corollary 3. Under the assumptions of Theorem 5, we havewhere and , , for all . Proof. It can be obtained by repeating the proof of Theorem 5, with and . □
Remark 6. Clearly, by choosing in the inequality established in (57), the upper bound in this inequality is better than both upper bounds in the inequalities defined in (6) and (7). Remark 7. Let in the inequality formulated in (57). Then, we obtainfor all . In particular, if in the inequality given in (58), we arrive atwhere . The inequality formulated in (59) gives an approximation error for the Gauss–Legendre quadrature rule of 2nd order; that is, Observe that the error term of the Gauss–Legendre quadrature rule involves a 3rd degree derivative, so that this rule enables us to integrate polynomials of 3rd degree exactly. However, if the 3rd derivative of a given function is either unbounded or does not exist, then we cannot apply it. Thus, our last approximation permits us to apply the Gauss–Legendre quadrature rule of 3rd order for continuous differentiable functions (that is, has a first bounded derivative only) with absolute error less than , where . This is another elegant advantage of our result.
Example 3. We consider as given in Example 1. As noted in Remark 7, one can find that and Then, choosing , we obtainwhich is very close to the exact value . Moreover, the absolute error is equal to , which is less than . Observe that this gives a better approximation than Example 1.