Notes | Convex Optimization | Chapter2 Convex sets
2.1 Affine and convex sets
2.1.1 Lines and line segments
Suppose
where
gives another interpretation:
2.1.2 Affine sets
A set
If
is an affine set, , and , then the point also belongs to .
If
is a subspace. Suppose
since
Thus, the affine set
as a subspace plus an offset.
Every affine set can be expressed as the solution set of a system of linear equation. (See Example2.1)
The set of all affine combinations of points in some set
The affine hull is smallest affine set that contains
, in the following sense: if is any affine set with , then
2.1.3 Affine dimension and relative interior
We define the affine dimension of a set
If the affine dimension of a set
where $B(x,r)=\{y | \lVert y-x\rVert\leq r\} |
2.1.4 Convex sets
A set
We call a point of the form
The convex hull of a set
If
is any convex set that contains , then
2.1.5 Cones
A set
A point of the form
A set
is a convex cone if and only if it contains all conic combinations of its elements.
The conic hull of a set
which is also the smallest convex cone that contains
2.2 Some important examples
- The empty set
, any single point (i.e., singleton) , and the whole space are affine (hence, convex) subsets of . - Any line is affine. If it passes through zero, it is a subspace, hence also a convex cone.
- A line segment is convex, but not affine (unless it reduces to a point).
A ray, which has the form $\{x_0 +\theta_v \theta\geq0\} v\neq0 x_0$ is 0.- Any subspace is affine, and a convex cone (hence convex)
2.2.1 Hyperplanes and halfspaces
A hyperplane is as set of the form
where
A hyperplane divides
where
Halfspaces are convex, but not affine.
The halfspace can also be expressed as
where
The boundary of the halfspace is the hyperplane $\{x | a^Tx=b\} | a^Tx<b\} | a^Tx\leq b\}$, is called an open halfspace. |
2.2.2 Euclidean balls and ellipsoids
A (Euclidean) ball (or just ball) in
where
A related family of convex sets is the ellipsoids, which have the form
where
Another common representation of an ellipsoid is
where A is square and nonsingular. In this representation we can assume without loss of generality that
2.2.3 Norm balls and norm cones
From the general properties of norms it can be shown that a norm ball of radius | \lVert x-x_c\rVert\leq r\}$ is convex. The norm cone associated with the norm |
It is (as the name suggests) a convex cone.
The second-order cone is the norm cone for the Euclidean norm,
The second-order cone is also known by several other names. It is called the quadratic cone, since it is defined by a quadratic inequality. It is also called the Lorentz cone or ice-cream cone.
2.2.4 Polyhedra
A polyhedron is defined as the solution set of a finite number of line equalities and inequalities:
A polyhedron is thus the intersection of a finite number of halfspaces and hyperplanes.
Affine sets (e.g., subspaces, hyperplanes, lines), rays, line segments, and halfspaces are all polyhedra.
A bounded polyhedron is sometimes called a polytope, but sume authors use the opposite convention (i.e., polytope for any set of the preceding form, and polyhedron when it is bounded).
It will be convenient to use the compact notation
where
and the symbol
Simplexes:
Simplexes is another important family of polyhedra. Suppose the
The affine dimension of this simplex is
Some common simplexes. A 1-dimensional simplex is a line segment; a 2-dimensional simplex is a triangle (including its interior); and a 3-dimensional simplex is a tetrahedron.
Convex hull description of polyhedra:
The convex hull of the finite set
This set is a polyhedron, and bounded, but (except is special cases, e.g., a simplex) it is not simple to express it in the form by a set of linear equalities and inequalities.
2.2.5 The positive semidefinite cone
We use the notation
which is a vector space with dimension
and the notation
The set
if
2.3 Operations that preserve convexity
2.3.1 Intersection
Convexity is preserved under intersection: if
every closed convex set
is a (usually infinite) intersection of halfspaces. In fact, a closed convex set is the intersection of all halfspaces that contain it:
2.3.2 Affine functions
Recall that a function
is convex.
2.3.3 Linear-fractional and perspective functions
The perspective function:
We define the perspective function
Remark. We can interpret the perspective function as the action of a pin-hole camera.
Linear-fractional functions:
A linear-fractional function is formed by composing the perspective function with an affine function. Suppose
where
is called a linear-fractional (or projective) function. If
2.4 Generalized inequalities
2.4.1 Proper cones and generalized inequalities
A cone
is convex. is closed. is solid, which means it has nonempty interior. is pointed, which means that it contains no line (or equivalently, )
A proper cone
Cone of polynomials nonnegative on
i.e.,
Properties of generalized inequalities:
A generalized inequality
- $\preceq K$ _is preserved under addition: if
and , then . - $\preceq K$ _is transitive: if
and , then . - $\preceq K$ _is preserved under nonnegative scaling: if
and , then . - $\preceq K$ _is reflexive:
. - $\preceq K$ _is antisymmetric: if
and , then . - $\preceq K$ _is preserved under limits: if
for and as , then .
The correspoinding strict generalized inequality
- if
then . - if
and then . - if
and then . .- if
, then for and small enough, .
2.4.2 Minimum and minimal elements
The most difference is that
on is a linear ordering: any two points are comparable, meaning either or . This property does not hold for other generalized inequalities. One implication is that concepts like minimum and maximum are more complicated in the context of generalized inequalities.
We can describe minimum and minimal elements using simple set notation. A point
Here
Here
- Left. The set
has a minimum element with respect to componentwise inequality in . The set is shaded lightly; is the minimum element of since . - Right. The point
is a minimal point of . The set is shown lightly shaded. The point is minimal because and intersect only at .
2.5 Separating and supporting hyperplanes
2.5.1 Separating hyperplane theorem
separating hyperplane theorem: Suppose | a^Tx=b\}$ is call a separating hyperplane for the sets |
Proof of separating hyperplane theorem:
Here we consider a special case, we assume that the (Euclidean) distance between
is positive, and that there exist points
Define
We will show that the affine function
is nonpositive on | a^Tx=b\} |
This hyperplane is perpendicular to the line segment between
We first show that
We can express
We see that
so for some small
i.e., the point
Strict separation:
The separation hyperplane we constructed above satisfies the stronger condition that
Converse separating hyperplane theorems:
Any two convex sets
2.5.2 Supporting hyperplanes
Suppose
If | a^Tx=a^Tx_0\}$ is called a supporting hyperplane to | a^Tx=a^Tx_0\} | a^Tx=a^Tx_0\} | a^Tx\leq a^Tx_0\} |
![Fig. 2. The hyperplane ${x | a^Tx=a^Tx_0} |
A basic result, called the supporting hyperplane theorem, states that for any nonempty convex set
There is also a partial converse of the supporting hyperplane theorem: If a set is closed, has nonempty interior, and has a supporting hyperplane at every point in its boundary, then it is convex.
2.6 Dual cones and generalized inequalities
2.6.1 Dual cones
Let
is called the dual cone of
Geometrically,
Subspace. The dual cone of a subspace | v^Ty=0\text{ for all }v\in V\}$. |
Nonnegative orthant. The cone
We call such a cone self-dual.
Duyal cones satisfy several properties, such as:
is closed and convex. implies .- If
has nonempty interior, then is pointed. - If the closure of
is pointed then has nonempty interior. is the closure of the convex hull of . (Hence if is convex and closed, .)
These properties show that if
2.6.2 Dual generalized inequalities
Now suppose that the convex cone
Some important properties relating a generalized inequality and its dual are:
if and only if for all . if and only if for all .
Since
2.6.3 Minimum and minimal elements via dual inequalities
Dual characterization of minimum element:
We first consider a characterization of the minimum element:
is a strict support hyperplane to
Dual characterization of minimal element:
We now turn to a similar characterization of minimal elements. Here there is a gap between the necessary and sufficient conditions. If
The converse is in general false: a point
Provided the set
This converse theorem cannot be strengthened to
.