# Category:Definitions/Convex Sets

A subset $A$ of an ordered set $\left({S, \preceq}\right)$ is convex (in $S$) if and only if:
$\forall x, y \in A: \forall z \in S: x \preceq z \preceq y \implies z \in A$