Convex Set

A subset is called convex if, for any two points and for every scalar , the points on the entire line segment joining and is within , such that :

\begin{document}
\begin{tikzpicture}[scale=1.5]
 
%---------------------------------
% Convex set (left)
%---------------------------------
\begin{scope}
 % Draw a green convex blob
 \draw[thick]
   plot[smooth cycle] coordinates {
     (0,1) (1,2) (2,2.5) (3,2) (3,1) (2,0.5)
   };
 % Label it
 \node at (1.7,0) {Convex Set};
 
 % Define two points x, y inside the blob
 \coordinate (xLeft) at (1.2,1.2);
 \coordinate (yLeft) at (2.2,1.5);
 
 % Draw the line segment between x and y
 \draw[thick] (xLeft) -- (yLeft);
 
 % Mark the points x, y
 \fill (xLeft) circle (1pt) node[below left] {$x$};
 \fill (yLeft) circle (1pt) node[above right] {$y$};
\end{scope}
 
%---------------------------------
% Non-convex set (right)
%---------------------------------
\begin{scope}[shift={(4,0)}]  % shift everything 6 units to the right
 % Draw a green *non-convex* blob with a 'dent'
 \draw[thick]
   plot[smooth cycle] coordinates {
     (0,1) (1,2.2) (2,2.5) (1.5, 1) (2.6,1.6) (2,0.4) (0.5,0.5)
   };
 % Label it
 \node at (1.3,0) {Non-Convex Set};
 
 % Define two points x, y that appear 'inside' visually,
 % but the line segment between them will cross outside the shape
 \coordinate (xRight) at (1.6,2.1);
 \coordinate (yRight) at (2.3,1.2);
 
 % Draw the line segment
 \draw[thick] (xRight) -- (yRight);
 
 % Mark the points x, y
 \fill (xRight) circle (2pt) node[above left] {$x$};
 \fill (yRight) circle (2pt) node[above right] {$y$};
\end{scope}
 
\end{tikzpicture}
\end{document}

The dimension of is equal to the dimension of its affine hull (i.e., ).

Convex Hull is convex if for all .

One can be quick to notice that

Properties

(Separation Theorem) For a closed convex set , and , there exist some and , such that holds for all .

Removing all the abstraction, the separation theorem states that a separating hyperplane exists, represented as a linear functional (i.e., as a vector of function coefficients), that separates from . We now prove the separation theorem.

(Support Function Representation) Let be a closed convex set, , and be a support function. Then, .

This outcome of the separation theorem states that any closed and convex set can be represented as the intersection of all of its supporting half-spaces. Think of it as intersecting the 3 half-spaces of a triangle, in order to form that triangle based on their overlap.

Why is a support function? We can imagine this closely if is also compact (i.e., well-defined). Then, the hyperplane for all is tangent to .

(Convex Projection) For a closed convex , let

Examples

Convex Set Potpourri

Consider the set , where is a convex function.

Now, consider the set