























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























Convex Optimization — Boyd & Vandenberghe
basic properties and examples
operations that preserve convexity
the conjugate function
quasiconvex functions
log-concave and log-convex functions
convexity with respect to generalized inequalities
3–
f
n
is convex if
dom
f
is a convex set and
f
θx
θ
y
θf
x
θ
f
y
for all
x, y
dom
f
θ
(
x, f
(
x
))
(
y, f
(
y
))
f
is concave if
f
is convex
f
is strictly convex if
dom
f
is convex and
f
θx
θ
y
< θf
x
θ
f
y
for
x, y
dom
f
x
y
< θ <
Convex functions
3–
n
m
×
n
affine functions are convex and concave; all norms are convex examples on R
n
affine function
f
x
a
T
x
b
norms:
x
p
n i
=
x
i
p
1
/p
for
p
x
∞
= max
k
x
k
examples on R
m
×
n
m
n
matrices)
affine function
f
tr
T
b
m
i
=
n
j
=
ij
ij
b
spectral (maximum singular value) norm
f
2
σ
max
λ
max
T
1
/
2
Convex functions
3–
f
n
is convex if and only if the function
g
g
t
f
x
tv
dom
g
t
x
tv
dom
f
is convex (in
t
) for any
x
dom
f
v
n
can check convexity of
f
by checking convexity of functions of one variable
example.
f
n
with
f
) = log det
dom
f
n ++
g
t
) = log det(
tV
log det
tX
−
1
/
2
−
1
/
2
log det
n
i
=
log(1 +
tλ
i
where
λ
i
are the eigenvalues of
−
1
/
2
−
1
/
2
g
is concave in
t
(for any choice of
); hence
f
is concave
Convex functions
3–
f
is
differentiable
if
dom
f
is open and the gradient
f
x
∂f
x
∂x
1
∂f
x
∂x
2
∂f
x
∂x
n
exists at each
x
dom
f
1st-order condition:
differentiable
f
with convex domain is convex iff
f
y
f
x
f
x
T
y
x
for all
x, y
dom
f
(
x, f
(
x
))
f
(
y
)
f
(
x
) +
∇
f
(
x
)
T
(
y
−
x
)
first-order approximation of
f
is global underestimator
Convex functions
3–
f
is
twice differentiable
if
dom
f
is open and the Hessian
2
f
x
n
2
f
x
ij
2
f
x
∂x
i
∂x
j
i, j
,... , n,
exists at each
x
dom
f
2nd-order conditions:
for twice differentiable
f
with convex domain
f
is convex if and only if
2
f
x
for all
x
dom
f
if
2
f
x
for all
x
dom
f
, then
f
is strictly convex
Convex functions
3–
docsity.com
log-sum-exp
f
x
) = log
n k
=
exp
x
k
is convex
2
f
x
T
z
diag
z
T
z
2
zz
T
z
k
= exp
x
k
to show
2
f
x
, we must verify that
v
T
2
f
x
v
for all
v
v
T
2
f
x
v
k
z
k
v
2 k
k
z
k
k
v
k
z
k
2
k
z
k
2
since
k
v
k
z
k
2
k
z
k
v
2 k
k
z
k
(from Cauchy-Schwarz inequality)
geometric mean
f
x
n k
=
x
k
1
/n
on
n ++
is concave
(similar proof as for log-sum-exp) Convex functions
3–
α
-sublevel set
of
f
n
α
x
dom
f
f
x
α
sublevel sets of convex functions are convex (converse is false) epigraph
of
f
n
epi
f
x, t
n
x
dom
f, f
x
t
epi
f
f
f
is convex if and only if
epi
f
is a convex set
Convex functions
3–
practical methods for establishing convexity of a function
2
f
x
f
is obtained from simple convex functions by operations
that preserve convexity
nonnegative weighted sum
composition with affine function
pointwise maximum and supremum
composition
minimization
perspective
Convex functions
3–
nonnegative multiple:
αf
is convex if
f
is convex,
α
sum:
f
1
f
2
convex if
f
1
, f
2
convex (extends to infinite sums, integrals)
composition with affine function
f
Ax
b
is convex if
f
is convex
examples
log barrier for linear inequalities f
x
m
i
=
log(
b
i
a
Ti
x
dom
f
x
a
Ti
x < b
i
, i
,... , m
(any) norm of affine function:
f
x
Ax
b
Convex functions
3–
docsity.com
if
f
x, y
is convex in
x
for each
y
, then
g
x
) = sup
y
∈A
f
x, y
is convex examples
support function of a set
C
x
) = sup
y
∈
C
y
T
x
is convex
distance to farthest point in a set
f
x
) = sup
y
∈
C
x
y
maximum eigenvalue of symmetric matrix: for
n
λ
max
sup
‖
y
‖
2
=
y
T
Xy
Convex functions
3–
composition of
g
n
and
h
f
x
h
g
x
f
is convex if
g
convex,
h
convex,
˜h
nondecreasing
g
concave,
h
convex,
h
nonincreasing
proof (for
n
, differentiable
g, h
f
′′
x
h
′′
g
x
g
′
x
2
h
′
g
x
g
′′
x
note: monotonicity must hold for extended-value extension
h
examples
exp
g
x
is convex if
g
is convex
/g
x
is convex if
g
is concave and positive
Convex functions
3–
if
f
x, y
is convex in
x, y
and
is a convex set, then
g
x
) = inf
y
∈
C
f
x, y
is convex examples
f
x, y
x
T
Ax
x
T
By
y
T
Cy
with
T
minimizing over
y
gives
g
x
) = inf
y
f
x, y
x
T
−
1
T
x
g
is convex, hence Schur complement
−
1
T
distance to a set:
dist
x, S
) = inf
y
∈
S
x
y
is convex if
is convex
Convex functions
3–
the
perspective
of a function
f
n
is the function
g
n
g
x, t
tf
x/t
dom
g
x, t
x/t
dom
f, t >
g
is convex if
f
is convex
examples
f
x
x
T
x
is convex; hence
g
x, t
x
T
x/t
is convex for
t >
negative logarithm
f
x
log
x
is convex; hence relative entropy
g
x, t
t
log
t
t
log
x
is convex on
2 ++
if
f
is convex, then
g
x
c
T
x
d
f
Ax
b
c
T
x
d
is convex on
x
c
T
x
d >
Ax
b
c
T
x
d
dom
f
Convex functions
3–
docsity.com