MAT-485_DAY 5__Revised
MAT-485_DAY 5__Revised
Warming up
Theorems:
Question:
Understanding Question:
𝑥1 𝑎1
𝑥2 𝑎2
𝑥 ∈ ℝ𝑛 → 𝑥 = ( ⋮ ) and the constant vector 𝑎 ∈ ℝ𝑛 → 𝑎=( ⋮ )
𝑥𝑛 𝑎𝑛
And
𝑦1
𝑦2
𝑎𝑇 𝑦 = 𝑐 ⇒ (𝑎1 , 𝑎2 , … , 𝑎𝑛 ) ( ⋮ ) = 𝑐 , that is, 𝑎1 𝑦1 + 𝑎2 𝑦2 + ⋯ + 𝑎𝑛 𝑦𝑛 = 𝑐
𝑦𝑛
NTS: 𝜆𝑥 + (1 − 𝜆)𝑦 ∈ 𝑆 ⊂ ℝ𝑛 for 0 ≤ 𝜆 ≤ 1. That is, we have to show that 𝑎𝑇 [𝜆𝑥 + (1 − 𝜆)𝑦] = 𝑐.
Here,
𝑥1 𝑦1 𝜆𝑥1 (1 − 𝜆)𝑦1 𝜆𝑥1 + (1 − 𝜆)𝑦1
𝑥2 𝑦2 𝜆𝑥 (1 − 𝜆)𝑦2 𝜆𝑥 + (1 − 𝜆)𝑦2
𝜆𝑥 + (1 − 𝜆)𝑦 = 𝜆 ( ⋮ ) + (1 − 𝜆) ( ⋮ ) = ( 2 ) + ( ) =( 2 )
⋮ ⋮ ⋮
𝑥𝑛 𝑦𝑛 𝜆𝑥𝑛 (1 − 𝜆)𝑦𝑛 𝜆𝑥𝑛 + (1 − 𝜆)𝑦𝑛
Now,
𝑎𝑇 [𝜆𝑥 + (1 − 𝜆)𝑦]
𝜆𝑥1 + (1 − 𝜆)𝑦1 𝜆𝑥1 + (1 − 𝜆)𝑦1
( )
𝜆𝑥 + 1 − 𝜆 𝑦2 𝜆𝑥 + (1 − 𝜆)𝑦2
= 𝑎𝑇 ( 2 ) = (𝑎1 , 𝑎2 , … , 𝑎𝑛 ) ( 2 )
⋮ ⋮
𝜆𝑥𝑛 + (1 − 𝜆)𝑦𝑛 𝜆𝑥𝑛 + (1 − 𝜆)𝑦𝑛
= 𝑎1 [ 𝜆𝑥1 + (1 − 𝜆)𝑦1 ] + 𝑎2 [ 𝜆𝑥2 + (1 − 𝜆)𝑦2 ] + ⋯ + 𝑎𝑛 [ 𝜆𝑥𝑛 + (1 − 𝜆)𝑦𝑛 ]
= 𝜆[𝑎1 𝑥1 + 𝑎2 𝑥2 + ⋯ + 𝑎𝑛 𝑥𝑛 ] + (1 − 𝜆)[𝑎1 𝑦1 + 𝑎2 𝑦2 + ⋯ + 𝑎𝑛 𝑦𝑛 ]
= 𝜆𝑐 + (1 − 𝜆)𝑐
∴ 𝑎𝑇 [𝜆𝑥 + (1 − 𝜆)𝑦] = 𝑐.
Hence,
𝜆𝑥 + (1 − 𝜆)𝑦 ∈ 𝑆 ⊂ ℝ𝑛 for 0 ≤ 𝜆 ≤ 1.
DONE
Observation:
Alternative Proof:
Hence, 𝜆𝑥1 = (𝜆𝑥11 , 𝜆 𝑥21 , . . . , 𝜆𝑥𝑛1 ) and (1 − 𝜆)𝑥 2 = ((1 − 𝜆)𝑥12 , (1 − 𝜆)𝑥22 , . . . , (1 − 𝜆)𝑥𝑛2 ). That is,
Now, proof that 𝑎1 (𝜆𝑥11 + (1 − 𝜆)𝑥12 ) + 𝑎2 (𝜆 𝑥21 + (1 − 𝜆)𝑥22 )+ . . . +𝑎𝑛 (𝜆𝑥𝑛1 + (1 − 𝜆)𝑥𝑛2 ) = 𝑐 … (1)
Since 𝑥1 = (𝑥11 , 𝑥21 , . . . , 𝑥𝑛1 ) and 𝑥 2 = (𝑥12 , 𝑥22 , . . . , 𝑥𝑛2 ) ∈ 𝑆, then we get
𝑎1 𝑥11 + 𝑎2 𝑥21 + . . . +𝑎𝑛 𝑥𝑛1 = 𝑐 and 𝑎1 𝑥12 + 𝑎2 𝑥22 + . . . +𝑎𝑛 𝑥𝑛2 = 𝑐 … (2)
Now,
= 𝜆(𝑎1 𝑥11 + 𝑎2 𝑥21 + . . . +𝑎𝑛 𝑥𝑛1 ) + (1 − 𝜆)𝑎1 𝑥12 + 𝑎2 𝑥22 + . . . +𝑎𝑛 𝑥𝑛2
Self-study:
Definition 1: Inner Product
In the real 𝑛 −space ℝ𝑛 , with the dot product is an inner product space, an example of a Euclidean
vector space. For 𝑥, 𝑦 ∈ ℝ𝑛 ,
𝑥1 𝑦1
𝑥2 𝑦2
〈𝑥, 𝑦〉 = 〈[ ⋮ ] , [ ⋮ ]〉 : = 𝑥 𝑇 𝑦 = ∑𝑛𝑖=1 𝑥𝑖 𝑦𝑖 = 𝑥1 𝑦1 + 𝑥2 𝑦2 + ⋯ + 𝑥𝑛 𝑦𝑛 , where 𝑥 𝑇 is the transpose of 𝑥.
𝑥𝑛 𝑦𝑛
Definition 2: Norm
Inner product spaces are normed vector spaces for the norm defined by
2
||𝑥|| = √〈𝑥, 𝑥〉, that is, ||𝑥|| = 〈𝑥, 𝑥〉
For 𝑥 ∈ ℝ𝑛 ,
𝑥1 𝑥1
𝑥2 𝑥2
〈𝑥, 𝑥〉 = 〈[ ⋮ ] , [ ⋮ ]〉 : = 𝑥 𝑇 𝑥 = ∑𝑛𝑖=1 𝑥𝑖2 = 𝑥12 + 𝑥22 + ⋯ + 𝑥𝑛2 , where 𝑥 𝑇 is the transpose of 𝑥.
𝑥𝑛 𝑥𝑛
2
If 𝑥 ∈ ℝ2 , then ||𝑥|| = 〈𝑥, 𝑥〉 = 𝑥12 + 𝑥22 . .
Cauchy–Schwarz inequality
For 𝑥, 𝑦 elements of a vector space 𝑉
〈𝑥, 𝑦〉 ≤ ||𝑥|| ∙ ||𝑦||,
Examples:
2
Note that, if 𝑥 = (𝑥1 , 𝑥2 ) ∈ 𝐷, then ||𝑥|| = 〈𝑥, 𝑥〉 = 𝑥12 + 𝑥22 ≤ 𝑟 2 .
Question:
Homework: Prove the theorem below.
Theorem: If 𝑆 and 𝑇 are any two convex sets in ℝ𝑛 , then for all scalars 𝛼 𝑎𝑛𝑑 𝛽, the set
Definition: Hyperplane
Question: What is the convex hull containing the point 𝑥 = (𝑥1 , 𝑥2 ) and 𝑦 = (𝑦1 , 𝑦2 )?
𝐶𝑜 (𝑆) = ⋂ 𝑆𝑖 = S .
𝑖
2. Given, 𝑆 = {𝑥 ∶ |𝑥| = 1}
If 𝑆 ⊂ ℝ, then 𝑆 = {−1, 1}. Then 𝐶𝑜 (𝑆) = Smallest convex set containing 𝑆 = [−1,1]
𝐶𝑜 (𝑆) = Smallest convex set containing 𝑆 = the triangle with the vertises (0,0), (2,1),
and (1,2)
Theory is DONE
Understanding: Solution of LP
Please submit the following prove.
Question: Consider the LLP:
Maximize 𝑧 = ∑𝑛𝑗=1 𝑐𝑗 𝑥𝑗
Subject to ∑𝑛𝑗=1 𝑎𝑖𝑗 𝑥𝑗 ≤ 𝑏𝑖 ; 1 ≤ 𝑖 ≤ 𝑚.
𝑥𝑗 ≥ 0 ∀ 𝑗, 1 ≤ 𝑗 ≤ 𝑛.
Prove that the set of all feasible solution to the LLP above is convex.
Note:
Given that 𝑇 = {𝑥 ∈ ℝ𝑛 : ∑𝑛𝑗=1 𝑎𝑖𝑗 𝑥𝑗 (≤, =, ≥)𝑏𝑖 for 1 ≤ 𝑖 ≤ 𝑚 and 𝑥𝑗 ≥ 0 for 1 ≤ 𝑗 ≤ 𝑛}
is non-empty, closed and bounded.
We need to prove that the optimal solution exists, and it attains at some vertex of 𝑇.
…………………………
Now the number of vertices of the convex polyhedron 𝑇 is finite. Let 𝑥1 , 𝑥 2 , … , 𝑥 𝑘 be the
vertices of the convex set 𝑇.
Since 𝑥1 , 𝑥 2 , … , 𝑥 𝑘 are the vertices of the convex set 𝑇, then 𝑇 is the convex hull of the set of
points 𝑥1 , 𝑥 2 , … , 𝑥 𝑘 , that is, 𝑇 is the smallest convex set containing the points 𝑥1 , 𝑥 2 , … , 𝑥 𝑘 .
Hence, any 𝑥 ∈ 𝑇 can be written as
𝑘 𝑘
𝑖
𝑥 = ∑ 𝜆𝑖 𝑥 , where 𝜆𝑖 ≥ 0 and ∑ 𝜆𝑖 = 1 ⋯ (1)
𝑖=1 𝑖=1
(a) If the LLP is a minimizing problem, let 𝑧0 = min{𝑧 = 𝑐 𝑇 𝑥 𝑖 ∶ 𝑖 = 1, 2, … , 𝑘}. Then there exists an
𝑖 , 1 ≤ 𝑖 ≤ 𝑘, such that at the vertex 𝑥 𝑖 we have 𝑧0 = 𝑐 𝑇 𝑥 𝑖 and
𝑧0 = 𝑐 𝑇 𝑥 𝑖 ≤ 𝑐 𝑇 𝑥 = 𝑧 for all 𝑥 ∈ {𝑥1 , 𝑥 2 , … , 𝑥 𝑘 }.
Let 𝑥 = ∑𝑘𝑖=1 𝜆𝑖 𝑥 𝑖 ∈ 𝑇 be arbitrary.
𝑘 𝑘
𝑇 𝑇 𝑖
𝑧 = 𝑐 𝑥 = 𝑐 ∑ 𝜆𝑖 𝑥 ; where 𝜆𝑖 ≥ 0 and ∑ 𝜆𝑖 = 1
𝑖=1 𝑖=1
𝑘 𝑘 𝑘
𝑇 𝑖
= ∑ 𝜆𝑖 (𝑐 𝑥 ) ≥ ∑ 𝜆𝑖 𝑧0 = 𝑧0 ∑ 𝜆𝑖 = 𝑧0 .
𝑖=1 𝑖=1 𝑖=1
⇒𝑧 ≥ 𝑧0 ∀𝑥 ∈ 𝑇
(b) Let 𝑧0 = max{𝑐 𝑇 𝑥 𝑖 ∶ 𝑖 = 1, 2, … , 𝑘}. Then there exists an 𝑖 , 1 ≤ 𝑖 ≤ 𝑘, such that at the vertex
𝑥 𝑖 we have 𝑧0 = 𝑐 𝑇 𝑥 𝑖 and
𝑧0 = 𝑐 𝑇 𝑥 𝑖 ≥ 𝑐 𝑇 𝑥 = 𝑧 for all 𝑥 ∈ {𝑥1 , 𝑥 2 , … , 𝑥 𝑘 }.
Let 𝑥 = ∑𝑘𝑖=1 𝜆𝑖 𝑥 𝑖 ∈ 𝑇 be arbitrary.
𝑘 𝑘 𝑘 𝑘
𝑇 𝑇 𝑖 𝑇 𝑖
𝑧 = 𝑐 𝑥 = 𝑐 ∑ 𝜆𝑖 𝑥 = ∑ 𝜆𝑖 (𝑐 𝑥 ) ≤ ∑ 𝜆𝑖 𝑧0 = 𝑧0 ∑ 𝜆𝑖 = 𝑧0 .
𝑖=1 𝑖=1 𝑖=1 𝑖=1