Next Article in Journal
PhaseNet: A Deep Learning Framework for Reflectarray Antenna Gain Prediction by Integrating 2D Phase Maps and Angular Embeddings
Previous Article in Journal
Improved Federated Learning Incentive Mechanism Algorithm Based on Explainable DAG Similarity Evaluation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Upper Estimations of Hermite–Hadamard Inequalities

Department of Mathematics, University of Dicle, 21280 Diyarbakır, Turkey
Mathematics 2025, 13(21), 3510; https://doi.org/10.3390/math13213510
Submission received: 10 October 2025 / Revised: 29 October 2025 / Accepted: 31 October 2025 / Published: 2 November 2025
(This article belongs to the Section C: Mathematical Analysis)

Abstract

Convex functions play a key role in many branches of pure and applied mathematics. In this paper, we prove that if a convex function is not continuous, then the classical Hermite–Hadamard inequality, the Hermite–Hadamard inequality for the Riemann–Liouville fractional integral and the Hermite–Hadamard inequality for the left variable order Riemann–Liouville fractional integral can be improved with slightly sharper bounds. In particular, we give new upper bounds of Hermite–Hadamard inequalities in terms of right-hand limit  g a +   and left-hand limit  g b   values. Furthermore, classical Hermite–Hadamard inequalities only applied to closed bounded intervals, but our new improved inequalities can be applied to open bounded and half-open bounded intervals. As a consequence of our method, we also show some nonconvex functions that satisfy our new improvement of Hermite–Hadamard inequalities.

1. Introduction

It is not always possible to evaluate definite integrals. Therefore, we use inequalities which estimate the value of integrals. Good examples of these are Hermite–Hadamard inequalities. The Hermite–Hadamard inequality gives a connection between the mean values of a convex function over a closed bounded interval and the function values at the endpoints. Convex functions have a great geometric insight. Convex functions are a fundamental concept in convex optimization. They form an important collection of functions. The classical inequality of Hermite–Hadamard states that the following inequality is valid for convex functions  g : a , b R  
g a + b 2 1 b a a b g x d x g a + g b 2 .
Actually, this inequality makes an estimate of the value of the integral
a b g x d x .
It can be easily seen that function  f : 0 ,   2 R   defined by  f x = e x 2   for  x 0 ,   2   is a convex function. Also, consider function  g : 0 ,   2 R , defined by
g x = 10,000 , x = 0 e x 2 , 0 < x < 2 30,000 , x = 2
Since the set of points above the graph of function  g   is a convex subset of the real plane, this function is convex, too. The difference between these two functions is only on the values of the two endpoints. From Lebesgue’s integration theory, for functions  f   and  g , we have equality of
1 b a a b f x d x = 1 b a a b g x d x .
Estimates of Hermite–Hadamard inequality show that for  f , we have
e 1 2 a b f x d x 1 + e 4 2 .
This inequality is sharp. Again, the estimate of Hermite–Hadamard inequality shows that for  g , we have
e 1 2 a b g x d x 20,000 .
This is not a sharp inequality. It is obvious that there is a significant difference between the upper values,  20,000   and  1 + e 4 / 2 . The worse news is that we can choose the endpoint values that are bigger than  g 0 = 10,000   and  g 2 = 30,000 . As these examples show, in some cases, usage of Hermite–Hadamard inequality is not useful for the right-side estimate of mean value function. Many extensions, generalizations, refinements and variants of the Hermite–Hadamard inequality (1) have been studied by researchers: see [1,2,3] and references therein. One important extension of Hermite–Hadamard is given for the fractional integral. Fractional calculus is a field of mathematical analysis and applied mathematics that studies various properties and applications of integrals and derivatives of arbitrary order, which can be real or complex numbers.
Therefore, fractional calculus is an extension of the integer-order calculus. Recently, due to its broader scope and applications, fractional calculus has become one of the most actively developing fields of mathematical analysis.
Throughout this paper, we assume that  a , b R   and  a b . Unless stated explicitly otherwise, we will assume that  J   is a bounded interval in this paper.

2. Preliminaries and Lemmas

There are many ways in which convex functions can be defined and conceptualized. The following describes the classical case.
Definition 1.
A real-valued function  g on an arbitrary interval (bounded or unbounded, open or closed or neither)   J   is called convex if it satisfies the following condition: for every   x , y J   and for each  ρ 0 ,   1  
1 ρ g x + ρ g y g 1 ρ x + ρ y .
If  g : J R   is a convex function, then the function  g : J R   is called concave. Geometrically, a function is convex on  J      the set of points above graph of  g : J R   is a convex subset of the real plane.
It is important to note that a convex function may not be continuous at endpoints of interval definition  a , b . A convex function may have upward jumps at points  a   and  b .
Lemma 1 
(see [4]). Let  g : J R  be convex function. Then,  g  is continuous on the interior of  J .
Lemma 2 
(see Proposition 1.3.5 of [5]). Suppose that  g : J R  is a convex function. Then, either  g  is a monotone function on the interior of interval  J , or there exists a point  C  in the interior of  J , such that  g  is nondecreasing on the interval  J C ,  and nonincreasing on the interval  J , C .
There are four types of finite intervals. These are  a , b   a , b a , b   and  a , b . The following theorem actually satisfies all these intervals. We only prove this for interval  a , b . The proofs for the other cases are similar. Without full proof, a case of the following lemma is stated in (see Proposition 1.3.4 of [5]).
Lemma 3.
If   g : a , b R  is a bounded convex function, then right-hand limit   g a +  and left-hand limit  g b  exists in  , , and the function is defined by
G x = g a + ,   x = a g x ,   g b ,   x = b a < x < b
also is convex. Moreover,  G  is continuous on  a , b .
Proof. 
We use the sequential definition of the limit. From Lemma 2, a convex function is monotone or can be divided into a monotone nondecreasing and nonincreasing function. Due to on interior of the  J   function  g   is continuous, by monotone convergence theorem  g a +   and  g b   exists. It is now obvious that  G   is continuous on  a , b .
By the definition of  G   for all  x , y a , b , we have  G x = g x , then for these values, it follows that
1 ρ G x + ρ G y G 1 ρ x + ρ y .
Now, let’s show for  y a , b , we obtain
1 ρ G a + ρ G y G 1 ρ a + ρ y .
Let  a n   be any sequence that satisfies  a n > a   and  a n a . Then, we obtain
G 1 ρ a + ρ y   = lim n G 1 ρ a n + ρ y = lim n g 1 ρ a n + ρ y
lim n 1 ρ g a n + ρ g y = 1 ρ G a + ρ G y
In a similar manner, we can prove that for  x a , b , we obtain
1 ρ G x + ρ G b G 1 ρ x + ρ b
Finally, we show that
1 ρ G a + ρ G b G 1 ρ a + ρ b
Let  a n b n   be any sequences that satisfy  a n > a a n a   and  b n < b b n b . Then, we have
G 1 ρ a + ρ b = lim n G 1 ρ a n + ρ b n = lim n g 1 ρ a n + ρ b n
lim n 1 ρ g a n + ρ g b n = 1 ρ G a + ρ G b
This ends the proof of Lemma 3. □
Corollary 1.
Under the conditions of Lemma 3, we have the following equality
a , b g x d x = a , b G x d x .
Proof. 
Due to continuity and the monotonicity of function  g , integral  a , b g x d x   is convergent. Therefore, by Lebesgue’s integration theory, we obtain the equality of integrals
a , b g x d x = a , b g x d x + a , b G x d x = a , b G x d x .
This ends the proof of Corollary 1. □

3. Main Results

It is important to be aware that our results about the upper estimation of Hermite–Hadamard inequalities never make an improvement in the lower estimation, but for the sake of completeness, we write the lower estimation in proofs. As is known, inequalities are more useful when they are sharper. The following right-side improvement of Hermite–Hadamard inequality for a convex function is our first result.
Theorem 1.
Let   g : a , b R  be a convex function. Then, the following inequality holds
g a + b 2 1 b a a b g x d x g a + + g b 2 .
Proof. 
The left side of the inequality is exactly the Hermite–Hadamard inequality.
Let  G   be defined as it is in Lemma 3. Therefore, the function  G x   is continuous and convex. Then, we can write
G a + b 2 = g a + b 2 1 b a a b g x d x = 1 b a a b G x d x
G a + G b 2 = g a + + g b 2
This ends the proof of Theorem 1. □
Remark 1.
If the convex functions   g : a , b R  are continuous, then our improved inequality coincides with Hermite–Hadamard inequality. However, if the function is not continuous, then we see the benefits of our Theorem 1. In particular, we can see the difference in example ( g : 0 ,   2 R , defined by   g 0 = 10,000 ,   g 2 = 30,000   and   g x = e x 2   for   x 0 ,   2 ), given in the introduction. If we use the classical Hermite–Hadamard inequality, we obtain the upper bound of the inequality as being
1 2 a b g x d x 20,000 .
However, if we use our new upper bound formula we obtain
1 2 a b g x d x 1 + e 4 2 .
Hence, we achieve a better upper bound than the inequality of Hermite–Hadamard.
It is worth noting that classical Hermite–Hadamard inequalities are only applied to intervals  a , b . In contrast, our following inequality is applied to intervals  a , b   (and similarly, can be applied to half-open bounded intervals).
Theorem 2.
Let   g : a , b R  be a convex and bounded function. Then, the following inequality holds
g a + b 2 1 b a a b g x d x g a + + g b 2 .
Proof. 
Let  G   be defined as it is in Lemma 3. Therefore, function  G x   is continuous and convex. Then, we have
g a + b 2 = G a + b 2 1 b a a b G x d x = 1 b a a b g x d x
G a + g b 2 = g a + + g b 2
This ends the proof of Theorem 2. □
Corollary 2.
Suppose   h : a , b R  is a function whose restriction to open interval   a , b   is convex and integrable. Then, the following inequality holds.
h a + b 2 1 b a a b h x d x h a + + h b 2 .
Proof. 
If function  h   is unbounded, then the corollary is obvious. If  h   is bounded, then the corollary is obtained from Theorem 2. □
It is important to be aware of the following remark, which goes beyond convexity. In other words, in the following remark, we show that some nonconvex functions satisfy our improved Hermite–Hadamard inequality.
Remark 2.
Although the function   h : 0 ,   2 R  is defined by   h 0 = 17   ,   h 2 = 7   and for   x 0 ,   2 ,   h x = e x 2   is not convex, because of
h 1 2 0 + 1 2 2 = e 1 2 h 0 + 1 2 h 2 = 12 .
However, it satisfies our following inequality
h 0 + 2 2 = e 1 2 0 0 2 h x d x h 0 + + h 2 2 = 1 + e 4 2
Now, let us justify this inequality. By Lemma 3, the function  H : 0 ,   2 R   is defined as
H x = h 0 + = 1 ,   x = 0   h x = e x 2 ,   0 < x < 2     h 2 = e 4 ,   x = 2
which is equivalent to  H x = e x 2   for  x 0 ,   2 . It is now obvious that  H   is a continuous convex function. So, by the properties of the integral, we obtain
h 0 + 2 2 = H 0 + 2 2 1 2 0 0 2 H x d x = 1 2 0 0 2 h x d x
H 0 + H 2 2 = h 0 + + h 2 2 .
As another example, consider function  h : 0 ,   2 R , defined by  h x = 7   for  x 0 ,   2   and  f 0 = f 2 = 4 . It is obvious that  h   is not convex. So, we can not apply Hermite–Hadamard inequality, but we can apply our inequality
h a + b 2 1 b a a b h x d x h a + + h b 2
which gives  7 7 7 .  
Hereafter,  Γ θ   denotes the gamma function evaluated at  θ .
Definition 2.
Left-sided Riemann–Liouville fractional integral of order   θ > 0  is defined by
I a + θ g x = 1 Γ θ a x x w θ 1 g w d w ,   x > a .
Right-sided Riemann–Liouville fractional integral of order  θ > 0   is defined by
I b θ g x = 1 Γ θ x b w x θ 1 g w d w ,   x < b .
Hermite–Hadamard inequality for Riemann–Liouville fractional integrals is showed by Sarikaya et al. in [6], as follows.
Theorem 3.
Let function   g : a , b R  be convex and integrable. Then, the following inequalities for the Riemann–Liouville fractional integral satisfy
g a + b 2 Γ θ + 1 2 b a θ I a + θ g b + I b θ g a g a + g b 2
with  θ > 0 .
Theorem 4.
Suppose   g : a , b R  is a function whose restriction to open interval   a , b   is convex and integrable. Then, the following inequalities for the Riemann–Liouville fractional integral satisfy
g a + b 2 Γ θ + 1 2 b a θ I a + θ g b + I b θ g a g a + + g b 2
with  θ > 0 .
Proof. 
Let  G   be defined as it is in Lemma 3. Therefore, function  G x   is continuous and convex. Therefore, by Theorem 3, we can write
g a + b 2 = G a + b 2   Γ θ + 1 2 b a θ I a + θ G b + I b θ G a
  = Γ θ + 1 2 b a θ I a + θ g b + I b θ g a   G a + G b 2 = g a + + g b 2
This ends the proof of Theorem 4. □
Remark 3.
If the convex functions   g : [ a , b ] R  are continuous, then our improved inequality coincides with Theorem 3.
Theorem 5.
Let   g : a , b R  be a convex and integrable function. Let   G   be defined as it is in Lemma 3. Then, the following inequalities for fractional integral satisfy
g a + b 2 Γ θ + 1 2 b a θ I a + θ G b + I b θ G a g a + + g b 2
with  θ > 0 .
Proof. 
Let  G   be defined as it is in Lemma 3. Therefore, function  G x   is continuous and convex. Therefore, by Theorem 3, we can write
g a + b 2 = G a + b 2 Γ θ + 1 2 b a θ I a + θ G b + I b θ G a
G a + G b 2 = g a + + g b 2
This ends the proof of Theorem 5. □
Definition 3.
For all   x a , b , we have   θ x 0 ,   1   . The left-sided Riemann–Liouville fractional integral variable order,   θ x , is defined by
I a + θ x g x = 1 Γ θ x a x x w θ x 1 g w d w
and the right-sided Riemann–Liouville fractional integral variable order  α x   is defined by
I b θ x g x = 1 Γ θ x x b w x θ x 1 g w d w .
We refer the reader to [7] for the details of variable order fractional integrals.
Theorem 6 
(see [8]). Let  a 0  and a convex function  g : a , b R  be integrable and positive. Then, the following inequalities for the fractional integral of variable order satisfy
g θ b a + b θ b + 1 Γ θ b + 1 b a θ b I a + θ b g b θ b g a + g b θ b + 1
with  θ b > 0 .
Again, we see that if the convex function  g   is not continuous at the end points of an interval  a , b , the inequality  3   will not be sharp, (or is not valid, as in the case of Remark 2). As a result, we obtain the following improvement of the preceding Theorem 6.
Theorem 7.
Let   a 0  and a convex function   g : a , b R   be integrable, positive. Then, the following inequalities for the fractional integral of variable order satisfy
g θ b a + b θ b + 1 Γ θ b + 1 b a θ b I a + θ b g b θ b g a + + g b θ b + 1
with  θ b > 0 .
Proof. 
Let  G   be defined as it is in Lemma 3. Since  α b > 0 , we have
θ b a + b θ b + 1 = θ b a + a + b a θ b + 1 = a + b a θ b + 1 a , b .
From the result of Theorem 6 and the convexity of function  G , we observe that
g θ b a + b θ b + 1 = G θ b a + b θ b + 1 Γ θ b + 1 b a θ b I a + θ b G b
= Γ θ b + 1 b a θ b I a + θ b g b θ b G a + G b θ b + 1 = θ b g a + + g b θ b + 1
This ends the proof of Theorem 7. □
Remark 4.
If the convex functions   g : a , b R  are continuous, then our improved inequality coincides with Theorem 6.

4. Conclusions

We have proved new sharp upper bounds for the classical Hermite–Hadamard inequality and its Riemann–Liouville fractional versions. By using our sharp inequality methods, we see even some nonconvex functions satisfy the improved Hermite–Hadamard inequality. Lemma 3 is essential for all the work in this paper. Lemma 2 plays a key role in the proof of Lemma 3. It is well known amongst researchers that there are many different notions of convexity. Therefore, this paper may give rise to restudy Hermite–Hadamard-type inequalities for these notions of convexities. It is important to note that our results in some cases also include open interval  a , b , which is a new development. Our last result is an open problem.
Open Problem 1.
Let   g : a , b R  be a convex unbounded continuous and integrable function. Then, can Hermite–Hadamard-like inequality bounds for the value of the following integral be found?
1 b a a b g x d x ?
If it is possible, I think the solution to the problem will contain a series.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article.

Acknowledgments

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Butt, S.I.; Umar, M.; Khan, D.; Seol, Y.; Tipurić-Spužević, S. Hermite–Hadamard-Type Inequalities for Harmonically Convex Functions via Proportional Caputo-Hybrid Operators with Applications. Fractal Fract. 2025, 9, 77. [Google Scholar] [CrossRef]
  2. Hussain, T.; Ciurdariu, L.; Grecu, E. A New Inclusion on Inequalities of the Hermite–Hadamard–Mercer Type for Three-Times Differentiable Functions. Mathematics 2024, 12, 3711. [Google Scholar] [CrossRef]
  3. Samraiz, M.; Hammad, M.; Naheed, S. A comprehensive Study of Refined Hermite-Hadamard Inequalities and Their Applications. Filomat 2025, 39, 683–696. [Google Scholar] [CrossRef]
  4. Berkovitz, L.D. Convexity and Optimization in R n ; John Wiley & Sons: New York, NY, USA, 2003. [Google Scholar]
  5. Niculescu, C.P.; Persson, L.E. Convex Functions and Their Applications: A Contemporary Approach, 2nd ed.; Springer: Cham, Switzerland, 2018. [Google Scholar]
  6. Sarikaya, M.Z.; Set, E.; Yaldiz, H.; Başak, N. Hermite–Hadamard’s Inequalities for Fractional Integrals and Related Fractional Inequalities. Math. Comput. Model. 2013, 57, 2403–2407. [Google Scholar] [CrossRef]
  7. Samko, S. Fractional Integration and Differentiation of variable order: An Overview. Nonlinear Dyn. 2013, 71, 653–662. [Google Scholar] [CrossRef]
  8. Haider, W.; Chen, H.; Budak, H.; Ali, M.A.; Shehzadi, A. Hermite-Hadamard Type Inequalities for the Left Riemann-Liouville Fractional Integrals with Variable Order. Available online: https://scholar.google.com/scholar?hl=tr&as_sdt=0%2C5&q=A.+Hermite-Hadamard+Type+Inequalities+for+the+Left+Riemann-Liouville+Fractional+Integrals+with+Variable+Order.&btnG= (accessed on 6 October 2025).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Kaya, Y. On Upper Estimations of Hermite–Hadamard Inequalities. Mathematics 2025, 13, 3510. https://doi.org/10.3390/math13213510

AMA Style

Kaya Y. On Upper Estimations of Hermite–Hadamard Inequalities. Mathematics. 2025; 13(21):3510. https://doi.org/10.3390/math13213510

Chicago/Turabian Style

Kaya, Yasin. 2025. "On Upper Estimations of Hermite–Hadamard Inequalities" Mathematics 13, no. 21: 3510. https://doi.org/10.3390/math13213510

APA Style

Kaya, Y. (2025). On Upper Estimations of Hermite–Hadamard Inequalities. Mathematics, 13(21), 3510. https://doi.org/10.3390/math13213510

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop