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.StrictConvexOn.map_sum_lt: Convex strict Jensen inequality.StrictConcaveOn.lt_map_sum: Concave strict Jensen inequality.
As corollaries, we get:
StrictConvexOn.map_sum_eq_iff: Equality case of the convex Jensen inequality.StrictConcaveOn.map_sum_eq_iff: Equality case of the concave Jensen inequality.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.
Convex Jensen's inequality where an element plays a distinguished role.
Concave Jensen's inequality where an element plays a distinguished role.
Strict Jensen inequality #
Convex strict Jensen inequality.
If the function is strictly convex, the weights are strictly positive and the indexed family of points is non-constant, then Jensen's inequality is strict.
See also StrictConvexOn.map_sum_eq_iff.
Concave strict Jensen inequality.
If the function is strictly concave, the weights are strictly positive and the indexed family of points is non-constant, then Jensen's inequality is strict.
See also StrictConcaveOn.map_sum_eq_iff.
Equality case of Jensen's inequality #
A form of the equality case of Jensen's equality.
For a strictly convex function f and positive weights w, if
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i), then the points p are all equal.
See also StrictConvexOn.map_sum_eq_iff.
A form of the equality case of Jensen's equality.
For a strictly concave function f and positive weights w, if
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i), then the points p are all equal.
See also StrictConcaveOn.map_sum_eq_iff.
A form of the equality case of Jensen's equality for the case of strict convex and positive weights.
A form of the equality case of Jensen's equality for the case of strict concave and positive weights.
A form of the equality case of Jensen's equality for the case of strict convex and non-negative weights.
A form of the equality case of Jensen's equality for the case of strict concave and non-negative weights.
Canonical form of the equality case of Jensen's equality.
For a strictly convex function f and positive weights w, we have
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i) if and only if the points p are all equal
(and in fact all equal to their center of mass w.r.t. w).
Canonical form of the equality case of Jensen's equality.
For a strictly concave function f and positive weights w, we have
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i) if and only if the points p are all equal
(and in fact all equal to their center of mass w.r.t. w).
Canonical form of the equality case of Jensen's equality.
For a strictly convex function f and nonnegative weights w, we have
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i) if and only if the points p with nonzero
weight are all equal (and in fact all equal to their center of mass w.r.t. w).
Canonical form of the equality case of Jensen's equality.
For a strictly concave function f and nonnegative weights w, we have
f (∑ i ∈ t, w i • p i) = ∑ i ∈ t, w i • f (p i) if and only if the points p with nonzero
weight are all equal (and in fact all equal to their center of mass w.r.t. w).
Canonical form of the strict Jensen's inequality.
Canonical form of the strict Jensen's inequality.
Canonical form of the strict Jensen's inequality.
Canonical form of the strict Jensen's inequality.
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.
Maximum principle for convex functions on a segment. If a function f is convex on the
segment [x, y], then the eventual maximum of f on [x, y] is at x or y.
Minimum principle for concave functions on a segment. If a function f is concave on the
segment [x, y], then the eventual minimum of f on [x, y] is at x or y.
Maximum principle for convex functions on an interval. If a function f is convex on the
interval [x, y], then the eventual maximum of f on [x, y] is at x or y.
Minimum principle for concave functions on an interval. If a function f is concave on the
interval [x, y], then the eventual minimum of f on [x, y] is at x or y.