# A generalized Ostrowski-Grüss type inequality for bounded differentiable mappings and its applications

- Sabir Hussain
^{1}Email author and - Ather Qayyum
^{2}

**2013**:1

https://doi.org/10.1186/1029-242X-2013-1

© Hussain and Qayyum; licensee Springer 2013

**Received: **11 June 2012

**Accepted: **28 November 2012

**Published: **3 January 2013

## Abstract

In this paper, we establish a generalized Ostrowski-Grüss type inequality for differentiable mappings using the weighted Grüss inequality which is another generalization of inequalities established and discussed by Barnett *et al.* (Inequality theory and applications, pp. 24-30, 2001), S. S. Dragomir and S. Wang (Comput. Math. Appl. 33:15-22, 1997) and A. Rafiq *et al.* (JIPAM. J. Inequal. Pure Appl. Math. 7(4):124, 2006). Perturbed midpoint and trapezoid inequalities are obtained. Some applications in different weights are given. This inequality is extended to account for applications in numerical integration.

### Keywords

Ostrowski inequality Grüss inequality weight function numerical integration## 1 Introduction

Integration with weight functions is used in countless mathematical problems such as approximation theory and spectral analysis, statistical analysis and the theory of distributions. Grüss developed an integral inequality [1] in 1935. In 1938, Ostrowski [2] established an interesting integral inequality associated with differentiable mappings which has powerful applications in numerical integration, probability and optimization theory, stochastic, statistics, information and integral operator theory. During the last few years, many researchers focused their attention on the study and generalizations of the above two inequalities [3–5]. Recently, Qayyum and Hussain [6] established a new inequality using the weighted Peano kernel, which is more generalized as compared to previous inequalities developed and discussed in [3–5]. Moreover, results investigated [6] were in weighted form instead of previous results [3–5] which were in non-weighted form. This approach not only generalized the results of [3], but also gave some other interesting inequalities as special cases. In this paper, we establish another generalization of the Ostrowski-Grüss type inequality using the weighted Grüss inequality for bounded differentiable mappings which generalizes the previous inequalities developed and discussed in [3–5]. Perturbed midpoint and trapezoid inequalities are also obtained. In Section 4, we give some applications in different weights. This inequality is extended to account for applications in numerical integration in Section 5.

## 2 Preliminaries

*x*and the average of the function

*f*over an interval. That is,

for all $x\in [a,b]$, where ${f}^{\mathrm{\prime}}\in {L}_{\mathrm{\infty}}(a,b)$ and $f:[a,b]\to \mathbb{R}$ is a differentiable mapping on $(a,b)$.

The constant $\frac{1}{4}$ is sharp in the sense that it cannot be replaced by a smaller one. We also observe that the tightest bound is obtained at $x=\frac{a+b}{2}$, resulting in the well-known mid-point inequality.

The integral inequality that establishes a connection between the integral of the product of two functions and the product of the integrals is known in the literature as the Grüss inequality. The inequality is as follows.

**Theorem 1**

*Let*$f,g:[a,b]\to \mathbb{R}$

*be integrable functions such that*$\phi \le f(x)\le \mathrm{\Phi}$

*and*$\gamma \le g(x)\le \mathrm{\Gamma}$

*for all*$x\in [a,b]$,

*where*

*φ*, Φ,

*γ*, Γ

*are constants*.

*Then*

*where the constant*$\frac{1}{4}$ *is sharp*.

During the past few years, many researchers [7–10] have given considerable attention to the inequality (1).

In [4], Dragomir and Wang improved the above inequality and proved the following Ostrowski type inequality in terms of the lower and upper bounds of the first derivative.

**Theorem 2**

*Let*$f:[a,b]\to \mathbb{R}$

*be continuous on*$[a,b]$

*and differentiable on*$(a,b)$,

*and its derivative satisfy the condition*$\gamma \le {f}^{\mathrm{\prime}}(x)\le \mathrm{\Gamma}$

*for all*$x\in [a,b]$.

*Then we have the inequality*

*for all* $x\in [a,b]$.

In [3], Barnett *et al.* pointed out a similar result to the above for twice differentiable mappings in terms of the upper and lower bounds of the second derivative.

**Theorem 3** *Let* $f:[a,b]\to \mathbb{R}$ *be continuous on* $[a,b]$ *and twice differentiable on* $(a,b)$, *and assume that the second derivative* ${f}^{\mathrm{\prime}\mathrm{\prime}}:(a,b)\to \mathbb{R}$ *satisfies the condition*: $\gamma \le {f}^{\mathrm{\prime}\mathrm{\prime}}(x)\le \mathrm{\Gamma}$ *for all* $x\in [a,b]$.

In the recent years, some authors (see, for example, [5, 6, 11]) also generalized the above inequality.

## 3 Some new results

We assume the weight function (or density) $w:(a,b)\u27f6[0,\mathrm{\infty})$ to be non-negative and integrable over its entire domain and consider ${\int}_{a}^{b}w(t)\phantom{\rule{0.2em}{0ex}}dt<\mathrm{\infty}$. We denote the moments to be *m*, *M* and *σ* and define them as follows: $m(a,b)={\int}_{a}^{b}w(t)\phantom{\rule{0.2em}{0ex}}dt$, $M(a,b)={\int}_{a}^{b}tw(t)\phantom{\rule{0.2em}{0ex}}dt$ and $\sigma (a,b)=\frac{M(a,b)}{m(a,b)}$. We start with the following weighted Grüss inequality [12].

**Theorem 4** *Let* $f,g:[a,b]\to \mathbb{R}$ *be two integrable functions such that* $\theta \le f(x)\le \varphi $ *and* $\gamma \le g(x)\le \mathrm{\Gamma}$ *for all* $x\in [a,b]$, *and let* *ϕ*, *θ*, Γ, *γ* *be constants*. *Then we have* $|\frac{1}{m(a,b)}{\int}_{a}^{b}w(x)f(x)g(x)\phantom{\rule{0.2em}{0ex}}dx-\frac{1}{m(a,b)}{\int}_{a}^{b}w(x)f(x)\phantom{\rule{0.2em}{0ex}}dx\times \frac{1}{m(a,b)}{\int}_{a}^{b}w(x)g(x)\phantom{\rule{0.2em}{0ex}}dx|\le \frac{1}{4}(\varphi -\theta )(\mathrm{\Gamma}-\gamma )$, *the constant* $\frac{1}{4}$ *is sharp*.

Now, we give our main result.

**Theorem 5**

*Let*$f:[a,b]\to \mathbb{R}$

*be continuous on*$[a,b]$

*and differentiable on*$(a,b)$

*and*${f}^{\mathrm{\prime}}\in {\mathbf{L}}_{1}(a,b)$.

*Then*,

*for all*$x\in [a,b]$,

*we have the inequality*

*Proof*The following weighted integral inequality for all $x\in [a,b]$ is proved in [13].

Using (12) in (11), we get our main result (5). □

**Corollary 6**

*Under the assumptions of Theorem*5

*and choosing*$x=\frac{a+b}{2}$,

*we have the perturbed midpoint inequality*

*Proof* This follows by inequality (5). □

*Proof* Put $x=a$ and $x=b$ in (5) and sum up the obtained inequalities. Using the triangle inequality and dividing by two, we get the required inequality. □

## 4 Some weighted integral inequalities

Integration with weight functions is used in countless mathematical problems. Two main areas are: (i) approximation theory and spectral analysis and (ii) statistical analysis and the theory of distributions. In this section, inequality (5) is evaluated for the more popular weight functions.

**Uniform (Legender)**Substituting $w(t)=1$ into the moment $\sigma (a,b)=\frac{M(a,b)}{m(a,b)}$ gives $\sigma (a,b)=\frac{a+b}{2}$. Substituting it into (5) gives

Note that the interval mean $\sigma (a,b)$ is simply the midpoint.

**Logarithm** This weight is present in many physical problems, the main body of which exhibits some axial symmetry.

The optimal point $\sigma (0,1)=\frac{1}{4}$ is closer to the origin than the midpoint $\sigma (a,b)=\frac{a+b}{2}$, reflecting the strength of the log singularity.

**Jacobi**Substituting $w(t)=\frac{1}{\sqrt{t}}$, $a=0$, $b=1$, into the moment $\sigma (a,b)=\frac{M(a,b)}{m(a,b)}$ gives

Inequality (5) gives $|f(x)-\frac{1}{2}{\int}_{0}^{1}f(t)\frac{1}{\sqrt{t}}\phantom{\rule{0.2em}{0ex}}dt-(x-\frac{1}{3}){f}^{\mathrm{\prime}}(x)|\le \frac{1}{4}(\varphi -\theta )(1+\frac{1}{2}|{\int}_{0}^{1}sgn(t-x)\frac{1}{\sqrt{t}}\phantom{\rule{0.2em}{0ex}}dt|)$.

The optimal point $\sigma (0,1)=\frac{1}{3}$ is again shifted to the left of the midpoint due to the $\frac{1}{\sqrt{t}}$ singularity at the origin.

**Chebyshev** Substituting $w(t)=\frac{1}{\sqrt{1-{t}^{2}}}$, $a=-1$, $b=1$, into the moment $\sigma (a,b)=\frac{M(a,b)}{m(a,b)}$ gives $\sigma (-1,1)=\frac{{\int}_{-1}^{1}t\frac{1}{\sqrt{1-{t}^{2}}}\phantom{\rule{0.2em}{0ex}}dt}{{\int}_{-1}^{1}\frac{1}{\sqrt{1-{t}^{2}}}\phantom{\rule{0.2em}{0ex}}dt}=0$.

Hence, the inequality corresponding to the Chebyshev weight is $|f(x)-\frac{1}{m(a,b)}{\int}_{-1}^{1}f(t)\times \frac{1}{\sqrt{1-{t}^{2}}}\phantom{\rule{0.2em}{0ex}}dt-x{f}^{\mathrm{\prime}}(x)|\le \frac{1}{4}(\varphi -\theta )(\frac{\pi}{2}+\frac{1}{2}|{\int}_{-1}^{1}sgn(t-x)\frac{1}{\sqrt{1-{t}^{2}}}\phantom{\rule{0.2em}{0ex}}dt|)$.

The optimal point is at the midpoint of the interval reflecting the symmetry of the Chebyshev weight over its interval.

**Laguerre** The Laguerre weight $w(t)={e}^{-t}$, is defined for positive values, $t\in [0,\mathrm{\infty})$. From the moment $\sigma (a,b)=\frac{M(a,b)}{m(a,b)}$, we have $\sigma (0,\mathrm{\infty})=\frac{{\int}_{0}^{\mathrm{\infty}}t{e}^{-t}\phantom{\rule{0.2em}{0ex}}dt}{{\int}_{0}^{\mathrm{\infty}}{e}^{-t}\phantom{\rule{0.2em}{0ex}}dt}=1$.

The appropriate inequality is $|f(x)-{\int}_{0}^{\mathrm{\infty}}f(t){e}^{-t}\phantom{\rule{0.2em}{0ex}}dt-(x-1){f}^{\mathrm{\prime}}(x)|\le \frac{1}{4}(\varphi -\theta )(\frac{1}{2}+\frac{1}{2}|{\int}_{0}^{\mathrm{\infty}}sgn(t-x){e}^{-t}\phantom{\rule{0.2em}{0ex}}dt|)$, from which the optimal sample point of $x=1$ may be deduced.

**Hermite** Finally, the Hermite weight is $w(t)={e}^{-{t}^{2}}$ defined over the entire real line $\sigma (-\mathrm{\infty},\mathrm{\infty})=\frac{{\int}_{-\mathrm{\infty}}^{\mathrm{\infty}}t{e}^{-{t}^{2}}\phantom{\rule{0.2em}{0ex}}dt}{{\int}_{-\mathrm{\infty}}^{\mathrm{\infty}}{e}^{-{t}^{2}}\phantom{\rule{0.2em}{0ex}}dt}=0$. The inequality (5) with the Hermite weight function is thus $|f(x)-\frac{1}{\pi}{\int}_{-\mathrm{\infty}}^{\mathrm{\infty}}f(t){e}^{-{t}^{2}}\phantom{\rule{0.2em}{0ex}}dt-x{f}^{\mathrm{\prime}}(x)|\le \frac{1}{4}(\varphi -\theta )(\frac{\pi}{2}+\frac{1}{2}|{\int}_{-\mathrm{\infty}}^{\mathrm{\infty}}sgn(t-x){e}^{-{t}^{2}}\phantom{\rule{0.2em}{0ex}}dt|)$, which results in an optimal sampling point of $x=0$.

## 5 Application in numerical integration

Let ${I}_{n}:a={x}_{0}<{x}_{1}<{x}_{2}<\cdots <{x}_{n-1}<{x}_{n}=b$ be a division of the interval $[a,b],{\xi}_{i}\in [{x}_{i},{x}_{i+1}]$ ($i=1,2,\dots ,n-1$). We have the following quadrature formula.

**Theorem 8**

*Let*$f:[a,b]\to \mathbb{R}$

*be continuous on*$[a,b]$

*and differentiable on*$(a,b)$,

*and*${f}^{\mathrm{\prime}}:(a,b)\to \mathbb{R}$

*satisfy the condition*$\phi \le {f}^{\mathrm{\prime}}(x)\le \mathrm{\Phi}$

*for all*$x\in (a,b)$.

*Then we have the following perturbed Riemann type quadrature formula*: ${\int}_{a}^{b}f(t)w(t)\phantom{\rule{0.2em}{0ex}}dt=A(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})+R(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})$,

*where*$A(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})={\sum}_{i=0}^{n-1}m({x}_{i},{x}_{i+1})f({\xi}_{i})-{\sum}_{i=0}^{n-1}m({x}_{i},{x}_{i+1})(x-\sigma ({x}_{i},{x}_{i+1})){f}^{\mathrm{\prime}}({\xi}_{i})$

*and the remainder satisfies the estimation*

*for all* ${\xi}_{i}\in [{x}_{i},{x}_{i+1}]$, *where* ${h}_{i}:={x}_{i+1}-{x}_{i}$ ($i=1,2,\dots ,n-1$).

*Proof* Apply Theorem 5 to the interval $[{x}_{i},{x}_{i+1}]$, ${\xi}_{i}\in [{x}_{i},{x}_{i+1}]$, where ${h}_{i}:={x}_{i+1}-{x}_{i}$ ($i=1,2,\dots ,n-1$), to get $|{\int}_{{x}_{i}}^{{x}_{i+1}}f(t)w(t)\phantom{\rule{0.2em}{0ex}}dt+m({x}_{i},{x}_{i+1})({\xi}_{i}-\sigma ({x}_{i},{x}_{i+1})){f}^{\mathrm{\prime}}({\xi}_{i})-m({x}_{i},{x}_{i+1})f({\xi}_{i})|\le $ $\frac{1}{8}(\varphi -\theta )m({x}_{i},{x}_{i+1})(m({x}_{i},{x}_{i+1})+{\int}_{{x}_{i}}^{{x}_{i+1}}sgn(t-{\xi}_{i})w(t)\phantom{\rule{0.2em}{0ex}}dt)$.

Summing over *i* from 0 to $n-1$ and using the generalized triangular inequality, we deduce the desired estimation (19). □

**Corollary 9** *Under the assumption of Theorem* 5, *by choosing* ${\xi}_{i}=\frac{{x}_{i}+{x}_{i+1}}{2}$ *in the above theorem*, *we recapture the midpoint like quadrature formula*: ${\int}_{{x}_{i}}^{{x}_{i+1}}f(t)w(t)\phantom{\rule{0.2em}{0ex}}dt={A}_{M}(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})+{R}_{M}(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})$, *where* ${A}_{M}(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})={\sum}_{i=0}^{n-1}m({x}_{i},{x}_{i+1})f(\frac{{x}_{i}+{x}_{i+1}}{2})-{\sum}_{i=0}^{n-1}m({x}_{i},{x}_{i+1})(\frac{{x}_{i}+{x}_{i+1}}{2})-\sigma ({x}_{i},{x}_{i+1}){f}^{\mathrm{\prime}}(\frac{{x}_{i}+{x}_{i+1}}{2})$, *and the remainder term satisfies the estimation* ${R}_{M}(f,{f}^{\mathrm{\prime}},\xi ,{I}_{n})\le \frac{1}{8}(\mathrm{\Phi}-\phi ){\sum}_{i=0}^{n-1}(m({x}_{i},{x}_{i+1})+|{\int}_{{x}_{i}}^{{x}_{i+1}}sgn(t-\frac{{x}_{i}+{x}_{i+1}}{2})w(t)\phantom{\rule{0.2em}{0ex}}dt|)$.

## 6 Conclusion

We established another generalization of the Ostrowski-Grüss type inequality using the weighted Grüss inequality for bounded differentiable mappings which generalizes the previous inequalities developed and discussed in [3–5]. Perturbed midpoint and trapezoid inequalities are also obtained. This inequality is extended to account for applications in different weights and numerical integration. This generalized inequality will be useful for the researchers working in the field of the numerical analysis to solve their problems in engineering and in practical life.

## Declarations

### Acknowledgements

The first author acknowledge the financial support from the Research and Development Center of Colleges and Institute of Royal Commission at Yanbu for this research.

## Authors’ Affiliations

## References

- Mitrinović DS, Pěcarić JE, Fink AM:
*Classical and New Inequalities in Analysis*. Kluwer Academic, Dordrecht; 1993.MATHView ArticleGoogle Scholar - Ostrowski AM: Über die absolutabweichung einer differentiebaren funktion von ihrem integralmittelwert.
*Comment. Math. Helv.*1938, 10: 226–227.MathSciNetView ArticleGoogle Scholar - Barnett NS, Cerone P, Dragomir SS, Roumeliotis J, Sofo A: A survey on Ostrowski type inequalities for twice differentiable mappings and applications. 1. In
*Inequality Theory and Applications*. Nova Publ., Huntington; 2001:24–30.Google Scholar - Dragomir SS, Wang S: An inequality of Ostrowski-Grüss type and its applications to the estimation of error bounds for some special means and for some numerical quadrature rules.
*Comput. Math. Appl.*1997, 33: 15–22.MATHMathSciNetView ArticleGoogle Scholar - Rafiq A, Mir NA, Zafar F: A generalized Ostrowski-Grüss type inequality for twice differentiable mappings and applications. JIPAM. J. Inequal. Pure Appl. Math. 2006., 7(4): Article ID 124Google Scholar
- Qayyum A, Hussain S: A new generalized Ostrowski Grüss type inequality and applications.
*Appl. Math. Lett.*2012, 25: 1875–1880. doi:10.1016/j.aml.2012.02.052 10.1016/j.aml.2012.02.052MATHMathSciNetView ArticleGoogle Scholar - Milovanovic GV, Pĕcairć JE: On a generalization of the inequality of Ostrowski and some related applications.
*Publ. Elektroteh. Fak. Univ. Beogr., Ser. Mat. Fiz.*1976, 544–576: 155–158.Google Scholar - Barnett NS, Cerone P, Dragomir SS, Roumeliotis J, Sofo A: A survey on Ostrowski type inequalities for twice differentiable mappings and applications. 1. In
*Inequality Theory and Applications*. Nova Publ., Huntington; 2001:24–30.Google Scholar - Dragomir, SS, Sofo, A: Trapezoidal type inequalities for n-type differentiable functions. RGMIA, Research Report Collection 8(3), (2005)Google Scholar
- Fink AM: Bounds on the deviation of a function from its averages.
*Czechoslov. Math. J.*1992, 42(117):280–310.MathSciNetGoogle Scholar - Rafiq A, Mir NA, Ahmad F:Weighted Ostrowski type inequality for differentiable mappings whose first derivatives belong to $Lp(a,b)$.
*Gen. Math.*2006, 14(3):91–102.MATHMathSciNetGoogle Scholar - Dragomir SS: Some integral inequalities of Grüss type.
*Indian J. Pure Appl. Math.*2000, 31(4):397–415.MATHMathSciNetGoogle Scholar - Qayyum A: A weighted Ostrowski-Grüss type inequality for twice differentiable mappings and applications.
*Int. J. Math. Comput. Sci. (Print)*2008, 1(8):63–71.MathSciNetGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.