Definition of Convex Sets and Common Convex Sets
It is commonly held that if a real-world problem can be formulated as a convex optimization problem, then the problem is in effect already solved. Recognizing a convex optimization problem, however, is still rather difficult. This article begins by introducing the definition of convex sets and some common convex sets.
Affine Sets
A set is affine if and only if, for any and , we have ; that is, contains every linear combination of any two of its points whose coefficients sum to 1.
Extending this to the case of multiple points: if , we call a point of the form an affine combination of . For example, the solution set of a system of linear equations is an affine set.
The set consisting of all affine combinations of points in is called the affine hull of :
The affine hull is the smallest affine set containing ; that is, if a set satisfies , then . We also define the affine dimension of a set as the dimension of its affine hull. For example, the unit circle in has dimension 1, but its affine dimension is 2, because its affine hull is the whole space .
Convex Sets
A set is convex if, for any and , we have . The difference from an affine set is that an affine set imposes no requirement that . For example, a line segment is a convex set, whereas a line is an affine set.
Extending to the multidimensional case, if , then a point of the form is called a convex combination of .
The set consisting of all convex combinations of points in is called the convex hull of :
As with the affine hull, the convex hull is the smallest convex set containing . More generally, let be a convex set, let be a random variable, and suppose with probability 1; then .
Some Important Convex Sets
Recognizing convex sets is fairly important for identifying convex optimization problems. Here we introduce some of the more important convex sets.
Any affine set or subspace is convex. Some of the simpler ones, such as the empty set , a singleton set , the whole space , and lines/rays/line segments, are all convex.
Some other important convex sets are as follows:
- Hyperplanes and halfspaces
- Euclidean balls
- Ellipsoids
- Norm balls , where is a norm on
- Norm cones
- Polyhedra , i.e., the intersection of a finite number of halfspaces and hyperplanes; a simplex is also a convex set and is a special kind of polyhedron
- The positive semidefinite cone , i.e., the set of positive semidefinite symmetric matrices