Definition of Convex Sets and Common Convex Sets

Language:中文/EN

Context (title): Definition of Convex Sets and Common Convex Sets

It is generally believed that if a real-world problem can be expressed as a convex optimization problem, then the problem is essentially solved. However, identifying convex optimization problems is still quite challenging. This article will first introduce the definition of convex sets and common convex sets.

Affine Sets

If a set CRnC\subseteq R^{n} is affine, it is equivalent to: for any x1,x2Cx_{1},x_{2}\in C and θR\theta \in R, we have θx1+(1θ)x2C\theta x_{1}+(1-\theta)x_{2}\in C, meaning that CC contains the linear combination of any two points in CC where the sum of the coefficients is 1.

Extending this to multiple points: if θ1+θ2+...+θk=1\theta_{1}+\theta_{2}+...+\theta_{k}=1, we call the point of the form θ1x1+θ2x2+...+θkxk\theta_{1}x_{1}+\theta_{2}x_{2}+...+\theta_{k}x_{k} an affine combination of x1,x2,...,xkx_{1},x_{2},...,x_{k}. For example, the solution set of a system of linear equations C={xAx=b}C=\{x|Ax=b\} is an affine set.

The set of all affine combinations of points in a set CRnC\subseteq R^{n} is called the affine hull of CC:

aff C={θ1x1+...+θkxkx1,...,xkC,θ1+θ2+...+θk=1}\mathrm{aff}\ C=\{\theta_{1}x_{1}+...+\theta_{k}x_{k}|x_{1},...,x_{k}\in C,\theta_{1}+\theta_{2}+...+\theta_{k}=1\}

The affine hull is the smallest affine set containing CC, meaning if a set SS satisfies CSC\subseteq S, then aff CS\mathrm{aff}\ C\subseteq S. The affine dimension of a set CC is defined as the dimension of its affine hull. For example, the dimension of a unit circle in R2R^{2} is 1, but its affine dimension is 2 because its affine hull is the entire space R2R^{2}.

Convex Sets

If a set CC is convex, then for any x1,x2Cx_{1},x_{2}\in C and 0θ10\le \theta\le 1, we have θx1+(1θ)x2C\theta x_{1}+(1-\theta)x_{2}\in C. The difference from affine sets is that affine sets do not require θ0\theta\ge0. For example, a line segment is a convex set, while a line is an affine set.

Extending to multiple dimensions, if θ1+θ2+...+θk=1,θi0\theta_{1}+\theta_{2}+...+\theta_{k}=1,\theta_{i}\ge0, then the point of the form θ1x1+θ2x2+...+θkxk\theta_{1}x_{1}+\theta_{2}x_{2}+...+\theta_{k}x_{k} is called a convex combination of x1,x2,...,xkx_{1},x_{2},...,x_{k}.

The set of all convex combinations of points in a set CRnC\subseteq R^{n} is called the convex hull of CC:

conv C={θ1x1+...+θkxkx1,...,xkC,θ1+...+θk=1,θi0}\mathrm{conv}\ C=\{\theta_{1}x_{1}+...+\theta_{k}x_{k}|x_{1},...,x_{k}\in C,\theta_{1}+...+\theta_{k}=1,\theta_{i}\ge0\}

Like the affine hull, the convex hull is the smallest convex set containing CC. Generally, if CRnC\in R^{n} is a convex set and xx is a random variable with xCx\in C with probability 1, then E xCE\ x\in C.

Some Important Convex Sets

Identifying convex sets is important for recognizing convex optimization problems. Here, we introduce some important convex sets.

Any affine set and subspace is a convex set. Some simple examples include the empty set \emptyset, single-point set {x0}\{x_{0}\}, the entire space RnR^{n}, lines/rays/line segments, all of which are convex.

Some other important convex sets include:

  1. Hyperplanes {xaTx=b}\{x|a^{T}x=b \} and half-spaces {xaTxb}\{x|a^{T}x\le b\}
  2. Euclidean balls B(xc,r)={x xxc2r}B(x_{c},r)=\{x|\ ||x-x_{c}||_{2}\le r\}
  3. Ellipsoids ξ={x(xxc)TP1(xxc)1}\xi=\{x|(x-x_{c})^{T}P^{-1}(x-x_{c})\le1\}
  4. Norm balls {x xxcr}\{x|\ ||x-x_{c}||\le r\}, where ||\cdot|| is a norm in RnR^{n}
  5. Norm cones C={(x,t) xt}Rn+1C=\{(x,t)|\ ||x||\le t\}\subseteq R^{n+1}
  6. Polyhedra P={xajTbj,j=1,...,m,cjTx=dj,j=1,...,p}P=\{x|a_{j}^{T}\le b_{j},j=1,...,m,c_{j}^{T}x=d_{j},j=1,...,p\}, which are intersections of finitely many half-spaces and hyperplanes. A simplex is also a convex set and is a special type of polyhedron.
  7. Positive semidefinite cone S+n={XRnnX=XT,X0}S_{+}^{n}=\{X\in R^{n*n}|X=X^{T},X\succeq0\}, which is the set of positive semidefinite symmetric matrices.