Collection of convex functions #
In this file we prove that the following functions are convex or strictly convex:
strictConvexOn_exp
: The exponential function is strictly convex.strictConcaveOn_log_Ioi
,strictConcaveOn_log_Iio
:Real.log
is strictly concave on $(0, +∞)$ and $(-∞, 0)$ respectively.convexOn_rpow
,strictConvexOn_rpow
: Forp : ℝ
,fun x ↦ x ^ p
is convex on $[0, +∞)$ when1 ≤ p
and strictly convex when1 < p
.
The proofs in this file are deliberately elementary, not by appealing to the sign of the second derivative. This is in order to keep this file early in the import hierarchy, since it is on the path to Hölder's and Minkowski's inequalities and after that to Lp spaces and most of measure theory.
(Strict) concavity of fun x ↦ x ^ p
for 0 < p < 1
(0 ≤ p ≤ 1
) can be found in
Analysis.Convex.SpecificFunctions.Pow
.
See also #
Analysis.Convex.Mul
for convexity of x ↦ x ^ n
Real.exp
is strictly convex on the whole real line.
For p : ℝ
with 1 < p
, fun x ↦ x ^ p
is strictly convex on $[0, +∞)$.