Compact space
In the mathematical discipline of general topology, compactness is a property that generalizes the notion of a subset of Euclidean space being closed (that is, containing all its limit points) and bounded (that is, all points within some fixed distance of each other). This notion is generalized to more general topological spaces in various ways. For instance, a space is sequentially compact if any infinite sequence of points sampled from the space must eventually, infinitely often, get arbitrarily close to some point of the space. The Bolzano–Weierstrass theorem states that a subset of Euclidean space is compact in this sense if and only if it is closed and bounded. Examples include a closed interval or a rectangle. Thus if one chooses an infinite number of points in the closed unit interval, some of those points must get arbitrarily close to some real number in that space. For instance, some of the numbers 1/2, 4/5, 1/3, 5/6, 1/4, 6/7, … get arbitrarily close to 0. (Also, some get arbitrarily close to 1.) The same set of points would not have, as a limit point, any point of the open unit interval; so the open unit interval is not compact. Euclidean space itself is not compact since it is not bounded. In particular, the sequence of points 0, 1, 2, 3, … has no subsequence that ultimately gets arbitrarily close to any given real number.
Apart from closed and bounded subsets of Euclidean space, typical examples of compact spaces include spaces consisting not of geometrical points but of functions. The term compact was introduced into mathematics by Maurice Fréchet in 1906 as a distillation of this concept. Compactness in this more general situation plays an extremely important role in mathematical analysis, because many classical and important theorems of 19th century analysis, such as the extreme value theorem, are easily generalized to this situation. A typical application is furnished by the Arzelà–Ascoli theorem and in particular the Peano existence theorem, in which one is able to conclude the existence of a function with some required properties as a limiting case of some more elementary construction.
Various equivalent notions of compactness, including sequential compactness and limit point compactness, can be developed in general metric spaces. In general topological spaces, however, the different notions of compactness are not necessarily equivalent, and the most useful notion, introduced by Pavel Alexandrov and Pavel Urysohn in 1929, involves the existence of certain finite families of open sets that "cover" the space in the sense that each point of the space must lie in some set contained in the family. The standard unqualified use of the term compact in mathematics usually means compactness in this latter sense. This more subtle definition exhibits compact spaces as generalizations of finite sets. In spaces that are compact in this sense, it is often possible to patch together information that holds locally—that is, in a neighborhood of each point—into corresponding statements that hold throughout the space, and many theorems are of this character.
Contents
Historical development
In the 19th century, several disparate mathematical properties were understood that would later be seen as consequences of compactness. On the one hand, Bernard Bolzano (1817) had been aware that any bounded sequence of points (in the line or plane, for instance) has a subsequence that must eventually get arbitrarily close to some other point, called a limit point. Bolzano's proof relied on the method of bisection: the sequence was placed into an interval that was then divided into two equal parts, and a part containing infinitely many terms of the sequence was selected. The process could then be repeated by dividing the resulting smaller interval into smaller and smaller parts until it closes down on the desired limit point. The full significance of Bolzano's theorem, and its method of proof, would not emerge until almost 50 years later when it was rediscovered by Karl Weierstrass.^{1}
In the 1880s, it became clear that results similar to the Bolzano–Weierstrass theorem could be formulated for spaces of functions rather than just numbers or geometrical points. The idea of regarding functions as themselves points of a generalized space dates back to the investigations of Giulio Ascoli and Cesare Arzelà.^{2} The culmination of their investigations, the Arzelà–Ascoli theorem, was a generalization of the Bolzano–Weierstrass theorem to families of continuous functions, the precise conclusion of which was that it was possible to extract a uniformly convergent sequence of functions from a suitable family of functions. The uniform limit of this sequence then played precisely the same role as Bolzano's "limit point". Towards the beginning of the twentieth century, results similar to that of Arzelà and Ascoli began to accumulate in the area of integral equations, as investigated by David Hilbert and Erhard Schmidt. For a certain class of Green functions coming from solutions of integral equations, Schmidt had shown that a property analogous to the Arzelà–Ascoli theorem held in the sense of mean convergence—or convergence in what would later be dubbed a Hilbert space. This ultimately led to the notion of a compact operator as an offshoot of the general notion of a compact space. It was Maurice Fréchet who, in 1906, had distilled the essence of the Bolzano–Weierstrass property and coined the term compactness to refer to this general phenomenon.
However, a different notion of compactness altogether had also slowly emerged at the end of the 19th century from the study of the continuum, which was seen as fundamental for the rigorous formulation of analysis. In 1870, Eduard Heine showed that a continuous function defined on a closed and bounded interval was in fact uniformly continuous. In the course of the proof, he made use of a lemma that from any countable cover of the interval by smaller open intervals, it was possible to select a finite number of these that also covered it. The significance of this lemma was recognized by Émile Borel (1895), and it was generalized to arbitrary collections of intervals by Pierre Cousin (1895) and Henri Lebesgue (1904). The Heine–Borel theorem, as the result is now known, is another special property possessed by closed and bounded sets of real numbers.
This property was significant because it allowed for the passage from local information about a set (such as the continuity of a function) to global information about the set (such as the uniform continuity of a function). This sentiment was expressed by Lebesgue (1904), who also exploited it in the development of the integral now bearing his name. Ultimately the Russian school of pointset topology, under the direction of Pavel Alexandrov and Pavel Urysohn, formulated Heine–Borel compactness in a way that could be applied to the modern notion of a topological space. Alexandrov & Urysohn (1929) showed that the earlier version of compactness due to Fréchet, now called (relative) sequential compactness, under appropriate conditions followed from the version of compactness that was formulated in terms of the existence of finite subcovers. It was this notion of compactness that became the dominant one, because it was not only a stronger property, but it could be formulated in a more general setting with a minimum of additional technical machinery, as it relied only on the structure of the open sets in a space.
Examples
An example of a compact space is the unit interval [0,1] of real numbers. If one chooses an infinite number of distinct points in the unit interval, then there must be some accumulation point in that interval. For instance, the oddnumbered terms of the sequence 1, 1/2, 1/3, 3/4, 1/5, 5/6, 1/7, 7/8, … get arbitrarily close to 0, while the evennumbered ones get arbitrarily close to 1. The given example sequence shows the importance of including the boundary points of the interval, since the limit points must be in the space itself: an open (or halfopen) interval of the real numbers is not compact. It is also crucial that the interval be bounded, since in the interval [0,∞) one could choose the sequence of points 0, 1, 2, 3, …, of which no subsequence ultimately gets arbitrarily close to any given real number.
In two dimensions, closed disks are compact since for any infinite number of points sampled from a disk, some subset of those points must get arbitrarily close either to a point within the disc, or to a point on the boundary. However, an open disk is not compact, because a sequence of points can tend to the boundary without getting arbitrarily close to any point in the interior. Likewise, spheres are compact, but a sphere missing a point is not since a sequence of points can tend to the missing point without tending to any point within the space. Lines and planes are not compact, since one can take a set of equally spaced points in any given direction without approaching any point.
Some further examples:
 Any finite topological space, including the empty set, is compact. Slightly more generally, any space with a finite topology (only finitely many open sets) is compact; this includes in particular the trivial topology.
 Any space carrying the cofinite topology is compact.
 Any locally compact Hausdorff space can be turned into a compact space by adding a single point to it, by means of Alexandroff onepoint compactification. The onepoint compactification of R is homeomorphic to the circle S^{1}; the onepoint compactification of R^{2} is homeomorphic to the sphere S^{2}. Using the onepoint compactification, one can also easily construct compact spaces which are not Hausdorff, by starting with a nonHausdorff space.
 The right order topology or left order topology on any bounded totally ordered set is compact. In particular, Sierpinski space is compact.
 R, carrying the lower limit topology, satisfies the property that no uncountable set is compact.
 In the cocountable topology on R (or any uncountable set for that matter), no infinite set is compact.
 Neither of the spaces in the previous two examples are locally compact but both are still Lindelöf.
Definitions
Various definitions of compactness may apply, depending on the level of generality. A subset of Euclidean space in particular is called compact if it is closed and bounded. This implies, by the Bolzano–Weierstrass theorem, that any infinite sequence from the set has a subsequence that converges to a point in the set. Various equivalent notions of compactness, such as sequential compactness and limit point compactness, can be developed in general metric spaces.
In general topological spaces, however, the different notions of compactness are not equivalent, and the most useful notion of compactness—originally called bicompactness—involves families of open sets that cover the space in the sense that each point of the space must lie in some set contained in the family. Specifically, a topological space is compact if, whenever a collection of open sets covers the space, some subcollection consisting only of finitely many open sets also covers the space. That this form of compactness holds for closed and bounded subsets of Euclidean space is known as the Heine–Borel theorem. Compactness, when defined in this manner, often allows one to take information that is known locally—in a neighbourhood of each point of the space—and to extend it to information that holds globally throughout the space. An example of this phenomenon is Dirichlet's theorem, to which it was originally applied by Heine, that a continuous function on a compact interval is uniformly continuous: here continuity is a local property of the function, and uniform continuity the corresponding global property.
Open cover definition
Formally, a topological space X is called compact if each of its open covers has a finite subcover. Otherwise it is called noncompact. Explicitly, this means that for every arbitrary collection
of open subsets of X such that
there is a finite subset J of A such that
Some branches of mathematics such as algebraic geometry, typically influenced by the French school of Bourbaki, use the term quasicompact for the general notion, and reserve the term compact for topological spaces that are both Hausdorff and quasicompact. A compact set is sometimes referred to as a compactum, plural compacta.
Equivalent definitions
Assuming the axiom of choice, the following are equivalent.
 A topological space X is compact.
 Every open cover of X has a finite subcover.
 X has a subbase such that every cover of the space by members of the subbase has a finite subcover (Alexander's subbase theorem)
 Any collection of closed subsets of X with the finite intersection property has nonempty intersection.
 Every net on X has a convergent subnet (see the article on nets for a proof).
 Every filter on X has a convergent refinement.
 Every ultrafilter on X converges to at least one point.
 Every infinite subset of X has a complete accumulation point.^{3}
Euclidean space
For any subset A of Euclidean space R^{n}, the following are equivalent:
 A is compact.
 Every sequence in A has a convergent subsequence, whose limit lies in A.
 Every infinite subset of A has at least one limit point in A.
 A is closed and bounded (Heine–Borel theorem).
 A is complete and totally bounded.
In practice, the condition (4) is easiest to verify, for example a closed interval or closed nball. Note that, in a metric space, every compact subset is closed and bounded. However, the converse may fail in nonEuclidean R^{n}. For example, the real line equipped with the discrete topology is closed and bounded but not compact, as the collection of all singleton points of the space is an open cover which admits no finite subcover.
Metric spaces
 A metric space (or uniform space) is compact if and only if it is complete and totally bounded.^{4}
 If the metric space X is compact and an open cover of X is given, then there exists a number δ > 0 such that every subset of X of diameter < δ is contained in some member of the cover. (Lebesgue's number lemma)
 Every compact metric space is separable.
 A metric space (or more generally any firstcountable uniform space) is compact if and only if every sequence in the space has a convergent subsequence. (Sequentially compact)
Characterization by continuous functions
Let X be a topological space and C(X) the ring of real continuous functions on X. For each p∈X, the evaluation map
given by ev_{p}(f)=f(p) is a ring homomorphism. The kernel of ev_{p} is a maximal ideal, since the residue field C(X)/ker ev_{p} is the field of real numbers, by the first isomorphism theorem. A topological space X is pseudocompact if and only if every maximal ideal in C(X) has residue field the real numbers. For completely regular spaces, this is equivalent to every maximal ideal being the kernel of an evaluation homomorphism.^{5} There are pseudocompact spaces that are not compact, though.
In general, for nonpseudocompact spaces there are always maximal ideals m in C(X) such that the residue field C(X)/m is a (nonarchimedean) hyperreal field. The framework of nonstandard analysis allows for the following alternative characterization of compactness:^{6} a topological space X is compact if and only if every point x of the natural extension *X is infinitely close to a point x_{0} of X (more precisely, x is contained in the monad of x_{0}).
Hyperreal definition
A space X is compact if its natural extension *X (for example, an ultrapower) has the property that every point of *X is infinitely close to a suitable point of . For example, an open real interval X=(0,1) is not compact because its hyperreal extension *(0,1) contains infinitesimals, which are infinitely close to 0, which is not a point of X.
Compactness of subspaces
A subset K of a topological space X is called compact if it is compact in the induced topology. Explicitly, this means that for every arbitrary collection
of open subsets of X such that
there is a finite subset J of A such that
Properties of compact spaces
Functions and compact spaces
A continuous image of a compact space is compact.^{7} This implies the extreme value theorem: a continuous realvalued function on a nonempty compact space is bounded above and attains its supremum.^{8} (Slightly more generally, this is true for an upper semicontinuous function.) As a sort of converse to the above statements, the preimage of a compact space under a proper map is compact.
Compact spaces and set operations
A closed subset of a compact space is compact.,^{9} and a finite union of compact sets is compact.
The product of any collection of compact spaces is compact. (Tychonoff's theorem, which is equivalent to the axiom of choice)
Every topological space X is an open dense subspace of a compact space having at most one point more than X, by the Alexandroff onepoint compactification. By the same construction, every locally compact Hausdorff space X is an open dense subspace of a compact Hausdorff space having at most one point more than X.
Ordered compact spaces
A nonempty compact subset of the real numbers has a greatest element and a least element.
Let X be a simply ordered set endowed with the order topology. Then X is compact if and only if X is a complete lattice (i.e. all subsets have suprema and infima).^{10}
Compact spaces in analysis
 The closed unit interval [0,1] is compact. This follows from the Heine–Borel theorem. The open interval (0,1) is not compact: the open cover

 for n = 3, 4, … does not have a finite subcover. Similarly, the set of rational numbers in the closed interval [0,1] is not compact: the sets of rational numbers in the intervals
 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.)
 The set R of all real numbers is not compact as there is a cover of open intervals that does not have a finite subcover. For example, intervals (n−1, n+1) , where n takes all integer values in Z, cover R but there is no finite subcover.
 For every natural number n, the nsphere is compact. Again from the Heine–Borel theorem, the closed unit ball of any finitedimensional normed vector space is compact. This is not true for infinite dimensions; in fact, a normed vector space is finitedimensional if and only if its closed unit ball is compact.
 On the other hand, the closed unit ball of the dual of a normed space is compact for the weak* topology. (Alaoglu's theorem)
 The Cantor set is compact. In fact, every compact metric space is a continuous image of the Cantor set.
 Consider the set K of all functions f : R → [0,1] from the real number line to the closed unit interval, and define a topology on K so that a sequence in K converges towards if and only if converges towards f(x) for all real numbers x. There is only one such topology; it is called the topology of pointwise convergence. Then K is a compact topological space; this follows from the Tychonoff theorem.
 Consider the set K of all functions f : [0,1] → [0,1] satisfying the Lipschitz condition f(x) − f(y) ≤ x − y for all x, y ∈ [0,1]. Consider on K the metric induced by the uniform distance

 Then by Arzelà–Ascoli theorem the space K is compact.
 The spectrum of any bounded linear operator on a Banach space is a nonempty compact subset of the complex numbers C. Conversely, any compact subset of C arises in this manner, as the spectrum of some bounded linear operator. For instance, a diagonal operator on the Hilbert space may have any compact nonempty subset of C as spectrum.
Compact sets in algebra
 Compact groups such as an orthogonal group are compact, while groups such as a general linear group are not.
 Since the padic integers are homeomorphic to the Cantor set, they form a compact set.
 The spectrum of any commutative ring with the Zariski topology (that is, the set of all prime ideals) is compact, but never Hausdorff (except in trivial cases). In algebraic geometry, such topological spaces are examples of quasicompact schemes, "quasi" referring to the nonHausdorff nature of the topology.
 The spectrum of a Boolean algebra is compact, a fact which is part of the Stone representation theorem. Stone spaces, compact totally disconnected Hausdorff spaces, form the abstract framework in which these spectra are studied. Such spaces are also useful in the study of profinite groups.
 The structure space of a commutative unital Banach algebra is a compact Hausdorff space.
 The Hilbert cube is compact, again a consequence of Tychonoff's theorem.
 A profinite group (e.g., Galois group) is compact.
See also
 Compactly generated space
 Eberlein compactum
 Exhaustion by compact sets
 Lindelöf space
 Metacompact space
 Noetherian space
 Orthocompact space
 Paracompact space
Notes
 ^ Kline 1972, pp. 952–953; Boyer & Merzbach 1991, p. 561
 ^ Kline 1972, Chapter 46, §2
 ^ (Kelley 1955, p. 163)
 ^ Arkhangel'skii & Fedorchuk 1990, Theorem 5.3.7
 ^ Gillman & Jerison 1976, §5.6
 ^ Robinson, Theorem 4.1.13
 ^ Arkhangel'skii & Fedorchuk 1990, Theorem 5.2.2; See also Compactness is preserved under a continuous map, PlanetMath.org.
 ^ Arkhangel'skii & Fedorchuk 1990, Corollary 5.2.1
 ^ Arkhangel'skii & Fedorchuk 1990, Theorem 5.2.3; Closed set in a compact space is compact, PlanetMath.org.; Closed subsets of a compact set are compact, PlanetMath.org.
 ^ (Steen & Seebach 1995, p. 67)
References
 Alexandrov, Pavel; Urysohn, Pavel (1929), "Mémoire sur les espaces topologiques compacts", Koninklijke Nederlandse Akademie van Wetenschappen te Amsterdam, Proceedings of the section of mathematical sciences 14.
 Arkhangel'skii, A.V.; Fedorchuk, V.V. (1990), "The basic concepts and constructions of general topology", in Arkhangel'skii, A.V.; Pontrjagin, L.S., General topology I, Encyclopedia of the Mathematical Sciences 17, Springer, ISBN 9780387181783.
 Arkhangel'skii, A.V. (2001), "Compact space", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 9781556080104.
 Bolzano, Bernard (1817), Rein analytischer Beweis des Lehrsatzes, dass zwischen je zwey Werthen, die ein entgegengesetzes Resultat gewähren, wenigstens eine reele Wurzel der Gleichung liege, Wilhelm Engelmann (Purely analytic proof of the theorem that between any two values which give results of opposite sign, there lies at least one real root of the equation).
 Borel, Émile (1895), "Sur quelques points de la théorie des fonctions", Annales Scientifiques de l'École Normale Supérieure, 3 12: 9–55, JFM 26.0429.03
 Boyer, Carl B. (1959), The history of the calculus and its conceptual development, New York: Dover Publications, MR 0124178.
 Arzelà, Cesare (1895), "Sulle funzioni di linee", Mem. Accad. Sci. Ist. Bologna Cl. Sci. Fis. Mat. 5 (5): 55–74.
 Arzelà, Cesare (1882–1883), "Un'osservazione intorno alle serie di funzioni", Rend. Dell' Accad. R. Delle Sci. Dell'Istituto di Bologna: 142–159.
 Ascoli, G. (1883–1884), "Le curve limiti di una varietà data di curve", Atti della R. Accad. Dei Lincei Memorie della Cl. Sci. Fis. Mat. Nat. 18 (3): 521–586.
 Fréchet, Maurice (1906), "Sur quelques points du calcul fonctionnel", Rendiconti del Circolo Matematico di Palermo 22 (1): 1–72, doi:10.1007/BF03018603.
 Gillman, Leonard; Jerison, Meyer (1976), Rings of continuous functions, SpringerVerlag.
 Kelley, John (1955), General topology, Graduate Texts in Mathematics 27, SpringerVerlag.
 Kline, Morris (1972), Mathematical thought from ancient to modern times (3rd ed.), Oxford University Press (published 1990), ISBN 9780195061369.
 Lebesgue, Henri (1904), Leçons sur l'intégration et la recherche des fonctions primitives, GauthierVillars.
 Robinson, Abraham (1996), Nonstandard analysis, Princeton University Press, ISBN 9780691044903, MR 0205854.
 Scarborough, C.T.; Stone, A.H. (1966), "Products of nearly compact spaces", Transactions of the American Mathematical Society (Transactions of the American Mathematical Society, Vol. 124, No. 1) 124 (1): 131–147, doi:10.2307/1994440, JSTOR 1994440.
 Steen, Lynn Arthur; Seebach, J. Arthur Jr. (1995) [1978], Counterexamples in Topology (Dover reprint of 1978 ed.), Berlin, New York: SpringerVerlag, ISBN 9780486687353, MR 507446
External links
 Countably compact, PlanetMath.org.
 Sundström, Manya Raman (2010). "A pedagogical history of compactness". arXiv:1006.4131v1 math.HO.
This article incorporates material from Examples of compact spaces on PlanetMath, which is licensed under the Creative Commons Attribution/ShareAlike License.
HPTS  Area Progetti  EduSoft  JavaEdu  N.Saperi  Ass.Scuola..  TS BCTV  TS VideoRes  TSODP  TRTWE  