A topological space is connected if it cannot be written as the union of two disjoint nonempty open subsets. Equivalently, its only subsets that are both open and closed are the empty set and the whole space. Under this definition the empty space is connected.
An open cover of a topological space is a collection of open subsets whose union is the whole space. A compact space is one for which every open cover admits a finite subcover. The subspace topology on consists of sets with open in .
Let cover by relatively open sets, and write with open in . By continuity, is an open cover of . A finite subcollection covers by compactness, and its corresponding cover . Thus a continuous image of a compact space is compact.
For an image that is not closed, take to be a singleton and with the indiscrete topology. Send the sole point to . This map is continuous and is compact, while is not closed in , whose only closed sets are and . A Hausdorff hypothesis on the target would exclude this example.
A topological space is compact if every open cover has a finite subcover. It is connected if it cannot be written as the union of two disjoint nonempty open subsets. It is Hausdorff if every two distinct points have disjoint open neighborhoods. These definitions apply to the space itself and, with the subspace topology, to its subsets.
The difference map is continuous and is its inverse image of the open set , so is open in . For fixed , the equivalence class is , homeomorphic to a punctured plane. It is path-connected: two points can be joined by a polygonal path avoiding the missing point. Thus all equivalence classes are connected.
The projection is continuous and onto, since . If is open in , it is open in because is open. Product-coordinate projection is open: around any there is a product of open disks contained in , whose first disk is a neighborhood inside . Hence is open.
Its fibers are precisely the equivalence classes, so it induces a bijection . Continuity follows from the quotient topology and . If is open in , then is open in and is open. Thus the inverse is continuous too, proving as topological spaces. The plane is connected, so the connected-fiber equivalence in (b)(ii) gives .
In any topological space a closed subset of a compact set is compact: add its open complement to an open cover and take a finite subcover of the compact set. However, compact subsets need not be closed in a general space. In the indiscrete two-point space a singleton is compact but not closed. Conversely a closed subset need not be compact: itself is closed in but the cover has no finite subcover.
In a Hausdorff space every compact subset is closed. Given , separate and each by disjoint neighborhoods; compactness selects finitely many neighborhoods covering , and the intersection of their companion neighborhoods of misses . Thus the complement is open. Closedness still need not imply compactness, as the same real-line example shows. It does imply compactness if the ambient space is compact.
In a metric space compactness implies boundedness: finitely many radius-one balls cover the set, so their centers have a finite maximal distance from any fixed center and the triangle inequality gives a global bound. The converse is false. An infinite set with discrete metric for is bounded, but its singleton cover has no finite subcover. It is even closed and complete, so closedness plus boundedness alone does not suffice in general metric spaces.
Two continuous maps are homotopic if there is a continuous map
Here the Cartesian product has the product topology. Such an is a homotopy, written .
The topological spaces are homotopy equivalent if there are continuous maps and such that
Each is then a homotopy inverse of the other.
For with its subspace topology with inclusion map , a homotopy retract, in the course's convention, is a continuous map with
Thus is an actual retraction, and give a homotopy equivalence. Requiring the latter homotopy to fix pointwise at all times gives the stronger condition of a deformation retraction as used in this wiki. The course's definition of homotopy retract requires no such restriction on that homotopy.
Put and let denote the attaching circle. The version of the Seifert-van Kampen theorem used here states that if is an open cover with path-connected and a common base point in , then
The expression on the right means the pushout of groups of the two inclusion-induced group homomorphisms; they need not be injective.
Choose a thin collar neighbourhood of inside , and a thin equatorial band inside . For example, before the square's side identifications take with , and take . In the glued topological space set
These are open subsets: their preimages in the two pieces are open and respect the gluing. They cover , and the three deformation retractions
fix . Thus all three spaces are path-connected, and a base point is preserved.
For completeness, the fundamental group of a once-punctured torus is , and its boundary loop of a once-punctured torus represents , up to orientation and a change of base point. Here is the geometry behind both facts. In the square model, move each point of radially outwards to the square boundary:
The denominator never vanishes on . The homotopy stays outside the missing open disk, stays inside the square, and fixes the square boundary, so it descends through the side identifications. The resulting retract is a wedge of two circles. Its fundamental group is the free group on the two oriented side based loops . The inner boundary loop travels around the square once under this deformation retraction; its successive sides read .
The sphere is simply connected. Hence the group homomorphism from to is trivial, while its map to sends a group generator to . Applying the Seifert-van Kampen theorem gives
The final group isomorphism follows because the single relator makes commute, leaving the free abelian group on two group generators. The two hemispheres kill the same boundary loop; they do not create another group generator.
For a covering map over a nonempty connected space, the degree of a covering map is
the cardinality of any fibre of a function. To show independence of , choose an evenly covered neighbourhood . Each covering sheet contains exactly one point over every , so equals the number of covering sheets over . The fibre of a function cardinality is therefore locally constant. For a fixed cardinal number , the points with that cardinality form an open subset, and their complement is also open. Connectedness forces the value to be constant everywhere.
For a path-connected base there is also an explicit fibre bijection by path lifting: lift a path from to starting at each point over and take its endpoint. The path lifting theorem gives existence and uniqueness; path reversal gives the inverse bijection. The bijection may depend on the path, but the resulting equality of cardinalities does not.
A connected base is needed for one global degree. Without it, use a degree on each connected component on which the cardinality is constant. For example, a covering map of a discrete two-point topological space can have one point over the first point and two over the second. Thus the unqualified printed definition needs the usual connected-base convention, or the explicit assumption that every fibre of a function has the same cardinality.
A topological space is connected if it has no separation: two disjoint nonempty open sets whose union is the whole space. Equivalently, its only subsets that are both open and closed are the empty set and the whole space.
A subset is connected when its subspace topology has this property. Thus the sets in a proposed separation of a subset need only be relatively open, rather than open in the ambient space.
A topological space is compact if every open cover has a finite subcover:
There is no Hausdorff requirement in this definition.
A topological space is Hausdorff when any two distinct points have disjoint open neighbourhoods.
Any two nonempty open sets of the infinite cofinite topology intersect: their complements are finite sets, so the complement of their intersection is a finite union of finite sets and cannot be all of . Thus is a hyperconnected space.
If the continuous map took distinct values at , choose disjoint open neighbourhoods of in the Hausdorff space . By continuity, and would be nonempty disjoint open sets of , a contradiction. Therefore
The proof establishes the general fact that continuous maps from an infinite cofinite space to a Hausdorff space are constant.
Fix . For a continuous function , every coordinate slice is continuous, because the maps and into the product topology are continuous. Their target is Hausdorff. Part (a)(i) gives
Therefore every such is a constant function. This is the two-factor case of continuous maps from products of cofinite spaces to Hausdorff spaces are constant.
The second coordinate projection is continuous and nonconstant. If a homeomorphism existed, would be a nonconstant continuous function, contradicting the preceding conclusion. Hence
For the half-plane, put as a set, so . Its two ambient topologies give different answers:
In , if were closed, its inverse image under the continuous map would be closed in . That inverse image is , which is neither a finite set nor all of , so it is not closed in the cofinite topology. Thus is not closed.
To establish compactness, note that the subspace topology on any subset of a topological space with the cofinite topology is again cofinite. An open cover of a nonempty such has a nonempty member omitting at most finitely many points; finitely many more members cover those points. Hence every subset of a cofinite space is compact. In particular both and with its cofinite subspace topology are compact. The subspace topology on is their product topology, as one checks by tracing basis rectangles. The product of two compact spaces is compact, so is compact here.
For clarity, the finite-product compactness result needs no Hausdorff condition. Given an open cover of , cover each point by a basis rectangle lying in one covering member. For fixed , use compactness of to select finitely many rectangles whose second factors cover , and intersect their first factors to get an open neighbourhood of . Those finitely many original members cover . Finally finitely many cover , producing a finite subcover of .
In , the second coordinate projection has
Since the ray is closed in the usual real line, is closed. It is not compact: its image under a continuous map under is , which is not compact. For an explicit obstruction, the open intervals , , cover this ray but have no finite subcover.
Finally consider the diagonal in . Define
This is a bijection. The identity function from the usual real line to is continuous: each nonempty cofinite open set is the complement of a finite set, and finite sets are closed in the usual real line. Both coordinates of are therefore continuous, so is continuous for the product topology and the subspace topology of . Its inverse is the restricted second coordinate projection, which is continuous. Therefore
For the second conclusion, is compact whereas is not compact; homeomorphisms preserve compactness. The diagonal in a product with cofinite and Euclidean topologies thus inherits the usual topology, despite one cofinite factor.
The usual real line is connected. In contrast,
is a separation of a topological space. Both pieces are nonempty and disjoint; the first is open by part (c), and the second is the open union . Thus the Sorgenfrey line is not connected. Since a homeomorphism preserves connectedness, the two topological spaces are not homeomorphic. Merely showing that their topologies differ would not by itself exclude some other homeomorphism between them.
False, with “disjoint union” understood as a topological disjoint union. Take the rational numbers with the usual subspace topology from the real line.
Every connected subset of has at most one point. Indeed, if it contained , choose an irrational number . The two relatively open sets
partition and separate any subset containing both and . Hence the connected components of are singletons.
If a topological disjoint union of nonempty connected spaces were homeomorphic to , the image of each summand would be connected, hence a singleton. Every summand would therefore be a one-point topological space. Their topological disjoint union is a discrete space, since each summand is open. But is not a discrete space: for each , the distinct rational numbers approach , so is not an isolated point. This is a contradiction. The set decomposition into connected components always exists; giving those pieces the topological disjoint union topology need not recover the original topology.
Write , where each is a labelled copy of the topological space , with its topological disjoint union topology. Define the bijection
For a subset , let . By definition of the topological disjoint union, is open in exactly when each is open in .
The same condition characterizes open sets in the product topology on . If is open, the map is continuous, so each is open. Conversely, if each is open, then
is open, since the discrete topology makes every open in . Hence and its inverse function are continuous, proving the required homeomorphism. This also covers the case .
The quotient set consists of the equivalence classes . Its collapsing map is the canonical projection of a quotient set
Equip this set with the quotient topology:
This is a topology because preimages preserve arbitrary unions, finite intersections, the empty set, and the whole set. The resulting topological space is the quotient space. The displayed rule immediately implies that the preimage of every open set is open, so is continuous; it is also surjective.
Pasting lemma for closed subspaces Created 2026-10-03 Updated 2026-10-31
If a topological space is the union of finitely many closed subspaces and continuous maps on those subspaces agree on every overlap, they combine into a continuous map on the whole space. For a closed set in the target, its preimage is a finite union of closed sets, proving continuity.
Path component Created 2026-09-24 Updated 2026-10-14
A path component of a topological space is a nonempty subset maximal among its path-connected subsets. The path component through can be described as
Every point along such a continuous path also belongs to : the initial part of the path reaches that point. Thus the paths witnessing membership stay inside . This makes path components useful for deciding which allowed positions can be reached from one another by continuous motion.
Every path component lies inside one connected component, because every path-connected space is connected. Thus each connected component is a union of path components. In a locally path-connected space the two classifications agree, by connected locally path-connected spaces are path-connected. For a subset of the real line with its usual subspace topology, the classifications also agree: every connected component is a real interval, and interpolation supplies a continuous path within it.
The topologist's sine curve shows why the distinction matters in general. Use specifically the closed version
with the subspace topology from the usual Euclidean plane. It has one connected component, , but two path components, and . The graph of a function is a continuous image of a connected space, and its closure is , so closure of a connected set gives connectedness. Each of is path-connected, but a continuous path crossing from into would force its second coordinate to oscillate between and arbitrarily near its departure time, contradicting continuity; the topologist's sine curve article gives the short argument. Also is not closed in , so path components need not be closed, unlike connected components.[ref]
Being joined by a continuous path is an equivalence relation. Proof outline: the constant path joins a point to itself; reverses a path; and a path from to followed by one from to gives a path from to . For the last construction, run each path on half of ; their values agree at , so the pasting lemma for closed subspaces gives continuity. The equivalence classes are path-connected, are maximal, and form a partition of a set of into path components.[ref]
Path-connected space Created 2026-09-24 Updated 2026-10-13
A topological space is path-connected if, for every , there is a continuous map
This continuous path must stay within for its entire duration. Its parameter need not represent physical time, and continuity does not require a derivative or finite arc length. [ref]
In the closed interval , any are joined by . For and , this becomes , so , , and . All its values stay in . In the union , however, a continuous path from to would attain by the intermediate value theorem, although . Thus is not path-connected.
Every path-connected space is a connected space. Proof outline: if admitted a separation of a topological space, choose and . A continuous path between them would have nonempty open inverse images with empty intersection and union . This contradicts the connectedness of that closed interval.
The converse fails: the topologist's sine curve is connected but has two path components. Path connectedness is useful when we need an actual continuous path of allowed positions, rather than only the absence of a separation of a topological space. For instance, when modelling allowed positions as a topological space, membership in the same path component answers whether one can move continuously between two positions while remaining in that topological space.