Introduction (Hermite-Hadamard)
For convex functions, its geometric characteristics (area) can be used to derive the Hermite-Hadamard inequality (hereinafter collectively referred to as the H-H inequality).

As shown in P-1, for the convex function , the following correspondence can be made:
Hermite-Hadamard inequalities geometric correspondence table
| Components of inequalities | Corresponding areas in the figure | Explanation of geometric meaning |
|---|---|---|
| Left side items: | Red translucent rectangle (the base is , the height is ) | Midpoint rectangle area: represents the area of the trapezoid surrounded by the tangent line at the midpoint (think about why). Since the function is convex, the tangent is completely under the curve, so the rectangle has the smallest area. |
| Middle term: | Green filled area (the area under the curve ) | Integral average: represents the actual area under the curve. In the figure, the green area covers the red rectangle but is contained by the outermost yellow trapezoid. |
| **Right-side item: ** | The entire yellow shaded trapezoid (below the secant connecting and ) | Secant trapezoid area: represents the area enclosed by the secant (chord) connecting the end points of the interval and the axis. Since the secant of the convex function is located above the curve, its area is the largest. |
We prove this inequality below: Let the original functions of be , Because is a convex function, , so .
Also so