👉 In mathematics, a property of a set is said to be convex if it is an interior point of its own interior. This means that for any two points in the set, the line segment connecting them lies entirely within the set itself. In other words, the set is convex if and only if every line segment connecting any two points in the set is entirely contained within the set.