Professional Documents
Culture Documents
Mathematical Preliminaries
Yinyu Ye
Department of Management Science and Engineering
Stanford University
Stanford, CA 94305, U.S.A.
http://www.stanford.edu/˜yyye
1
MS&E310 Lecture Note #02
• R, R+ , int R+
• Rn , Rn+ , int Rn+
• x ≥ y means xj ≥ yj for j = 1, 2, ..., n
• 0: all zero vector; and e: all one vector
• Inner-Product:
∑
n
x • y := xT y = xj yj
j=1
√ (∑ )1/p
n
• Norm: ∥x∥2 = xT x, ∥x∥∞ = max{|x1 |, |x2 |, ..., |xn |}, ∥x∥p = j=1 |xj |
p
2
MS&E310 Lecture Note #02
• A set of vectors a1 , ..., am is said to be linearly dependent if there are scalars λ1 , ..., λm , not all
zero, such that the linear combination
∑
m
λi ai = 0
i=1
3
MS&E310 Lecture Note #02
Matrices
4
MS&E310 Lecture Note #02
5
MS&E310 Lecture Note #02
Symmetric Matrices
• Sn
• The Frobenius norm:
√ √
∥X∥f = trX T X = X •X
6
MS&E310 Lecture Note #02
Known Inequalities
7
MS&E310 Lecture Note #02
∑
n
H = {x : ax = aj xj = b}
j=1
∑
n
H + = {x : ax = aj xj ≤ b}
j=1
∑
n
H − = {x : ax = aj xj ≥ b}
j=1
8
MS&E310 Lecture Note #02
(0,3) 3x+5y>15
3x+5y=15
3x+5y<15
0 (5,0) x
Figure 1: Hyperplan and half-space
9
MS&E310 Lecture Note #02
10
MS&E310 Lecture Note #02
y
(0,6)
3x+2y=12
(0,4)
(2.4,2.4)
2x+3y=12
0 (4,0) (6,0) x
Figure 2: System of linear equations
11
MS&E310 Lecture Note #02
Theorem 2 Given A ∈ Rm×n and b ∈ Rm , the system {x : Ax = b} has a solution if and only if
that AT y = 0 and bT y ̸= 0 has no solution.
12
MS&E310 Lecture Note #02
0
Ax
Figure 3: b is not in the set {Ax : x}, and y is the distance vector from b to the set.
13
MS&E310 Lecture Note #02
{z : z = αx + (1 − α)y}
is the line connecting x and y. When 0 ≤ α ≤ 1, it is called the convex combination of x and y and it is
the line segment between x and y.
{z : z = αx + βy},
for multipliers α, β , is the linear combination of x and y, and it is the hyperplane containing origin and
x and y. When α ≥ 0, β ≥ 0, it is called the conic combination...
14
MS&E310 Lecture Note #02
Convex Sets
• Set notations: x ∈ Ω, y ̸∈ Ω, S ∪ T , S ∩ T
• Ω is said to be a convex set if for every x1 , x2 ∈ Ω and every real number α ∈ [0, 1], the point
αx1 + (1 − α)x2 ∈ Ω.
• The convex hull of a set Ω is the intersection of all convex sets containing Ω
• Intersection of convex sets is convex
• A point in a convex set is an extreme point if and only if it cannot be represented as convex
combination of two distinct points in the set.
• A set is polyhedral if and only if it has finite number of extreme points. Two standard forms for data
A ∈ Rm×n , b ∈ Rm , c ∈ Rn (with integers m ≤ n)
where the formal is the intersection of hyperplanes and nonnegative (up-right) orthant and the latter is
the intersection of half-spaces.
15
MS&E310 Lecture Note #02
• All solutions to the system of linear equations, {x : Ax = b}, form a convex set.
• All solutions to the system of linear inequalities, {x : Ax ≤ b}, form a convex set.
• All solutions to the system of linear equations and inequalities, {x : Ax = b, x ≥ 0}, form a
convex set.
• Ball is a convex set: given center y ∈ Rn and radius r > 0, B(y, r) = {x : ∥x − y∥ ≤ r}.
• Ellipsoid is a convex set: given center y ∈ Rn and positive definite matrix Q,
E(y, Q) = {x : (x − y)T Q(x − y) ≤ 1}.
16
MS&E310 Lecture Note #02
Consider the set B of all b, for a fixed A, such that the set, {x : Ax = b, x ≥ 0}, is feasible.
Example:
B = {b : {(x1 , x2 ) : x1 + x2 = b, (x1 , x2 ) ≥ 0} is feasible}.
17
MS&E310 Lecture Note #02
Convex Cones
18
MS&E310 Lecture Note #02
Cone Examples
• Example 2.3: The set {x ∈ Rn : x1 ≥ ∥x−1 ∥}, N2n , is a convex cone in Rn called the
second-order cone. The dual cone is itself.
• Example 2.4: The set {x ∈ Rn : x1 ≥ ∥x−1 ∥p }, Npn , is a convex cone in Rn called the p-order
cone with p ≥ 1. The dual cone is the q -order cone with 1q + p1 = 1.
19
MS&E310 Lecture Note #02
C = {x : Ax ≤ 0} or {x : x = Ay, y ≥ 0}
• The nonnegative orthant is a polyhedral cone but the second-order cone is not polyhedral.
20
MS&E310 Lecture Note #02
21
MS&E310 Lecture Note #02
Carathéodory’s theorem
The following theorem states that a polyhedral cone can be generated by a set of basic directional vectors.
Theorem 3 Given matrix A ∈ Rm×n where n > m, let convex polyhedral cone C = {Ax : x ≥ 0}.
For any b ∈ C,
∑
d
b= aji xji , xji ≥ 0, ∀i
i=1
for some linearly independent vectors aj1 ,...,ajd chosen from a1 ,...,an .
22
MS&E310 Lecture Note #02
Real Functions
• Continuous functions C
• Weierstrass theorem: a continuous function f (x) defined on a compact set (bounded and closed)
Ω ⊂ Rn has a minimizer in Ω.
• The least upper bound or supremum of f over Ω
sup{f (x) : x ∈ Ω}
inf{f (x) : x ∈ Ω}
23
MS&E310 Lecture Note #02
is homogeneous of degree 0.
Let C∈ S n be given and X ∈ int S+
n
. Then xT Cx is homogeneous of degree 2, C • X and
det(X) are homogeneous of degree 1 and n, respectively; and
is homogeneous of degree 0.
24
MS&E310 Lecture Note #02
25
MS&E310 Lecture Note #02
Convex Functions
26
MS&E310 Lecture Note #02
z(b) := minimize cT x
subject to Ax = b,
x ≥ 0.
27
MS&E310 Lecture Note #02
Theorems on functions
Theorem 4 Let f ∈ C 1 be in a region containing the line segment [x, y]. Then there is a α, 0 ≤ α ≤ 1,
such that
f (y) = f (x) + ∇f (αx + (1 − α)y)(y − x).
Furthermore, if f ∈ C 2 then there is a α, 0 ≤ α ≤ 1, such that
f (y) = f (x) + ∇f (x)(y − x) + (1/2)(y − x)T ∇2 f (αx + (1 − α)y)(y − x).
28
MS&E310 Lecture Note #02
c − AT y = c − AT (AAT )−1 Ac = c − P c
Projection matrix: P = AT (AAT )−1 A or P = I − AT (AAT )−1 A.
29
MS&E310 Lecture Note #02
0
Pc
30
MS&E310 Lecture Note #02
AAT = LΛLT
LΛLT y∗ = Ac
31
MS&E310 Lecture Note #02
f (x) = 0.
32
MS&E310 Lecture Note #02
f(x)
f(a)
f(b)
f(c)
z c b a x
33
MS&E310 Lecture Note #02
xk+1 = xk − αM k ∇f (xk )
34
MS&E310 Lecture Note #02
• {xk }∞ 0 1 2 k
0 denotes a seqence x , x , x , ..., x , ....
• xk → x̄ iff
∥xk − x̄∥ → 0
• g(x) ≥ 0 is a real valued function of a real nonnegative variable, the notation g(x) = O(x) means
that g(x) ≤ c̄x for some constant c̄;
35