Escolar Documentos
Profissional Documentos
Cultura Documentos
1. (a) Using the definition of an affine set, show that a singleton set is affine.
(b) Prove that the points v0 , v1 , . . . , vk are affinely independent if and only if v1 − v0 , v2 − v0 , . . . , vk −
v0 are linearly independent.
Solution:
(a) A singleton set consists of only one element, say {x}. Then, x = θ x + (1 − θ )x where θ = 1.
Therefore, a singleton set is affine.
(b) We first prove the following:
Claim 1: The following two expressions are equivalent.
k
∑ λi (vi − v0 ) = 0. (1)
i=1
k k
∑ λi vi = 0 and ∑ λi = 0. (2)
i=0 i=0
3
Using Claim 1, this can be re-written as
k k
∑ λi vi = 0 and ∑ λi = 0 =⇒ λi = 0 ∀ i.
i=0 i=0
�x − a�22 ≤ �x − b�22
=⇒ (x − a)T (x − a) ≤ (x − b)T (x − b)
=⇒ xT x − 2aT x + aT a ≤ xT x − 2bT x + bT b
=⇒ 2(b − a)T x ≤ bT b − aT a
=⇒ 2cT x ≤ d
where c = 2(b − a) and d = bT b − aT a. When the above becomes an equality, the points set of points
satisfying the equality form the equidistant hyperplane. The direction is given by the normal whhich
is (b − a) in this case.
5. Which of the following sets S are polyhedra? Justify your answers.
4
(a) S = {x ∈ Rn |x ≥ 0, ∑ni=1 xi = 1, ∑ni=1 ai xi = b1 , ∑ni=1 a2i xi = b2 }, where a1 , a2 , ..., ad , b1 , b2 ∈ R.
(b) S = {x ∈ Rn |x ≥ 0, xT y ≤ 1 for all y ∈ Rn such that �y�2 = 1}.
Solution:
(a) Yes.
The Polyhedral representation
is given
below:
−Id×d 0d×1
1 1 1 1
−1 −1 −1 x ≤
−1
a1 a2 ad b1
−a1 −a2 −ad −b1
a21 a22 ad2 b2
−a21 −a22 −ad 2 −b2
(b) No. S can be expressed as S = {x ∈ Rd | ||x||2 ≤ 1, x ≥ 0}. This cannot be expressed as intersec-
tion of finite number of half-spaces.
6. Derive an expression for the distance between two parallel hyperplanes in Rn in terms of their normal
vector.
Solution: Let there be two parallel hyperplanes {x ∈ Rn |aT x = b1 } and {x ∈ Rn |aT x = b2 }. Let x1
and x2 be the points lying on each of the hyperplanes respectively and also on the normal line of the
hyperplanes. Therefore,
aT x1 = b1 (3)
T
a x1 = b2 (4)
The distance between x1 and x2 gives the distance between the hyperplanes. Subtracting Eq.4 from
Eq.3, we get:
aT (x1 − x2 ) = b1 − b2
�a��x1 − x2 � = |b1 − b2 |
|b1 − b2 |
�x1 − x2 � =
�a�
7. (a) Let C be a nonempty subset of Rn , and let λ1 and λ2 be positive scalars. Show that if C is
convex, then (λ1 + λ2 )C = λ1C + λ2C. Show by example that this need not be true when C is
not convex.
(b) Show that if S1 and S2 are convex sets in Rm×n , then so is their partial sum
Solution:
(a) We always have (λ1 + λ2 )C ⊂ λ1C + λ2C, even if C is not convex. To show the reverse inclusion
assuming C is convex, note that a vector x in
lambda1C + λ2C is of the form x = λ1 x1 + λ2 x2 , where x1 , x2 ∈ C. By convexity of C, we have
λ1 λ2
x1 + x2 ∈ C,
λ1 + λ2 λ1 + λ2
and it follows that
x = λ1 x1 + λ2 x2 ∈ (λ1 + λ2 )C,
so λ1C + λ2C ⊂ (λ1 + λ2 )C.
For a counter example when C is not convex, let C be a set in Rn , consisting of two vectors,
0 and x �= 0, and let λ1 = λ2 = 1.The C is not convex and (λ1 + λ2 )C = 2C = {0, 2x},while
λ1C + λ2C = C +C = {0, x, 2x}, showing that (λ1 + λ2 )C �= λ1C + λ2C.
(b) Consider two points (x, y1 + y2 ), (x� , y�1 + y�2 ) ∈ S i.e
(x, y1 ), (x� , y�1 ) ∈ S1 and (x, y2 ), (x� , y�2 ) ∈ S2
Fix θ ∈ [0, 1].
Then consider the point
5
θ [x, y1 + y2 ] + (1 − θ )(x� , y�1 + y�2 ) = [θ x + (1 − θ )x� , θ y1 + (1 − θ )y�1 + θ y2 + (1 − θ )y�2 ]
This point is in S because, since S1 and S2 are convex,
[θ x + (1 − θ )x� , θ y1 + (1 − θ )y�1 ] ∈ S1 and
[θ x + (1 − θ )x� , θ y2 + (1 − θ )y�2 ] ∈ S2
8. [Image of polyhedral sets under perspective function] For each of the following sets C, give a
simple description of
�v �
P(C) = | (v,t) ∈ C,t > 0 .
t
(a) The hyperplane C = {(v,t) | f T v + gt = h} (with f and g not both zero)
(b) The halfspace C = {(v,t) | f T v + gt ≤ h} (with f and g not both zero)
Solution:
(a)
(b)
6
(c) Transitivity: if both a � b and b � c, then a � c;
(d) Compatibility with linear operations:
i. Homogeneity: if a � b, then λ a � λ b ∀ λ ≥ 0.
ii. Additivity: if both a � b and c � d, then a + c � b + d.
Show that K = {a ∈ E : a � 0}, i.e., the set of �- non-negative vectors in E is a convex pointed cone.
Solution: We proceed to verify the following three properties of a convex pointed cone for K:
(d).i
1. Let x ∈ K ⇒ x � 0 ⇒ λ x � 0 ⇒ λ x ∈ K, ∀ λ ≥ 0. Hence, K is a cone.
2. Let x ∈ K and −x ∈ K. This implies that, x � 0 and −x � 0. Using additivity property on these
two inequalities yields 0 � x. Now, anti-symmetry dictates that x � 0 and 0 � x ⇒ x = 0.
Hence, K is pointed.
(d)
3. Let x, y ∈ K ⇒ x � 0 and y � 0 ⇒ θ x + (1 − θ )y � 0 for any θ ∈ [0, 1]. Hence, K is convex.