Definition 4.1: Let f be a function with values in R union
{plus or minus infinity} whose domain is a subset S of R^n. The set
{(x, mu) | x in S, mu in R, mu >= f x} is called the epigraph of f,
denoted epi f.
Instances For
Convexity of the epigraph yields convex combinations of its points.
Convexity of the epigraph gives a real upper bound along segments.
Theorem 4.1: Let f be a function from C to (-∞, +∞], where C is convex.
Then f is convex on C iff
f ((1 - λ) • x + λ • y) ≤ (1 - λ) * f x + λ * f y for 0 < λ < 1,
for every x and y in C.
Strict segment bounds yield a non-strict bound with real upper bounds.
Theorem 4.2: Let f be a function from ℝ^n to [-∞, +∞]. Then f is convex
iff f ((1 - λ) • x + λ • y) < (1 - λ) * α + λ * β for 0 < λ < 1,
whenever f x < α and f y < β.
Jensen inequality for m = 2 yields the segment inequality.
Theorem 4.3 (Jensen's Inequality): Let f be a function from R^n to
(-∞, +∞]. Then f is convex iff
f (lambda_1 x_1 + ... + lambda_m x_m) ≤ lambda_1 f x_1 + ... + lambda_m f x_m
whenever lambda_1, ..., lambda_m ≥ 0 and lambda_1 + ... + lambda_m = 1.
Definition 4.3: An affine function on S is a function which is finite,
convex, and concave.
Equations
Instances For
Theorem 4.4: Let f be a twice continuously differentiable real-valued function on an
open interval (α, β). Then f is convex iff its second derivative f'' is
nonnegative throughout (α, β).
Over ℝ, the quadratic form in Matrix.PosSemidef uses no conjugation.
The Hessian matrix is Hermitian at points of an open C^2 set.
Convexity implies positive semidefiniteness of the Hessian.
Positive semidefinite Hessian implies convexity.
Theorem 4.5: Let f be a twice continuously differentiable real-valued function on an open
convex set C in ℝ^n. Then f is convex on C iff its Hessian matrix
Q_x = (q_ij(x)) with q_ij(x) = ∂^2 f / ∂ ξ_i ∂ ξ_j (x) is positive semidefinite
for every x ∈ C.
Lift real convexity to ConvexFunctionOn for finite-valued functions.
x ↦ x^p is antitone on (0, ∞) for p ≤ 0.
Example 4.4.1: Here are some functions on Real whose convexity is a consequence of
Theorem 4.4: (i) f(x) = exp(alpha * x) for -infty < alpha < infty;
(ii) f(x) = x^p if x >= 0, f(x) = infty if x < 0, where 1 <= p < infty;
(iii) f(x) = -x^p if x >= 0, f(x) = infty if x < 0, where 0 <= p <= 1;
(iv) f(x) = x^p if x > 0, f(x) = infty if x <= 0, where -infty < p <= 0;
(v) f(x) = (alpha^2 - x^2)^(-1/2) if |x| < alpha,
f(x) = infty if |x| >= alpha, where alpha > 0;
(vi) f(x) = -log x if x > 0, f(x) = infty if x <= 0.
Definition 4.4: The effective domain of a convex function f on S, denoted dom f,
is the projection of epi f onto R^n; equivalently,
dom f = {x | ∃ μ, (x, μ) ∈ epi f} = {x | f x < +infty}.