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

# Compact set

A set in which every open cover has a finite subcover.

A **compact set** is a subset \(K\subseteq X\) of a [topological space](https://knowlpedia.com/topology/topological-space/) \(X\) such that every [open cover](https://knowlpedia.com/topology/open-cover/) of \(K\) contains a finite subcover: whenever \(\{U_i\}_{i\in I}\) is a family of open sets with \(K\subseteq \bigcup_{i\in I}U_i\), there exist indices \(i_1,\dots,i_n\) such that
\[
K \subseteq U_{i_1}\cup\cdots\cup U_{i_n}.
\]

## Remarks

Compactness can also be expressed in terms of [the finite intersection property](https://knowlpedia.com/topology/finite-intersection-property/) for families of [closed sets](https://knowlpedia.com/topology/closed-set/), and it interacts well with [continuous maps](https://knowlpedia.com/topology/continuous-map/) (for instance, via [continuous images of compact sets](https://knowlpedia.com/topology/continuous-image-of-compact-set-is-compact/)).

## Examples

- Any finite subset of any topological space is compact.
- In \(\mathbb{R}\) with its usual topology, the closed interval \([0,1]\) is compact, while the open interval \((0,1)\) is not compact.
