Convex Sets
1. Affine and convex sets
1.1 Affine sets
A set is affine if the line through any two distinct points in lies in , which means , we have .
An affine set can be expressed as
i.e., as a subspace plus an offset.
Every affine set can be expressed as the solution set of a system of linear equations.
The set of all affine combinations of points in some set is called the affine hull of , and denoted :
- The affine hull of the empty set is the empty set.
- The affine hull of a singleton (a set made of one single element) is the singleton itself.
- The affine hull of a set of two different points is the line through them.
- The affine hull of a set of three different points not on one line is the plane going through them.
- The affine hull of a set of four points not in a plane in is the entire space .
1.2 Affine dimension and relative interior
We define the affine dimension of a set as the dimension of its affine hull.
If the affine dimension of a set is less than , then the set lies in the affine set .
We define the relative interior of the set , denoted , as its interior relative to :
where , the ball of radius and center in the norm .
In mathematics, a normed vector space is a vector space over the real or complex numbers on which a norm is defined.
A norm is a generalization of the intuitive motion of "length" in the physical world. If is a vector space over , where is a field equal to or , then a norm on is a map , typically denoted as , satisfying the following four axioms:
- Non-negativity: for every
- Positive Definiteness: for every if and only if is the zero vector
- Absolute Homogeneity: for every ,
- Triangle Inequality: for every ,
The relative interior can be equivalently defined as
1.3 Convex sets
A set is convex if the line segment between any two points in lies in .
Obviously every affine set is convex, since it contains the entire line between any two distinct points in it.
A point of the form , where and , is a convex combination of point . A set is convex if and only if it contains every convex combination of its points.
The convex hull of a set , denoted , is the set of all convex combinations of points in :
is the key difference between convex hull and affine hull.
More generally, suppose satisfies for all and , where is convex. Then
if the integral exists.
1.4 Cones
A set is called a cone, or nonnegative homogeneous, if for every and we have . A set is a convex cone if it is convex and a cone, which means that for any and , we have
conic combination: a point of the form with .
Every conic combination of every point in a convex cone is also in the same convex cone.
The conic hull of a set :
1.5 Some important examples
- The empty set , any single point, and the whole space are affine(hence, convex) subsets of
- Any line is affine. If it passes 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 , where , is convex, but not affine. It is a convex cone if its base is 0.
- Any subspace is affine, and a convex cone (hence convex).
2. Hyperplanes and halfspaces
A hyperplane is a set of the form
where . Analytically, it is the solution set of a nontrivial linear equation among the components of . Geometrically, it is a hyperplane with normal vector , the constant is the offset of the hyperplane from the origin.
It can also be expressed as
where denotes the orthogonal component of :
A hyperplane divides into two halfspaces, which has the form of
A halfspace is convex but not affine.
2.2 Euclidean balls and ellipsoids
A Euclidean ball in has the form
where .
A Euclidean ball is a convex set: if , and , then
A related family of convex sets is the ellipsoids, which have the form
where is symmetric and positive definite. The matrix determines how far the ellipsoid extends in every direction from the center ; the length of the semi-axes of are give by where are the eigenvalues of .
2.3 Norm balls and norm cones
The norm cone associated with the norm is the set
2.4 Polyhedra
A polyhedra is defined a solution set of a finite number of equalities and inequalities:
A polyhedra is thus the intersection of a finite number of halfspaces and hyperplanes. Affine sets, rays, line segments, and halfspaces are all polyhedra.
The compact notation:
where
Simplexes
Simplexes are another important family of polyhedra. Suppose the points are affinely independent, which means that are linearly independent. The simplex determined by them is given by
The affine dimension of this simplex is , so it sometimes referred to as a -dimensional simplex in .
- A 1-dimensional simplex is a line segment.
- A 2-dimensional simplex is a triangle includes it interior.
- A 3-dimensional simplex is a tetrahedron.
- The unit complex is the n-dimensional simplex determined by a zero-vector and the unit vectors.
To describe the simplex as a polyhedron, we define and
we can say that if and only if
Note that matrix has rank , so there exists a nonsingular matrix such that
Multiplying on the left with , we get
As satisfies and , in other words we have if and only if
which is a set of linear equalities and inequalities in , and so describes a polyhedron.
Convex hull description of polyhedra
The convex hull of polyhedron:
A generalization of this convex hull description:
where . We only require the first coefficients to sum to one.
2.5 The positive semidefinite cone
Notation represents a symmetric matrix
which is a vector space with dimension . Also
3. Operations that preserve convexity
3.1 Intersection
Convexity is preserved under intersection: if and are convex, then is convex.
This property extends to the intersection of an infinite number of sets: if is convex for every , then is convex. The positive semidefinite cone can be expressed as
In fact, a closed convex set is the intersection of all halfspaces that contain it:
3.2 Affine functions
A function is affine if it is a sum of a linear function and a constant, i.e., if it has the form , where .
Suppose is convex and is an affine function, then the image of under
is convex. Similarly, if is an affine function, the inverse image of under
is convex.
3.3 Linear-fractional and perspective functions
The perspective function
We define the perspective function , with domain . The perspective function scales or normalizes vectors so the last component is one, and then drops the last component.
Suppose that with . Then for
where
The correspondence between and is monotonic.
The inverse image of a convex set under the perspective function is also convex: if is convex, then
is convex.
Linear-fractional functions
A linear-fractional function is formed by composing the perspective function with an affine function. Suppose is affine, i.e.,
where . The function given by , i.e.,
is called a linear-fractional (or projective) function.
Like the perspective function, linear-fractional functions preserve convexity.
4. Generalized inequalities
4.1 Proper cones and generalized inequalities
A cone is called a proper cone if it satisfies the following:
- is convex
- is closed
- is solid, which means it has nonempty interior
- is pointed, which means it contains no line (or equivalently, )
We associate with the proper cone the partial ordering on defined by
Similarly, we define an associated strict partial ordering by
represents the interior of .
When , the partial ordering is on .
Properties of generalized inequalities
A generalized inequality satisfies many properties, such as
- preserved under addition
- transitive
- preserved under nonnegative scaling
- reflexive:
- antisymmetric: if and , then
- preserved under limits: if , for and as , then
4.2 Minimum and minimal elements
We say that is the minimum element of if for every , . We define the maximum element in a similar way. If a set has minimum element, the set is unique.
We say that is the minimal element of if , then . A set can have many different minimal (maximal) elements.
A point is the minimum element of if and only if
A point is the minimal element of if and only if
5. Separating and supporting hyperplanes
5.1 Separating hyperplane theorem
separating hyperplane theorem: Suppose and are nonempty disjoint convex sets, and , then there exists and such that for all , , and for every , .
Proof of separating hyperplane theorem
Here we consider a special case, we assume that the Euclidean distance between and , defined as
represents the greatest lower bound of set .
is positive, and there exists that achieve the minimum distance.
Define
Now we need to prove that the affine function
is nonpositive on , and nonnegative on , i.e., the hyperplane separates and . This hyperplane is perpendicular to the line segment between and .
We first show that is nonnegative on , suppose there is point for which
Obviously , now we observe that
so for some small , with , we have
i.e., the point is a closer point to than is, which is contradictory to our assumption. So is nonnegative on .
Strict separation
If the separating hyperplane we constructed above satisfies the stronger condition that for all and for all . This is called strict separation of the sets and .
Converse separating hyperplane theorems
The converse of the separating hyperplane theorem (i.e., existence of a separating hyperplane implies that and do not intersect) is not true.
But by adding conditions on and , we can have the following result: any two convex sets, at lease one of which is open, are disjoint if and only if exists a separating hyperplane.
5.2 Supporting hyperplanes
Suppose , and is a point in its boundary .
If satisfies for all , then the hyperplane is called a supporting hyperplane to at the point . This is equivalent to saying that the set and the point are separated by the hyperplane . And is the normal vector of this hyperplane.
A basic result, called the supporting hyperplane theorem, states that for any point , there exists a supporting hyperplane to at .
We distinguish two cases, if the interior of set is not empty, the result follows immediately by applying the separating hyperplane theorem to the sets and . If the interior of is empty, then must lies in a affine set of dimension less than . and any hyperplane containing that affine set contains and , and is a supporting hyperplane.
6. Dual cones and generalized inequalities
6.1 Dual cones
Let be a cone. The set
is called a dual cone of . is a cone, and is always convex, even when the original cone is not.
Geometrically, if and only if is the normal of a hyperplane that supports at the origin.
A cone whose dual cone is itself is called a self-dual cone.
Dual cones satisfy several properties, such as:
- 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 convex hull of . (Hence is is convex and closed, .)
6.2 Dual generalized and inequalities
Now suppose that the convex cone is proper, so it induces a generalized inequality . The its dual cone is also proper, and induces a generalized inequality . We refer it as the dual of the generalized inequality .
Some important proprtties relating a generalized inequality and its dual are:
- if and only if for all .
- if and only if for all .
6.3 Minimum and minimal elements via dual inequalities
Dual characterization of minimum element
is the minimum element of , with respect to the generalized inequality , if and only if for all , is the unique minimizer of over . Geometrically, this means that for any , the hyperplane
is a strict supporting hyperplane to at .
Dual characterization of minimal element
If and minimizes over , then is minimal.
Convexity plays an important role in the converse, provided the set is convex, we can say that for any minimal element there exists a nonzero such that minimizes over .
This converse theorem cannot be strengthened to .
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)