Canonical: https://knowlpedia.com/topology/connected-set/

# Connected set

A set that cannot be split into two disjoint nonempty open pieces in the subspace topology.

A **connected set** is a subset \(C\subseteq X\) of a [topological space](https://knowlpedia.com/topology/topological-space/) \(X\) such that there do not exist disjoint nonempty sets \(U,V\subseteq C\) that are [open](https://knowlpedia.com/topology/open-set/) in the [subspace topology](https://knowlpedia.com/topology/subspace-topology/) on \(C\) and satisfy \(C=U\cup V\).

## Equivalent characterizations

Equivalently, the only subsets of \(C\) that are both [open](https://knowlpedia.com/topology/open-set/) and [closed](https://knowlpedia.com/topology/closed-set/) in the subspace topology are \(\varnothing\) and \(C\).

## Remarks

Connectedness is a basic qualitative invariant of spaces, and it is preserved by [continuous maps](https://knowlpedia.com/topology/continuous-map/) (see [continuous images of connected sets](https://knowlpedia.com/topology/continuous-image-of-connected-set-is-connected/)). Maximal connected pieces are called [connected components](https://knowlpedia.com/topology/connected-component/).

## Examples

- Any [interval](https://knowlpedia.com/real-analysis/interval/) in \(\mathbb{R}\) (with the usual topology) is connected.
- The set \((-1,0)\cup(0,1)\subseteq\mathbb{R}\) is not connected.
