Exercise 3.1 (Local minima of convex functions)

Let f : ℜn↦ℜ be a convex function and let S ⊂ℜn be a convex set. Let x∗ be an element of S. Suppose that x∗ is a local optimum for the problem of minimizing f(x) over S; that is, there exists some 𝜖 > 0 such that f (x∗)≤ f(x) for all x ∈ S for which ∥x −x∗∥ ≤ 𝜖. Prove that x∗ is globally optimal; that is, f (x∗)≤ f(x) for all x ∈ S.

Answers

Proof. Let x∗∈ S be a local minimum for f, i.e., there is an 𝜀 > 0 such that whenever ∥x −x∗∥≤ 𝜀, we have f (x∗)≤ f (x). Suppose for the sake of contradiction that x∗ is not a global minimum, i.e., there exists another element y∗∈ S such that f (y∗) < f (x∗). Consider the line segment between x∗ and y∗:

{λx∗ + (1 − λ)y∗∣λ ∈ [0,1]}.

PIC
Figure 1: Strategy to construct a contradiction.

This line is entirely contained in S by the convexity assumption. Furthermore, the elements of this line can get arbitrarily close to x∗:

∥x∗− λx∗ + (1 − λ)y∗∥ ≤ 𝜀 (1 − λ)∥x∗ + y∗∥ ≤ 𝜀 λ ≈ 1.

But the resulting combination creates a weighted average of f (x∗) and f (y∗) which is obviously less that f (x∗) alone:

f (λx∗ + (1 − λ)y∗)≤ λf (x∗) + (1 − λ)f (y∗) < λf (x∗) + (1 − λ)f (x∗) = f (x∗).

In other words, we have found a point x′ = λx∗ + (1 − λ)y∗ in the 𝜀-neighbourhood of x such that f (x′) < f (x∗). This is a contradiction to the fact that f (x∗) is a local minimum in its 𝜀-neighbourhood. □

User profile picture
2022-02-14 20:53
Comments