suppose X,Y are two convex sets
x1, x2 in X and y1, y2 in Y
defn of X and Y being convex:
tx1+(1-t)x2 in X
ty1+(1-t)y2 in Y
it is clear that:
1) X+Y is convex.
2) X intersection Y is convex
3) question: I know A union B is not convex but I don't understand why
AUB = A+B - A(intersection)B
but both on RHS are convex and subtraction of convex sets is convex. so shoudn't AUB also be convex?
how about A\B?
A\B = A - A(intersection)B again both on RHS are convex so shouldn't A\B be convex?
QN: for a convex set P, 2P belongs to P+P? How? How it it that 2P is not equal to P+P?
EDIT:
is A-B not a convex set? I thought it would be.
ta1+(1-t)a2 in A tb1+(1-t)b2 in B
WTS t*(a1-b1)+(1-t)(a2-b2) in A-B
but t*(a1-b1)+(1-t)(a2-b2) = t(a1)+(1-t)a2 - [t*b1+(1-t)b2]
first half in RHS is in A and second half in RHS is in B so whole thing is in A - B hence A-B is convex? no?