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 [35]. 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 [35]. Moreover, results investigated [6] were in weighted form instead of previous results [35] 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 [35]. 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

The classical Ostrowski integral inequality ([2] see also [[1], p.468]) in one dimension stipulates a bound between a function evaluated at an interior point x and the average of the function f over an interval. That is,

|f(x) 1 b a a b f(t)dt| [ 1 4 + ( x a + b 2 b a ) 2 ] (ba) f
(1)

for all x[a,b], where f L (a,b) and f:[a,b]R is a differentiable mapping on (a,b).

The constant 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= 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]R be integrable functions such that φf(x)Φ and γg(x)Γ for all x[a,b], where φ, Φ, γ, Γ are constants. Then

(2)

where the constant 1 4 is sharp.

During the past few years, many researchers [710] 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]R be continuous on [a,b] and differentiable on (a,b), and its derivative satisfy the condition γ f (x)Γ for all x[a,b]. Then we have the inequality

(3)

for all x[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]R be continuous on [a,b] and twice differentiable on (a,b), and assume that the second derivative f :(a,b)R satisfies the condition: γ f (x)Γ for all x[a,b].

Then, for all x[a,b], we have the inequality

(4)

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)[0,) to be non-negative and integrable over its entire domain and consider a b w(t)dt<. We denote the moments to be m, M and σ and define them as follows: m(a,b)= a b w(t)dt, M(a,b)= a b tw(t)dt and σ(a,b)= M ( a , b ) m ( a , b ) . We start with the following weighted Grüss inequality [12].

Theorem 4 Let f,g:[a,b]R be two integrable functions such that θf(x)ϕ and γg(x)Γ for all x[a,b], and let ϕ, θ, Γ, γ be constants. Then we have | 1 m ( a , b ) a b w(x)f(x)g(x)dx 1 m ( a , b ) a b w(x)f(x)dx× 1 m ( a , b ) a b w(x)g(x)dx| 1 4 (ϕθ)(Γγ), the constant 1 4 is sharp.

Now, we give our main result.

Theorem 5 Let f:[a,b]R be continuous on [a,b] and differentiable on (a,b) and f L 1 (a,b). Then, for all x[a,b], we have the inequality

(5)

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

f(x)= 1 m ( a , b ) a b P(x,t) f (t)dt+ 1 m ( a , b ) a b f(t)w(t)dt,
(6)

where the weighted Peano kernel, P(,): [ a , b ] 2 R, is given by

P(x,t)={ a t w ( u ) d u , if  t [ a , x ] , b t w ( u ) d u , if  t ( x , b ] , where t[a,b].
(7)

We observe that the mapping P(,):[a,b]R satisfies the estimation

0P(x,t) { x b w ( u ) d u , if  x [ a , a + b 2 ) a x w ( u ) d u , if  x [ a + b 2 , b ] } .
(8)

Consider, f(x)= p ( x , t ) w ( x ) and g(x)= f (x). Applying the weighted Grüss inequality to P ( x , t ) w ( x ) and f (x), we get

(9)

Now, from (7), it can be easily seen that a b P(x,t)=m(a,b)(xσ(a,b)). Thus, (13) gives

(10)

Using (6), the inequality (10) gives

(11)

Further, we observe that

max ( x b w ( u ) d u , a x w ( u ) d u ) = { x b w ( u ) d u , if  x [ a , a + b 2 ) a x w ( u ) d u , if  x [ a + b 2 , b ] } = 1 2 m ( a , b ) + 1 2 | a b sgn ( t x ) w ( t ) d t | .
(12)

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

Corollary 6 Under the assumptions of Theorem 5 and choosing x= a + b 2 , we have the perturbed midpoint inequality

(13)

Proof This follows by inequality (5). □

Corollary 7 Under the assumptions of Theorem 5, we have the perturbed trapezoidal inequality

(14)

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 σ(a,b)= M ( a , b ) m ( a , b ) gives σ(a,b)= a + b 2 . Substituting it into (5) gives

(15)

Note that the interval mean σ(a,b) is simply the midpoint.

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

Putting w(t)=ln 1 t , a=0, b=1, the moment σ(a,b)= M ( a , b ) m ( a , b ) and (5) imply

(16)
(17)

The optimal point σ(0,1)= 1 4 is closer to the origin than the midpoint σ(a,b)= a + b 2 , reflecting the strength of the log singularity.

Jacobi Substituting w(t)= 1 t , a=0, b=1, into the moment σ(a,b)= M ( a , b ) m ( a , b ) gives

σ(0,1)= 0 1 t 1 t d t 0 1 1 t d t = 1 3 .
(18)

Inequality (5) gives |f(x) 1 2 0 1 f(t) 1 t dt(x 1 3 ) f (x)| 1 4 (ϕθ)(1+ 1 2 | 0 1 sgn(tx) 1 t dt|).

The optimal point σ(0,1)= 1 3 is again shifted to the left of the midpoint due to the 1 t singularity at the origin.

Chebyshev Substituting w(t)= 1 1 t 2 , a=1, b=1, into the moment σ(a,b)= M ( a , b ) m ( a , b ) gives σ(1,1)= 1 1 t 1 1 t 2 d t 1 1 1 1 t 2 d t =0.

Hence, the inequality corresponding to the Chebyshev weight is |f(x) 1 m ( a , b ) 1 1 f(t)× 1 1 t 2 dtx f (x)| 1 4 (ϕθ)( π 2 + 1 2 | 1 1 sgn(tx) 1 1 t 2 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[0,). From the moment σ(a,b)= M ( a , b ) m ( a , b ) , we have σ(0,)= 0 t e t d t 0 e t d t =1.

The appropriate inequality is |f(x) 0 f(t) e t dt(x1) f (x)| 1 4 (ϕθ)( 1 2 + 1 2 | 0 sgn(tx) e t 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 σ(,)= t e t 2 d t e t 2 d t =0. The inequality (5) with the Hermite weight function is thus |f(x) 1 π f(t) e t 2 dtx f (x)| 1 4 (ϕθ)( π 2 + 1 2 | sgn(tx) e t 2 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 << x n 1 < x n =b be a division of the interval [a,b], ξ i [ x i , x i + 1 ] (i=1,2,,n1). We have the following quadrature formula.

Theorem 8 Let f:[a,b]R be continuous on [a,b] and differentiable on (a,b), and f :(a,b)R satisfy the condition φ f (x)Φ for all x(a,b). Then we have the following perturbed Riemann type quadrature formula: a b f(t)w(t)dt=A(f, f ,ξ, I n )+R(f, f ,ξ, I n ), where A(f, f ,ξ, I n )= i = 0 n 1 m( x i , x i + 1 )f( ξ i ) i = 0 n 1 m( x i , x i + 1 )(xσ( x i , x i + 1 )) f ( ξ i ) and the remainder satisfies the estimation

R ( f , ξ , I n ) 1 8 ( ϕ θ ) i = 0 n 1 m ( x i , x i + 1 ) × ( m ( x i , x i + 1 ) + x i x i + 1 sgn ( t ξ i ) w ( t ) d t ) ,
(19)

for all ξ i [ x i , x i + 1 ], where h i := x i + 1 x i (i=1,2,,n1).

Proof Apply Theorem 5 to the interval [ x i , x i + 1 ], ξ i [ x i , x i + 1 ], where h i := x i + 1 x i (i=1,2,,n1), to get | x i x i + 1 f(t)w(t)dt+m( x i , x i + 1 )( ξ i σ( x i , x i + 1 )) f ( ξ i )m( x i , x i + 1 )f( ξ i )| 1 8 (ϕθ)m( x i , x i + 1 )(m( x i , x i + 1 )+ x i x i + 1 sgn(t ξ i )w(t)dt).

Summing over i from 0 to n1 and using the generalized triangular inequality, we deduce the desired estimation (19). □

Corollary 9 Under the assumption of Theorem 5, by choosing ξ i = x i + x i + 1 2 in the above theorem, we recapture the midpoint like quadrature formula: x i x i + 1 f(t)w(t)dt= A M (f, f ,ξ, I n )+ R M (f, f ,ξ, I n ), where A M (f, f ,ξ, I n )= i = 0 n 1 m( x i , x i + 1 )f( x i + x i + 1 2 ) i = 0 n 1 m( x i , x i + 1 )( x i + x i + 1 2 )σ( x i , x i + 1 ) f ( x i + x i + 1 2 ), and the remainder term satisfies the estimation R M (f, f ,ξ, I n ) 1 8 (Φφ) i = 0 n 1 (m( x i , x i + 1 )+| x i x i + 1 sgn(t x i + x i + 1 2 )w(t)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 [35]. 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.