Canonical: https://knowlpedia.com/topology/connected-subsets-of-r-are-intervals/

# Connected subsets of R are intervals

A subset of the real line is connected exactly when it is an interval.

**Connected subsets of \(\mathbb{R}\) are intervals:** View \(\mathbb{R}\) with its usual topology. If \(E\subseteq \mathbb{R}\) is [connected](https://knowlpedia.com/topology/connected-set/), then \(E\) is an [interval](https://knowlpedia.com/real-analysis/interval/): whenever \(a,b\in E\) with \(a<b\) and \(c\in\mathbb{R}\) satisfies \(a<c<b\), one has \(c\in E\). Conversely, every interval in \(\mathbb{R}\) is connected.

## Application

This classification is frequently combined with [continuous images preserve connectedness](https://knowlpedia.com/topology/continuous-image-of-connected-set-is-connected/) to identify images of connected sets under real-valued continuous functions.

## Examples

The usual topology on \(\mathbb R\) is the topology induced by the standard metric \(d(x,y)=|x-y|\).
