Lecture 2 Convex Sets and Functions
Lecture 2 Convex Sets and Functions
Nicholas Ruozzi
University of Texas at Dallas
Where We’re Going
• Multivariable calculus tells us where to look for global optima,
but our goal is to design algorithms that can actually find one!
• This is inherently different than combinatorial optimization,
the true solution may be given by a real number, e.g., , which
we might not even be able to represent in closed form!
• Our notions of what it means to solve these problems needs
to be different
• What makes an optimization problem easy? What makes an
optimization problem hard?
2
Convex Sets
3
Convex Sets
4
Examples of Convex Sets
𝑦
• Lines, planes, hyperplanes, etc. also define convex sets
5
Examples of Convex Sets
𝑇
𝑤 𝑥 +𝑏=0
6
Examples of Convex Sets
7
Examples of Convex Sets
8
Convex Combinations
• We say that is a convex combination of the points if for some
choice of such that
• Let be the set of all points that can be obtained as a convex
combination of the
• In the special case , is just a line segment
• is a convex set called the convex hull of the
where and
9
Convex Combinations
• We say that is a convex combination of the points if for some
choice of such that
• Let be the set of all points that can be obtained as a convex
combination of the
• is a convex set called the convex hull of the
10
Convex Functions
• A function is convex if is a convex set and
for all
14
Convex Functions
15
Operations Preserving Convexity
is a convex function.
16
Operations Preserving Convexity
is a convex function.
17
Operations Preserving Convexity
is a convex function.
18
Operations Preserving Convexity
is a convex function.
19
Operations Preserving Convexity
is a convex function.
20
Other Characterizations of Convexity
• A differentiable function is convex on a convex set if and only if
for all
21
Other Characterizations of Convexity
• A differentiable function is convex on a convex set if and only if
for all
22
Other Characterizations of Convexity
• A differentiable function is convex on a convex set if and only if
for all
𝑓 ( 𝑥)
′
𝑓 ( 𝑦 )+ 𝑓 ( 𝑦 )(𝑥 − 𝑦 )
23
Other Characterizations of Convexity
• A differentiable function is convex on a convex set if and only if
for all
25