In mathematics, a topological space is called compact if each of its open covers has a finite subcover.
Note: Some authors such as Bourbaki use the term "quasi-compact" for this instead, and reserve the term "compact" for topological spaces that are both Hausdorff and "quasi-compact".
The Heine–Borel theorem shows that this definition is equivalent to "closed and bounded" for subsets of Euclidean space. So a subset of Euclidean space Rn is called compact if it is closed and bounded. For example, in R, the closed unit interval [0, 1] is compact, but the set of integers Z is not (it is not bounded) and neither is the half-open interval [0, 1) (it is not closed).
The concept of a compact subset of the real numbers can be extended to compact subsets of any topological space and indeed to the concept of a compact space. A subset is compact if when endowed with the subspace topology it becomes a compact space.
A single compact set is sometimes referred to as a compactum; following the Latin second declension (neuter), the corresponding plural form is compacta.
The identity of bounded closed subsets of real numbers and sets whose open covers have finite subcovers was discovered and proved in the late 19th century. See Heine-Borel theorem.
The term compact was introduced by Fréchet in 1906.
It has long been recognized that a property like compactness is necessary to prove many useful theorems. It used to be that "compact" meant "sequentially compact" (every sequence has a convergent subsequence). This was when primarily metric spaces were studied. The "covering compact" definition has become more prominent because it allows us to consider general topological spaces, and many of the old results about metric spaces can be generalized to this setting. This generalization is particularly useful in the study of function spaces, many of which are not metric spaces.
One of the main reasons for studying compact spaces is because they are in some ways very similar to finite sets: there are many results which are easy to show for finite sets, whose proofs carry over with minimal change to compact spaces. It is often said that "compactness is the next best thing to finiteness". Here is an example:
Note that if A is infinite, the proof fails, because the intersection of arbitrarily many neighbourhoods of x might not be a neighbourhood of x. The proof can be "rescued", however, if A is compact: we simply take a finite subcover of the cover {V(a) : a in A} of A, then intersect the corresponding finitely many U(x). In this way, we see that in a Hausdorff space, any point can be separated by neighbourhoods from any compact set not containing it. In fact, repeating the argument shows that any two disjoint compact sets in a Hausdorff space can be separated by neighbourhoods -- note that this is precisely what we get if we replace "point" (i.e. singleton set) with "compact set" in the Hausdorff separation axiom. Many of the arguments and results involving compact spaces follow such a pattern.
A topological space X is defined as compact if all its open covers have a finite subcover. Formally, this means that
for every arbitrary collection
of open subsets of X such that
, there is a finite subset
such that
.
An often used equivalent definition is given in terms of the finite intersection property: if any collection of closed sets satisfying the finite intersection property has nonempty intersection, then the space is compact[1]. This definition is dual to the usual one stated in terms of open sets.
Some authors require that a compact space also be Hausdorff, and the non-Hausdorff version is then called quasicompact.
For any subset of Euclidean space Rn, the following four conditions are equivalent:
In other spaces, these conditions may or may not be equivalent, depending on the properties of the space.
Note that while compactness is a property of the set itself (with its topology), closedness is relative to a space it is in; above "closed" is used in the sense of closed in Rn. A set which is closed in e.g. Qn is typically not closed in Rn, hence not compact.
and
cover all the rationals in [0,1] for n = 4, 5, ... but this cover does not have a finite subcover. (Note that the sets are open in the subspace topology even though they are not open as subsets of R.)
from the real number line to the closed unit interval, and define a topology on K so that a sequence {fn} in K converges towards
if and only if {fn(x)} converges towards f(x) for all
. There is only one such topology; it is called the topology of pointwise convergence. Then K is a compact topological space, again a consequence of Tychonoff's theorem.
satisfying the Lipschitz condition
for all
and consider on K the metric induced by the uniform distance
. Then by Ascoli-Arzelà theorem the space K is compact.
is homeomorphic to the circle S1; the one-point compactification of
is homeomorphic to the sphere S2. Using the one-point compactification, one can also easily construct compact spaces which are not Hausdorff, by starting with a non-Hausdorff space.Some theorems related to compactness (see the Topology Glossary for the definitions):