Connected subsets of R are intervals

A connected subset of the real line contains every point between any two of its points
Connected subsets of R are intervals

Connected subsets of R\mathbb{R} are intervals: A set ERE\subseteq \mathbb{R} is (in the usual ) if and only if it is an in the order sense: whenever a,bEa,b\in E with a<ba<b, then (a,b)E,(a,b)\subseteq E, equivalently, every xx with axba\le x\le b lies in EE.

This characterizes connectedness on the line and is the key to the and many “no gaps” arguments.

Proof sketch (optional): If EE fails to contain some point between a<ba<b in EE, then EE can be into E(,x)E\cap(-\infty,x) and E(x,)E\cap(x,\infty). Conversely, if EE is an interval, any attempted separation would force a “gap,” contradicting the interval property.