• No results found

3. Convex functions

N/A
N/A
Protected

Academic year: 2022

Share "3. Convex functions"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

PAGES 2 1 6 TO 2 3 1 OF

h t t p ://www.cse.iit b .ac.in /~ cs7 0 9 /n ot es/BasicsOfCon v ex Op t im iz at ion .p d f, in t ersp ersed wit h p ag es b et ween 2 3 9 an d 2 5 3 an d su m m ary of m at erial t h ereaft er, wh ich ex t en d u n iv ariat e

con cep t s t o g en eric sp aces

(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)

p p p

(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)

Convex Optimization — Boyd & Vandenberghe

3. Convex functions

• basic properties and examples

• operations that preserve convexity

• the conjugate function

• quasiconvex functions

• log-concave and log-convex functions

• convexity with respect to generalized inequalities

3–1

Definition

f :Rn → R is convex if domf is a convex set and

f(θx+ (1−θ)y)≤ θf(x) + (1−θ)f(y) for all x, y ∈ domf, 0 ≤θ ≤1

(x, f(x))

(y, f(y))

• f is concave if −f is convex

• f is strictly convex if domf is convex and

f(θx+ (1−θ)y) < θf(x) + (1−θ)f(y) for x, y ∈ domf, x 6=y, 0 < θ < 1

Convex functions 3–2

(24)
(25)

Examples on R

convex:

• affine: ax+b on R, for any a, b ∈R

• exponential: eax, for any a ∈R

• powers: xα on R++, for α≥ 1 or α ≤0

• powers of absolute value: |x|p on R, for p ≥1

• negative entropy: xlogx on R++

concave:

• affine: ax+b on R, for any a, b ∈R

• powers: xα on R++, for 0 ≤α≤1

• logarithm: logx on R++

Convex functions 3–3

Examples on R

n

and R

m×n

affine functions are convex and concave; all norms are convex

examples on Rn

• affine function f(x) =aTx+b

• norms: kxkp = (Pn

i=1|xi|p)1/p for p ≥1; kxk = maxk|xk| examples on Rm×n (m×n matrices)

• affine function

f(X) =tr(ATX) +b =

m

X

i=1 n

X

j=1

AijXij +b

• spectral (maximum singular value) norm

f(X) = kXk2max(X) = (λmax(XTX))1/2

Convex functions 3–4

(26)

Restriction of a convex function to a line

f :Rn → R is convex if and only if the function g :R→ R, g(t) =f(x+tv), domg= {t| x+tv ∈ domf} is convex (in t) for any x ∈ domf, v ∈ Rn

can check convexity of f by checking convexity of functions of one variable

example. f :Sn → R with f(X) = log detX, domX =Sn++

g(t) = log det(X +tV) = log detX+ log det(I +tX−1/2V X−1/2)

= log detX+

n

X

i=1

log(1 +tλi)

where λi are the eigenvalues of X−1/2V X−1/2

g is concave in t (for any choice of X ≻0, V); hence f is concave

Convex functions 3–5

Extended-value extension

extended-value extension f˜of f is

f˜(x) = f(x), x ∈ domf, f(x) =˜ ∞, x 6∈ domf

often simplifies notation; for example, the condition

0 ≤θ ≤1 =⇒ f˜(θx+ (1−θ)y)≤θf˜(x) + (1−θ) ˜f(y) (as an inequality in R∪ {∞}), means the same as the two conditions

• domf is convex

• for x, y ∈ domf,

0 ≤θ ≤1 =⇒ f(θx+ (1−θ)y)≤θf(x) + (1−θ)f(y)

Convex functions 3–6

(27)

First-order condition

f is differentiable if domf is open and the gradient

∇f(x) =

∂f(x)

∂x1 ,∂f(x)

∂x2 , . . . ,∂f(x)

∂xn

exists at each x ∈ domf

1st-order condition: differentiable f with convex domain is convex iff f(y) ≥f(x) +∇f(x)T(y−x) for all x, y ∈ domf

(x, f(x)) f(y)

f(x) +∇f(x)T(yx)

first-order approximation of f is global underestimator

Convex functions 3–7

Second-order conditions

f is twice differentiable if domf is open and the Hessian ∇2f(x)∈ Sn,

2f(x)ij = ∂2f(x)

∂xi∂xj, i, j = 1, . . . , n, exists at each x ∈ domf

2nd-order conditions: for twice differentiable f with convex domain

• f is convex if and only if

2f(x) 0 for all x ∈ domf

• if ∇2f(x)≻0 for all x ∈ domf, then f is strictly convex

Convex functions 3–8

(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)

References

Related documents

What distinguishes disciplined convex programming from more general convex programming are the rules governing the construction of the expressions used in objective functions

Convex sets, (Univariate) Functions, Optimization problem Unconstrained Optimization: Analysis and Algorithms Constrained Optimization: Analysis and Algorithms Optimization

practical methods for establishing convexity of a function 1.. verify definition (often simplified by restricting to a

Cauchy Shwarz inequality that results from the fact that every inner product space is a normed vector space and that the norm induced by the inner product.. should satisfy properties

To generalize the idea to function of multiple variables, we point out that the analogue of finding the value of the function at the boundaries of closed interval in the single

Neighborhood and open sets/balls ( ⇐ Local extremum) Bounded, Closed Sets (⇐ Extreme value theorem) Convex Sets (⇐ Convex functions of n variables).. Directional Derivatives

1 Chapter 2 Pre-requisites to quadratic programming 2 Chapter 3 Convex functions and its properties 5 Chapter 4 Unconstrained problems of optimization 7 Chapter 5

The concept of convex extendability is introduced to answer the problem of ÿnding the smallest distance convex simple graph containing a given tree.. A problem of similar type