6.14 (a) The region is not convex. Since the region is in R2 , we can see this visually by graphing the region: x2 2 x1 x1 + 2 + x2 x2 ≥ ≤ 9 10 ↑ ↓ x1 Observe that (3, 0) and (0, 3) are both points in the feasible region, but there exist points on the line segment connecting these two points are not in the feasible region. Therefore, the region is not convex. To show this formally, let x> = (3, 0) and y> = (0, 3). Algebraically, x and y are both points in the region as they are both nonnegative and x21 + x22 = (3)2 + (0)2 = 9 x1 + x2 = (3) + (0) = 3 ≤ 10 y12 + y22 = (0)2 + (3)2 = 9 y1 + y2 = (0) + (3) = 3 ≤ 10 However, using λ = 1/2, we have that 3 0 3/2 λx + (1 − λ)y = 1/2 + 1/2 = 0 3 3/2 and because (3/2)2 + (3/2)2 = 18/4 = 9/2 < 9, λx + (1 − λ)y is not in the region. Therefore, the region is not convex. (b) The region is convex. Again, since the region is in R2 , we can see this visually by graphing the region: x2 2 x1 x1 + 2 + x2 x2 ≤ ≤ 9 10 ↓ ↓ 1 x1 Observe that for any two points in the region, the line segment connecting these two points lies completely in the region. Therefore, the region is convex. To prove this formally, we must show that for arbitrary points x, y ∈ R2 that satisfy the given constraints and λ ∈ [0, 1], the point z = λx + (1 − λ)y satisfies all the constraints. Because both x and y are nonnegative and 0 ≤ λ ≤ 1, z is also nonnegative. Also, note that z1 + z2 = (λx1 + (1 − λ)y1 ) + (λx2 + (1 − λ)y2 ) = λ(x1 + x2 ) + (1 − λ)(y1 + y2 ) ≤ λ(10) + (1 − λ)(10) = 10 where the last inequality follows because both x and y satisfy the constraints (in particular, the second constraint). Based on Example 6.21, we have that the function f (x) = x21 + x22 is convex which means that f (z) = f (λx + (1 − λ)y) ≤ λf (x) + (1 − λ)f (y) = λ(x21 + x22 ) + (1 − λ)(y12 + y22 ) ≤ λ9 + (1 − λ)9 = 9 so z satisfies the first constraint. Thus, z satisfies all constraints. Therefore, the region is convex. (c) The region is convex: it is the feasible region of a linear program. To show this formally, let x, y ∈ R3 satisfy all the constraints and λ ∈ [0, 1] all be arbitrarily chosen. Then, as in (b), let z = λx + (1 − λ)y. Then z1 + z2 + 3z3 = (λx1 + (1 − λ)y1 ) + (λx2 + (1 − λ)y2 ) + 3(λx3 + (1 − λ)y3 ) = λ(x1 + x2 + 3x3 ) + (1 − λ)(y1 + y2 + 3y3 ) ≤ λ10 + (1 − λ)10 = 10 Similarly, 2z1 + 3z2 + z3 = 2(λx1 + (1 − λ)y1 ) + 3(λx2 + (1 − λ)y2 ) + (λx3 + (1 − λ)y3 ) = λ(2x1 + 3x2 + x3 ) + (1 − λ)(2y1 + 3y2 + y3 ) ≥ λ5 + (1 − λ)5 = 5 Finally, z = λx + (1 − λ)y ≥ λ · 0 + (1 − λ) · 0 = 0. Thus, z satisfies all constraints. Therefore, the region is convex. (d) The region is not convex. Consider the points 0 0 x= 5 0 and 10 0 y= 0 0 which both satisfy all the constraints. However, when λ = 1/2, 5 0 λx + (1 − λ)y = 5/2 0 is not a vector of integers and so, is not in the region. Therefore the region is not convex. 2