Compact and convex discrete set

878 Views Asked by At

I am working with discrete sets but I have a doubt: is the set $\{ 0,1\}$ compact and convex? And the set $\{ 0,1\}^2=\{(0,0), (1,0), (0,1), (1,1) \}$?

1

There are 1 best solutions below

0
On BEST ANSWER

$\left \{0,1\right \}$ is not convex, because based on defintion $\lambda*0+(1-\lambda)*1 \notin \left \{0,1\right \}$.