1. Introduction
Throughout this paper,
,
stands for the space of the functions
, which are
p-integrable, which means that they are equipped with the
p-norm:
which is finite.
stands for the space of the functions
, which are essentially bounded, i.e., the
∞-norm defined by:
is finite.
Let
be the functions such that
. The Chebyshev functional
is defined by:
Let us recall the Grüss inequality ([
1]):
Theorem 1. Let be bounded integrable functions and constants such that: Then, the following inequality holds:where the constant is sharp. The following theorem recalls the well-known Ostrowski inequality, which was established in 1938 [
2]:
Theorem 2. Let I be an interval in , its interior, and with . If is a differentiable function in satisfying for all and some , then:for all Many researchers have established some new results by using the Grüss and Ostrowski inequalities and given applications to the numerical quadrature rules [
3,
4,
5,
6,
7,
8].
Dragomir and Wang [
3] proved the Ostrowski–Grüss-type inequality in the following form: If
is a differentiable function with a bounded derivative and:
then for
, we have:
Matić, Pečarić, and Ujević [
4] proved the following Ostrowski–Grüss-type inequality: Let
be
n-times differentiable in the interior
of
I, and let
with
If
is integrable on
and:
then for all
,
The remainder
is defined by:
For the special case
, we have:
for all
Cheng [
9] proved the following Ostrowski–Grüss-type inequality: Let
be a differentiable mapping in
such that
, then for all
, we have:
Niezgoda [
10] established the following result:
Theorem 3. Let be a function differentiable in the interior of I, and let . Suppose that () are functions such that:
- (a)
is a constant function;
- (b)
, for all .
Then, for , we have the inequality:where Kovač and Pečarić [
11] gave the general weight
m-point integral formula:
Theorem 4. Let be such that is a continuous function of bounded variation on , for some and some integrable weight function. Then, the following identity holds: Here,
are
w-harmonic sequences of functions (
for
,
):
In the same paper, the authors established the weighted one-point integral formula as a special case:
where
is such that
is an absolutely continuous function,
is a weight function,
:
and:
The aim of our paper was to give the generalization of Niezgoda’s result by using the general weight m-point integral formula. Further, we shall give some applications to the one-point integral formula.
2. Main Result
First, let us denote:
and:
Let us consider the Chebyshev functional for functions
and
:
This section’s objective is to determine the upper bound for (
15). We use the following lemma (see [
10]) to prove our main theorem:
Lemma 1. Let () be a function such that: Then, we have the inequality: Now, we are ready to introduce our main result:
Theorem 5. Let be a function such that is differentiable in the interior of I, and let . Suppose that () are functions such that:
- (a)
is a constant function;
- (b)
, for all
Then, the following inequality holds:where Proof. From the identity (
15), we have:
Let us apply the Sonin identity (see [
2], p. 246). For
,
Now, we apply the Hölder inequality to the identity (
16) to obtain:
Since
is a constant function, we can substitute
, and by Lemma 1, we obtain:
which completes the proof. □
Now, we shall consider the special case where and are constant functions.
Corollary 1. Let be a function such that is differentiable in the interior of I, and let . Suppose that such that for all . Then, the following inequality holds:where Proof. Let
be conjugate exponents, i.e.,
. It is obvious that
. Substituting functions
and
with constant functions
and
in Theorem 5, it is easy to check that Conditions (a) and (b) from Theorem 5 are valid. Consequently, Inequality (
16) holds. For
, we compute:
and for
, we have:
Therefore, for
, the right-hand side of (
16) equals:
while for
, it equals:
□
Remark 1. The hypothesis that the n-th derivative of the function is bounded by two constants and is more general than the hypothesis where the n-th derivative is bounded by the functions and . Therefore, if we assume that the conditions from the Theorem 5 and Corollary 1 are satisfied with:the constant is smaller than the constant for , and , for . Namely, for , we have:while for , we have: 3. Application to the One-Point Integral Formula
In this section, we shall apply the result from
Section 2 to the case
, i.e., when we have the one-point integral formula. First, we consider the general weight case and higher-order derivative.
Corollary 2. Let be a function such that is differentiable in the interior of I, and let . Suppose that () are functions such that:
- (a)
is a constant function;
- (b)
, for all .
Then, the following inequality holds:where and . Proof. We apply Theorem 5 for , , , and to obtain the inequality. □
Now, we shall consider the case of uniform weight function (
). For this case, we have:
and:
Corollary 3. Let be a function such that is differentiable in the interior of I, and let . Suppose that () are functions such that:
- (a)
is a constant function;
- (b)
, for all .
Then, the following inequality holds:where . Remark 2. If we put , , , and in Corollary 3, then we have the assumptions of Theorem 3. In this case:and Inequality (22) states: Without loss of generality, we can assume that . Therefore, for , we have , for , we have , and for , we have . Now, for , we have: For , it is easy to check that: Therefore, it is shown that our main result is the improvement of Niezgoda’s result mentioned in the Introduction.
Corollary 4. Let be a differentiable function with a bounded derivative. Suppose that are functions such that:
- (a)
is a constant function:
- (b)
, for all .
Then, for we have: Proof. The assertion follows if we apply , , and in Corollary 3. □
Remark 3. If we put constant functions and , then we will obtain: This is the Ostrowski–Grüss-type inequality obtained by Dragomir and Wang (3). Therefore, Corollary 4 is the improvement of Dragomir–Wang’s result. Corollary 5. Let be a function differentiable on the interior of and let with . Suppose that are functions such that:
- (a)
is a constant function:
- (b)
, for all .
Then, the following inequality holds: Proof. The assertion follows if we apply , , and in Corollary 3. □
Remark 4. If we put constant functions and , then we will obtain: This is the Ostrowski–Grüss-type inequality obtained by Matić, Pečarić, and Ujević [4], so Corollary 5 is the improvement of Matić, Pečarić, and Ujević’s result. Corollary 6. Let be a differentiable function in . Suppose that are functions such that :
- (a)
is a constant function;
- (b)
, for all .
Then, for all , we have: Proof. The assertion follows if we apply , , and in Corollary 3. □
Remark 5. If we put constant functions and , then we will obtain: This is the Ostrowski–Grüss-type inequality obtained by Cheng [9]. Therefore, Corollary 6 is the improvement of Cheng’s result. Especially, for
, we have:
Now, we give the special case of the upper inequality related to the corrected midpoint quadrature formula (corrected in the sense that we have derivatives in endpoints):
Corollary 7. Let be a function such that is differentiable in the interior of I, and let . Suppose that () are functions such that:
- (a)
is a constant function;
- (b)
, for all .
Then, the following inequality holds: Proof. We apply Corollary 3 for
and
. It is easy to calculate
and
For
, we have after some integration:
For
, we have:
and the assertion follows. □
Remark 6. For and , we obtain the error of the famous midpoint quadrature rule ([12]).