1. Introduction

A function f : I → ℝ is said to be convex function on I if the inequality

f ( α x + ( 1 - α ) y ) α f ( x ) + ( 1 - α ) f ( y ) ,

holds for all x, yI and α ∈ [0,1].

One of the most famous inequality for convex functions is so called Hermite-Hadamard's inequality as follows: Let f : I ⊆ ℝ → ℝ be a convex function defined on the interval I of real numbers and a, bI, with a < b. Then:

f a + b 2 1 b - a a b f ( x ) d x f ( a ) + f ( b ) 2 .
(1.1)

In [1], the following theorem which was obtained by Dragomir and Agarwal contains the Hermite-Hadamard type integral inequality.

Theorem 1. Let f : I° ⊆ ℝ → ℝ be a differentiable mapping on I°, a, bI° with a < b. If |f'| is convex on [a, b], then the following inequality holds:

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u ( b - a ) ( | f ( a ) | + | f ( b ) | ) 8 .
(1.2)

In [2] Kirmaci, Bakula, Özdemir and Pečarić proved the following theorem.

Theorem 2. Let f : I → ℝ, I ⊂ ℝ be a differentiable function on I° such that f'L [a, b], where a, bI, a < b. If |f'|qis concave on [a, b] for some q > 1, then:

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u b - a 4 q - 1 2 q - 1 q - 1 q f a + 3 b 4 + f 3 a + b 4 .
(1.3)

In [3], Kirmaci obtained the following theorem and corollary related to this theorem.

Theorem 3. Let f : I° ⊂ ℝ → ℝ be a differentiable mapping on I°, a, bI° with a < b and let p > 1. If the mapping |f'|pis concave on [a, b], then we have

f ( c a + ( 1 - c ) b ) ( B - A ) + f ( a ) ( 1 - B ) + f ( b ) A - 1 b - a a b f ( x ) d x ( b - a ) K f a T + b ( K - T ) K + M f a N + b ( M - N ) M

where

K = A 2 + ( c - A ) 2 2 , T = A 3 + c 3 3 - A c 2 2 , M = ( B - c ) 2 + ( 1 - B ) 2 2 , N = B 3 + c 3 + 1 3 - ( 1 + c 2 ) B 2 .

Corollary 1. Under the assumptions of Theorem 3 withA=B=c= 1 2 , we have

f ( a ) + f ( b ) 2 - 1 b - a a b f ( x ) d x ( b - a ) 8 f 5 a + b 6 + f a + 5 b 6 .
(1.4)

For recent results and generalizations concerning Hermite-Hadamard's inequality see [1]-[5] and the references given therein.

2. The New Hermite-Hadamard Type Inequalities

In order to prove our main theorems, we first prove the following lemma:

Lemma 1. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I°, where a, bI with a < b. If f'L [a, b], then the following equality holds:

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u = ( x - a ) 2 b - a 0 1 ( t - 1 ) f ( t x + ( 1 - t ) a ) d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) f ( t x + ( 1 - t ) b ) d t .

Proof. We note that

J = ( x - a ) 2 b - a 0 1 ( t - 1 ) f ( t x + ( 1 - t ) a ) d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) f ( t x + ( 1 - t ) b ) d t .

Integrating by parts, we get

J = ( x - a ) 2 b - a ( t - 1 ) f ( t x + ( 1 - t ) a ) x - a 0 1 - 0 1 f ( t x + ( 1 - t ) a ) x - a d t + ( b - x ) 2 b - a ( 1 - t ) f ( t x + ( 1 - t ) b ) x - b 0 1 + 0 1 f ( t x + ( 1 - t ) b ) x - b d t = ( x - a ) 2 b - a f ( a ) x - a - 1 ( x - a ) 2 a x f ( u ) d u + ( b - x ) 2 b - a - f ( b ) x - b + 1 ( x - b ) 2 b x f ( u ) d u = ( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u .

Using the Lemma 1 the following results can be obtained.

Theorem 4. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| is convex on [a, b], then the following inequality holds:

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u ( x - a ) 2 b - a | f ( x ) | + 2 | f ( a ) | 6 + ( b - x ) 2 b - a | f ( x ) | + 2 | f ( b ) | 6

for each x ∈ [a, b].

Proof. Using Lemma 1 and taking the modulus, we have

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u ( x - a ) 2 b - a 0 1 ( 1 - t ) | f ( t x + ( 1 - t ) a ) | d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) | f ( t x + ( 1 - t ) b ) | d t .

Since |f'| is convex, then we get

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u ( x - a ) 2 b - a 0 1 ( 1 - t ) [ t | f ( x ) | + ( 1 - t ) | f ( a ) | ] d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) [ t | f ( x ) | + ( 1 - t ) | f ( b ) | ] d t = ( x - a ) 2 b - a | f ( x ) | + 2 | f ( a ) | 6 + ( b - x ) 2 b - a | f ( x ) | + 2 | f ( b ) | 6

which completes the proof. □

Corollary 2. In Theorem 4, if we choosex= a + b 2 we obtain

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u b - a 1 2 | f ( a ) | + f a + b 2 + | f ( b ) | .

Remark 1. In Corollary 2, using the convexity of |f'| we have

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u b - a 8 ( | f ( a ) | + | f ( b ) | )

which is the inequality in (1.2).

Theorem 5. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If| f | p p - 1 is convex on [a, b] and for some fixed q > 1, then the following inequality holds:

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | ( 1 p + 1 ) 1 p ( 1 2 ) 1 q × [ ( x a ) 2 [ f ( a ) q + f ( x ) q ] 1 q + ( b x ) 2 [ f ( x ) q + f ( b ) q ] 1 q b a ]

for each x ∈ [a, b] andq= p p - 1 .

Proof. From Lemma 1 and using the well-known Hölder integral inequality, we have

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | ( x a ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) a ) d t + ( b x ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) b ) d t ( x a ) 2 b a ( 0 1 ( 1 t ) p d t ) 1 p ( 0 1 f ( t x + ( 1 t ) a ) q d t ) 1 q + ( b x ) 2 b a ( 0 1 ( 1 t ) p d t ) 1 p ( 0 1 f ( t x + ( 1 t ) b ) q d t ) 1 q .

Since | f | p p - 1 is convex, by the Hermite-Hadamard's inequality, we have

0 1 f ( t x + ( 1 t ) a ) q d t f ( a ) q + f ( x ) q 2

and

0 1 f ( t x + ( 1 t ) b ) q d t f ( b ) q + f ( x ) q 2 ,

so

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | ( 1 p + 1 ) 1 p ( 1 2 ) 1 q × [ ( x a ) 2 [ f ( a ) q + f ( x ) q ] 1 q + ( b x ) 2 [ f ( x ) q + f ( b ) q ] 1 q b a ]

which completes the proof. □

Corollary 3. In Theorem 5, if we choosex= a + b 2 we obtain

| f ( a ) + f ( b ) 2 1 b a a b f ( u ) d u | b a 4 ( 1 p + 1 ) 1 p ( 1 2 ) 1 q × [ ( f ( a ) q + | f ( a + b 2 ) | q ) 1 q + ( f ( b ) q + | f ( a + b 2 ) | q ) 1 q ] b a 2 ( 1 p + 1 ) 1 p ( 1 2 ) 1 q ( f ( a ) + f ( b ) ).

The second inequality is obtained using the following fact: k = 1 n ( a k + b k ) s k = 1 n ( a k ) s + k = 1 n ( b k ) s for (0 ≤ s < 1), a1, a2, a3,⋯, a n ≥ 0; b1, b2, b3,⋯, b n ≥ 0 with0 p - 1 p <1, for p > 1.

Theorem 6. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| q is concave on [a, b], for some fixed q > 1, then the following inequality holds:

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u q - 1 2 q - 1 q - 1 q ( x - a ) 2 f a + x 2 | + ( b - x ) 2 | f b + x 2 b - a

for each x ∈ [a, b].

Proof. As in Theorem 5, using Lemma 1 and the well-known Hölder integral inequality for q > 1 and p= q q - 1 , we have

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | ( x a ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) a ) d t + ( b x ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) b ) d t ( x a ) 2 b a ( 0 1 ( 1 t ) q q 1 d t ) q 1 q ( 0 1 f ( t x + ( 1 t ) a ) q d t ) 1 q + ( b x ) 2 b a ( 0 1 ( 1 t ) q q 1 d t ) q 1 q ( 0 1 f ( t x + ( 1 t ) b ) q d t ) 1 q .

Since |f'| q is concave on [a, b], we can use the Jensen's integral inequality to obtain:

0 1 | f ( t x + ( 1 - t ) a ) | q d t = 0 1 t 0 | f ( t x + ( 1 - t ) a ) | q d t 0 1 t 0 d t f 1 0 1 t 0 d t 0 1 ( t x + ( 1 - t ) a ) d t q = f a + x 2 q

Analogously,

0 1 | f ( t x + ( 1 - t ) b ) | q d t f b + x 2 q .

Combining all the obtained inequalities, we get

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u q - 1 2 q - 1 q - 1 q ( x - a ) 2 | f a + x 2 | + ( b - x ) 2 | f b + x 2 | b - a

which completes the proof. □

Remark 2. In Theorem 6, if we choosex= a + b 2 we have

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u q - 1 2 q - 1 q - 1 q b - a 4 f 3 a + b 4 + f a + 3 b 4

which is the inequality in (1.3).

Theorem 7. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| q is convex on [a, b] and for some fixed q ≥ 1, then the following inequality holds:

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | 1 2 ( 1 3 ) 1 q [ ( x a ) 2 [ f ( x ) q + 2 f ( a ) q ] 1 q + ( b x ) 2 [ f ( x ) q + 2 f ( b ) q ] 1 q b a ]

for each x ∈ [a, b].

Proof. Suppose that q ≥ 1. From Lemma 1 and using the well-known power-mean inequality, we have

| ( b x ) f ( b ) + ( x a ) f ( a ) b a 1 b a a b f ( u ) d u | ( x a ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) a ) d t + ( b x ) 2 b a 0 1 ( 1 t ) f ( t x + ( 1 t ) b ) d t ( x a ) 2 b a ( 0 1 ( 1 t ) d t ) 1 1 q ( 0 1 ( 1 t ) f ( t x + ( 1 t ) a ) q d t ) 1 q + ( b x ) 2 b a ( 0 1 ( 1 t ) d t ) 1 1 q ( 0 1 ( 1 t ) f ( t x + ( 1 t ) b ) q d t ) 1 q .

Since |f'| q is convex, therefore we have

0 1 ( 1 t ) f ( t x + ( 1 t ) a ) q d t 0 1 ( 1 t ) [ t f ( x ) q + ( 1 t ) f ( a ) q ] d t = f ( x ) q + 2 f ( a ) q 6

Analogously,

0 1 ( 1 t ) f ( t x + ( 1 t ) b ) q d t f ( x ) q + 2 f ( b ) q 6 .

Combining all the above inequalities gives the desired result. □

Corollary 4. In Theorem 7, choosingx= a + b 2 and then using the convexity of |f'| q we have

| f ( a ) + f ( b ) 2 1 b a a b f ( u ) d u | ( b a 8 ) ( 1 3 ) 1 q [ ( 2 f ( a ) q + | f ( a + b 2 ) | q ) 1 q + ( 2 f ( b ) q + | f ( a + b 2 ) | q ) 1 q ] ( 3 1 1 q 8 ) ( b a ) ( f ( a ) + f ( b ) ).

Theorem 8. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| q is concave on [a, b], for some fixed q ≥ 1, then the following inequality holds:

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u 1 2 ( x - a ) 2 | f x + 2 a 3 | + ( b - x ) 2 | f x + 2 b 3 | b - a .

Proof. First, we note that by the concavity of |f'| q and the power-mean inequality,

we have

| f ( t x + ( 1 - t ) a ) | q t | f ( x ) | q + ( 1 - t ) | f ( a ) | q .

Hence,

| f ( t x + ( 1 - t ) a ) | t | f ( x ) | + ( 1 - t ) | f ( a ) | ,

so |f'| is also concave.

Accordingly, using Lemma 1 and the Jensen integral inequality, we have

( b - x ) f ( b ) + ( x - a ) f ( a ) b - a - 1 b - a a b f ( u ) d u ( x - a ) 2 b - a 0 1 ( 1 - t ) | f ( t x + ( 1 - t ) a ) | d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) | f ( t x + ( 1 - t ) b ) | d t ( x - a ) 2 b - a 0 1 ( 1 - t ) d t f 0 1 ( 1 - t ) ( t x + ( 1 - t ) a ) d t 0 1 ( 1 - t ) d t + ( b - x ) 2 b - a 0 1 ( 1 - t ) d t f 0 1 ( 1 - t ) ( t x + ( 1 - t ) b ) d t 0 1 ( 1 - t ) d t 1 2 ( x - a ) 2 f x + 2 a 3 + ( b - x ) 2 f x + 2 b 3 b - a .

Remark 3. In Theorem 8, if we choosex= a + b 2 we have

f ( a ) + f ( b ) 2 - 1 b - a a b f ( u ) d u b - a 8 f 5 a + b 6 + f a + 5 b 6

which is the inequality in (1.4).

3. Applications to Special Means

Recall the following means which could be considered extensions of arithmetic, logarithmic and generalized logarithmic from positive to real numbers.

  1. (1)

    The arithmetic mean:

    A = A ( a , b ) = a + b 2 ; a , b
  2. (2)

    The logarithmic mean:

    L ( a , b ) = b - a ln | b | - ln | a | ; | a | | b | , a b 0 , a , b
  3. (3)

    The generalized logarithmic mean:

    L n ( a , b ) = b n + 1 - a n + 1 ( b - a ) ( n + 1 ) 1 n ; n \ { - 1 , 0 } , a , b , a b

Now using the results of Section 2, we give some applications to special means of real numbers.

Proposition 1. Let a, b ∈ ℝ, a < b, 0 ∉ [a, b] and n ∈ ℤ, |n| ≥ 2. Then, for all p > 1

  1. (a)
    | A ( a n , b n ) - L n n ( a , b ) | | n | ( b - a ) 1 p + 1 1 p 1 2 1 q A | a | n - 1 , | b | n - 1
    (3.1)

and

  1. (b)
    | A ( a n , b n ) - L n n ( a , b ) | | n | ( b - a ) 3 1 - 1 q 4 A | a | n - 1 , | b | n - 1 .
    (3.2)

Proof. The assertion follows from Corollary 3 and 4 for f (x) = xn , x ∈ ℝ, n ∈ ℤ, |n| ≥ 2. □

Proposition 2. Let a, b ∈ ℝ, a < b, 0 ∉ [a, b]. Then, for all q ≥ 1,

  1. (a)
    | A ( a - 1 , b - 1 ) - L - 1 ( a , b ) | ( b - a ) 1 p + 1 1 p 1 2 1 q A | a | - 2 , | b | - 2
    (3.3)

and

  1. (b)
    | A ( a - 1 , b - 1 ) - L - 1 ( a , b ) | ( b - a ) 3 1 - 1 q 4 A | a | - 2 , | b | - 2 .
    (3.4)

Proof. The assertion follows from Corollary 3 and 4 for f ( x ) = 1 x . □

4. The Trapezoidal Formula

Let d be a division a = x0 < x1 < ... < xn - 1< x n = b of the interval [a, b] and consider the quadrature formula

a b f ( x ) d x = T ( f , d ) + E ( f , d )
(4.1)

where

T ( f , d ) = i = 0 n - 1 f ( x i ) + f ( x i + 1 ) 2 ( x i + 1 - x i )

for the trapezoidal version and E (f, d) denotes the associated approximation error.

Proposition 3. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b and| f | p p - 1 is convex on [a, b], where p > 1. Then in (4.1), for every division d of [a, b], the trapezoidal error estimate satisfies

| E ( f , d ) | 1 p + 1 1 p 1 2 1 q i = 0 n - 1 ( x i + 1 - x i ) 2 2 ( | f ( x i ) | + | f ( x i + 1 ) | ) .

Proof. On applying Corollary 3 on the subinterval [x i , xi+1] (i = 0, 1, 2,..., n - 1) of the division, we have

f ( x i ) + f ( x i + 1 ) 2 - 1 x i + 1 - x i x i x i + 1 f ( x ) d x ( x i + 1 - x i ) 2 1 p + 1 1 p 1 2 1 q ( | f ( x i ) | + | f ( x i + 1 ) | ) .

Hence in (4.1) we have

a b f ( x ) d x - T ( f , d ) = i = 0 n - 1 x i x i + 1 f ( x ) d x - f ( x i ) + f ( x i + 1 ) 2 ( x i + 1 - x i ) i = 0 n - 1 x i x i + 1 f ( x ) d x - f ( x i ) + f ( x i + 1 ) 2 ( x i + 1 - x i ) 1 p + 1 1 p 1 2 1 q i = 0 n - 1 ( x i + 1 - x i ) 2 2 ( | f ( x i ) | + | f ( x i + 1 ) | )

which completes the proof. □

Proposition 4. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| q is concave on [a, b], for some fixed q > 1, Then in (4.1), for every division d of [a, b], the trapezoidal error estimate satisfies

| E ( f , d ) | q - 1 2 q - 1 q - 1 q i = 0 n - 1 ( x i + 1 - x i ) 2 4 f 3 x i + x i + 1 4 + f x i + 3 x i + 1 4 .

Proof. The proof is similar to that of Proposition 3 and using Remark 2. □

Proposition 5. Let f : I ⊆ ℝ → ℝ be a differentiable mapping on I° such that f'L [a, b], where a, bI with a < b. If |f'| q is concave on [a, b], for some fixed q ≥ 1, Then in (4.1), for every division d of [a, b], the trapezoidal error estimate satisfies

| E ( f , d ) | 1 8 i = 0 n - 1 ( x i + 1 - x i ) 2 f 5 x i + x i + 1 6 + f x i + 5 x i + 1 6 .

Proof. The proof is similar to that of Proposition 3 and using Remark 3. □