We will start by defining what makes a set convex.
Convex Sets
Definition 1 (Convex Set)
A set S⊆Rn is called convex if,
λx1+(1−λ)x2∈S{∀(x1,x2)∈Sλ∈(0,1)Example of a convex set and non-convex set
Examples
By definition, ∅ is convex.
The set {x∈Rn∣∥x∥≤a} is convex ∀a∈R.
However, the set {x∈Rn∣∥x∥=a} is not convex for any a>0.
Example of a convex set and non-convex setProposition 1 (Convex Set Intersection)
Let Sk∈Rn for k=1,…,K be convex.
Then, the intersection,
S:=k=1⋂KSk is convex.Proof
Let x1,x2∈S and λ∈(0,1).
Since x1,x2∈S, we have that x1,x2∈Sk for all k=1,…,K.
Each Sk is convex, thus,
λx1+(1−λ)x2∈Sk,∀k=1,…,K
Hence, λx1+(1−λ)x2 lies in all the Sk simultaneously, i.e.,
λx1+(1−λ)x2∈S=k=1⋂KSk■Note
Unions of convex sets might not be convex.
Examples of the union of convex sets
Convex Hull
Definition 2 (Convex Hull)
The convex hull of a finite set of points, {v1,…,vk}⊆Rn is defined as,
convV:={λ1v1+…+λkvk∣λ1,…,λk≥0i=1∑kλi=1}Definition 3 (Properties of the Convex Hull)
The convex hull of the set S⊆Rn, is the set with any of the following properties,
(1) It is the unique minimal convex set containing S.
(2) It is the intersection of all convex sets containing S.
(3) It is the set of all convex combinations of points in S.
Construction of the convex hull
From (3), any point in the convex hull can be expressed as a convex combination of points in S.
An interesting question is how many points do we need to construct the convex hull?
Theorem 1 (Carathéodory’s Theorem)
Let α∈conv(S), where S⊆Rn.
Then α can be expressed as a convex combination of at most n+1 points in S.
Polytopes
Definition 4 (Polytope)
A set P⊆Rn is called a polytope if it is the convex hull of finitely many points.
Note
A polytope will always have straight edges. So, a circle is not a polytope (since the circumference is curved and can not be expressed with finitely many points).
Definition 5 (Extreme Point)
A point v of a convex set S is called an extreme point if,
v=x1=x2⎩⎨⎧v=λx1+(1−λ)x2x1,x2∈Sλ∈(0,1)Theorem 2 (Extreme Points of a Polytope)
Let P be the polytope conv(V), where V={v1,…,vk}.
Then, P is equal to the convex hull of its extreme points.
Extreme points of different polytopes
Polyhedra
Definition 6 (Polyhedron)
A set P is called a polyhedron if there exists a matrix A∈Rn×m and a vector b∈Rn such that,
P:={x∈Rm∣Ax≤b}Note
Ax≤b means that,
aiTx≤bi,∀i=1,…,n
where aiT is the i-th row of A and bi is the i-th element of b.
Further, {x∈Rm∣Ax≤b} is a half-space.
A polyhedron is the intersection of n half-spaces ⟹ a polyhedron is a convex set (by our previous proposition).
Half-space defined by a linear inequalityExample 1 (Polyhedron)
Let A=1−2021−1 and b=6−2−1.
This gives the following system of inequalities,
⎩⎨⎧x1+2x2≤6−2x1+x2≤−2−x2≤−1Polyhedron defined by the intersection of half-spacesTheorem 3 (Extreme Points of a Polyhedron)
Let x′∈P{x∈Rm∣Ax≤b}, where A∈Rn×m, rank(A)=m and b∈Rn.
Further, let A′x′=b′ be the equality subsystem of Ax≤b, i.e., A′ contains all rows of A where we have (Ax′)i=bi.
Then, x′ is an extreme point of P if and only if rank(A′)=m.
We can see that rank(A′)=2=m, thus x′ is an extreme point of P.
Example 3 (Continued)
Now, consider a new point x2′=[21].
Then,
Ax2′Ax2′≤b=4−3−1⟹4−3−1≤6−2−1
Which means,
A2′=[0−1],b2′=[−1]
We can see that rank(A2′)=1=m, thus x2′ is not an extreme point of P.
Cones
Definition 7 (Cone)
A set C⊆Rn is a cone if,
λx∈C,∀x∈C,λ>0Examples of conesExample 4 (Convex Cone)
Let A⊆Rn×m then, C:={x∈Rm∣Ax≤0} is a convex cone.
It is quite simple to prove this, assume that x∈C and λ>0,
A(λx)=≤0>0λ≤0Ax■
Representation Theorem
Theorem 4 (Representation Theorem)
Let Q={x∈Rm∣Ax≤b} (polyhedron) and let {v1,…,vk} be its extreme points.
Further, we define P:=conv({v1,…,vk}) (polytope) and C:={x∈Rm∣Ax≤0} (cone).
Then,