Cartesian product of convex sets is convex

The product Ω1×Ω2 is convex when each factor is convex
Cartesian product of convex sets is convex

Proposition. Let Ω1X\Omega_1\subset X and Ω2Y\Omega_2\subset Y be sets in vector spaces XX and YY. Then the Cartesian product Ω1×Ω2\Omega_1\times \Omega_2 is convex in the X×YX\times Y.

Context. Convexity is stable under forming product constraints, a basic fact used in multi-variable convex analysis.

Proof sketch. If (x1,y1),(x2,y2)Ω1×Ω2(x_1,y_1),(x_2,y_2)\in\Omega_1\times\Omega_2 and λ[0,1]\lambda\in[0,1], then

λ(x1,y1)+(1λ)(x2,y2)=(λx1+(1λ)x2, λy1+(1λ)y2), \lambda(x_1,y_1)+(1-\lambda)(x_2,y_2)=(\lambda x_1+(1-\lambda)x_2,\ \lambda y_1+(1-\lambda)y_2),

and each component lies in the appropriate convex set.