Professional Documents
Culture Documents
Class 20220818
Class 20220818
min f (x)
s.t. x ∈ X . . . . . . (1)
min f (x)
s.t. x ∈ C
Theorem
Every local minimum of a convex programming problem is a global
minimum.
Proof.
(I) The theorem is trivially true if C is a singleton set.
(II) Assume that there exists x ∗ ∈ C which is a local minimum of f
over C.
x ∗ is a local minimum
⇒ ∃ δ > 0 3 f (x ∗ ) ≤ f (x) ∀ x ∈ C ∩ B(x ∗ , δ).
Proof.
(I) The theorem is true if there is an unique optimal solution.
(II) Let S = {z ∈ C : f (z) ≤ f (x), x ∈ C}. We need to show that S is a
convex set.
Let x 1 , x 2 ∈ S, x 1 6= x 2 .
∴ f (x 1 ) = f (x 2 ), f (x 1 ) ≤ f (x), f (x 2 ) ≤ f (x) ∀ x ∈ C.
Since x 1 , x 2 ∈ C and C is a convex set,
λx 1 + (1 − λ)x 2 ∈ C ∀ λ ∈ [0, 1].
Since f is convex, we have, for any λ ∈ [0, 1],
f (λx 1 + (1 − λ)x 2 ) ≤ λf (x 1 ) + (1 − λ)f (x 2 ) = f (x 2 )
This implies that S is a convex set.
{(x, y ) : x ∈ X , y ∈ R, y ≥ f (x)}
Theorem
Let C ⊆ Rn be a convex set and f : C → R. Then f is convex iff epi(f )
is a convex set.
Proof.
(I). Assume that f is convex. Let (x 1 , y1 ), (x 2 , y2 ) ∈ epi(f ). Therefore,
y1 ≥ f (x 1 ) and y2 ≥ f (x 2 ).
f is a convex function. So, for any λ ∈ [0, 1], we can write,
Proof.
Let x, y ∈ Cα .
∴ x, y ∈ C and f (x) ≤ α, f (y) ≤ α.
Let z = λx + (1 − λ)y where λ ∈ (0, 1).
Clearly, z ∈ C.
Since f is convex, f (z) ≤ λf (x) + (1 − λ)f (y) ≤ α.
∴ z ∈ Cα ⇒ Cα is convex.
f (x 2 ) ≥ f (x 1 ) + g(x 1 )T (x 2 − x 1 )
g(x 1 )T (x 2 − x 1 ) ≤ f (x 2 ) − f (x 1 )
λf (x 1 ) + (1 − λ)f (x 2 )
≥ f (x) + λg(x)T (x 1 − x) + (1 − λ)g(x)T (x 2 − x)
= f (x) + λg(x)T (x 1 − x 2 ) + g(x)T (x 2 − x)
= f (x) + g(x)T (λx 1 + (1 − λ)x 2 − x)
= f (λx 1 + (1 − λ)x 2 )
⇒ f is convex.
Hence,
f 0 (x2 )(x2 − x1 ) ≥ f (x2 ) − f (x1 ) ≥ f 0 (x1 )(x2 − x1 ).
This implies,
f 0 (x2 ) ≥ f 0 (x1 ) ∀ x2 > x1 .
min f (x)
s.t. x ∈ C
where f is differentiable.
Let x̂ ∈ C.
The optimal objective function value of the problem,
min f (x)
s.t. x ∈ C
f (x) ≥ f (x ∗ ) + g(x ∗ )T (x − x ∗ )
⇒ f (x) ≥ f (x ∗ ) ∀ x ∈ C
∗
⇒x is a global minimum of f over C.
Proof.
(I). Let x 1 , x 2 ∈ C and H(x), be positive semi-definite for each x ∈ C.
Let x = λx 1 + (1 − λ)x 2 , λ ∈ (0, 1).
Using second order truncated Taylor series, we have,
f (x 2 ) = f (x 1 ) + g(x 1 )T (x 2 − x 1 ) + 12 (x 2 − x 1 )T H(x)(x 2 − x 1 ).
That is, f (x 2 ) ≥ f (x 1 ) + g(x 1 )T (x 2 − x 1 ) (since H is psd)
Hence, f is convex. First order approximation of f at x1
x1 x2
Shirish Shevade (IISc) Convexity 79 / 89
Proof. (continued)
(II). Let H be not positive semi-definite for some x 1 ∈ C.
∴ ∃ x 2 ∈ C 3 (x 2 − x 1 )T H(x 1 )(x 2 − x 1 ) < 0.
Let x = λx 1 + (1 − λ)x 2 , λ ∈ (0, 1).
Using second order truncated Taylor series, we have,
f (x 2 ) = f (x 1 ) + g(x 1 )T (x 2 − x 1 ) + 12 (x 2 − x 1 )T H(x)(x 2 − x 1 ).
Choose x sufficiently close to x 1 so that (x 2 − x 1 )T H(x)(x 2 − x 1 ) < 0.
∴ f (x 2 ) < f (x 1 ) + g(x 1 )T (x 2 − x 1 ).
This implies that f is not convex.
Let f : Rn → R be defined as
1 T
f (x) = x Ax + b T x + c
2
where A is a symmetric matrix in Rn , b ∈ Rn and c ∈ R.
The Hessian matrix of f is A at any x ∈ Rn .
∴ f is convex iff A is positive semi-definite.
Let f (x) = x log x be defined on C = {x ∈ R : x > 0}.
f 0 (x) = 1 + log x and f 00 (x) = x1 > 0 ∀ x ∈ C
So, f (x) is convex.