Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Convex Sets: Definition, Properties, and Examples, Apuntes de Optimización Convexa

The concepts of convex sets, including definitions, properties, and examples. linear, conic, affine, and convex combinations, as well as the definitions of affine and convex sets. It also includes exercises to test understanding. useful for students in mathematics or engineering, particularly those studying linear algebra or optimization.

Tipo: Apuntes

2019/2020

Subido el 09/11/2020

ricardo-tralma-toro
ricardo-tralma-toro 🇨🇱

1 documento

1 / 5

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Lecture 3: Convex sets
Rajat Mittal ?
IIT Kanpur
We denote the set of real numbers as R. Most of the time we will be working with space Rnand its
elements will be called vectors. Remember that a subspace is a set of vectors closed under addition and
scalar multiplication.
First we learn how to take interesting combinations of a given set of vectors. For vectors x1,x2,· · · , xk;
any point yis a linear combination of them iff
y=α1x1+α2x2· · · +αkxki, αiR
If we restrict αi’s to be positive then we get something called a conic combination.
y=α1x1+α2x2· · · +αkxki, αi0R
Instead of being positive, if we put the restriction that αi’s sum up to 1, it is called an affine combination
y=α1x1+α2x2· · · +αkxki, αiR,X
i
αi= 1
When a combination is affine as well as conic, it is called a convex combination.
y=α1x1+α2x2· · · +αkxki, αi0R,X
i
αi= 1
Exercise 1. What is the linear/conic/affine/convex combination of two points in R2?
1 Affine sets
Lets start by defining an affine set.
Definition 1. A set is called “affine” iff for any two points in the set, the line through them is contained in
the set. In other words, for any two points in the set, their affine combinations are in the set itself.
Theorem 1. A set is affine iff any affine combination of points in the set is in the set itself.
Proof. Exercise. (Use induction)
Exercise 2. What is the affine combination of three points?
Suppose the three points are x1, x2, x3. Then any affine combination can be written as θ1x1+θ2x2+
θ3x3,Piθi= 1. We can write the expression as θ1(x1x3)+ θ2(x2x3)+x3. Since θ1, θ2are unconstrained
now, this sum can be thought of intuitively as (x3+ plane generated by x1x3and x2x3). This gives a
nice relation between affine and linear combinations.
1.1 Examples of affine sets
Offset + Subspace: Any affine set can thought of as an offset xadded to some subspace S(V=
{v+x:vS}). It is easy to see that such a set is affine. Also given an affine set Vand a point inside
it x; it can be shown that S={vx:vV}is a subspace. Notice that the subspace associated with
an affine set does not depend upon the point chosen (exercise). So we can define the dimension of the
affine set as the dimension of the subspace. So it turns out that offset+subspace is not just an example,
but a characterization of affine sets.
Exercise 3. Show that the feasible region of a set of linear equations is affine.
?Thanks to books from Boyd and Vandenberghe, Dantzig and Thapa, Papadimitriou and Steiglitz
pf3
pf4
pf5

Vista previa parcial del texto

¡Descarga Convex Sets: Definition, Properties, and Examples y más Apuntes en PDF de Optimización Convexa solo en Docsity!

Lecture 3: Convex sets

Rajat Mittal?

IIT Kanpur We denote the set of real numbers as R. Most of the time we will be working with space Rn^ and its elements will be called vectors. Remember that a subspace is a set of vectors closed under addition and scalar multiplication. First we learn how to take interesting combinations of a given set of vectors. For vectors x 1 , x 2 , · · · , xk; any point y is a linear combination of them iff

y = α 1 x 1 + α 2 x 2 · · · + αkxk ∀i, αi ∈ R If we restrict αi’s to be positive then we get something called a conic combination.

y = α 1 x 1 + α 2 x 2 · · · + αkxk ∀i, αi ≥ 0 ∈ R Instead of being positive, if we put the restriction that αi’s sum up to 1, it is called an affine combination

y = α 1 x 1 + α 2 x 2 · · · + αkxk ∀i, αi ∈ R,

i

αi = 1

When a combination is affine as well as conic, it is called a convex combination.

y = α 1 x 1 + α 2 x 2 · · · + αkxk ∀i, αi ≥ 0 ∈ R,

i

αi = 1

Exercise 1. What is the linear/conic/affine/convex combination of two points in R^2?

1 Affine sets

Lets start by defining an affine set.

Definition 1. A set is called “affine” iff for any two points in the set, the line through them is contained in the set. In other words, for any two points in the set, their affine combinations are in the set itself.

Theorem 1. A set is affine iff any affine combination of points in the set is in the set itself.

Proof. Exercise. (Use induction)

Exercise 2. What is the affine combination of three points?

Suppose the three points are x 1 , x 2 , x 3. Then any affine combination can be written as θ 1 x 1 + θ 2 x 2 + θ 3 x 3 ,

i θi^ = 1. We can write the expression as^ θ^1 (x^1 −^ x^3 ) +^ θ^2 (x^2 −^ x^3 ) +^ x^3. Since^ θ^1 , θ^2 are unconstrained now, this sum can be thought of intuitively as (x 3 + plane generated by x 1 − x 3 and x 2 − x 3 ). This gives a nice relation between affine and linear combinations.

1.1 Examples of affine sets

  • Offset + Subspace: Any affine set can thought of as an offset x added to some subspace S ∼ (V = {v + x :∼ v ∈ S}). It is easy to see that such a set is affine. Also given an affine set V and a point inside it x; it can be shown that S = {v − x : v ∈ V } is a subspace. Notice that the subspace associated with an affine set does not depend upon the point chosen (exercise). So we can define the dimension of the affine set as the dimension of the subspace. So it turns out that offset+subspace is not just an example, but a characterization of affine sets.
  • Exercise 3. Show that the feasible region of a set of linear equations is affine. ? (^) Thanks to books from Boyd and Vandenberghe, Dantzig and Thapa, Papadimitriou and Steiglitz

Subspace

Offset 0

Fig. 1. Example of an affine set

2 Convex set

From the definition of affine sets, we can similarly guess the definition of convex sets.

Definition 2. A set is called convex iff any convex combination of a subset is also contained in the set itself.

Theorem 2. A set is convex iff for any two points in the set their convex combination (line segment) is contained in the set.

We can prove this using induction. It is left as an exercise.

Fig. 2. Example of convex sets

Fig. 4. A line, line segment, points on the line and θ’s corresponding to them

Suppose we know a point x 0 on the hyperplane H. Then this equation can be changed to aT^ x = b ⇒ aT^ x = aT^ x 0 , x 0 ∈ H. We can view it as the set of all points which have a constant b inner product with a. This gives a very nice geometrical picture of the hyperplane, i.e., all points in H can be expressed as the sum of x 0 and a vector orthogonal to a (we can call it a⊥). So, another definition of hyperplane is

{x : x = x 0 + a⊥, aT^ a⊥^ = 0, x 0 ∈ H}

Note that this definition assumes that we know a point on the hyperplane. But this point is not special in any way, for any point on the hyperplane we can define the hyperplane in the same way. The vector a is called the normal vector of the hyperplane and b is called the offset. Another way to think of this hyperplane is to take the set of all vectors orthogonal to a (Hyperplane, passing through origin) and offset them by distance b. We studied the generalization of a line in higher dimensional space, it was called a hyperplane. A hyper- plane divides the space into two parts, aT^ x ≥ b and aT^ x ≤ b. Geometrically, they are the two sides of the plane.

Fig. 5. Halfspace with normal vector a and offset b.

Exercise 6. Is the halfspace affine? convex?