Professional Documents
Culture Documents
Rudi Pendavingh
Eindhoven Technical University
Optimization in Rn , lecture 7
ORN7
1 / 17
Semidenite matrices
A symmetric matrix A is positive semidenite (PSD) if and only if x t Ax 0 for all x Rn .
Theorem
Let A be a symmetric matrix. The following are equivalent:
1 2 3
A is PSD, i.e. x t Ax 0 for all x Rn . all eigenvalues of A are nonnegative. A = Z t Z for some real matrix Z .
Corollary
Let p R[X1 , . . . , Xn ] be a homogeneous quadratic polynomial. Then p (x1 , . . . , xn ) 0 for all x1 , . . . , xn R if and only if
2 2 p = s1 + + sn
multiplying both the i -th row and i -th column by = 0 swapping the i -th and j -th column; and swapping the i -th and j -th row adding i -th column to j -th column and adding i -th row to j -th row
Lemma
A = B if and only if B = Y t AY for some invertible Y .
Lemma
Let A, B be symmetric. If A = B , then A is PSD B is PSD.
Rudi Pendavingh (TUE) Semidenite matrices & Convex functions ORN7 3 / 17
Example
A= 1 2 1 0 = D. = 0 1 2 3
Example
1 0 0 1 2 1 1 0 0 A= 2 5 1 = 0 1 3 = 0 1 0 = D . 1 1 12 0 3 11 0 0 2 D is PSD, hence A is PSD.
ORN7
4 / 17
Lemma
A is PD A is PSD and det(A) = 0.
Theorem
Let A be a symmetric matrix. The following are equivalent:
1 2 3
A is PD, i.e. x t Ax > 0 for all nonzero x Rn . all eigenvalues of A are positive. A = Z t Z for some real matrix Z so that det(Z ) = 0.
Lemma
Let A, B be symmetric. If A = B , then A is PD B is PD.
ORN7
5 / 17
Further characterizations
Let A be a square matric and let I {1, . . . , n}. Then AI denotes the restriction of A to the rows and columns indexed by I .
Lemma
Let A be an n n matrix. Then A is PSD det(AI ) 0 for all I {1, . . . , n}.
Lemma
Let A be an n n matrix. Then A is PD det(AI ) > 0 for I = {1}, . . . , {1, . . . , n}.
ORN7
6 / 17
|apj | for p = 1, . . . , n.
Proof.
Let x Cn be a nonzero vector such that x = Ax . Let p be such that |xp | = maxi |xi |. We have xp =
n j =1 apj xj ,
j =p apj xj .
j =p
For each p , we have the Ger sgorin disk { C | | app | p }. The Theorem states that each eigenvalue is in one of the Ger sgorin disks.
Rudi Pendavingh (TUE) Semidenite matrices & Convex functions ORN7 7 / 17
Denition
f is concave if f is convex.
Lemma
f is convex and concave if and only if f is ane.
ORN7
8 / 17
Norms
Denition
A function f : Rn R is a norm if f (x ) 0 for all x Rn f (x ) = 0 if and only if x = 0 f (x ) = ||f (x ) for all x Rn , R f (x + y ) f (x ) + f (y ) for all x , y Rn
Theorem
Let f : Rn R be a norm. Then f is convex.
Lemma
Let f : Rn R be a convex function. Then {x Rn | f (x ) } is a convex set for any R. So the norm ball {x Rn | x 1} is convex for any norm . .
Rudi Pendavingh (TUE) Semidenite matrices & Convex functions ORN7 9 / 17
Denition
The epigraph of a function f : Rn R is epi(f ) := {(x , t ) Rn+1 | x Dom(f ), t f (x )}.
Lemma
f is a convex function if and only if epi(f ) is a convex set.
Denition
A subgradient of f at x is a row vector w such that f (y ) f (x ) w (y x ) for all y .
Theorem
f is convex Dom(f ) is convex, and there exists a subgradient of f at each x in the interior of Dom(f ).
Rudi Pendavingh (TUE) Semidenite matrices & Convex functions ORN7 10 / 17
Lemma
If f1 , . . . , fm : Rn R are convex, then the following functions are convex as well: x max{f1 (x ), . . . , fm (x )} x f1 ( x ) + + fm ( x )
ORN7
11 / 17
Lemma
If w is a subgradient of f at x , and f is dierentiable at x , then w = f (x ).
ORN7
13 / 17
Quadratic functions
Example
Let f : x f (x )
x t Qx 2 + px , = xtQ + p
2 f (x )
= Q for all x
f is convex if and only if Q is PSD if f is convex, then f (y ) = min{f (x ) | x Rn } if and only if 0 = f (y ) = y t Q + p Note: f is convex if and only if the second-order approximation of f is convex everywhere.
ORN7
14 / 17
ORN7
15 / 17
is concave on {x Rn | x > 0}
ORN7
16 / 17
log(1 + t i ).