10.3  Convex Sets and Hulls

Much of analysis moves from one point to another along a segment. Here are three examples.

  • The mean value theorem compares f(q) with f(p) by walking from p to q.
  • A set is connected, in the simplest case, because any two of its points can be joined inside it.
  • Cauchy’s theorem in complex analysis is first proved on regions where every segment between two points stays inside.

Each of these arguments needs the segment [p,q] of Definition 10.1.3 to lie in the set where the work is done. This section names the sets for which that holds for every pair of points, shows that balls, lines, segments, hyperplanes and half-spaces are among them, and describes the smallest such set containing a given one.

Before the definition, test the property on a few sets of the plane.

Quick check. Which of these subsets of R2 contain the segment between any two of their points?

  • the disc {x:‖x‖≤1};
  • the ring {x:1≤‖x‖≤2};
  • the line R(1,1);
  • the two-point set {(0,0),(1,0)};
  • the empty set;
  • the union of the two coordinate axes.

Solution. The disc: yes; this section proves it for every ball. The ring: no; (3/2,0) and (−3/2,0) lie in it, and the midpoint (0,0) of the segment between them has norm 0<1. The line: yes, since (1−t)(s,s)+t(u,u)=(v,v) with v:=(1−t)s+tu. The two points: no; the midpoint (1/2,0) is neither of them. The empty set: yes, since there are no two points to test. The axes: no; (1,0) and (0,1) lie on them, and the midpoint (1/2,1/2) lies on neither axis.

10.3.1. Convex sets and balls

The property tested above deserves a name.

A set is convex when it never makes you leave it to walk straight from one of its points to another. In other words, the segment between any two of its points lies inside it.

Definition 10.3.1 (Convex Set)

A subset C⊆Rn is convex if [p,q]⊆C for all p,q∈C.

In words: whenever p and q are in C, so is (1−t)p+tq for every t∈[0,1] (Definition 10.1.3). The quantifier over t covers the whole interval [0,1], not just the midpoint t=1/2. This matters: the set Q2 of points of the plane with rational coordinates contains every midpoint of two of its points and still is not convex (see the warning on midpoints below). The empty set is convex, since the condition has no instance to check. So is every one-point set {p}, since [p,p]={p}. The ring and the axes tested above are not convex: in each, one pair of points already has a midpoint outside.

The sets of analysis on which estimates hold are balls. The words “open” and “closed” below are names for now. Analysis on the Real Line explains them and defines balls for any distance.

For instance, in R2 take the points at distance less than 1 from (1,0). The point (1/2,0) is one of them, at distance 1/2. The point (1,1) is not, since its distance is exactly 1; it lies on the circle around the disc.

Definition 10.3.2 (Open and Closed Balls)

Let c∈Rn and r>0. The open ball and the closed ball of center c and radius r are B(c,r):={x∈Rn:‖x−c‖<r},B―(c,r):={x∈Rn:‖x−c‖≤r}.

For n=1, ‖x−c‖=|x−c| (Proposition 9.4.1 (d)). So B(c,r) is the interval (c−r,c+r), and B―(c,r) is [c−r,c+r] (Number Systems: From N to R, Proposition 4.1.3 (d)). For n=2 they are discs without and with their circle S(c,r) (Definition 10.2.2).

Proposition 10.3.1 (Balls Are Convex)

For every c∈Rn and r>0, the balls B(c,r) and B―(c,r) are convex.

Idea (Scratch work). Unwind the goal. The definition of convexity says what to fix: two points of the ball and a parameter t∈[0,1].

We know We want
‖p−c‖<r, ‖q−c‖<r, t∈[0,1] ‖(1−t)p+tq−c‖<r
the same; and c=(1−t)c+tc ‖(1−t)(p−c)+t(q−c)‖<r
the triangle inequality and ‖sx‖=|s|‖x‖ each of the two pieces is at most its weight times r; the gap closes, since (1−t)r+tr=r

The second row is the whole trick. The center is split with the same weights as the point. Then the vector inside the norm becomes a weighted sum of two vectors whose lengths we know.

Proof. Let p,q∈B(c,r) and t∈[0,1]. By the laws of the vector operations, (1−t)p+tq−c=(1−t)(p−c)+t(q−c). Since 1−t≥0 and t≥0, the triangle inequality (Theorem 9.5.3 (a)) gives ‖(1−t)p+tq−c‖≤(1−t)‖p−c‖+t‖q−c‖. If t=0 or t=1, the point (1−t)p+tq is p or q, which lies in B(c,r). If 0<t<1, both weights are positive. Multiplying by a positive number keeps a strict inequality, so (1−t)‖p−c‖<(1−t)r and t‖q−c‖<tr. Adding these bounds the right side by (1−t)r+tr=r. Hence (1−t)p+tq∈B(c,r), and B(c,r) is convex.

For B―(c,r) the same display holds. Since all four factors are non-negative, (1−t)‖p−c‖≤(1−t)r and t‖q−c‖≤tr. Adding gives ‖(1−t)p+tq−c‖≤r. This proves the proposition.

Uses: Proposition 9.2.1, Proposition 9.4.1 (b): rearrangements, ‖sx‖=|s|‖x‖; Number Systems: From N to R, Proposition 2.4.3 (b), (c): adding, multiplying by positives; Number Systems: From N to R, Proposition 4.1.2 (d): multiplying non-negative inequalities.

A ball is convex; its boundary is not.

Quick check. Is the sphere S(0,1)⊆R2 convex?

Solution. No. The points (1,0) and (−1,0) lie on it, and the midpoint (0,0) of the segment between them has norm 0≠1. Exercise B3 shows that no point strictly inside a segment between two different points of a sphere lies on the sphere.

The proof of Proposition 10.3.1 is the pattern for proving convexity from the definition.

Example (Method: the two-point test)

How it goes. To prove that C is convex:

  1. Take p,q∈C and t∈[0,1].
  2. Write down the condition that p and q satisfy.
  3. Split the vector, or the expression, belonging to (1−t)p+tq as (1−t)(…)+t(…). Use the same weights on every term, including the center or the constant.
  4. Conclude by the triangle inequality, or by linearity, using 1−t≥0 and t≥0.

When to use it. Proving that a set is convex straight from the definition: balls, half-spaces, sets cut out by inequalities.

Common mistakes. Checking only the midpoint, t=1/2, is not enough: the set Q2 below passes that check and is not convex. Allowing t outside [0,1] is also wrong, since then a weight is negative and the inequalities reverse.

Warning. Midpoints are not enough. The set Q2 of points of R2 with rational coordinates contains the midpoint ((a+c)/2,(b+d)/2) of any two of its points (a,b), (c,d). Yet it is not convex. The field R is a complete ordered field (Number Systems: From N to R, Theorem 5.5.2). So the real number 2 exists (Number Systems: From N to R, Proposition 6.1.4). Since 1<2<4, comparing squares of non-negative numbers gives 1<2<2 (Number Systems: From N to R, Proposition 2.4.3 (g)). So t:=2/2 lies in [0,1]. Then (2/2,0)=(1−t)(0,0)+t(1,0) is a point of [(0,0),(1,0)]. It is not in Q2: if t∈Q, then 2=2t∈Q, against Number Systems: From N to R, Theorem 3.3.1.

10.3.2. Examples and operations

The sets of Sections 10.1 and 10.2 are convex: lines and half-spaces pass the two-point test with linearity.

Proposition 10.3.2 (Lines, Segments, Hyperplanes and Half-Spaces Are Convex)

Each of the following is a convex subset of Rn:

Idea. Use the two-point test of Example (Method: the two-point test), with linearity in place of the triangle inequality. The weights 1−t and t pass through the parameter of a line and through the dot product with a.

Proof. Let t∈[0,1].

Lines. For two points p+sv and p+uv of p+Rv, the laws of the vector operations give (1−t)(p+sv)+t(p+uv)=p+((1−t)s+tu)v, a point of p+Rv.

Segments. If x,y∈[p,q], then [x,y]⊆[p,q] by Lemma 10.1.3; that is the definition of convexity for [p,q].

Hyperplanes and half-spaces. For x,y∈Rn, linearity of the dot product (Proposition 9.3.1 (b)) gives c−⟨a,(1−t)x+ty⟩=(1−t)(c−⟨a,x⟩)+t(c−⟨a,y⟩). If x,y∈Ha,c, the right side is 0, so (1−t)x+ty∈Ha,c. If ⟨a,x⟩≤c and ⟨a,y⟩≤c, both brackets are ≥0, and so are both weights. A product of two non-negative numbers is ≥0, and so is a sum of two such products; so the right side is ≥0. If both brackets are >0, the right side is >0. Indeed, one weight is positive, so its term is a product of two positive numbers and is positive, and the other term is ≥0. This settles {⟨a,x⟩≤c} and {⟨a,x⟩<c}. The half-spaces with ≥ and > are those with ≤ and < for the normal −a and the constant −c, since multiplying by −1 reverses an inequality. Also −a≠0.

Uses: Proposition 9.2.1 (vector rearrangements); Number Systems: From N to R, Proposition 4.1.2 (d): products of non-negatives; Number Systems: From N to R, Proposition 2.4.3 (a), (b), (c): negation, sums, positive products.

New convex sets come from old ones by intersecting, translating and scaling, but not by joining. For example, (1,0)+B((0,0),1)=B((1,0),1) and 2B((0,0),1)=B((0,0),2).

Proposition 10.3.3 (Operations on Convex Sets)
  • (a) If (Ci)i∈I is a family of convex subsets of Rn, then ⋂i∈ICi is convex.
  • (b) If C⊆Rn is convex, b∈Rn and λ∈R, then b+C:={b+x:x∈C} and λC:={λx:x∈C} are convex.
  • (c) A union of two convex sets need not be convex: for p≠q, the sets {p} and {q} are convex and {p}∪{q} is not.

Idea. Each part checks one segment at a time. A segment that lies in every Ci lies in their intersection, and translating or scaling moves a segment onto a segment.

Proof.

  • (a) The intersection is taken in Rn, as Sets and Functions defined the intersection of a family (Sets and Functions, Definition 1.3.4 (b)). For I=∅ it is Rn, which is convex. Let p,q∈⋂iCi. For each i, p,q∈Ci and Ci is convex, so [p,q]⊆Ci. Hence [p,q]⊆⋂iCi.

  • (b) For x,y∈C and t∈[0,1], the laws of Proposition 9.2.1 give (1−t)(b+x)+t(b+y)=b+((1−t)x+ty),(1−t)λx+tλy=λ((1−t)x+ty), and (1−t)x+ty∈C.

  • (c) [p,p]={p}, so a one-point set is convex. The midpoint m=(p+q)/2 of [p,q] is neither p nor q: m=p would give q=p, and likewise for q.

Quick check. Show that the triangle T:={x∈R2:x1≥0, x2≥0, x1+x2≤1} is convex.

Solution. T is the intersection of the three closed half-spaces {⟨(−1,0),x⟩≤0}, {⟨(0,−1),x⟩≤0} and {⟨(1,1),x⟩≤1}, each convex by Proposition 10.3.2. By Proposition 10.3.3 (a), T is convex.

10.3.3. Convex combinations and the hull

A point of a segment is a sum of two points with non-negative weights adding up to 1. Allowing more than two points gives the general form. For example, the weights 12,14,14 are non-negative and add up to 1. On the points (0,0), (4,0), (0,4) they give 12(0,0)+14(4,0)+14(0,4)=(1,1).

Definition 10.3.3 (Convex Combination)

Let k≥1 and p1,…,pk∈Rn. A convex combination of p1,…,pk is a point λ1p1+⋯+λkpk=∑i=1kλipiwith every λi≥0 and ∑i=1kλi=1. The numbers λi are its weights.

For k=1 the only convex combination of p1 is p1 itself. For k=2, the weights are 1−t and t with t∈[0,1], and the convex combinations of p1,p2 form [p1,p2]. The points need not be distinct.

A convex set is defined by a condition on two points. It controls combinations of any number of points.

Theorem 10.3.4 (Convex Sets Contain Their Convex Combinations)

Let C⊆Rn be convex. Then every convex combination of finitely many points of C lies in C.

Idea. Peel off the last point. Convexity speaks about two points at a time, so split one point off. Of k+1 weighted points, keep the last one. Rescale the first k weights so that they add up to 1 again. By induction, the first k points then give one point y of C, and the whole combination is a point of the segment [y,pk+1]. The rescaling divides by 1−λk+1, so the case λk+1=1 is set aside.

Proof. For k≥1, let P(k) be the statement: for all p1,…,pk∈C, every convex combination of p1,…,pk lies in C. We prove P(k) for every k≥1 by induction from the base 1 (Sets and Functions, Theorem 3.2.1).

Base case. A convex combination of one point p1∈C has λ1=1, so it is p1∈C.

Inductive step. Let k≥1 and assume P(k). Let p1,…,pk+1∈C and let x=∑i=1k+1λipi be a convex combination of them. If λk+1=1, then ∑i=1kλi=0 with every λi≥0, so every λi with i≤k is 0 (Proposition 1.1.5 (e)). Then 0pi=0 (Proposition 9.2.1 (i)), and x=1pk+1=pk+1∈C. Suppose now λk+1≠1. The weights λ1,…,λk are non-negative, so ∑i=1kλi≥0 (Proposition 1.1.5 (a)), and ∑i=1kλi=1−λk+1 by the recursion for sums. Hence s:=1−λk+1 satisfies s≥0 and s≠0, so s>0, and λk+1=1−s∈[0,1]. The numbers λi/s, for i≤k, are non-negative and add up to s/s=1, since the constant 1/s comes out of the sum. So y:=∑i=1kλispi is a convex combination of p1,…,pk, and y∈C by P(k). By the recursion for sums, and by taking the constant s out of the sum in each coordinate, x=∑i=1kλipi+λk+1pk+1=sy+λk+1pk+1=(1−λk+1)y+λk+1pk+1, a point of [y,pk+1]. Since y,pk+1∈C and C is convex, x∈C. This proves P(k+1), and the theorem follows.

Uses: Lemma 1.1.3 (b): constants come out; Lemma 9.2.2 (a): vector sums by coordinates; Proposition 1.1.5 (a), (e): sums of non-negatives; Proposition 9.2.1 (i): 0p=0.

Among all convex sets containing a given set S, there is a smallest one. It is built the way Sets and Functions built the smallest closed set (Sets and Functions, Proposition 1.3.2): intersect all candidates. For the two points (0,0) and (1,0), every convex set containing both contains the segment between them. That segment is itself convex, so it is the smallest convex set containing the two points.

Definition 10.3.4 (Convex Hull)

Let S⊆Rn. The convex hull of S is convS:=⋂{C⊆Rn:C is convex and S⊆C}.

The family being intersected is non-empty, since Rn is convex and contains S. So convS is a subset of Rn, and it has three properties:

  • it is convex, by Proposition 10.3.3 (a);
  • it contains S, since every member of the family does;
  • it lies inside every convex set that contains S, since it is the intersection of all of them.

In short, convS is the smallest convex set containing S. For example, conv{p,q}=[p,q]. Indeed, the segment is convex (Proposition 10.3.2) and contains p and q, and every convex set containing p and q contains [p,q].

The definition says what the hull is, but not how to find its points. The next theorem does.

Theorem 10.3.5 (The Convex Hull Is the Set of Convex Combinations)

Let S⊆Rn, and let K be the set of all convex combinations of finitely many points of S. Then convS=K.

Try it first (ten minutes): for three points p,q,r of the plane, describe conv{p,q,r} without the word “intersection”.

Idea. The first guess is the three sides, [p,q]∪[q,r]∪[r,p]. It contains p,q,r, but it is not convex. For p=(0,0), q=(2,0), r=(0,2), the points (1,0)∈[p,q] and (0,1)∈[r,p] have midpoint (1/2,1/2), which lies on none of the three sides. So the hull must also contain every segment [x,r] with x∈[p,q]. A point of such a segment is (1−t)((1−s)p+sq)+tr: a convex combination of p,q,r. That suggests the theorem, and suggests its two halves:

① every convex combination of points of S lies in convS, which is Theorem 10.3.4 applied to the convex set convS;

② the set K is itself convex and contains S, so the smallest such set lies inside it. For ②, two convex combinations are mixed by writing their two lists of points one after the other.

Proof. (⊇) The set convS is convex and contains S, as shown just after Definition 10.3.4. By Theorem 10.3.4, it contains every convex combination of finitely many of its points, in particular of points of S. So K⊆convS.

(⊆) First, S⊆K: each p∈S is the convex combination 1p. Next, K is convex. Let x=∑i=1kλipi and y=∑j=1mμjqj be in K, with pi,qj∈S, and let t∈[0,1]. Join the two lists: let ri:=pi and νi:=(1−t)λi for 1≤i≤k, and rk+j:=qj and νk+j:=tμj for 1≤j≤m. Each νi is a product of two non-negative numbers, so νi≥0. Split the sum over the joined list into its two parts, and take the constants out of the two sums. This gives ∑i=1k+mνi=(1−t)∑i=1kλi+t∑j=1mμj=(1−t)+t=1. The same two rules, applied in each coordinate, give ∑i=1k+mνiri=(1−t)∑i=1kλipi+t∑j=1mμjqj=(1−t)x+ty. So (1−t)x+ty is a convex combination of the points r1,…,rk+m of S, and lies in K. Thus K is a convex set containing S. Since convS lies inside every such set, convS⊆K. This proves convS=K.

Uses: Proposition 1.1.4 (b): splitting a sum; Lemma 1.1.3 (b): constants come out; Lemma 9.2.2 (a): vector sums by coordinates; Number Systems: From N to R, Proposition 4.1.2 (d): products of non-negatives.

The theorem turns membership in a hull, a statement about all convex sets at once, into a search for weights.

Example (A Triangle as a Hull)

Let p1,p2,p3∈R2. (a) Show that conv{p1,p2,p3} is the set T of points λ1p1+λ2p2+λ3p3 with λi≥0 and λ1+λ2+λ3=1: the filled triangle with corners p1,p2,p3. (b) For p1=(0,0), p2=(3,0), p3=(0,3), decide whether (1,1) and (2,2) lie in the hull.

Solution.

  • (a) T⊆conv{p1,p2,p3} by Theorem 10.3.5. For the other inclusion it is enough that T is convex, since it contains p1 (weights 1,0,0), p2 and p3. For two points of T with weights λi and μi, and t∈[0,1], (1−t)∑i=13λipi+t∑i=13μipi=∑i=13((1−t)λi+tμi)pi, and the new weights are non-negative and add up to (1−t)+t=1. This is the proof of Theorem 10.3.5 with the two lists kept equal instead of joined.

  • (b) The weights λ1=λ2=λ3=1/3 give 13(0,0)+13(3,0)+13(0,3)=(1,1), so (1,1) is in the hull. For (2,2): any weights with λ1(0,0)+λ2(3,0)+λ3(0,3)=(2,2) have 3λ2=2 and 3λ3=2, so λ2+λ3=4/3 and λ1=1−4/3<0. No admissible weights exist, and (2,2) is not in the hull. In this example the hull is {x1≥0, x2≥0, x1+x2≤3}: by (a) its points are (3λ2,3λ3) with λ2,λ3≥0 and λ2+λ3=1−λ1≤1, and conversely a point x of the set has the weights λ2=x1/3, λ3=x2/3, λ1=1−(x1+x2)/3≥0. It is three times the triangle {x1≥0, x2≥0, x1+x2≤1} shown convex earlier, and (2,2) breaks the third inequality.

10.3.4. Star-shaped sets

Some arguments need segments only from one fixed point, not between every pair of points. For instance, the union of the two axes of R2 is not convex. Yet every segment from (0,0) to one of its points stays inside it.

Definition 10.3.5 (Star-Shaped Set)

A set S⊆Rn is star-shaped about a point c∈S if [c,x]⊆S for every x∈S. It is star-shaped if it is star-shaped about some point of S.

A non-empty convex set is star-shaped about each of its points: that is the definition of convexity with p=c. The converse fails.

Example (The Axes: Star-Shaped, Not Convex)

Let A:=R(1,0)∪R(0,1)⊆R2, the union of the two axes. Show that A is star-shaped about 0, is not convex, and is not star-shaped about (1,0).

Solution. For x=(s,0)∈A and t∈[0,1], (1−t)0+t(s,0)=(ts,0)∈A; points of the other axis are handled the same way. So A is star-shaped about 0. The points (1,0) and (0,1) lie in A, and the midpoint (1/2,1/2) of the segment between them has both coordinates non-zero, so it lies on neither axis. This shows at once that A is not convex and that [(1,0),(0,1)]⊈A, so A is not star-shaped about (1,0).

Convex and star-shaped sets return throughout the series. Analysis on the Real Line uses convex balls to join points by segments, for connectedness. Analysis in Several Variables uses segments inside convex sets for the mean value inequality. Complex Analysis proves Cauchy’s theorem first on convex and star-shaped regions. Analysis on Manifolds proves the Poincaré lemma on star-shaped sets.

10.3.5. Exercises

A. Check your understanding

Exercise (A1)

Decide which of these subsets of R2 are convex. Justify each answer that is “no” with two points.

  • (a) {(x,y):y≥x2}.
  • (b) {(x,y):y≤x2}.
  • (c) Z2.
  • (d) {x:1≤‖x‖≤2}.

Solution.

  • (a) Convex; Exercise B1 proves it with the two-point test.

  • (b) Not convex: (1,1) and (−1,1) lie in the set (1≤1), and their midpoint (0,1) does not, since 1>0=02.

  • (c) Not convex: (0,0),(1,0)∈Z2, and the midpoint (1/2,0)∉Z2.

  • (d) Not convex: (3/2,0) and (−3/2,0) lie in the ring, and the midpoint (0,0) has norm 0<1.

Exercise (A2)
  • (a) Is (1,2) in conv{(0,0),(3,0),(0,3)}?
  • (b) Consider the proof of Theorem 10.3.5. Which of its two inclusions uses Theorem 10.3.4, and what does it apply that theorem to? Why is the family of convex sets containing S, in Definition 10.3.4, non-empty?

Solution.

  • (a) Yes: 0(0,0)+13(3,0)+23(0,3)=(1,2), with non-negative weights adding up to 1.

  • (b) The inclusion K⊆convS. It applies the theorem to the convex set convS, which contains S, so it contains every convex combination of points of S. The family contains Rn, which is convex and contains S.

B. Practice

Exercise (B1)

Prove that P:={(x,y)∈R2:y≥x2} is convex.

Solution. We use the two-point test (Example (Method: the two-point test)). Let (a,b),(c,d)∈P, so b≥a2 and d≥c2, and let t∈[0,1]. The point (1−t)(a,b)+t(c,d) has coordinates (1−t)a+tc and (1−t)b+td. Since 1−t≥0 and t≥0, multiplying keeps the two inequalities, and adding them gives (1−t)b+td≥(1−t)a2+tc2. Expanding the square, (1−t)a2+tc2−((1−t)a+tc)2=t(1−t)(a−c)2, since (1−t)−(1−t)2=t(1−t)=t−t2. The right side is ≥0: t(1−t)≥0 and (a−c)2≥0 (Number Systems: From N to R, Proposition 2.4.3 (e)). Hence (1−t)b+td≥((1−t)a+tc)2, and the point lies in P.

Uses: Number Systems: From N to R, Proposition 4.1.2 (d): multiplying non-negative inequalities; Number Systems: From N to R, Proposition 2.4.3 (b): adding inequalities.

Exercise (B2)

For C,D⊆Rn, let C+D:={x+y:x∈C, y∈D}. Prove that if C and D are convex, so is C+D.

Solution. Let x+y and x′+y′ be points of C+D, with x,x′∈C and y,y′∈D, and let t∈[0,1]. By the laws of Proposition 9.2.1, (1−t)(x+y)+t(x′+y′)=((1−t)x+tx′)+((1−t)y+ty′). The first bracket lies in C and the second in D, by convexity. So the point lies in C+D.

Exercise (B3)

Let c∈Rn, r>0, and let p≠q be points of the sphere S(c,r). Prove that ‖(1−t)p+tq−c‖<r for every t with 0<t<1.

Solution. We use the equality case, as in Example (Method: use the equality case). Let u:=(1−t)(p−c) and w:=t(q−c), so (1−t)p+tq−c=u+w (Proposition 9.2.1). By Proposition 9.4.1 (b), ‖u‖=(1−t)r and ‖w‖=tr. So the triangle inequality gives ‖u+w‖≤(1−t)r+tr=r.

Suppose ‖u+w‖=r=‖u‖+‖w‖. Here u≠0, since ‖u‖=(1−t)r>0. By the equality case of Theorem 9.5.3 (a), w=λu for some λ≥0, that is, t(q−c)=λ(1−t)(p−c). Dividing by t>0, q−c=μ(p−c) with μ:=λ(1−t)/t≥0. Taking norms, r=μr, so μ=1 and q=p, a contradiction. Hence ‖u+w‖<r.

The result depends on the equality case of the triangle inequality, which belongs to the Euclidean norm. Measure distances in R2 instead by max(|x1−y1|,|x2−y2|): the “unit ball” about 0 is the square {max(|x1|,|x2|)≤1}, and its edge contains the whole segment [(1,−1),(1,1)], so the analogue of this exercise fails. So does the analogue of Theorem 10.1.4: the point (1,1) is at distance 1 from (0,0) and from (2,0), and 1+1=2 is the distance between them, yet (1,1) is not on the segment [(0,0),(2,0)]. Analysis on the Real Line returns to this distance.

Exercise (B4: Prove or disprove)

Prove each statement or give a counterexample. Throughout, C, S, T are subsets of Rn.

  • (a) The union of two convex sets is convex.
  • (b) The complement R2∖C of a convex set C⊆R2 is convex.
  • (c) conv(S∪T)=convS∪convT.
  • (d) For p,q∈Rn, the set {x:‖x−p‖≤‖x−q‖} is convex.
  • (e) If C is convex and λ,μ≥0, then λC+μC=(λ+μ)C (notation of Exercise B2 and Proposition 10.3.3 (b)).

Solution.

  • (a) False. Proposition 10.3.3 (c): {p}∪{q} with p≠q.

  • (b) False. C=B―(0,1) is convex (Proposition 10.3.1). The points (2,0) and (−2,0) lie outside it, and their midpoint (0,0) lies in it.

  • (c) False. Take S={p}, T={q} with p≠q. Then convS={p} and convT={q}, since one-point sets are convex; but conv(S∪T)=[p,q] (the example after Definition 10.3.4) contains the midpoint, which is neither p nor q.

  • (d) True. If p=q, the set is Rn. If p≠q, let c:=(‖q‖2−‖p‖2)/2. By Proposition 10.2.2, ‖x−p‖<‖x−q‖ if and only if ⟨q−p,x⟩<c, and ‖x−p‖=‖x−q‖ if and only if ⟨q−p,x⟩=c. Since ≤ means “< or =” (Number Systems: From N to R, Proposition 2.4.3 (i)), the set is the closed half-space {⟨q−p,x⟩≤c}. It is convex by Proposition 10.3.2.

  • (e) True. (⊇) For x∈C, (λ+μ)x=λx+μx∈λC+μC (Proposition 9.2.1 (h)). (⊆) Let λx+μy∈λC+μC, with x,y∈C. If λ+μ>0, let s:=μ/(λ+μ)∈[0,1]; then λx+μy=(λ+μ)((1−s)x+sy), and (1−s)x+sy∈C by convexity. If λ=μ=0, both sides are {0} when C≠∅ and ∅ when C=∅. Convexity is needed: for C={0,e1}⊆Rn and λ=μ=1, the point e1=0+e1 lies in C+C but not in 2C={0,2e1}.

C. Going deeper

Exercise (C1: Chapter check: convex subsets of the line)

Let C⊆R be non-empty and convex. Let α:=infC if C is bounded below, and α:=−∞ otherwise; let β:=supC if C is bounded above, and β:=+∞ otherwise. Prove that every real x with α<x<β lies in C, and that every c∈C satisfies α≤c≤β. (So C is an interval with ends α and β, each end included or not.)

Solution (Hint 1). For x strictly between α and β, look for two points of C, one on each side of x.

Solution (Hint 2). Since x>infC, what can you say about x as a bound of C? Then ask what that says about the elements of C.

Solution. The supremum and the infimum. If C is bounded above, supC exists, since C is non-empty and R is complete (Number Systems: From N to R, Theorem 5.5.2). If C is bounded below, infC exists, again since C is non-empty (Proposition 8.3.1 (b)).

Two points around x. Let α<x<β. If C is bounded below, x>infC, so x is not a lower bound of C; if C is not bounded below, no real number is a lower bound. Either way there is a∈C with a<x (Number Systems: From N to R, Proposition 2.4.3 (i)). In the same way, x is not an upper bound of C, and there is b∈C with x<b.

The segment is the interval. For n=1, (1−t)a+tb=a+t(b−a). Let t:=(x−a)/(b−a), which is defined since b−a>0. It lies in (0,1). First, 1/(b−a)>0, since otherwise 1=(b−a)⋅1/(b−a)≤0, against 1>0 (Number Systems: From N to R, Proposition 2.4.3 (c), (e)). Now 0<x−a<b−a, and multiplying by 1/(b−a)>0 keeps both inequalities, by the same rule (c). With this t, we get (1−t)a+tb=x. So x∈[a,b]⊆C, by convexity.

Conclusion. Every x with α<x<β lies in C. For c∈C, α≤c because infC is a lower bound (or α=−∞), and c≤β likewise. So C is one of the intervals (α,β), [α,β), (α,β], [α,β], where an infinite end is never included.

What a complete answer needs. (10 points) - 3: handles the ends: supC by completeness when bounded above, infC when bounded below (Proposition 8.3.1), and the unbounded cases. - 3: finds a,b∈C with a<x<b, from “x is not a lower (upper) bound”. - 2: shows x∈[a,b] by an explicit t∈[0,1], or by the remark of Section 10.1 that a segment of R is an interval. - 2: concludes both inclusions. Slips that lose the step (0 for the step): using infC or supC without boundedness; assuming that C contains its supremum or infimum.

Uses: Number Systems: From N to R, Definition 5.5.1 (bounded sets have suprema).

R. Review

Exercise (R1)

Let Q:={x∈Rn:|xk|≤1 for every k}. Show that Q is convex and that B―(0,1)⊆Q⊆B―(0,n).

Solution. By Number Systems: From N to R, Proposition 4.1.3 (d), |xk|≤1 if and only if −1≤xk≤1, that is, xk≤1 and −xk≤1. Since xk=⟨ek,x⟩ and −xk=⟨−ek,x⟩ (Proposition 9.3.1 (a), (b), (d)), Q is the intersection of the 2n closed half-spaces {⟨ek,x⟩≤1} and {⟨−ek,x⟩≤1}, whose normals ±ek are non-zero. Each is convex by Proposition 10.3.2. So Q, their intersection, is convex by Proposition 10.3.3 (a).

If ‖x‖≤1, then |xk|≤‖x‖≤1 for every k (Proposition 9.4.7 (a)), so x∈Q. If x∈Q, then M:=maxk|xk|≤1, so ‖x‖≤nM≤n (Proposition 9.4.7 (b)), and x∈B―(0,n). These two inclusions, a ball inside a box inside a larger ball, are the ones Analysis on the Real Line uses to compare balls and boxes.

Exercise (R2)

Identify the polynomial a+bx+cx2∈R[x] with the point (a,b,c)∈R3. Show that the set P of such polynomials f with f(t)≥0 for every t∈[0,1] is a convex subset of R3.

Solution. Fix t∈[0,1]. Evaluation respects sums and products, sends a constant to itself and x to t (Theorem 6.4.1). So for f=a+bx+cx2, by the definition of the dot product, f(t)=a+bt+ct2=⟨(1,t,t2),(a,b,c)⟩. So Pt:={f:f(t)≥0} is the closed half-space {⟨(1,t,t2),y⟩≥0} of R3. Its normal (1,t,t2) is non-zero, since its first coordinate is 1. So Pt is convex by Proposition 10.3.2. Then P=⋂t∈[0,1]Pt is convex by Proposition 10.3.3 (a).

The two-point test also works directly. Let f=a+bx+cx2 and g=a′+b′x+c′x2 be in P and s∈[0,1]. Then (1−s)f(t)+sg(t)≥0 for every t∈[0,1]. By the displayed formula, this is the value at t of the polynomial with coefficient triple (1−s)(a,b,c)+s(a′,b′,c′). So that polynomial is in P.

Uses: Definition 9.3.1 (the dot product).

Exercise (R3)

Let c∈C, r>0 and u∈T. Show that D:={z∈C:|z−c|<r} is convex as a subset of R2, and that z↦uz maps D onto {w∈C:|w−uc|<r}.

Solution. Reading C as R2, |z−c|=‖z−c‖ (Proposition 9.4.3 (a), (c)). So D=B(c,r), which is convex by Proposition 10.3.1.

For z∈D, |uz−uc|=|u||z−c|=|z−c|<r by Theorem 3.2.2 (d) and |u|=1; so uz lies in the second disc. Onto: let |w−uc|<r and put z:=u―w. Since u―=u−1 (Proposition 3.5.1 (a)), uz=w. Also u―uc=c, and |u―|=|u|=1 by Theorem 3.2.2 (d). Hence |z−c|=|u―(w−uc)|=|u―||w−uc|=|w−uc|<r, and z∈D. Multiplying the plane by a unit complex number turns it about 0, and Complex Analysis opens with this picture.