A subset of an affine space is convex when it contains every barycenter with nonnegative weights of its points — equivalently, every segment between its points. The convex hull is the set of all nonnegative-weight barycenters of points of — the smallest convex set containing .
Examples
Example 17.12 (Epigraphs are convex sets)
The region above the parabola is convex: for and , the convexity inequality of the square function gives
so the barycenter stays above the parabola. The computation is general: is convex exactly when is a convex function — convex sets and convex functions (Chapter 8) are two faces of one notion, epigraphs being the dictionary. This is the geometric reason support lines exist for convex functions, the fact that will prove Jensen’s inequality in Chapter 22.
Example 17.13 (Redundant generators of a convex hull)
Let . The fifth point is the barycenter
so it already lies in the hull of the other four: is the square with the four corners as vertices. In general, a point of that is a nonnegative-weight barycenter of the other points of can be deleted without changing the hull; the points that can never be deleted (here the four corners) are the extreme points of the hull. Determining them is a pure barycenter computation: , say, cannot be written as of the remaining points with nonnegative weights, because the first coordinate would force all weight onto points with , and the second coordinate then fails. Convexity questions reduce, again and again, to solving small weighted systems.