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

# Connected component

A maximal connected subset of a topological space.

A **connected component** of a [topological space](https://knowlpedia.com/topology/topological-space/) \(X\) is a maximal [connected set](https://knowlpedia.com/topology/connected-set/) (with respect to inclusion). Concretely, for a point \(x\in X\), its connected component is
\[
C(x)=\bigcup\{\,C\subseteq X : C \text{ is connected and } x\in C\,\},
\]
and \(C(x)\) is the largest connected subset of \(X\) containing \(x\).

## Remarks

Connected components give a canonical decomposition of \(X\) into connected pieces; compare this with [path-connectedness](https://knowlpedia.com/topology/path-connected-set/), which uses [paths](https://knowlpedia.com/topology/path/).

## Examples

- In \(\mathbb{R}\setminus\{0\}\) (usual topology), the connected components are \((-\infty,0)\) and \((0,\infty)\).
- In a discrete topological space, every singleton \(\{x\}\) is a connected component.
