Which of the following sets are convex?
((a)) A slab, i.e., a set of the form {x∈Rn∣α≤aTx≤β}.
((b)) A rectangle, i.e., a set of the form {x∈Rn∣αi≤xi≤βi,i=1,…,n}. A rectangle is sometimes called a hyperrectangle when n>2.
((c)) A wedge, i.e., {x∈Rn∣a1Tx≤b1,a2Tx≤b2}.
((d)) The set of points closer to a given point than a given set, i.e.,
{x∣∥x−x0∥2≤∥x−y∥2 for all y∈S}
where S⊆Rn.
((e)) The set of points closer to one set than another, i.e.,
{x∣dist(x,S)≤dist(x,T)},
where S,T⊆Rn, and dist(x,S)=inf{∥x−z∥2∣z∈S}.
((f)) [HUL93, volume 1, page 93] The set {x∣x+S2⊆S1}, where S1,S2⊆Rn with S1 convex.
((g)) The set of points whose distance to a does not exceed a fixed fraction θ of the distance to b, i.e., the set {x∣∥x−a∥2≤θ∥x−b∥2}. You can assume a=b and 0≤θ≤1.