Exercise 2.2

Let f : ℜn↦ℜ be a convex function and let c be some constraint. Show that the set S = {x ∈ ℜn∣f(x) ≤ c} is convex.

Answers

Proof. Pick an arbitrary λ ∈ [0,1] and x,y ∈ S. Our aim is to prove that λx + (1 − λ)y ∈ S, or equivalently f (λx + (1 − λ)y) ≤ c. By Definition 1.1, we have

f (λx + (1 − λ)y) ≤ λf(x) + (1 − λ)f(y) since f is convex ≤ λc + (1 − λ)c since x,y ∈ S = c

as desired. □

User profile picture
2021-11-07 18:58
Comments