Convex - Module A Part 2
Convex - Module A Part 2
28
Operations that preserve convexity of sets
Ellipsoid:
Proposition 5. Let A be a symmetric positive definite matrix. Then, the set
E := {x 2 Rn |(x c)> A 1 (x c) 1} is convex.
29
Operations that preserve convexity of sets
X := X1 ⇥ X2 ⇥ . . . ⇥ Xm := {(x1 , x2 , . . . , xm ) | xi 2 Xi , i 2 [m]}
is a convex set.
Example:
Proposition
P 7 (Weighted
P Sum). If X1 , X2 , . . . , Xm are convex sets, then
i2[m] ↵i Xi := {y | y = i2[m] ↵i xi , xi 2 Xi } is a convex set.
Example:
30
Operations that preserve convexity of sets
31
Convex Combination
Equivalent Definition:
Definition 4 (Convex Set). A set is convex if it contains all convex combi-
nations of its points.
Example:
32
Combination of points
Pn
Convex if i 0 and i=1 i = 1.
Conic if i 0,
Pn
Affine if i=1 i = 1,
Linear if i 2 R.
33
Projection
Main idea:
Existence due to Weierstrass Theorem
Uniqueness via contradiction exploiting convexity
34
Separating Hyperplane
Equivalently
sup a> x inf a> x
x2X1 x2X2
35
Separating Hyperplane Theorem
Main Idea:
||a||22
1. Let H = {x 2 Rn | a> x = b} with a = x0 projX (x0 ) and b = a> x0 2 .
36
Theorem of the Alternative (Farkas’ Lemma)
Insight: If unable to show a system of linear inequalities does not have a solution,
try to show that its alternative system does.
Main Idea:
1. Easy to show that if (2) is feasible, (1) is infeasible.
2. For the converse, suppose (1) is infeasible. Then, b 2 / cone(a1 , a2 , . . . , an )
where ai is the i-th column of A. Find a hyperplane separating b from
cone(a1 , a2 , . . . , an ) and show that (2) is feasible.
37
Application: Linear Programming Duality
minn c> x
x2R
s.t. Ax = b, (P)
x 0.
max
m
b> y
y2R
Theorem 6: LP Duality
If (P) has a finite optimal value, then (D) also has a finite optimal value
and both optimal values are equal to each other.
38
Domain of a Function
39
Convex Functions
The Line segment joining (x, f (x)) and (y, f (y)) lies “above” the function.
Examples:
f (x) = x2
f (x) = ex
f (x) = a> x + b for x 2 Rn
40
Example: Norms
Examples:
P 1
||x||p := ( ni=1 |xi |p ) p for p 1.
p
||x||Q := x> Qx where Q is a positive definite matrix.
P Pn
||A||F := ( m i=1
2 1/2
j=1 |Ai,j | ) Frobenius norm on Rm⇥n .
41
Example: Indicator Function
42
Example: Support Function
Proposition 12. Support function of a set C is defined as IC⇤ (x) := supy2C x> y.
Support function of a set is always a convex function.
43
Special Types of Convex Functions
44
Jensen’s Inequality
45
Epigraph Characterization
46
Level-set Characterization
Converse is not true. A function is called quasi-convex if its domain and all level
sets are convex sets.
47
Restriction of a Convex Function on a Line
48
First Order Condition
A global lower bound on the function can be obtained at any point based on local
information (f (x), rf (x)).
49
Second Order Condition
50
Convexity Preserving Operations
51
Convexity Preserving Operations
52
Convexity Preserving Operations
53