Convex Sets
Contents
9.2. Convex Sets#
Throughout this section, we assume that
9.2.1. Line Segments#
Definition 9.5 (Line segment)
Let
form a (closed) line-segment between
Similarly, we define an open line segment as:
The half-open segment
The half-open segment
9.2.2. Convex Sets#
Definition 9.6 (Convex set)
A set
The empty set is vacuously convex.
The entire vector space
![../_images/pic_convex_sets.png](../_images/pic_convex_sets.png)
Fig. 9.1 Examples of convex sets#
Observation 9.2
Since a convex set contains the line segment between any two points, any line segment is convex by definition.
Geometrically, a convex set has no holes, hollows, pits or dimples. A set is convex if from each point in the set, it is possible to see every other point without having the line of sight pass outside the set.
Example 9.1 (Real line)
On the real line
Theorem 9.7
Any linear subspace is convex.
Proof. Let
Thus,
Theorem 9.8
Any affine set is convex.
Proof. Let
Theorem 9.9
Any hyperplane is convex since it is affine.
Theorem 9.10
Half spaces are convex.
Proof. Consider
Let
For some
Thus,
Theorem 9.11 (Convex set as convex combination of itself)
Let
In particular, if
Proof. The statement
Let
.Then there exist
such that .Hence
and .Hence
.
We now show the converse.
Let
.Then there exist
such thatIf
, then and .Now assume that
.By the convexity of
,Hence
.Hence
.
Together, we have
Theorem 9.12 (Convex set as union of line segments)
Let
Proof. Let
If
So
We first show that
Let
.Then
is a line segment of .Hence
.Hence
.
We now show the converse.
Let
.Then there exists
such that .Then by convexity of
, .Hence
.Hence
.
Together,
9.2.3. Rays#
Definition 9.7 (Ray)
A ray
where
Theorem 9.13
A ray is convex.
Proof. Let a ray be given as:
Let
Now, for some
Since
9.2.4. Balls#
Proof. Recall that an open ball in a normed linear space is defined as:
Let
By triangle inequality:
Thus,
Theorem 9.15
A closed ball
Proof. Recall that a closed ball in a normed linear space is defined as:
Let
By triangle inequality:
Thus,
9.2.5. Convex Combinations#
Definition 9.8 (Convex combination)
We call a point of the form
It is like a weighted average of the points
Example 9.2 (Center of mass)
Consider a system of particles
Solving this equation gives us:
where
If we assign
which is a convex combination of the locations
Remark 9.2 (Convex combinations and unit simplex)
We recall that the unit simplex in
Thus, the coefficients for convex combinations of
Theorem 9.16 (Closure under convex combinations)
A set is convex if and only if it contains all convex combinations of its points.
Let
Proof. We know that a set
We first show that if
By definition
contains all its 2 point convex combinations.As induction hypothesis, assume that
contains all convex combinations of or fewer points where .Consider a convex combination of
pointswhere
, , .Since
, hence at least one of .Without loss of generality, assume
.Note that
means that .Define
where .Note that
. Also, since .Thus,
is an point convex combination of .By induction hypothesis,
.Now,
.Hence,
.It is a 2 point convex combination of
and .Since both
, hence .Thus,
contains all its point convex combinations.
For the converse, note that if
Theorem 9.17
A convex combination of convex combinations is a convex combination.
Proof. Let
Consider
points , described as below.Let
be convex combinations of points: . . .
Consider the convex combination
. . .
We need to show that
is a convex combination of points of .
Towards this:
Consider the terms:
Since
Now, consider their sum:
Thus,
Hence,
is a convex combination of points of
9.2.6. Convex Hull#
Definition 9.9 (Convex hull)
The convex hull of an arbitrary set
![../_images/pic_convex_hull_random_2d_points.png](../_images/pic_convex_hull_random_2d_points.png)
Fig. 9.2 The convex hull of a set of random points on the 2D plane#
Property 9.1 (Convexity of convex hull)
The convex hull
Proof. Let
are convex combinations of points of . is a convex combination of and .Hence,
is a convex combination of convex combinations of points in .By Theorem 9.17, a convex combination of convex combinations is a convex combination.
Thus,
is a convex combination of points of .But
contains all convex combinations of points of by definition.Hence,
.Thus,
is convex.
Property 9.2 (Affine hull of convex hull)
Let
In other words, the affine hull of a set and its convex hull are identical.
Proof. By using a translation argument if necessary,
without loss of generality, we assume that
Then both
and are linear subspaces.Since
, hence .For the converse, assume that
.Let
be linearly independent vectors spanning .Then for every
, there exist scalars so thatBy definition of convex hull, each
is a convex combination of points in .Hence every
is a linear combination of points in .Hence
.
Theorem 9.18
The convex hull of a set
Proof. Let
Let
.Then,
is a convex combination of points of . is convex and .Hence,
contains every convex combination of points of .Thus, in particular
.Since
was arbitrary, hence .
We could have started as defining the convex hull of
9.2.6.1. Carathéodory Theorem#
Theorem 9.19 (Carathéodory theorem)
Let
Then, there exists a set of
i.e., there exists a
Proof. We note that
Thus, there exists a set of
points in and such thatWe can assume
for all since otherwise, we can drop the vectors corresponding to the zero coefficients from the convex combination.If
, there is nothing to prove.Hence, consider the case where
.We now describe a process which can reduce the number of points in the convex combination by one.
The
vectors are linearly dependent as and is -dimensional.Thus, there is a nontrivial linear combination of these vectors
Let
. Then, we have a nontrivial combinationwith
.In particular, there exists at least one index
for which .Let
.Then,
with
.Thus, it is a convex combination for
if for every .Let
is well defined since there is at least one . Let be the index for which was obtained.Then,
.Also, we can see that
for all .Thus, we have found a convex combination for
where the coefficient for is 0.Thus, we have obtained a convex combination for
with points.Repeating this process up to
times, we can obtain a convex combination of consisting of or less points.
9.2.7. Dimension#
Definition 9.10 (Dimension of a convex set)
The dimension of a convex set is defined to be the dimension of its affine hull.
If
Recall that the dimension of an affine set is equal to the dimension of the linear subspace associated with it (Definition 4.163).
A circle will have a dimension of 2 even if it is in
.A sphere will have a dimension of three.
9.2.8. Simplices#
Theorem 9.20 (Convex hull of a finite set of points)
Let
In
A Simplex is a convex hull of a finite set of affine independent points. The simplex provides a powerful coordinate system for the points within it in terms of barycentric coordinates.
Definition 9.11 (
Let
The simplex determined by them is given by
where
In other words,
A simplex is a convex set since it is a convex hull of its vertices.
Example 9.3 (Simplex examples)
In
A 0-simplex is a point.
A 1-simplex is a line segment (2 points).
A 2-simplex is a triangle (3 points).
A 3-simplex is a tetrahedron (4 points).
A 4-simplex is a 5-cell (5 points).
Theorem 9.21 (Barycentric coordinates)
Each point of a
Proof. Let
Let
.Then,
with and .For contradiction, assume there was another representation:
with and .Then,
But
are affine independent.Hence,
.Thus, the representation is unique.
Definition 9.12 (Simplex midpoint)
The point
Theorem 9.22
The dimension of a convex set
Proof. We need to show that there is a simplex
Let
be any finite affine independent subset of .Since
is convex, hence .Thus,
contains the simplices constructed from any set of finite affine independent points in .Thus, if
is a set of affine independent points of , then implies that .Thus, if
is a -simplex such that , then .Let
be the maximum of the dimensions of the various simplices contained in .Then, there exist affine independent points
such that the simplex .Let
be the affine hull of ; i.e. .Then,
and .If
were nonempty, then there would be an element which would be affine independent of .That would lead to a set of
affine independent points in . That would mean that contains a simplex of dimension . A contradiction.Hence,
.Thus,
.Since
is the smallest affine set that contains , hence .Thus,
.
9.2.9. Symmetric Reflections#
The symmetric reflection of a convex set is convex since convexity is preserved under scalar multiplication. See Theorem 9.30 below.
If a symmetric convex set
contains a nonzero vector
9.2.10. Infinite Convex Combinations#
We can generalize convex combinations to include infinite sums.
Theorem 9.23
Let
and let
if the series converges.
We can generalize it further to density functions.
Theorem 9.24
Let
Then
provided the integral exists.
Note that
9.2.11. Convexity Preserving Operations#
In the following, we will discuss several operations which transform a convex set into another convex set, and thus preserve convexity.
Understanding these operations is useful for determining the convexity of a wide variety of sets.
Usually, it is easier to prove that a set is convex by showing that it is obtained by a convexity preserving operation from a convex set compared to directly verifying the convexity property i.e.
9.2.11.1. Intersection and Union#
Theorem 9.25 (Intersection of convex sets)
If
Proof. Let
Since
Similarly
Thus
which completes the proof.
We can generalize it further.
Theorem 9.26 (Intersection of arbitrary collection of convex sets)
Let
Proof. Let
Hence
Corollary 9.1 (Arbitrary intersection of closed half spaces)
Let
is convex.
Proof. Since each of the half spaces is convex, hence so is their intersection.
This result is applicable for open half spaces and hyperplanes too too. It also applies for a mixture of hyperplanes and half-spaces.
Corollary 9.2
The solution set of a system of linear equations and inequalities
in
Proof. We proceed as follows:
The solution set of each linear equation is a hyperplane.
The solution set of each linear inequality is a half-space (closed or open).
The solution set of a system of linear equations and inequalities is the intersection of these hyperplanes and half-spaces.
Each hyperplane and each half-space is convex.
Hence, their intersection is convex.
Theorem 9.27 (Intersection and union of two sets)
Let
Proof. Let
Let
Theorem 9.28 (Intersection and union of arbitrary sets)
Let
And, the smallest convex set containing every set of
Proof. Let
Let
9.2.11.2. Affine Functions#
Let us start with some simple results.
Theorem 9.29 (Convexity and translation)
Convexity is preserved under translation.
Proof. Let
Assume
is convex.Then, for every
and every , .Let
.Let
.Then,
and for some .Then,
But
since is convex.Then,
.Thus,
.Thus,
is convex.
We can follow the same argument in the opposite direction
to establish that
Theorem 9.30 (Convexity and scalar multiplication)
Convexity is preserved under scalar multiplication.
Proof. Let
Assume
is convex.Let
.Let
.Then,
and for some .Let
. .But
since is convex.Hence,
in .Hence,
.Thus,
is convex.
Similar argument in opposite direction establishes
that
Recall that an
affine function
for every
Recall from Theorem 4.193 that an affine function can be written as a linear transformation followed by a translation:
where
Example 9.4
An affine function
where
Theorem 9.31 (Image under affine function)
Let
is a convex set.
Proof. We proceed as follows:
Let
.Then,
and for some .Let
.Then,
since is convex.Since
is affine, henceSince
, hence .We have shown that for any
and any , .Thus,
is convex.
It applies in the reverse direction also.
Theorem 9.32 (Inverse image under affine function)
Let
is convex.
Proof. Denote
We proceed as follows:
Let
.Let
and . .Let
.Then,
since is convex.Let
.Since
is affine, henceSince
, hence as .We have shown that for any
and any , .Thus,
is convex.
Example 9.5 (Affine functions preserving convexity)
Let
For some
, is convex. This is the scaling operation.For some
, is convex. This is the translation operation.Let
. Then, let . A vector can be written as where and . Thenis convex. This is the projection operation. It projects vectors from
to by dropping last entries.
Example 9.6 (System of linear equations)
Consider the system of linear equations
If
The nonnegative orthant
Let
Then,
Thus, the solution set of a system of linear inequalities
of the form
Now, if
Theorem 9.33 (Orthogonal projection of convex set)
The orthogonal projection
of a convex set
Proof. We recall that orthogonal projection is a linear mapping and thus an affine function. By Theorem 9.31, image of a convex set under an affine function is convex. Hence proved.
9.2.11.3. Set Addition#
Theorem 9.34 (Convexity and set addition)
Let
Proof. We proceed as follows:
Let
.Then,
for some and some .Similarly,
for some and some .Let
.Then:
But,
since is convex.Similarly,
since is convex.Hence,
.Thus,
is convex.
One way to think geometrically about set addition is as the
union of all translates of
Theorem 9.35
A set
Proof. Assume
.Thus,
.For every
, and .Thus,
.Thus,
.Combining, we get
.
Assume
Let
and .Then,
and .Hence,
.Thus,
is convex.
Theorem 9.36 (Convexity and linear combination)
Convexity is preserved under linear combinations.
Let
is convex.
Proof. Due to Theorem 9.30,
By (finite) repeated application of Theorem 9.34, their sum is also convex.
Theorem 9.37 (Nonnegative scalar multiplication distributive law)
Let
Proof. From Theorem 4.16, we know that:
We now show that
If both
, then we have trivial equality.If either of
or is 0, then also we have trivial equality.Now, consider the case
.Define
and .Then,
.Then, since
is convex, hence .Multiplying by
on both sides, we get: .
For the special case of
Some implications are
Theorem 9.38 (Convex combinations over arbitrary unions)
Let
i.e.,
where the union is taken over all finite convex combinations
(i.e. over all nonnegative choices of
Proof. We proceed as follows:
Let
.Then,
is a convex combination of elements in .Thus,
where , and .Drop all the terms from
where .If
belong to some same , then, we can replace with some where . Note that, with these assumptions, is a convex combination of and , hence since is convex.Thus, terms from a single
in can be reduced by a single term.Thus, we can simplify
such thatsuch that each
belongs to a different with , and .Thus,
is a union of finite convex combinations of the formwhere
are different indices and , .This is the same set as
except for notational differences.
Corollary 9.3 (Convex hull of union)
Let
Then,
9.2.11.4. Partial Addition#
Recall the notion of
direct sum
of two vector spaces
Theorem 9.39 (Partial addition on convex sets)
Let
Proof. Let
Let
Let
. .Let
.Let
.Since
and is convex, hence .Since
and is convex, hence .But then, we note that
.Thus,
and implies that .Thus,
is convex.
We can write a version of the theorem above for
Corollary 9.4 (Partial addition on convex sets in Euclidean space)
Let
The relationship between
When
we are left with the result that convex implies is convex.When
, we are left with the result that convex implies is convex.In between, we have a spectrum of results where for a vector in
, part of the representation must be common between and while the remaining part must be the sum of corresponding parts of vectors in and .In other words, if a vector space can be decomposed as a direct sum of two subspaces, then we have intersection or representation in one subspace while addition in the other.
This partial addition (binary) operation is commutative as well as associative.
Partial additions appear naturally
in convex cones in
9.2.11.5. Cartesian Product/Direct Sum#
Theorem 9.40 (Direct sum of convex sets)
Let
More generally, if
Proof. If either
Let
and .Then,
and such that and .Since
and are convex, hence and .Now,
Since
and , hence .Thus,
is closed under convex combination.Thus,
is convex.
The generalization for multiple real vector spaces is easily verifiable through induction.
9.2.11.6. Projection#
Theorem 9.41 (Projection of a direct sum)
Let
More generally, if
Proof. Consider the case of two vector spaces
Let
and .Pick any
.Then,
.Since
is convex, henceThus,
.Thus,
is convex.Similarly
is also convex.
The argument can be extended by mathematical induction for multiple vector spaces.
Theorem 9.42 (Projection of a convex set)
Let
For every
Then
Similarly, if for every
then
Proof. If
Then for every
there exists .Let
and .Then
and .Since
is convex hence .i.e.,
.This implies that
.Hence
is convex.
The argument for the convexity of
9.2.12. Extreme Points#
Definition 9.13 (Extreme points of convex sets)
Let
A point
In other words,
The set of extreme points of a set
Example 9.7 (Extreme points)
Let
. Then, and are extreme points of .Let
. doesn’t have any extreme point.In a triangle, the three vertices are extreme points.
In a convex polytope, all the vertices are extreme points.
A more intricate example of the set
of extreme points for the set