Professional Documents
Culture Documents
2022
Table of contents
1 Convex sets
2 Convex functions
Definition and Examples
First Order Characterizations of Convex Functions
Second Order Characterization of Convex Functions
Operations Preserving Convexity
Continuity and Differentiability of Convex Functions
Table of contents
1 Convex sets
2 Convex functions
Definition and Examples
First Order Characterizations of Convex Functions
Second Order Characterization of Convex Functions
Operations Preserving Convexity
Continuity and Differentiability of Convex Functions
Definition 2.26
A function f : Rn → R ∪ {+∞} is said to be convex when, for all
x, y ∈ Rn and all λ ∈ [0, 1], there holds
Example 2.27:
Example 2.27:
Definition 2.28:
Let f : Rn → R ∪ {+∞}. The domain (or effective domain) of f is the
nonempty set
domf := {x ∈ Rn | f (x) < +∞}.
Definition 2.29:
Given f : Rn → R ∪ {+∞}, not identically equal to +∞, the epigraph of
f is the nonempty set
Definition 2.28:
Let f : Rn → R ∪ {+∞}. The domain (or effective domain) of f is the
nonempty set
domf := {x ∈ Rn | f (x) < +∞}.
Definition 2.29:
Given f : Rn → R ∪ {+∞}, not identically equal to +∞, the epigraph of
f is the nonempty set
Epigraph
Proposition 2.30:
Let f : Rn → R ∪ {+∞} be not identically equal to +∞,. The following
properties are equivalent:
(i) f is convex;
(ii) its epigraph is a convex set in Rn × R;
Proof.
Proposition 2.30:
Let f : Rn → R ∪ {+∞} be not identically equal to +∞,. The following
properties are equivalent:
(i) f is convex;
(ii) its epigraph is a convex set in Rn × R;
Proof.
Proposition 2.30:
Let f : Rn → R ∪ {+∞} be not identically equal to +∞,. The following
properties are equivalent:
(i) f is convex;
(ii) its epigraph is a convex set in Rn × R;
Proof.
Definition 2.31:
Let C be a nonempty convex set in Rn . A function f : C → R is said to
be convex on C when, for all x, y ∈ C and all λ ∈ [0, 1], it holds
Definition 2.31:
Let C be a nonempty convex set in Rn . A function f : C → R is said to
be convex on C when, for all x, y ∈ C and all λ ∈ [0, 1], it holds
Definition 2.31:
Let C be a nonempty convex set in Rn . A function f : C → R is said to
be convex on C when, for all x, y ∈ C and all λ ∈ [0, 1], it holds
Proposition 2.32:
The function f is strongly convex with modulus c if and only if the
function f − c2 ∥.∥2 is convex .
Proof.
Jensen’s inequality
Theorem 2.33:
Let f : C → R be a convex function where C ⊆ Rn is a convex set. Then
for any x1 , . . . , xk ∈ C and λ ∈ △k , the following inequality holds:
Xk k
X
f( λi xi ) ≤ λi f (xi ). (3)
i=1 i=1
Proof.
Theorem 2.34:
Let f : Rn → R and C be a convex set in Rn . Assume that f is
continuously differentiable on an open set containing C . Then f is convex
on C if and only if
Proof.
Theorem 2.35:
Let f : Rn → R and C be a convex set in Rn . Assume that f is
continuously differentiable on an open set containing C . Then f is strictly
convex over C if and only if
Theorem 2.36:
Let f : Rn → R be the quadratic function given by
f (x) = x T Ax + 2b T x + c, where A ∈ Rn×n is symmetric, b ∈ Rn , and
c ∈ R. Then f is (strictly) convex if and only if A is positive semi-definite
(positive definite).
Theorem 2.35:
Let f : Rn → R and C be a convex set in Rn . Assume that f is
continuously differentiable on an open set containing C . Then f is strictly
convex over C if and only if
Theorem 2.36:
Let f : Rn → R be the quadratic function given by
f (x) = x T Ax + 2b T x + c, where A ∈ Rn×n is symmetric, b ∈ Rn , and
c ∈ R. Then f is (strictly) convex if and only if A is positive semi-definite
(positive definite).
Figure: Source:
https://www.quora.com/Are-all-quadratic-programming-problems-convex
Monotonicity of gradient
Theorem 2.37
Let f : Rn → R and C be a convex set in Rn . Assume that f is
continuously differentiable on an open set containing C . Then f is convex
over C if and only if
Proof.
Proof.
Theorem 2.39:
Let f : Rn → R and C be an open convex set in Rn . Assume that f is
tiwce continuously differentiable on C , and suppose that ∇2 f (x) ≻ 0 for
any x ∈ C . Then f is strictly convex over C .
Proof.
Proof.
Theorem 2.39:
Let f : Rn → R and C be an open convex set in Rn . Assume that f is
tiwce continuously differentiable on C , and suppose that ∇2 f (x) ≻ 0 for
any x ∈ C . Then f is strictly convex over C .
Proof.
Proof.
Theorem 2.39:
Let f : Rn → R and C be an open convex set in Rn . Assume that f is
tiwce continuously differentiable on C , and suppose that ∇2 f (x) ≻ 0 for
any x ∈ C . Then f is strictly convex over C .
Proof.
Example 2.40:
The log-sum-exp function f (x) = ln(e x1 + e x2 + · · · + e xn ) for
x = (x1 , x2 , . . . , xn ) is convex on Rn .
x12
The quadratic-over-linear function f (x) = x2 is convex on
{x = (x1 , x2 )| x2 > 0}.
Example 2.40:
The log-sum-exp function f (x) = ln(e x1 + e x2 + · · · + e xn ) for
x = (x1 , x2 , . . . , xn ) is convex on Rn .
x12
The quadratic-over-linear function f (x) = x2 is convex on
{x = (x1 , x2 )| x2 > 0}.
Example 2.40:
The log-sum-exp function f (x) = ln(e x1 + e x2 + · · · + e xn ) for
x = (x1 , x2 , . . . , xn ) is convex on Rn .
x12
The quadratic-over-linear function f (x) = x2 is convex on
{x = (x1 , x2 )| x2 > 0}.
Theorem 2.41
(i) Let f be a convex function defined over a convex set C ⊆ Rn and let
α ≥ 0. Then αf is a convex function over C .
(ii) Let f1 , f2 , . . . , fp be convex functions over a convex set C ⊆ Rn . Then
the sum function f1 + f2 + . . . + fp is convex over C .
Proof.
Theorem 2.41
(i) Let f be a convex function defined over a convex set C ⊆ Rn and let
α ≥ 0. Then αf is a convex function over C .
(ii) Let f1 , f2 , . . . , fp be convex functions over a convex set C ⊆ Rn . Then
the sum function f1 + f2 + . . . + fp is convex over C .
Proof.
Theorem 2.41
(i) Let f be a convex function defined over a convex set C ⊆ Rn and let
α ≥ 0. Then αf is a convex function over C .
(ii) Let f1 , f2 , . . . , fp be convex functions over a convex set C ⊆ Rn . Then
the sum function f1 + f2 + . . . + fp is convex over C .
Proof.
g (y ) = f (Ay + b)
Proof.
g (y ) = f (Ay + b)
Proof.
g (y ) = f (Ay + b)
Proof.
Theorem 2.44:
Let f : C → R be a convex function over the convex set C ⊆ Rn . Let
g : I → R be a one-dimensional nondecreasing convex function over the
interval I ⊆ R. Assume that the image of C under f is contained in
I : f (C ) ⊆ I . Then the composition of g with f defined by
h(x) := g (f (x)),
Example 2.45:
2
The function h(x) = e ∥x∥ is a convex function over Rn since it can
be represented as h(x) = g (f (x)), where g (t) = e t is a nondecreasing
convex function and f (x) = ∥x∥2 is a convex function.
The function h(x) = (∥x∥2 + 1)2 is a convex function over Rn since it
can be represented as h(x) = g (f (x)), where g (t) = t 2 and
f (x) = ∥x∥2 + 1.
Example 2.45:
2
The function h(x) = e ∥x∥ is a convex function over Rn since it can
be represented as h(x) = g (f (x)), where g (t) = e t is a nondecreasing
convex function and f (x) = ∥x∥2 is a convex function.
The function h(x) = (∥x∥2 + 1)2 is a convex function over Rn since it
can be represented as h(x) = g (f (x)), where g (t) = t 2 and
f (x) = ∥x∥2 + 1.
Example 2.45:
2
The function h(x) = e ∥x∥ is a convex function over Rn since it can
be represented as h(x) = g (f (x)), where g (t) = e t is a nondecreasing
convex function and f (x) = ∥x∥2 is a convex function.
The function h(x) = (∥x∥2 + 1)2 is a convex function over Rn since it
can be represented as h(x) = g (f (x)), where g (t) = t 2 and
f (x) = ∥x∥2 + 1.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Example 2.47:
(i) f (x) = max{x1 , . . . , xn } is convex.
(ii) Given a vector x = (x1 , . . . , xn )T . Let x [i] denote the ith largest
value in x. For example,
x [1] = max{x1 , . . . , xn }
and
x [n] = min{x1 , . . . , xn }.
The function h(x) = x [1] is convex. However, in general the function
h(x) = x [i] is not convex. On the other hand, the sum of the k
largest components
is convex.
Theorem 2.48:
Let f : C × D → R be a convex function defined over the set C × D where
C ⊆ Rm and D ⊆ Rn are convex sets. Let
where we assume that the minimum in the above definition is finite. Then
g is convex over C .
Proof.
Level sets
Definition 2.50:
Let f : C → R be a convex function over the convex set C ⊆ Rn and
α ∈ R. Then the level set of f with level α is given by
Lα f = {x ∈ C | f (x) ≤ α}.
Theorem 2.51:
Let f : C → R be a convex function over the convex set C ⊆ Rn . Let
x0 ∈ int(C ). Then there exist ϵ > 0 and L > 0 such that B(x0 , ϵ) ⊆ C and
Proof.
Theorem 2.52:
Let f : C → R be a convex function over the convex set C ⊆ Rn . Let
x ∈ int(C ). Then for any d ̸= 0, the directional derivative f ′ (x; d) exists.