Jensen's inequality and maximum principle for convex functions #
In this file, we prove the finite Jensen inequality and the finite maximum principle for convex
functions. The integral versions are to be found in Analysis.Convex.Integral
.
Main declarations #
Jensen's inequalities:
ConvexOn.map_centerMass_le
,ConvexOn.map_sum_le
: Convex Jensen's inequality. The image of a convex combination of points under a convex function is less than the convex combination of the images.ConcaveOn.le_map_centerMass
,ConcaveOn.le_map_sum
: Concave Jensen's inequality.
As corollaries, we get:
ConvexOn.exists_ge_of_mem_convexHull
: Maximum principle for convex functions.ConcaveOn.exists_le_of_mem_convexHull
: Minimum principle for concave functions.
Jensen's inequality #
Convex Jensen's inequality, Finset.centerMass
version.
Concave Jensen's inequality, Finset.centerMass
version.
Convex Jensen's inequality, Finset.sum
version.
Concave Jensen's inequality, Finset.sum
version.
Maximum principle #
If a function f
is convex on s
, then the value it takes at some center of mass of points of
s
is less than the value it takes on one of those points.
If a function f
is concave on s
, then the value it takes at some center of mass of points of
s
is greater than the value it takes on one of those points.
Maximum principle for convex functions. If a function f
is convex on the convex hull of s
,
then the eventual maximum of f
on convexHull 𝕜 s
lies in s
.
Minimum principle for concave functions. If a function f
is concave on the convex hull of s
,
then the eventual minimum of f
on convexHull 𝕜 s
lies in s
.