How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Connectedness
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Ordinal Arithmetic and the First Uncountable Ordinal
- Ordinals, Cardinals, and Transfinite Recursion
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Subspaces, Products, and Quotients
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Summary
Objective. A space is connected when it cannot be split into two nonempty open pieces. That is the whole definition, and almost everything on this page is an attempt to say what it is good for and what it fails to guarantee. The organising fact is that connectedness is preserved by continuous maps, by unions through a common point, and by passing to a closure, while it is preserved by neither intersections nor complements, and implies nothing about how a space looks near any one of its points.
The order topology, minted here. The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua puts a topology on an arbitrary linearly ordered set, generated by the open rays and as a subbasis, and fixes the vocabulary that the last theorems of the page need: order-convex sets, order-density, the least upper bound property, and the linear continuum — a linearly ordered set with at least two elements having both of the last two. It records that the order topology of is its usual topology, so no second topology on the line is introduced, and that an order-convex subset carries the same topology whether it is read as a subspace or given its own order topology.
Separations, and three ways to see one. Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets defines a separation as a pair of disjoint nonempty open sets covering the space, and records that the empty space and every one-point space are connected under that definition. For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant then proves the working equivalences: no separation exists; the only clopen subsets are and ; every continuous map to the two-point discrete space is constant; and the only subsets with empty boundary are and . The third is what makes the later proofs short, because it converts connectedness into a statement about functions. A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line translates the definition for a subspace into a condition stated entirely in the ambient space, using separated sets rather than relatively open ones, and The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in " uses that translation to transport the published classification of the connected subsets of into the general vocabulary: they are exactly the order-convex sets.
What connectedness survives. A continuous image of a connected space is connected, and connectedness is a topological property shows that a continuous image of a connected space is connected, so connectedness is a topological property; A real-valued continuous map on a connected space has order-convex image, so it takes every value between any two of its values reads that off for real-valued maps and obtains the intermediate value theorem with no hypothesis on the domain beyond connectedness. A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member gives the two union principles, through a common point and through a common connected core, and If is connected and then is connected; in particular the closure of a connected set is connected shows that any set squeezed between a connected set and its closure is connected. A product of connected spaces is connected in the product topology, and that argument is a theorem of ZF; for an infinite index set it is the assertion that the product of nonempty spaces is nonempty that uses the Axiom of Choice combines the last two: the points differing from a fixed base point in finitely many coordinates form a connected dense subset of a product, so the product is connected. The argument is carried out in ZF, and the Statement separates connectedness from the assertion that the product is nonempty, which for an infinite index set is the Axiom of Choice.
Decomposing a space that is not connected. Connected components, quasicomponents, and totally disconnected spaces introduces the component of a point, the union of all connected sets through it, and the quasicomponent, the intersection of all clopen sets containing it, together with total disconnectedness. The components of a space are its maximal connected subsets, they partition it, and each of them is closed proves that the components are the maximal connected subsets, that they partition the space, and that each is closed; they need not be open. Every quasicomponent is a closed union of components, so each component is contained in a quasicomponent, and the quasicomponents partition the space proves that each component lies inside a quasicomponent, that quasicomponents are closed unions of components and also partition the space, and asserts no converse.
Local conditions, and paths. Paths, path-connected spaces and path components defines a path as a continuous map on the unit interval, proves that being joined by a path is an equivalence relation — reflexive by a constant path, symmetric by reversal, and transitive by concatenating two paths over a two-piece closed cover — and defines the path components. Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point asks for a neighbourhood base of open connected, respectively open path-connected, sets at every point, and records that dropping the word open would define a strictly weaker condition at a point. A space is locally connected exactly when every component of every open subspace is open; in that case the components of the space itself are clopen characterises local connectedness by the openness of the components of every open subspace, and deduces that in a locally connected space the components are clopen. Every path-connected space is connected, and every path component lies inside a component proves that path-connectedness implies connectedness, taking the union of the images of all paths from a fixed point so that no choice principle is used, and that path components refine components. A connected, locally path-connected space is path-connected, because its path components are open supplies the converse under a local hypothesis: in a locally path-connected space the path components are clopen and agree with the components, so a connected such space is path-connected.
Two spaces built to be difficult. A linear continuum is connected in its order topology, and so is every order-convex subset of it proves that a linear continuum is connected in its order topology, and so is every order-convex subset of it; the least upper bound property produces a supremum and order-density produces a point strictly above it, and each hypothesis is spent exactly once. The closed long ray under the lexicographic order, and the long line, with the order topology then builds the closed long ray as under the lexicographic order, with half-open blocks so that no jump appears at a block boundary, and The long ray is a linear continuum, hence connected; every one of its at most countable subsets is bounded above, assuming countable choice proves it is a linear continuum, hence connected, and that every at most countable subset of it is bounded above under the Axiom of Countable Choice. The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected constructs the second difficult space with no transcendental function anywhere: the graph of the piecewise-linear map running between and on each interval . Its graph is homeomorphic to ; its closure adds the segment ; that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected at any point of the segment. Continuity of the map is checked on an open cover, two closed pieces at a time, because the closed pasting lemma is false for an infinite closed cover.
False statements. A connected space need not be path-connected (FALSE: every connected topological space is path-connected); the closure of a path-connected set need not be path-connected (FALSE: the closure of a path-connected subspace is path-connected), although the closure of a connected set is always connected; a connected space need not be locally connected (FALSE: every connected space is locally connected); the intersection of two connected sets need not be connected, witnessed by two three-sided pieces of the boundary of a square (FALSE: the intersection of two connected subspaces is connected); and a totally disconnected space need not be discrete, witnessed by the rationals (FALSE: a totally disconnected space carries the discrete topology). Which conventions this page fixes: the empty space and the one-point space, separated sets against disjoint open sets, and what is not developed here closes the page by settling the convention forks that are live here: the empty and one-point spaces, separations against separated sets, the openness demanded in local connectedness, total disconnectedness stated by components rather than quasicomponents, and the rays as the subbasis of the order topology. The worked spaces are on the companion examples page.
3 · Logical flowchart
4 · Definitions, theorems and proofs
The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua
Definition
Let be a linearly ordered set (Partial order and partially ordered set): a poset in which any two elements are comparable. Write for the associated strict order.
Rays, intervals, and the order topology
For the open rays at are
and is the family of all of them. The order topology on is
the topology generated by (Basis and subbasis for a topology, and the topology generated by a family of sets, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). A linearly ordered topological space is a linearly ordered set carrying its order topology. For write
so that .
A basis, and the obligation is discharged here. By A family is a basis for a unique topology iff it covers the set and every point of an intersection of two members lies in a member inside that intersection; finite intersections of any subbasis form a basis claim 2 the intersections of finitely many members of form a basis for . This library takes the empty intersection to be , so itself is among them. An intersection of finitely many rays is computed by collecting the lower cuts and the upper cuts separately: since is linear, a finite nonempty set of elements of has a greatest and a least member, so with the least of the , and with the greatest of the . Hence every finite intersection is , an open ray, or an open interval , and
is a basis for (Basis and subbasis for a topology, and the topology generated by a family of sets).
What a basic neighbourhood of a point looks like. Let . If is neither the least nor the greatest element of (Maximal element and greatest element), then some and some exist and ; if is least, the sets with are the basic sets containing apart from itself; if is greatest, they are the sets with . These three cases are the only ones, and every proof below that argues at a point splits along them.
Order-convex sets. A subset is order-convex when
Every ray and every one of the four interval forms above is order-convex, by transitivity of ; so are , every singleton, and .
A convention that is fixed once here. A subset inherits two topologies that need not agree: the subspace topology from (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace) and the order topology of the restricted order on . In this library "a subspace of a linearly ordered topological space" always means the subspace topology, and the phrase "the order topology of " is written in full whenever the second is meant. The two do agree when is order-convex, which is the only case used here: for order-convex the trace is if is above every element of , is if is below or equal to every element of , and is otherwise the ray when , and for any above has the same trace description; in every case the trace of a subbasic set of is a subbasic set of or is or , and conversely every ray of is such a trace. The general statement, for a subset that is not order-convex, is not asserted here.
Order-density and the least upper bound property
Let be linearly ordered.
- is order-dense (or densely ordered) when for all with there is with . Equivalently, no element of has an immediate successor above it: there is no pair with .
- has the least upper bound property when every nonempty that has an upper bound in has a least upper bound in (Upper bound, least upper bound, and strict upper bound). A least upper bound is unique when it exists, by antisymmetry: two of them bound each other, and antisymmetry of (Partial order and partially ordered set) forces them equal. We write for it.
A linear continuum is a linearly ordered set with at least two elements that is order-dense and has the least upper bound property.
The two-element requirement is not decoration. Without it the empty ordered set and every one-point ordered set would qualify vacuously, and the theorems about linear continua elsewhere in this library would have degenerate instances whose statements say nothing. A linear continuum in the sense above is automatically infinite: two elements produce strictly between them, then strictly between and , and so on, and each is new because the order is strict.
is a linear continuum, and its order topology is its usual topology. The order of (Order on the reals, Ordered field) is linear; has at least two elements, namely and ; it is order-dense because whenever (Ordered field); and it has the least upper bound property, which is exactly the completeness axiom (Complete ordered field (least-upper-bound property), Suprema and infima are unique, Greatest lower bound (infimum), Lower bound, bounded below, bounded set). Its order topology is the usual topology, that is the metric topology of (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not): the ball is the interval (Open ball, closed ball and sphere in a metric space, Intervals of : the nine order-convex forms, nondegeneracy, and length, The -neighbourhood and the punctured -neighbourhood of a point of ), which is a basic set of , so every set open for the metric is open for the order; and conversely and are open for the metric (Open subset of (every point has a neighbourhood inside it), closed subset (complement open), and clopen), so every subbasic set of is metric-open and by minimality of the generated topology (Basis and subbasis for a topology, and the topology generated by a family of sets). The two topologies therefore coincide, and no second topology on is being introduced.
Remarks
-
The dictionary with the ordinal case. The order topology on an ordinal, with the half-open intervals and the initial segments as a basis ↗ puts a topology on an ordinal using the initial segments and the half-open intervals as a basis, and says in its own body that this is the general order basis rewritten so that no case analysis is needed. The two agree: when and is otherwise, and under the same proviso, so every basic set there is a finite intersection of rays here; conversely is the union of the sets with , and is the union of the sets with , so every ray here is a union of basic sets there. The two topologies have the same open sets.
-
The same dictionary for the rays presentation. The order topology on a totally ordered set, with the open rays as a subbasis, and its agreement with the usual topology of presents the order topology of a totally ordered set by exactly the subbasis used above and identifies it with the usual topology of ; the present item repeats that identification because it is the one every later proof quotes, and adds the order-convexity, order-density and least-upper-bound vocabulary that the linear-continuum theorems need.
-
Why the rays and not the intervals. Taking only the open intervals as a basis fails whenever has a least or a greatest element: no interval contains the least element unless some element sits below it. The rays repair this without a case split, which is why they are the subbasis of record here.
-
Order-density is not topological density. Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets calls a subset dense when . Order-density is a property of the ordered set itself, not of a subset, and the two words coincide only by historical accident. Where both are in play this library writes order-dense in full.
Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
- A separation of is an ordered pair of open, nonempty, disjoint subsets of with .
- is disconnected when a separation of exists, and connected when none does.
- A subset is a connected subset of when the space is connected, being the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). "Disconnected subset" is read the same way.
Since and are complementary in , each of them is closed as well as open; so a separation is the same thing as a partition of into two nonempty clopen pieces (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison). The clopen subsets of are those that are both open and closed, and and are always among them.
The empty space and the one-point space are connected in this library. Neither admits a separation: a separation requires two nonempty disjoint sets whose union is the whole space, and neither nor a singleton can be written as such a union. So both are connected under the definition above, without any special clause. This is a live convention fork and the competing choice is recorded in Which conventions this page fixes: the empty space and the one-point space, separated sets against disjoint open sets, and what is not developed here; nothing on this page depends on which is taken except the reading of the word "connected" applied to those two spaces.
Connectedness is a property of a space, not of an ambient pair. The condition above mentions only . When it is applied to it is applied to the space , so it does not change if is regarded as a subspace of some other space inducing the same topology on ; in particular a subset of is connected as a subset of exactly when it is connected as a subset of , by transitivity of the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). This is why "connected" may be used of a subset with no ambient space named.
Spelled out for a subset. is disconnected exactly when there are open with
because the open sets of are precisely the traces . Note the last condition: it asks and to be disjoint on , not in . Requiring outright is a strictly stronger demand and is a different notion.
The two-point discrete space. Write with the discrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies), in which every subset is open. A separation of is the same datum as a surjective continuous map (Continuity of a map of topological spaces at a point and globally): given , the map sending to and to is continuous because the preimage of each of the four open subsets of is one of , , , ; given a surjective continuous , the pair is a separation. This reformulation is proved as a theorem on this page and is recorded here only to name .
Separated sets. Two subsets are separated in when
closures taken in (Interior, closure, boundary, exterior, derived set and isolated point in a topological space, A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set). Separated sets are disjoint, since ; the converse fails. This is verbatim the condition Separated sets, disconnection, and connected subset of uses on the real line, transported to an arbitrary space, and the theorem relating it to the definition above is the next lemma on this page.
Totally disconnected spaces, and the empty case. The vocabulary for a space all of whose connected subsets are single points is fixed later on this page, together with the components; it is not defined here because it is stated in terms of components.
Remarks
-
Why "nonempty" and "disjoint" are both in the definition. Drop nonempty and every space with more than one open set is "disconnected" via . Drop disjoint and separates every nonempty space. Drop open and every space with at least two points is separated by a point and its complement. Each of the four conditions is doing work, and the four together are the weakest demand under which the notion has the consequences proved on this page.
-
Ordered pair, not unordered. A separation is written as a pair for convenience only; separates exactly when does, and no statement here distinguishes them.
-
The relation to the real-line definition is proved, not assumed. Separated sets, disconnection, and connected subset of defines connectedness of by the absence of a partition into two nonempty separated sets, which is a condition on closures rather than on relatively open sets. That the two definitions agree is A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line together with The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in "; until those are proved, the two words are kept apart and no statement here quietly identifies them.
For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant
Statement
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let carry the discrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies). Call a map constant when for all .
1. The following four conditions are equivalent.
- (a) is connected: no separation of exists (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
- (b) The only clopen subsets of are and .
- (c) Every continuous map is constant (Continuity of a map of topological spaces at a point and globally).
- (d) The only subsets of with empty boundary are and (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
2. For with the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace), is a connected subset of if and only if the only subsets of that are clopen in are and , if and only if every continuous map is constant.
Claim 2 is claim 1 applied to the space and is stated separately because it is the form used in every later proof on this page: a connected set is tested by showing that a continuous two-valued function on it cannot take both values.
Facts & Assumptions
Given: A topological space and the two-point discrete space .
A separation of is a pair of open, nonempty, disjoint sets with ; is connected when none exists; a subset carries the subspace topology and is connected when it is connected as a space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
A set is closed exactly when its complement is open, clopen when it is both open and closed; and are clopen (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Every subset of is open, hence also closed; the subsets of are , , and (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
A map is continuous exactly when the preimage of every open set is open, equivalently exactly when the preimage of every closed set is closed (For a map of spaces the following agree: continuity at every point, preimages of open sets open, preimages of closed sets closed, preimages of subbasic open sets open, and , clauses (b) and (c), and Continuity of a map of topological spaces at a point and globally).
and ; is open exactly when and closed exactly when (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Proof
If is clopen with and , then and are both open by [A2], both nonempty, disjoint, and their union is ; so is a separation of .
If is continuous, then and are clopen in , since and are both open and closed in by [A3] and preimages of open sets are open and of closed sets closed by [A4].
If is a separation of , then taking the value on and on is a well-defined function, because and are disjoint and cover by [A1]; it is continuous, because the preimages of , , , are , , , , all open by [A1] and [A2], so [A4] and [A3] apply; and it is not constant, because and are nonempty.
For the conditions and " is clopen" agree: by [A5] says , which together with forces , that is open and closed; conversely if is clopen then and .
(a) implies (b): if (b) fails there is a clopen , and step 1.1 turns it into a separation of , so (a) fails.
(b) implies (c): let be continuous; by step 1.2 the set is clopen, hence by (b) it is or ; in the first case takes only the value and in the second only the value , so is constant.
(c) implies (a): if (a) fails there is a separation of , and step 1.3 produces a continuous that is not constant, so (c) fails.
(b) and (d) are the same condition, by step 1.4 applied to each subset of .
Steps 2.1, 2.2 and 2.3 give (a) implies (b) implies (c) implies (a), so (a), (b) and (c) are equivalent, and step 2.4 adjoins (d); this is claim 1.
Claim 2 is claim 1 applied to the topological space , whose connectedness is by [A1] the definition of being a connected subset of .
Remarks
-
Which clause is used where. Clause (c) is the workhorse: it converts a connectedness claim into a statement about functions, so it composes with continuous maps and with unions, which is what makes the theorems after it short. Clause (b) is the one to use when a candidate clopen set is already in hand. Clause (d) is stated because a boundary computation is often the quickest route in a concrete space.
-
Why and not an arbitrary discrete space. Any discrete space with at least two points would serve for clause (c), since a non-constant map into it composes with a retraction onto two of its points. Fixing avoids having to say which two, and every use below needs no more.
-
The empty space satisfies all four clauses. Its only subset is , which is clopen and has empty boundary; the unique map is constant vacuously; and no separation exists, since a separation needs a nonempty piece. So the convention of Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets is consistent with every clause here rather than being an exception to them.
A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line
Statement
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Write for the closure of in (Interior, closure, boundary, exterior, derived set and isolated point in a topological space). Then is a disconnected subset of (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) if and only if there are sets with
Equivalently: is connected if and only if it admits no such decomposition. The two sets in such a decomposition are automatically disjoint, since .
The displayed condition is the one Separated sets, disconnection, and connected subset of states for subsets of , with the closure of replaced by the closure of : there a disconnection of is a pair of nonempty separated sets whose union is , and is connected when none exists. That the two closures on are the same operation, and hence that the two definitions agree there, is proved later on this page; nothing in the present lemma asserts it.
Facts & Assumptions
Given: A topological space and a subset with the subspace topology .
is a disconnected subset of exactly when the space admits a separation, that is a pair of sets open in , nonempty, disjoint, with (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
For the closure of in the subspace is (For the closure of in is , while the interior only contains , with equality when is open; and a dense subset of traces to a dense subset of every open , claim 1).
In any space a subset equals its own closure exactly when it is closed, and (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, claim 2, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
In any space a subset is closed exactly when its complement is open; two disjoint sets whose union is the whole space are each the complement of the other (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Proof
Suppose is disconnected and fix a separation of as in [A1]; then and are nonempty subsets of with and .
Each of is closed in : being complementary in and both open in , each is the complement in of an open set.
Conversely suppose with nonempty and ; then , since by [A3].
In the situation of step 1.1, by step 1.2 and [A3], hence by [A2]; symmetrically .
In the situation of step 1.3, , using , the hypothesis and from [A3]; symmetrically .
So in the situation of step 1.1 one has , because ; symmetrically . Hence and are nonempty, have union , and are separated in .
And in the situation of step 1.3 one has by [A2] and step 2.2, so is closed in by [A3]; symmetrically is closed in .
In the situation of step 1.3 the sets and are therefore disjoint, cover , and are each closed in by step 3.2, so each is the complement in of the other and hence open in by [A4]; being nonempty, is a separation of and is disconnected by [A1].
Step 3.1 gives the forward implication and step 4.1 the backward one, so is disconnected exactly when the displayed decomposition exists; negating both sides gives the statement for connectedness.
Remarks
-
Why the closures are taken in and the openness in . The two halves of the criterion live in different spaces on purpose. Relative openness is not visible from alone — a set open in need not be open in — whereas the closure operator of is computed from that of by [A2]. Trading the relatively open pieces for ambiently separated ones is exactly what makes the criterion usable when only is concretely known, which is the situation in every worked example on the companion page.
-
Separated is strictly stronger than disjoint, and that is what is needed. If the condition asked only for a partition into two nonempty disjoint pieces then every space with at least two points would be "disconnected". The two closure conditions are what forbid one piece from clinging to the other, and each of them is used once in the proof above.
-
The hypothesis is not imposed and is automatic. Both sets appear inside a union equal to , so each is contained in ; the statement is written without the redundant hypothesis so that it can be applied directly to a candidate pair.
The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in "
Statement
Give its usual topology, the metric topology of (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), and let carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then is a connected subset of (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) if and only if is order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length, The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua), that is
In particular each of the nine interval forms of Intervals of : the nine order-convex forms, nondegeneracy, and length is connected, and so are and every singleton.
What has to be checked, and it is not the mathematics. The characterisation itself is the published A subset of is connected if and only if it is order-convex, that is, an interval, which is stated for the connectedness of Separated sets, disconnection, and connected subset of — a condition phrased with the open sets of Open subset of (every point has a neighbourhood inside it), closed subset (complement open), and clopen and the closure of Interior, closure, boundary and exterior of a subset of . The present corollary says the same thing for the connectedness of Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets in the topological space . What licenses the transport is that the two descriptions of "open in " are the same condition word for word, which is unfolded in the proof rather than quoted.
Facts & Assumptions
Given: with its usual topology and a subset with the subspace topology.
for every and every real : the three descriptions are the same set, being defined by the same condition (Open ball, closed ball and sphere in a metric space, The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The -neighbourhood and the punctured -neighbourhood of a point of , Intervals of : the nine order-convex forms, nondegeneracy, and length).
is open in the metric topology of exactly when every has some real with (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not).
is open in the sense of Open subset of (every point has a neighbourhood inside it), closed subset (complement open), and clopen exactly when every has some real with ; a set is closed there exactly when its complement is open.
The closure of in the sense of Interior, closure, boundary and exterior of a subset of is the intersection of all closed supersets of , and , are separated in the sense of Separated sets, disconnection, and connected subset of when each misses the other's closure; a disconnection of is a pair of nonempty separated sets with union , and is connected in that sense when none exists.
is a connected subset of the topological space exactly when there is no pair of nonempty sets with that are separated in , closures being taken in the topological space (A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
is connected in the sense of Separated sets, disconnection, and connected subset of if and only if is order-convex (A subset of is connected if and only if it is order-convex, that is, an interval); each of the nine interval forms is order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length), and order-convexity of a subset of a linearly ordered set is the condition displayed in the Statement (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua).
Proof
The two openness conditions coincide: by [A1] the ball and the neighbourhood are the same set, so "some with " and "some with " are the same requirement on at , and [A2] and [A3] then quantify it over the same points.
Hence the usual topology of and the family of open sets of Open subset of (every point has a neighbourhood inside it), closed subset (complement open), and clopen are one and the same family of subsets of , and therefore so are the two families of closed sets, each being the complements of the other family.
Consequently the closure operator of Interior, closure, boundary and exterior of a subset of and the closure operator of the topological space agree: each is defined as the intersection of all closed supersets, and by step 2.1 the two notions of closed set coincide, so the two intersections are over the same family.
Therefore " and are separated" means the same in [A4] and in [A5], so a disconnection of in the sense of Separated sets, disconnection, and connected subset of is exactly a decomposition of into two nonempty sets separated in the topological space .
So is connected in the sense of Separated sets, disconnection, and connected subset of if and only if is a connected subset of the topological space , both being the nonexistence of the same object by step 4.1 and [A5].
Combining step 5.1 with [A6], is a connected subset of if and only if is order-convex; and each of the nine interval forms, the empty set and every singleton is order-convex, hence connected.
Remarks
-
Nothing here re-proves the hard direction. The mathematical content — that order-convexity is exactly connectedness on the line — is A subset of is connected if and only if it is order-convex, that is, an interval, whose proof uses the least upper bound property. This corollary only checks that the vocabulary of the general definition and the vocabulary of the real-line definition denote the same conditions, so that the published theorem may be quoted afterwards without a translation step each time.
-
"Interval" is read as "order-convex" throughout. The published theorem records that the converse classification — that every order-convex subset of is empty or one of the nine written forms — is not proved, and Intervals of : the nine order-convex forms, nondegeneracy, and length records the same omission. The statement above is therefore written with order-convexity and not with a list of forms.
-
The identification is one sentence and is deliberately not routed through a conventions remark. A dependency edge onto a remark that itself points at material developed further on would mark every consequence of this corollary as resting on later material, which would be false of everything on this page. The computation is short enough to carry in the open.
A continuous image of a connected space is connected, and connectedness is a topological property
Statement
Let and be topological spaces and let be continuous (Continuity of a map of topological spaces at a point and globally). Subsets carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then:
- Images. If is a connected subset of (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) then is a connected subset of . In particular, if is connected then is connected, and if is moreover surjective then is connected.
- Topological invariance. If is a homeomorphism (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological) then is connected if and only if is. So connectedness is a topological property.
Nothing is assumed about beyond continuity: it need not be injective, open, closed or surjective. Note the direction — a continuous image of a connected space is connected, while a continuous preimage need not be, since a constant map from a disconnected space is continuous.
Facts & Assumptions
Given: Topological spaces and , a continuous map , and a subset .
A subset of a space is connected exactly when every continuous map is constant, being the two-point discrete space (For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant, claim 2, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
A restriction of a continuous map to a subspace is continuous (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Characteristic property of a map into a subspace: for with inclusion and a function , the map is continuous exactly when is (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
A composite of continuous maps is continuous (Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, claim 1).
A homeomorphism is a continuous bijection whose inverse is continuous, and a bijection is surjective (Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).
Proof
Write for the map , which is well defined because for , and is surjective by the definition of the image .
The composite of with the inclusion is the restriction , which is continuous by [A2]; so is continuous by [A3] applied with and .
Assume is a connected subset of and let be continuous. Then is continuous by step 1.2 and [A4], hence constant by [A1] applied to .
Since is surjective by step 1.1, every pair of points of is of the form , and by step 2.1; so is constant.
As was an arbitrary continuous map , [A1] gives that is a connected subset of . Taking gives that is connected when is, and if is surjective then , so is connected. This is claim 1.
For claim 2 let be a homeomorphism. If is connected then is connected by step 4.1, since is continuous and surjective by [A5]; and if is connected then is connected by step 4.1 applied to the continuous surjection , again by [A5]. So connectedness is preserved in both directions by a homeomorphism.
Remarks
-
Why the corestriction is the only technical point. Claim 1 is about as a space, so the map that must be shown continuous is the one landing in , not the one landing in . The characteristic property of a subspace is exactly the tool that upgrades the second to the first, and it is the reason the proof needs no hypothesis on at all.
-
The hypothesis cannot be moved to the target. If is connected nothing follows about : the constant map from any space whatever has a one-point image, which is connected. So claim 1 is a one-way implication and is used only in that direction below.
-
What the theorem buys immediately. Any property preserved by continuous images can be checked on a convenient model. That is the whole mechanism behind the intermediate value theorem in the next item, and behind the connectedness of every path-connected space later on this page: both work by pushing a connected interval forward along a continuous map.
A real-valued continuous map on a connected space has order-convex image, so it takes every value between any two of its values
Statement
Let be a connected topological space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) and let be continuous (Continuity of a map of topological spaces at a point and globally), carrying its usual topology (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not). Then:
- is an order-convex subset of (Intervals of : the nine order-convex forms, nondegeneracy, and length).
- Intermediate values are attained. If and satisfies , then there is with .
Claim 2 is the intermediate value theorem with no hypothesis on beyond connectedness: no order, no metric, no interval. The classical statement for a continuous is the special case , that subspace being connected by The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ".
Facts & Assumptions
Given: A connected space , a continuous , and with its usual topology.
A continuous image of a connected space is a connected subset of the target (A continuous image of a connected space is connected, and connectedness is a topological property, claim 1).
A subset of is a connected subset exactly when it is order-convex, that is when it contains every point lying between two of its points (The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ", Intervals of : the nine order-convex forms, nondegeneracy, and length, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Proof
is a connected subset of , by [A1] applied to the connected space and the continuous map .
Hence is order-convex by [A2]; this is claim 1.
For claim 2, let and with . Both and lie in , so by step 2.1, which says precisely that for some .
Remarks
-
Why and not . Order-convexity is stated with non-strict inequalities, so the endpoints are included and the statement covers and without a separate clause. No assumption is needed either: if the same argument applies with the two points exchanged.
-
What is not claimed. Nothing here says that is an interval in the sense of one of the nine written forms of Intervals of : the nine order-convex forms, nondegeneracy, and length; that classification of the order-convex sets is recorded there as unproved. Nor does the corollary say anything about how many satisfy , or that such an can be found by any procedure. It is an existence statement obtained by transporting connectedness, and the witness is never exhibited.
-
The hypothesis on is exactly connectedness. If is disconnected the conclusion fails at once: a separation of gives a continuous equal to on and on whose image is , which omits every value strictly between.
A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member
Statement
Let be a topological space, let be a set and let be a connected subset of for every (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets). Subsets carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then:
- Common point. If there is with for every , then is a connected subset of .
- Common connected core. If is connected and for every , then is a connected subset of .
No hypothesis of any kind is imposed on the index set: may be empty, finite or infinite, and no choice principle is used, since the point in claim 1 and the set in claim 2 are given rather than selected.
Facts & Assumptions
Given: A space , a set , connected subsets for , and the two-point discrete space (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
A subset of a space is connected exactly when every continuous map is constant (For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant, claim 2, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
The subspace topology is transitive: for the topology inherits from is the topology it inherits from ; and a restriction of a continuous map to a subspace is continuous (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, Continuity of a map of topological spaces at a point and globally).
The empty space is connected, no separation of it existing (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
Proof
For claim 1 write and assume for every . If then , which is connected by [A3], so assume ; then .
Let be continuous. For each the restriction is continuous by [A2], the topology carries as a subspace of being the one it carries as a subspace of .
For claim 2 assume is connected and for every . If the union is , which is connected by hypothesis, so assume ; then , and we fix .
Each is constant by [A1], since is connected; and , so that constant value is . Hence for every and every .
Every lies in some , so by step 2.1; thus is constant. As was arbitrary, is connected by [A1]. This is claim 1.
For each the two sets and are connected and share a point of , so is connected by claim 1 applied to the two-member family .
The family consists of connected sets by step 4.1 and every member contains by step 1.3, so its union is connected by claim 1; and that union is , since every member contains and . This is claim 2.
Remarks
-
Why a common point and not merely pairwise intersection. Pairwise intersection does not give a common point, so it does not supply claim 1's hypothesis, and the failure is not exotic: three sets can meet pairwise with empty total intersection. Claim 2 is the form that covers that case, since it asks only that each member meet one fixed connected set — and for a nonempty pairwise-intersecting family one may take that fixed set to be any one member, so such a union is connected after all. Claim 1 is the special case in which the fixed set is a single point, a singleton being connected.
-
Chains are covered by iterating claim 2. If are connected and for every , then each partial union is connected by induction using claim 2, and the total union is connected by claim 1 applied to the partial unions, all of which contain . The argument is written out where it is used rather than stated as a further clause here.
-
Nothing is assumed about openness or closedness of the members. The hypothesis is connectedness alone. This is what makes the theorem the workhorse for building components: an arbitrary union of connected sets through a fixed point is connected, and that is precisely what makes the component of a point well defined.
If is connected and then is connected; in particular the closure of a connected set is connected
Statement
Let be a topological space, let be a connected subset (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) and let satisfy
the closure being taken in (Interior, closure, boundary, exterior, derived set and isolated point in a topological space). Then is a connected subset of , subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Taking : the closure of a connected set is connected. Taking recovers the hypothesis, so the statement is a genuine interpolation between a connected set and its closure: every set squeezed between the two is connected, and one may stop anywhere.
Facts & Assumptions
Given: A space , a connected subset , and a set with .
A subset is disconnected exactly when with nonempty and separated in , that is ; equivalently is connected exactly when no such decomposition exists (A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Closure is monotone: if then , since is a closed set containing and is the smallest such (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, claim 2, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Proof
Suppose with and nonempty and separated in , so that and .
Put and ; then , because .
and are separated in : by [A2] and step 1.1, and symmetrically .
Since is connected, [A1] and steps 1.2 and 2.1 forbid both and from being nonempty, so at least one is empty; the hypothesis of step 1.1 is symmetric in and , so after relabelling we may assume .
Then , since and meets in nothing by step 3.1; hence by [A2].
Therefore , so by step 1.1; that is , contradicting its nonemptiness in step 1.1.
So no decomposition as in step 1.1 exists, and is a connected subset of by [A1].
Remarks
-
What fails without the upper bound . The conclusion is false for an arbitrary superset of a connected set. In take , which is connected, and : the ambient open sets and meet in and , two nonempty disjoint relatively open pieces covering , which is exactly the decomposition the proof rules out. The point lies outside , and that is what makes the separation available; in a general space lying outside the closure supplies only one half of a separation, so the hypothesis is stated as the inclusion rather than as a condition on individual added points. The hypothesis is used only at step 5.1, and that is where it is needed: it forces to lie inside , hence inside , hence to be empty.
-
The interior of a connected set need not be connected. Nothing here transfers to interiors, and the two operations behave differently: closure adds points that cling to the set and cannot split it, whereas the interior may remove the very points holding two lumps together.
-
Where this is used. It is the second half of the standard method for building a connected set that is not path-connected: take a path-connected set, which is connected, and close it up. The closure is connected by this theorem regardless of how badly the added points behave, and that is what The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected exploits.
A product of connected spaces is connected in the product topology, and that argument is a theorem of ZF; for an infinite index set it is the assertion that the product of nonempty spaces is nonempty that uses the Axiom of Choice
Statement
Let be a set, let be a connected topological space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) for each , and give the product topology (The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space). Then is connected.
The choice cost, stated exactly. The proof needs one point and nothing else, and it obtains it as follows.
- If then is connected outright, no separation of the empty space existing, and no choice principle is involved.
- If a point is fixed. Selecting one element of one nonempty set is not a choice principle.
So the theorem as displayed is a theorem of ZF. What costs something is the companion assertion that is nonempty when every is: for a natural number that is Every natural-number-indexed list of nonempty sets has a choice function on its family of values, a theorem of ZF, and for an arbitrary it is the Axiom of Choice (The Axiom of Choice, Choice function), as The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space records. A reader who wants "the product of nonempty connected spaces is a nonempty connected space" for infinite is therefore using , and that is where the cost sits — not in the connectedness argument.
Facts & Assumptions
Given: A set , connected spaces , and with the product topology and projections .
A point of is a function on with for every ; the sets with open and for all but finitely many form a basis of the product topology (The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space, Basis and subbasis for a topology, and the topology generated by a family of sets).
A map is continuous exactly when every component is continuous; constant maps are continuous, a preimage under a constant map being or (A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice, claim 2, Continuity of a map of topological spaces at a point and globally).
A continuous image of a connected space is a connected subset of the target (A continuous image of a connected space is connected, and connectedness is a topological property, claim 1).
A union of connected subsets each meeting a fixed connected subset , together with , is connected; a union of connected subsets with a common point is connected; a singleton is connected (A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member, claims 1 and 2, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
If is connected and then is connected; is dense exactly when it meets every nonempty basic open set, and then (If is connected and then is connected; in particular the closure of a connected set is connected, Dense, nowhere dense and codense subsets of a topological space, and the criterion by basic open sets, A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, Interior, closure, boundary, exterior, derived set and isolated point in a topological space, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Induction on : a property holding at and passing from to holds at every natural number (The principle of mathematical induction). A set is finite exactly when for some , that is exactly when some bijection exists (Finite, countably infinite, countable, uncountable).
Proof
If then is connected, no separation of the empty space existing, and the theorem holds; so assume and fix a single point .
For a function with domain a natural number and values in , put , the points agreeing with outside the finite set .
For and let , the -th axis through ; the map sending to the point with -th coordinate and -th coordinate for has image .
Each is continuous, since its -th component is the identity of and its -th component for is constant, so [A2] applies; hence is a connected subset of by [A3], being connected.
By induction on using [A6]: for every function with domain and values in , the set is connected. At the domain is empty, , and , a singleton, connected by [A4].
For the step, let have domain , let and let ; then , so and every with is contained in , since a point of it agrees with , hence with , off .
Moreover : given , the point obtained from by resetting the -th coordinate to lies in , and .
So, assuming inductively that is connected, each with is connected by step 2.1 and meets in , whence is connected by [A4] and step 2.4; by [A6] this proves the claim of step 2.2 for every .
Let , the set of points of agreeing with outside a finite subset of ; every is connected by step 3.1 and contains , so is connected by [A4].
is dense in : let be a nonempty basic open set as in [A1], with off a finite , and fix ; write for a bijection , which exists by [A6]; the point with for and otherwise lies in , and lies in , since for and otherwise.
Hence by [A5], and , so is connected by [A5] and step 4.1.
Remarks
-
Why the finite-support points and not the whole product at once. A basic open set of the product topology constrains only finitely many coordinates, so a point that has been moved away from in finitely many coordinates is already enough to meet every basic open set. That is the entire reason the theorem is true for arbitrary , and it is also why the same argument fails for the box topology, where a basic open set may constrain every coordinate at once, so a point moved in finitely many coordinates need not meet it.
-
The induction is on the number of moved coordinates, not on . Step 3.1 runs over and quantifies over all functions from into , so no ordering or enumeration of is needed and may have any cardinality whatever.
-
Where a choice principle would enter if the statement were strengthened. The proof selects a single point and, in step 6.1, a single point of a nonempty set — one selection each, not a family of them. What cannot be done in ZF for infinite is to produce a point of from the mere nonemptiness of every factor; that assertion is itself (The Axiom of Choice), and it is the reason the Statement above separates connectedness from nonemptiness rather than bundling them.
Connected components, quasicomponents, and totally disconnected spaces
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), with subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace) and connectedness as in Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets. Let .
- The connected component of is A component of is a set of the form for some .
- The quasicomponent of is A quasicomponent of is a set of the form .
- is totally disconnected when for every .
Both are well posed, and the obligations are discharged here. The family united in the definition of is nonempty, since the singleton is connected: a singleton admits no separation, a separation requiring two disjoint nonempty pieces. Every member of that family contains , so A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member claim 1 applies and is connected; being a union of every connected set through , it contains each of them, so is the largest connected subset of containing . The family intersected in the definition of is nonempty as well, since itself is clopen (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison), so the intersection is a set; it contains , every member doing so.
Both notions are defined by a property of , not of an ambient space. A component of a subspace means a component of the space , and is written when the space needs naming. The same holds for quasicomponents.
Totally disconnected, spelled out. is totally disconnected exactly when every connected subset of has at most one point: if some connected had two points then would give , and conversely if then is a connected set with at least two points. The empty space is totally disconnected, having no point to test.
A discrete space is totally disconnected. Let carry the discrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies) and let have two distinct points . Every subset of is open in , so is a pair of open, disjoint, nonempty sets covering , that is a separation. Hence no connected subset has two points and every component is a singleton. The converse fails: total disconnectedness does not force the topology to be discrete.
Remarks
-
Why two notions and not one. The component of is built from the connected sets through and the quasicomponent from the clopen sets containing . One is an inner approximation, assembled from below out of pieces known to be connected; the other is an outer approximation, cut down from above by every partition of into two clopen pieces. They always satisfy , and they can differ; both facts are theorems on this page, and the difference is exactly the gap between "cannot be split by a clopen set" and "is connected".
-
Quasicomponents are what a separation argument actually produces. A proof that two points cannot be separated typically produces a clopen set containing both or neither, which is a statement about , not about . Naming the weaker notion keeps such an argument honest instead of letting it be read as a connectedness claim.
-
The definition of totally disconnected is stated with components, not with quasicomponents. The condition "every quasicomponent is a singleton" is a different and strictly stronger property, usually called total separatedness. Nothing on this page asserts that the two agree.
The components of a space are its maximal connected subsets, they partition it, and each of them is closed
Statement
Let be a topological space and let be the connected component of (Connected components, quasicomponents, and totally disconnected spaces). Then:
- Maximality. is connected, contains , and contains every connected subset of that contains . So the components are exactly the maximal connected subsets of : a connected is a component if and only if no connected subset of properly contains — except in the empty space, where is vacuously maximal and yet is not a component, there being no points; for nonempty no exception is needed, since is properly contained in a connected singleton and so is never maximal.
- Partition. For , either or ; every point lies in its own component; and . So the components are nonempty, pairwise disjoint, and cover .
- Closedness. Every component is closed in .
Components need not be open, and no clause above says they are. Openness of the components is a genuine extra hypothesis on , taken up later on this page under the name local connectedness.
Facts & Assumptions
Given: A topological space , with subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
is the union of all connected subsets of containing ; it is connected, contains , and contains every connected set through (Connected components, quasicomponents, and totally disconnected spaces, A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member, claim 1).
A union of connected subsets with a point in common is connected (A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member, claim 1).
If is connected and then is connected (If is connected and then is connected; in particular the closure of a connected set is connected).
, and is closed exactly when (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
A singleton is connected, no separation of it existing (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
Proof
Claim 1 is [A1]: is connected, contains by [A5] since is one of the sets united, and contains every connected because such an is one of the sets united.
A connected with satisfies for every , by step 1.1; so is maximal among connected subsets exactly when , and every component is nonempty.
Suppose . Then is connected by [A2], the two sets being connected by [A1] and sharing .
For claim 3, apply [A3] with and , the hypothesis holding by [A4]; so is connected, and it contains , hence by step 1.1.
That union contains , so it is contained in by step 1.1, whence ; it also contains , so symmetrically , and therefore .
So for any either or by step 3.1; and by step 1.1, so and every component is nonempty by step 2.1. This is claim 2.
With from [A4] this gives , so is closed by [A4].
Remarks
-
The exception for in claim 1 is not a quibble. The empty set is connected under the convention of Connected components, quasicomponents, and totally disconnected spaces, and it is contained in every set, so "maximal connected subset" has to be read as "maximal among the nonempty connected subsets" for the identification with components to be exact. Step 2.1 is where that is pinned down.
-
Closed but not open is the typical case. Claim 3 uses only that the closure of a connected set is connected, which is available in every space. There is no matching argument for openness, because the union of the connected sets through a point carries no information about neighbourhoods; that is what local connectedness supplies, and it is a genuine extra hypothesis rather than a missing step.
-
A component of a subspace is computed in that subspace. For the components of are the maximal connected subsets of the space , and claim 3 then says each is closed in , not in . Closedness in follows only when itself is closed in .
Every quasicomponent is a closed union of components, so each component is contained in a quasicomponent, and the quasicomponents partition the space
Statement
Let be a topological space, let and be the component and the quasicomponent of (Connected components, quasicomponents, and totally disconnected spaces). Then:
- Containment. .
- Closedness. is closed in .
- Saturation. If then ; consequently for every , and so every quasicomponent is a union of components.
- Partition. The quasicomponents are nonempty, pairwise disjoint, and cover .
No converse is asserted. Claim 1 is an inclusion and this theorem does not claim it is an equality; the question of when is not settled on this page, and nothing here may be read as settling it.
Facts & Assumptions
Given: A topological space , a point , and subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
is the largest connected subset of containing , and is the intersection of all clopen with ; that family is nonempty, being clopen; every point lies in its own component (Connected components, quasicomponents, and totally disconnected spaces, The components of a space are its maximal connected subsets, they partition it, and each of them is closed, claims 1 and 2).
A connected space has no clopen subset other than and the whole space; a subset is connected exactly when the only subsets of clopen in are and (For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant, claims 1 and 2, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
The traces of open sets are the open sets of , and the traces of closed sets are the closed sets of (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
A clopen set is closed; a nonempty intersection of closed sets is closed; the complement of a clopen set is clopen (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Proof
Let be clopen with . Then is both open and closed in the subspace by [A3], and it contains , so it is nonempty.
Every clopen also contains whenever : otherwise is a clopen set containing by [A4], so by [A1], contradicting .
is closed, being by [A1] the intersection of a nonempty family of clopen, hence closed, sets, and such an intersection is closed by [A4]; this is claim 2. And , every member of that family containing .
Since is connected by [A1], its only clopen subsets are and by [A2]; so step 1.1 forces , that is .
Let . Every clopen with contains , since by [A1], so ; hence . Conversely every clopen with contains by step 1.2, so and therefore . Thus .
As was an arbitrary clopen set containing , it follows that is contained in the intersection of all of them, that is ; this is claim 1.
So for one has by step 3.1 and step 2.2; and each such lies in by [A1], so . This is claim 3.
For claim 4: each is nonempty by step 1.3; if then and by step 2.2, so , and hence two quasicomponents are equal or disjoint; and by step 1.3, so they cover .
Remarks
-
Where the inclusion can be strict, and why the proof cannot be improved. Step 2.1 uses connectedness of to promote "meets " to "is contained in ". Running the argument backwards would need every point of to be joined to by a connected set, and nothing in the definition of provides one: records only that no clopen set separates the two points. That gap is real and not an artefact of this proof.
-
Both partitions are into closed sets, and they are nested. The components partition into closed sets (The components of a space are its maximal connected subsets, they partition it, and each of them is closed), the quasicomponents partition into closed sets by claims 2 and 4, and by claim 3 the second partition is coarser: every quasicomponent is a union of whole components.
-
Claim 3 is what makes the notion useful. A clopen set never cuts a component in half, so any argument that produces a clopen set separating two points has automatically shown that they lie in different components. That implication runs only in this direction, which is exactly claim 1.
Paths, path-connected spaces and path components
Definition
Throughout, (Intervals of : the nine order-convex forms, nondegeneracy, and length) carries the subspace topology inherited from with its usual topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not). It is called the unit interval.
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let .
- A path in from to is a continuous map (Continuity of a map of topological spaces at a point and globally) with and . Its image is .
- is path-connected when for every pair there is a path in from to . A subset is a path-connected subset when the space with its subspace topology is path-connected; equivalently, when any two of its points are joined by a path whose image lies in , by the characteristic property of a map into a subspace (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
- Write when a path in from to exists. The path component of is its equivalence class
- The empty space is path-connected, the defining condition quantifying over no pair of points, and so is every one-point space, the constant path joining its point to itself.
is an equivalence relation on , and the obligation is discharged here, so that "equivalence class" above denotes.
Reflexive. The constant map is continuous, every preimage being or (Continuity of a map of topological spaces at a point and globally), and joins to .
Symmetric. If joins to , put . The map , , is continuous: for one has , so a ball of radius around pulls back to contain the ball of radius around (Open ball, closed ball and sphere in a metric space, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not). Hence is continuous (Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, claim 1) and joins to .
Transitive. Let join to and join to . Define by
The two clauses agree at , both giving , so is a well-defined function. The sets and are closed in and cover it, and there are two of them, so the finite closed form of the pasting lemma applies (Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, claim 3). On the map is with , and on it is with ; each is continuous into , since , so the ball of radius around maps into the ball of radius around (Open ball, closed ball and sphere in a metric space, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). So both restrictions are continuous by Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous claim 1, hence is continuous, and it joins to .
The path components partition , being the classes of an equivalence relation, and each is a path-connected subset of : two points of are joined to , hence to each other by the transitivity construction above, and the resulting path has image inside : if is a path from and , then is a path from to , continuous because satisfies and is therefore continuous into by the ball criterion used above, so every point of the image is itself joined to .
Remarks
-
Why the unit interval and not an arbitrary closed bounded interval. Any with would give the same relation, since carries onto and is continuous with continuous inverse. Fixing removes a parameter from every statement below and costs nothing.
-
A path is a map, not a subset. The image is a subset of , but the path is the map: two different paths may have the same image, and the concatenation above depends on the maps rather than on their images. Nothing in this library identifies a path with its image.
-
Path components are not asserted to be closed, or open, or to coincide with components. Each of those is false in general, and each is taken up separately on this page. What is proved here is only that they partition and that each is path-connected.
-
The finiteness in the pasting lemma is what makes concatenation legal. The cover has two members. An infinite closed cover would not do, and the standing warning is covered by its closed singletons: every restriction of the indicator of is continuous and the map is not, so the closed pasting lemma needs finiteness; this is worth naming here because the temptation to concatenate infinitely many paths is exactly what fails for the zigzag curve later on this page.
Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point
Definition
Let be a topological space (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison) and let . Subsets carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace); connectedness is Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets and path-connectedness is Paths, path-connected spaces and path components.
- is locally connected at when for every open with there is an open connected with .
- is locally connected when it is locally connected at every point.
- is locally path-connected at when for every open with there is an open path-connected with ; and locally path-connected when this holds at every point.
The neighbourhood-base reading. is locally connected at exactly when the open connected sets containing form a neighbourhood base at (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open). Indeed a neighbourhood of contains an open with , and an open connected with is then a member of that family inside ; conversely a base member inside an open is exactly what the displayed condition asks. The same sentence with "path-connected" in place of "connected" gives the reading for local path-connectedness. Recall that in this library a neighbourhood need not be open (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open), which is why "open" is written out in both clauses above.
Openness in the clauses is not removable and is a live fork. Asking only for a connected neighbourhood inside every open — with no openness demanded of the connected set — defines an a priori weaker condition at a single point, called connectedness im kleinen at in the literature. This library takes the definition above, with openness, and no statement here asserts that the two agree, at a point or globally.
Local and global connectedness are independent conditions, and neither clause above mentions the other. A two-point discrete space (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies) is locally connected, every singleton being open and connected, and is not connected, the two singletons separating it. So local connectedness does not imply connectedness. The reverse implication is not asserted here either.
Both notions are properties of the space, not of an ambient pair. "A locally connected subset " means that the space with its subspace topology is locally connected, and the open sets tested are then the sets open in .
Remarks
-
Why the notion is stated at a point and then quantified. Almost every application needs the pointwise form: a space can fail to be locally connected at a single point and be perfectly well behaved everywhere else, and naming the bad point is what a counterexample does. Quantifying afterwards costs one line and keeps both forms available.
-
The relation to components. The condition says that arbitrarily small open connected sets exist around each point. Since the component of inside an open is the largest connected subset of containing (Connected components, quasicomponents, and totally disconnected spaces), the definition is asking that those components be large enough to be neighbourhoods — which is exactly the reformulation proved as the next item on this page.
-
Local path-connectedness is strictly the stronger-looking of the two, and nothing here compares them. Every path-connected space is connected, so an open path-connected set is an open connected set and local path-connectedness implies local connectedness once that implication is available; it is proved later on this page and is not assumed in this definition.
A space is locally connected exactly when every component of every open subspace is open; in that case the components of the space itself are clopen
Statement
Let be a topological space, with subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then:
- is locally connected (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point) if and only if for every open every component of the space (Connected components, quasicomponents, and totally disconnected spaces) is open in .
- If is locally connected then every component of is clopen.
- The same statement with "path-connected" throughout: is locally path-connected if and only if for every open every path component of the space is open in .
In claim 1 "open in " and "open in " say the same thing, being open in (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace); the statement is written with the ambient form because that is how it is used.
Facts & Assumptions
Given: A topological space ; for open and , write for the component and for the path component of in the space .
is locally connected at when every open contains an open connected with ; locally path-connected likewise with "path-connected" (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point).
is the largest connected subset of containing : it is connected, contains , and contains every connected with (Connected components, quasicomponents, and totally disconnected spaces, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets). The same holds for with "path-connected" in place of "connected": the path components are the classes of the joined-by-a-path equivalence relation, each path-connected and containing its point (Paths, path-connected spaces and path components).
If is open in then a subset of is open in if and only if it is open in (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
A set is open exactly when it is a neighbourhood of each of its points, equivalently when each of its points has an open set around it inside it; and a union of open sets is open (Neighbourhood of a point and neighbourhood base, with this library's convention that a neighbourhood need not be open, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
Every component of a space is closed in it (The components of a space are its maximal connected subsets, they partition it, and each of them is closed, claim 3).
Proof
Assume is locally connected, let be open, let be a component of the space and let ; then by [A2], components being determined by any of their points.
Conversely assume every component of every open subspace is open in , and let with open; put .
In the situation of step 1.1, [A1] supplies an open connected with ; is then a connected subset of containing , so by [A2].
In the situation of step 1.2, is connected and contains by [A2], it is contained in , and it is open in by hypothesis; so with open and connected.
So in the situation of step 1.1 every point of has an open set around it inside , whence is open in by [A4]. This is the forward implication of claim 1.
And step 2.2 is exactly the condition of [A1] at , so is locally connected; this is the backward implication, and claim 1 follows.
For claim 2, let be a component of ; taking , which is open, claim 1 makes open in , and [A5] makes it closed, so is clopen.
For claim 3, replace "connected" by "path-connected" and by throughout steps 1.1, 1.2, 2.1, 2.2, 3.1 and 3.2: every property of used there is recorded for in [A2], namely that it contains its point, is path-connected, and contains every path-connected subset of through that point, the last because two points joined to are joined to each other.
Remarks
-
Why the criterion is stated for every open subspace and not only for . Openness of the components of alone is strictly weaker: a space may have a single component, itself, which is trivially open, while failing to be locally connected at some point. The strength of local connectedness is that the conclusion holds inside every open piece, however small, and that is what the proof of the forward implication uses at step 2.1 — it applies the hypothesis inside the given , not inside .
-
Claim 2 is the practical form. Once the components are clopen, a connectedness argument reduces to counting them: a locally connected space is connected exactly when it has one component, and the components behave like the summands of a disjoint union.
-
What claim 2 does not say. It does not say that a space whose components are clopen is locally connected, and that converse is false in general. Nor does the theorem assert any implication between connectedness and local connectedness; those are settled separately on this page.
Every path-connected space is connected, and every path component lies inside a component
Statement
Let be a topological space, with subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then:
- The unit interval is connected. is a connected subset of , hence a connected space.
- Path-connected implies connected. If is path-connected (Paths, path-connected spaces and path components) then is connected (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets). The same holds for a subset: a path-connected subset of is a connected subset of .
- Path components refine components. For every , the path component inside the component (Connected components, quasicomponents, and totally disconnected spaces). So every component is a union of path components.
No converse is claimed. Claim 2 is one-directional and claim 3 is an inclusion; the question of when a connected space is path-connected is not settled here.
No choice principle is used. The proof takes the union over the set of all paths issuing from a fixed point rather than selecting one path per endpoint, which is what an appeal to the Axiom of Choice would be. The point at which the temptation arises is flagged in the remarks.
Facts & Assumptions
Given: A topological space and the unit interval with the subspace topology from (Paths, path-connected spaces and path components).
A subset of is a connected subset exactly when it is order-convex, and is order-convex (The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ", Intervals of : the nine order-convex forms, nondegeneracy, and length).
A continuous image of a connected space is a connected subset of the target (A continuous image of a connected space is connected, and connectedness is a topological property, claim 1).
A union of connected subsets with a point in common is connected (A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member, claim 1).
A path in from to is a continuous map with and ; is path-connected when every pair of its points is joined by one; the path component is the set of points joined to , and it is a path-connected subset of (Paths, path-connected spaces and path components, Continuity of a map of topological spaces at a point and globally).
is the largest connected subset of containing ; the empty space is connected (Connected components, quasicomponents, and totally disconnected spaces, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
Proof
is order-convex, so it is a connected subset of by [A1], that is the space is connected; this is claim 1.
Assume is path-connected. If it is connected by [A5] and claim 2 holds, so assume and fix a point .
Let , a set of functions from to . No member of is selected: the whole family is used.
For each the image is a connected subset of , by step 1.1 and [A2] applied to the continuous map ; and .
: each image is a subset of , and conversely every is joined to by some path , which lies in and has .
Hence is connected by [A3], being a union of connected sets all containing . Applied to the space with its subspace topology, the same argument shows that a path-connected subset is a connected subset of ; this is claim 2.
For claim 3, is a path-connected subset of by [A4], hence a connected subset of by claim 2, and it contains ; so by the maximality in [A5]. Since the path components partition by [A4] and each lies inside a single component, every component is a union of path components.
Remarks
-
Where choice would have crept in. The textbook phrasing "for each choose a path from to " produces a family of paths indexed by and is an application of the Axiom of Choice over an arbitrary index set. It is unnecessary: the union of the images of all paths from is already , and forming that union selects nothing. Step 1.3 is written to make the difference visible rather than to leave it to the reader.
-
Claim 1 is where the real line enters, and it enters once. Everything else in the proof is formal. All the content of "path-connected implies connected" is the connectedness of the interval, which is a consequence of the least upper bound property through The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ".
-
Claim 3 gives the standard picture. Components are unions of path components, so the two partitions of are nested, with the path components the finer of the two. They coincide in many familiar spaces and not in all, and nothing above says which case a given space is in.
A connected, locally path-connected space is path-connected, because its path components are open
Statement
Let be a locally path-connected topological space (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point). Then:
- Path components are open, hence clopen, hence unions of them are clopen.
- Components and path components agree: for every (Paths, path-connected spaces and path components, Connected components, quasicomponents, and totally disconnected spaces).
- If is moreover connected (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) then is path-connected.
Claim 3 is the statement in the title; claims 1 and 2 are what carry it, and both are worth having on their own. Local path-connectedness alone does not make a space path-connected — a two-point discrete space is locally path-connected and is not path-connected — so the connectedness hypothesis in claim 3 is not removable.
Facts & Assumptions
Given: A locally path-connected space , with subsets carrying the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
For every and every open there is an open path-connected with ; in particular, taking , an open path-connected exists (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
The path components partition ; exactly when a path in joins to ; a path-connected subset of containing is contained in , since each of its points is joined to inside it and hence in (Paths, path-connected spaces and path components, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
A union of open sets is open, and a set is open when each of its points has an open set around it inside it (Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
A space is connected exactly when its only clopen subsets are and the whole space; a subset is connected exactly when the only subsets of clopen in are and ; the traces of open and of closed sets are the open and the closed sets of a subspace (For a topological space the following agree: no separation exists, the only clopen subsets are and , and every continuous map to the two-point discrete space is constant, claims 1 and 2, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
is the largest connected subset of containing ; a path-connected space, and a path-connected subset, is connected (Connected components, quasicomponents, and totally disconnected spaces, Every path-connected space is connected, and every path component lies inside a component, claim 2).
Proof
Let and let . By [A1] there is an open path-connected with , and by [A2], the set being path-connected and containing , which lies in .
For claim 2, by [A5], being a path-connected subset containing , hence connected, and the largest such.
So every point of has an open set around it inside , whence is open in by [A3].
is also closed: its complement is the union of the remaining path components, which partition by [A2], and each of them is open by step 2.1; so the complement is open by [A3]. Hence every path component is clopen, and so is any union of them, being a union of open sets with complement a union of open sets. This is claim 1.
Conversely is clopen in the subspace by step 3.1 and [A4], being the trace on of a clopen subset of , and it is nonempty, containing ; since is connected, [A4] forces , that is .
Claim 2 follows from steps 1.2 and 4.1.
For claim 3 assume is connected. If it is path-connected by [A2], having no pair of points to join. Otherwise fix ; then is clopen by step 3.1 and nonempty, so by [A4], which says exactly that every point of is joined to by a path, and hence any two points are joined to each other. So is path-connected.
Remarks
-
Why the argument is about path components and not about paths. The hypothesis gives small open path-connected sets, and the only use made of them is that they cannot straddle two path components. That turns a local statement into the global partition of claim 1 with no construction of a long path anywhere; the path joining two given points is produced only at the very end, by the definition of .
-
Claim 2 is why local path-connectedness is the right hypothesis in practice. Under it the two partitions of coincide, so "connected" and "path-connected" become interchangeable for subspaces that are open, and every connectedness computation can be done with paths.
-
What fails without local path-connectedness. Claim 1 is exactly where the hypothesis is spent: without it a path component need not be open, its complement need not be open, and the clopen argument collapses. A connected space whose path components are not open, and which is therefore connected and not path-connected, is constructed later on this page.
A linear continuum is connected in its order topology, and so is every order-convex subset of it
Statement
Let be a linear continuum: a linearly ordered set with at least two elements that is order-dense and has the least upper bound property (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua). Give its order topology. Then:
- is connected (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
- Every order-convex , with the subspace topology, is connected. In particular every interval , , , and every ray of is connected.
Claim 2 covers the degenerate cases: and every singleton are order-convex and connected.
Facts & Assumptions
Given: A linear continuum with its order topology, and an order-convex .
The order is linear, so any two elements are comparable and exactly one of , , holds; is transitive and antisymmetric (Partial order and partially ordered set).
Order-density: for in there is with . Least upper bound property: a nonempty subset with an upper bound has a least upper bound , which is an upper bound and is every upper bound (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua, Upper bound, least upper bound, and strict upper bound).
is a basis for the order topology, so every open set containing a point contains a member of that family containing it (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua, Basis and subbasis for a topology, and the topology generated by a family of sets).
A separation of a space is a pair of open, nonempty, disjoint sets whose union is the space; a space is connected when none exists; and every one-point space are connected (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
For an order-convex the subspace topology on is the order topology of the restricted order (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Proof
Suppose, for contradiction, that is a separation of : both open and nonempty, disjoint, with .
Fix and . They are distinct, and being disjoint, so by [A1] one is below the other; relabelling and if necessary, which is legitimate because the hypothesis of step 1.1 is symmetric in them, assume .
Put . It is nonempty, containing , and is an upper bound of it, so exists by [A2] and satisfies , since and is an upper bound.
Suppose . Then , since and the two sets are disjoint, so by [A1] and . By [A3] there is a basic open with ; is neither nor a set , since either would contain , giving . So is or with , and in both cases .
Suppose instead . Then , so by [A1] and . By [A3] there is a basic open with ; is neither nor a set , since either would contain , giving . So is or with , and in both cases ; moreover , since and would otherwise put in .
In the case of step 4.1, , so is not an upper bound of by [A2] and there is with ; then and , contradicting .
In the case of step 4.2, order-density gives with by [A2]; then , and , so while , contradicting that is an upper bound of .
By step 1.1 the point lies in , so one of the two cases applies, and each is contradictory by steps 5.1 and 5.2. Hence no separation of exists and is connected; this is claim 1.
For claim 2 let be order-convex. If has at most one element it is connected by [A4]. Otherwise carries the order topology of its restricted order by [A5], and is itself a linear continuum: it has at least two elements; it is order-dense, because for in the element with given by [A2] lies in by order-convexity; and it has the least upper bound property, because a nonempty with an upper bound has in by [A2], and for any puts in by order-convexity, where it is again the least upper bound. So claim 1 applies to .
Remarks
-
Both hypotheses are spent, each exactly once. The least upper bound property produces at step 3.1, and order-density produces the point at step 5.2. Neither may be dropped. An ordered set with a jump, a pair with , is separated by the two open sets and , which is what density forbids; and the rationals, which are order-dense but lack the least upper bound property, are separated by and its complement, both open.
-
Why the argument is asymmetric between the two cases. Case 4.1 needs only that is a least upper bound; case 4.2 needs a point strictly above inside , and only density supplies one. That asymmetry is intrinsic: a supremum can be approached from below in any ordered set, and stepping strictly above it while staying inside a small open set is what requires there to be no gaps.
-
Claim 2 is proved by re-reading as a continuum, not by a second argument. The two facts that make this legal are that an order-convex subset carries its own order topology as a subspace, and that order-density and the least upper bound property are inherited by order-convex subsets. Both are established at step 7.1 rather than assumed.
The closed long ray under the lexicographic order, and the long line, with the order topology
Definition
Let be the first uncountable ordinal (The first uncountable ordinal , is uncountable, every ordinal below it is at most countable, it is a cardinal and a limit ordinal, and its existence is a theorem of ZF), whose elements are the at most countable ordinals (Ordinal (von Neumann)) ordered by membership (Trichotomy and well-ordering of the ordinals, Basic closure properties of ordinals), and let
be the half-open unit interval of the complete ordered field (Intervals of : the nine order-convex forms, nondegeneracy, and length, Order on the reals, Ordered field, Complete ordered field (least-upper-bound property)).
The closed long ray is the set
with the lexicographic order
and meaning or ; carries the order topology of this order (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
The lexicographic order is a linear order, and this is discharged here. Antisymmetry and irreflexivity of : if then either , which by trichotomy of the ordinals (Trichotomy and well-ordering of the ordinals) forbids and hence forbids , or and , which by trichotomy in (Ordered field) forbids ; in particular no element is itself. Transitivity: if then , so ; if we are done, and if then and gives . Comparability: given two elements, compare the first coordinates by Trichotomy and well-ordering of the ordinals and, if they are equal, the second by trichotomy in . So is a totally ordered set (Partial order and partially ordered set).
Least element, and the open long ray. has the least element , since is the least ordinal and the least element of . The open long ray is with the restricted order and its order topology. has no greatest element: given , the element is strictly above it, and because is again at most countable (Basic closure properties of ordinals, is uncountable, every ordinal below it is at most countable, it is a cardinal and a limit ordinal, and its existence is a theorem of ZF).
The long line. Let be the open long ray. The long line is the set
with the order
that is: a reversed copy of the open long ray laid before a copy of the closed long ray, the two halves meeting at the single centre point . This is again a total order, by the same three checks applied within each copy and by the third clause across them, and carries its order topology. One copy is open and one is closed deliberately: were both copies open, each half would be a union of open rays of , so the two halves would form a pair of disjoint nonempty open sets covering — a separation — and the order would have a gap at the seam instead of the centre point that closes it.
Blocks. The set is an initial segment of order-isomorphic to , and for each the block is order-isomorphic to ; the blocks are laid end to end in the order type of . A block has a least element and no greatest element. No element of has an immediate predecessor or an immediate successor. Within a block this is the corresponding fact for . At a block boundary with : if then the elements below it are the , , among which there is no greatest, so it has no immediate predecessor; and if is a limit ordinal (Successor and limit ordinals) the elements below it include for every , again with no greatest, since is a limit. Immediate successors fail because no block has a greatest element.
Remarks
-
Why and not . With the element would be the greatest element of its block and would be its immediate successor, producing a jump; the order would then fail to be order-dense and the long ray would be disconnected. Half-open blocks glue without a seam, which is the whole point of the construction.
-
Why and not a larger ordinal. The construction makes sense for any ordinal, and for it produces an order isomorphic to . What is special about is that it is uncountable while each of its elements is at most countable ( is uncountable, every ordinal below it is at most countable, it is a cardinal and a limit ordinal, and its existence is a theorem of ZF), which is what makes every proper initial segment of look like an ordinary half-line while itself does not.
-
Naming. The obligation that the long ray deserves to be called a continuum — that it is order-dense and has the least upper bound property — is discharged by The long ray is a linear continuum, hence connected; every one of its at most countable subsets is bounded above, assuming countable choice ↗, recorded in this item's
justified_by, and is not assumed anywhere above. -
What is not defined here. Nothing above asserts that or is path-connected, or metrizable, or that either is homeomorphic to any space built earlier. Those questions need machinery this page does not develop, and no statement on this page depends on their answers.
The long ray is a linear continuum, hence connected; every one of its at most countable subsets is bounded above, assuming countable choice
Statement
Let be the closed long ray with its lexicographic order and its order topology (The closed long ray under the lexicographic order, and the long line, with the order topology). Then:
- is a linear continuum (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua): it has at least two elements, it is order-dense, and it has the least upper bound property.
- is connected, and so is every order-convex subset of ; in particular every initial segment is connected.
- Assuming the Axiom of Countable Choice (The Axiom of Countable Choice ()): every at most countable subset of (Finite, countably infinite, countable, uncountable) has an upper bound in ; so no at most countable subset of is unbounded above.
Claims 1 and 2 are theorems of ZF. Claim 3 carries the hypothesis because it is inherited whole from Assuming countable choice: every at most countable subset of is bounded below , so no at most countable subset of is cofinal in it, and a supremum of at most countably many at most countable ordinals is at most countable, whose own statement carries it, and it is spent at exactly one step below.
Nothing here says is path-connected, and this proof gives no path between two of its points; that question needs an order isomorphism of each initial segment with , which is not constructed on this page.
Facts & Assumptions
Given: The closed long ray with the lexicographic order and its order topology.
The lexicographic order on is a total order with least element ; means , or and ; every occurring satisfies (The closed long ray under the lexicographic order, and the long line, with the order topology, Partial order and partially ordered set, Intervals of : the nine order-convex forms, nondegeneracy, and length).
For a set of ordinals, is an ordinal, it is an upper bound of under , and it is every upper bound of ; holds exactly when ; is an ordinal with , and any two ordinals are comparable (Basic closure properties of ordinals, Trichotomy and well-ordering of the ordinals, Ordinal (von Neumann), Upper bound, least upper bound, and strict upper bound).
The elements of are exactly the at most countable ordinals, and is a limit ordinal, so implies (The first uncountable ordinal , is uncountable, every ordinal below it is at most countable, it is a cardinal and a limit ordinal, and its existence is a theorem of ZF, Successor and limit ordinals).
has the least upper bound property and least upper bounds in it are unique; for reals one has ; gives (Complete ordered field (least-upper-bound property), Suprema and infima are unique, Lower bound, bounded below, bounded set).
A linear continuum is a linearly ordered set with at least two elements that is order-dense and has the least upper bound property; a linear continuum and each of its order-convex subsets are connected in the order topology (The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua, A linear continuum is connected in its order topology, and so is every order-convex subset of it, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
Assuming , every at most countable satisfies with for every (Assuming countable choice: every at most countable subset of is bounded below , so no at most countable subset of is cofinal in it, and a supremum of at most countably many at most countable ordinals is at most countable, claim (a), The Axiom of Countable Choice ()).
A nonempty set is at most countable exactly when some surjection it exists (A nonempty set is at most countable iff it is a surjective image of , Finite, countably infinite, countable, uncountable).
Proof
has at least two elements, namely and , which differ and satisfy by [A1] and [A4].
is order-dense. Let . If then and lies strictly between, by [A4]. If then by [A4], so lies strictly above and strictly below , its first coordinate being .
Let be nonempty with an upper bound , and put , a nonempty set of ordinals with for every ; so is an ordinal with , hence by [A2] and [A3].
For claim 3 let be at most countable. If then is an upper bound of by [A1] and there is nothing more to prove, so assume and let , a nonempty subset of .
Suppose first , and put , which is nonempty and bounded above by ; let in , which exists and is unique by [A4], with .
Suppose instead ; then every satisfies , since by [A2] and .
is at most countable: by [A7] there is a surjection , and composing it with the first-coordinate map gives a surjection , so [A7] applies again.
In the case of step 2.1 with , the element is the least upper bound of : it bounds , since has and, when , so ; and any upper bound of has , because contains an element with first coordinate , and if then bounds so .
In the case of step 2.1 with , the element is the least upper bound of : it bounds , since every has ; and an upper bound cannot have , containing an element with first coordinate , nor , since then would bound and give against ; so , that is by [A2], and . Here by [A3].
In the case of step 2.2, the element is the least upper bound of : it bounds , since every has ; and if an upper bound had then would not bound by [A2], so some has and the corresponding element of exceeds — impossible; so and .
By [A6] the ordinal lies in and satisfies for every ; this is the one step at which is spent.
Steps 1.3, 2.1, 2.2, 3.1, 3.2 and 3.3 exhaust the cases and give a least upper bound in each, so has the least upper bound property; with steps 1.1 and 1.2 this makes a linear continuum by [A5]. This is claim 1.
Claim 2 follows: is connected and every order-convex subset of is connected by [A5], and each initial segment is order-convex, being defined by an inequality closed under passing to intermediate points.
Then by [A3], and is an upper bound of : every has , hence by [A2] and step 3.4, so . This is claim 3.
Remarks
-
Why the least upper bound argument splits into three cases and not two. The supremum of a set of blocks may be attained in a block, in which case the real supremum inside that block either is attained below (step 3.1) or escapes to the top of the block (step 3.2), and the escape has to be caught by the next block's least element. The third case is that the blocks themselves have no largest member (step 3.3). Each case produces a different element of , and omitting the middle one is the standard slip: it is exactly the configuration in which the naive answer is not an element of at all.
-
What countable choice buys, and what it does not. It is used at exactly one step, and only through Assuming countable choice: every at most countable subset of is bounded below , so no at most countable subset of is cofinal in it, and a supremum of at most countably many at most countable ordinals is at most countable. It says nothing about claims 1 and 2, which are proved in ZF, and is not needed to know that has no greatest element, which is immediate from The closed long ray under the lexicographic order, and the long line, with the order topology.
-
The consequence that makes the long ray useful. Claim 3 says that approaching the far end of cannot be done along an at most countable set. That is what separates from every half-line built earlier: in the naturals are unbounded, whereas in no at most countable set is.
The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected
Statement
Write for the canonical natural of (The canonical natural of a field), so that means , and recall that contains . For put
so that and (Intervals of : the nine order-convex forms, nondegeneracy, and length). Define for even and for odd, and let
be the function that is affine on each with for every ; explicitly, for ,
The two clauses agree at each shared endpoint , both giving , so is a well-defined function; ; and on each the map runs affinely between and , so it takes both values and on , at the two endpoints. Let
the graph of , with carrying the product topology, which is the metric topology of (For the product topology on copies of the usual topology of is the metric topology of on , and hence also of and , so as a product and as a metric space are one space, as the set of functions , and , , are metrics on it, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not), and let subsets carry the subspace topology (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace). Then:
- is continuous, and is homeomorphic to ; hence is path-connected (Paths, path-connected spaces and path components), connected, and locally connected (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point).
- The closure is .
- is connected (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
- is not path-connected; more precisely, no path in joins a point of to a point of .
- is not locally connected at any point , , so it is not locally connected.
There is no trigonometric function anywhere in this construction. Every piece of is affine, and the oscillation comes from the alternating endpoint values alone.
Facts & Assumptions
Given: The intervals , the function , the graph , and with the product topology; denote the two projections.
An affine map of into is continuous: , so for the ball of radius around maps into the ball of radius , and a constant map is continuous outright (Open ball, closed ball and sphere in a metric space, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Continuity of a map of topological spaces at a point and globally).
Continuity may be checked on any open cover and on any finite closed cover, and composites and restrictions of continuous maps are continuous (Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, claims 1, 2, 3, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace); a map is continuous at every point exactly when is closed for every closed in the codomain (For a map of spaces the following agree: continuity at every point, preimages of open sets open, preimages of closed sets closed, preimages of subbasic open sets open, and , clauses (a) and (c)).
A map into a product is continuous exactly when both components are; the projections are continuous; the sets form a basis of , being the -balls and their finite intersections (A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice, The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space, For the product topology on copies of the usual topology of is the metric topology of on , and hence also of and , so as a product and as a metric space are one space, as the set of functions , and , , are metrics on it, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).
A subset of is a connected subset exactly when it is order-convex; a continuous real-valued map on a connected space has order-convex image (The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ", A real-valued continuous map on a connected space has order-convex image, so it takes every value between any two of its values, Intervals of : the nine order-convex forms, nondegeneracy, and length, A continuous image of a connected space is connected, and connectedness is a topological property).
exactly when every basic open set containing meets ; is closed exactly when ; for the closure of in is (A point lies in the closure of iff every basic neighbourhood of it meets ; the closure is the smallest closed superset and equals together with its derived set, Interior, closure, boundary, exterior, derived set and isolated point in a topological space, For the closure of in is , while the interior only contains , with equality when is open; and a dense subset of traces to a dense subset of every open , Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
If is connected and then is connected; a path-connected space is connected (If is connected and then is connected; in particular the closure of a connected set is connected, Every path-connected space is connected, and every path component lies inside a component).
For every real there is a natural with (For every in a complete ordered field there is a natural with , The canonical natural of a field).
A nonempty subset of bounded above has a least upper bound, and for every some element of it exceeds (Complete ordered field (least-upper-bound property), Epsilon characterisation of the supremum).
is locally connected at when every open contains an open connected with ; a homeomorphism carries such a to , which is connected as a continuous image and open because a homeomorphism is an open map, so local connectedness is a topological property (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point, A continuous image of a connected space is connected, and connectedness is a topological property claim 1, Homeomorphism, open map, closed map, embedding, and what it means for a property to be topological).
Proof
is continuous. For the restriction of to the closed set is continuous, being affine on each of the two closed pieces by [A1] and agreeing at the shared endpoint, so the finite closed cover clause of [A2] applies with two pieces; likewise is affine, hence continuous, on .
is order-convex, hence a connected subset of by [A4], and it is path-connected: for the map is continuous by [A1] and takes values in by order-convexity.
is locally connected: a basic open subset of it is the trace of an interval of , hence order-convex, hence connected by [A4]; so the open connected subsets form a neighbourhood base at each of its points, which is [A9].
. Let . Every point of lies in , which is closed, being a product of closed sets whose complement is a union of basic open sets; so by [A5]. If the point lies in .
A second consequence, used twice below: for every real there are with and . Indeed [A7] gives a natural with ; with the interval , and the two endpoints of carry the values and , which are and in one order or the other.
The sets for , together with , form an open cover of in its subspace topology, and restricted to each is a restriction of one of the continuous maps of step 1.1; so is continuous by the open cover clause of [A2].
The map , , is continuous by [A3], its components being the inclusion and , both continuous by step 2.1 and [A2]; it is injective, since determines ; and its image is .
. Let and let be a basic open set containing . By [A7] there is a natural with , and putting the interval lies in , since . As runs affinely between and on , [A4] gives with : the image of under is order-convex and contains and , hence contains and every point near it inside . Then lies in the basic set, so by [A5].
The corestriction is a continuous bijection by step 3.1 and [A2], and its inverse is the restriction of to , which is continuous by [A3] and [A2]; so is a homeomorphism and .
Suppose instead , so and is defined. Let . By step 2.1 and [A3] there is such that for every . The basic set contains , hence meets by [A5] in a point ; then . As was arbitrary, and . With step 3.2 and step 1.4 this proves claim 2.
Claim 5. Fix and let , an open subset of containing . Suppose is open in , connected, with . Then contains a set for some by [A3], and that set meets by step 3.2, at a point whose first coordinate satisfies .
Hence is path-connected, connected and locally connected, these being carried across the homeomorphism of step 4.1 from step 1.2 and step 1.3, using [A6] for connectedness and [A9] for local connectedness. This is claim 1.
A useful consequence of claim 2, used twice below: if has then , so .
Claim 4. Suppose is a path with and , and write and , both continuous by [A3] and [A2]. Then is closed in , being the preimage of the closed set , it contains , and since .
Claim 3: is connected by step 5.1 and , so is connected by [A6].
Let , which exists by [A8]. Every open set containing contains an interval around it, which by [A8] meets ; so , and is closed in while , so by [A5]. Hence and .
So is a connected subset of by [A2, A3, A4], hence order-convex, and it contains and ; therefore . By step 1.5 with there are with and , so contains points with , and by step 5.2.
By continuity of at there is with and for all ; put . Moreover , since puts outside while everywhere by step 1.4.
The restriction of to is continuous on a connected space by [A4] and step 1.2, so its image is order-convex and contains and ; hence lies in that image. By step 1.5 with there are with and , and therefore with .
By step 5.2, , so and ; but both lie within of by step 7.1, giving , which is false. So no such path exists, and since contains points of both kinds by claim 2, it is not path-connected. This is claim 4.
Hence contains a point with second coordinate and a point with second coordinate , both of which must lie in because ; that gives , which is false. So no such exists and is not locally connected at , by [A9]; this is claim 5.
Remarks
-
Why continuity is checked on an OPEN cover and never on the closed one. The intervals form a closed cover of with infinitely many members, and the closed pasting lemma is false for infinite covers, the standing witness being covered by its closed singletons: every restriction of the indicator of is continuous and the map is not, so the closed pasting lemma needs finiteness. The proof therefore pastes only two closed pieces at a time, producing continuity on a slightly larger closed interval, and then uses the open cover clause, which carries no finiteness restriction.
-
What each claim is for. Claim 3 with claim 4 gives a connected space that is not path-connected; claim 1 with claim 4 gives a path-connected set whose closure is not path-connected; claim 1 with claim 5 gives a locally connected set whose closure is not locally connected. Each of the three is used as a witness later on this page.
-
The failure is exactly at the added segment. By claim 2 the only points of not in are those of , and claim 5 locates the failure of local connectedness at each of them. At every point of the space still looks like , since is open in — its complement is closed — so no pathology occurs away from the segment.
-
Both endpoint values are attained on every piece, and that is the whole mechanism. The proof never uses any property of beyond continuity and the fact recorded in step 5.3: arbitrarily close to the function takes the value and the value . Any function with that property and a path-connected graph would serve.
Which conventions this page fixes: the empty space and the one-point space, separated sets against disjoint open sets, and what is not developed here
Five convention forks are live in the material of this page, and each is settled here rather than left to the reader. Two further conventions are inherited and change how statements here are read.
1. The empty space is connected, and so is a one-point space. A separation asks for two nonempty disjoint open pieces covering the space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets), and neither space admits one, so both are connected with no special clause. The competing convention adds "nonempty" to the definition of a connected space, which makes the empty space neither connected nor disconnected. The cost of the choice made here is that the empty set is a connected subset of every space, so "maximal connected subset" must be read as "maximal among the nonempty connected subsets" for the components; that is exactly where Connected components, quasicomponents, and totally disconnected spaces and the maximality clause of the components theorem take care. The benefit is that no theorem on this page needs a nonemptiness hypothesis: unions, closures, continuous images and products are all stated without one.
2. A separation is two disjoint open sets; separated sets are a different condition, and both are used. Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets defines a separation of a space by open sets, and defines to be separated in when neither meets the other's closure. Those are not the same demand: separated sets need not be open, and the ambient open sets that witness a separation of a subspace need not be disjoint in at all — Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets requires them to be disjoint only on the subspace, and "requiring outright is a strictly stronger demand and is a different notion". A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line is the theorem relating them, and it is what lets a computation be done in whichever of the two vocabularies is convenient. The real-line development uses the second (Separated sets, disconnection, and connected subset of ), the general development uses the first, and The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in " is where the two are shown to agree on — an identification that is proved, never assumed.
3. Local connectedness demands OPEN connected sets. Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point asks that every open containing contain an open connected with . Asking instead only that contain a connected that is a neighbourhood of , without requiring itself to be open, gives a weaker condition at a point, called connectedness im kleinen in the literature; dropping open outright, so that any connected with would serve, asks nothing at all, since the singleton always qualifies. This page proves nothing about that weaker condition and asserts no relation between the two. The same fork, with the same resolution, applies to local path-connectedness (Paths, path-connected spaces and path components).
4. Totally disconnected is defined by components, not by quasicomponents. Connected components, quasicomponents, and totally disconnected spaces calls totally disconnected when every component is a singleton. The condition that every quasicomponent is a singleton is a different property, usually called total separatedness, and by Every quasicomponent is a closed union of components, so each component is contained in a quasicomponent, and the quasicomponents partition the space it is at least as strong. Nothing on this page asserts that the two agree.
5. The order topology is generated by the open rays. The order topology of a linearly ordered set, with the open rays as a subbasis; order-convex sets, order-density, the least upper bound property, and linear continua takes the rays and as a subbasis, which is what makes the definition work uniformly when has a least or a greatest element; taking the open intervals alone as a basis would fail there. The same item fixes order-convex, order-dense, the least upper bound property and linear continuum, and records that a subspace of a linearly ordered topological space always means the subspace topology, which agrees with the order topology of the restricted order when the subset is order-convex and is not claimed to agree otherwise.
Two inherited conventions that change how this page is read. A neighbourhood need not be open, so "open connected neighbourhood" is written out in full wherever openness is wanted; and the empty intersection of a subbasis is the whole space, so no covering hypothesis is imposed on the subbasis of rays. These conventions are in force throughout the items above.
Notation used without further comment. is the two-point discrete space (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies); , and are the component, the quasicomponent and the path component of ; and "interval" applied to a subset of is read throughout as "order-convex", the classification of the order-convex subsets into written forms not being available here.
5 · Examples, counterexamples and false statements
FALSE: every connected topological space is path-connected
Statement
False claim: every connected topological space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) is path-connected (Paths, path-connected spaces and path components).
The implication holds in the other direction — every path-connected space is connected (Every path-connected space is connected, and every path component lies inside a component) — and it is that true statement which the false one attempts to reverse.
Witness. The closure of the zigzag graph (The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected), a subspace of (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace), is connected and is not path-connected.
Facts & Assumptions
Given: The graph of the zigzag function and its closure in , with the subspace topology.
A space is path-connected when any two of its points are joined by a path, and connected when it admits no separation (Paths, path-connected spaces and path components, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Refutation
Suppose, for contradiction, that the claim holds: every connected space is path-connected.
is a topological space, being a subspace of , and it is connected by [L1].
Applying the supposed claim to gives that is path-connected.
This contradicts [L2], which says is not path-connected. So the claim is false.
Remarks
-
What survives is the converse, and only the converse. Every path-connected space is connected, and every path component lies inside a component is a theorem: path-connectedness implies connectedness, always. The false claim is its reversal, and shows that no amount of connectedness alone produces a path.
-
Where the failure sits in the witness. By claim 2 of The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected the space is the graph together with the segment . The graph on its own is path-connected; adjoining the segment keeps the space connected, because the closure of a connected set is connected, and destroys path-connectedness, because a path reaching the segment from would have to take the values and in its second coordinate arbitrarily late.
-
A hypothesis that does repair it. A connected space that is also locally path-connected is path-connected (A connected, locally path-connected space is path-connected, because its path components are open), and fails that extra hypothesis at every point of the segment.
FALSE: the closure of a path-connected subspace is path-connected
Statement
False claim: if is a path-connected subset of a topological space (Paths, path-connected spaces and path components, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace), then is path-connected (Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
The corresponding statement for connectedness is true and is If is connected and then is connected; in particular the closure of a connected set is connected; the false claim above is that statement with "connected" replaced by "path-connected" throughout, and the replacement is not legitimate.
Witness. In take , the graph of the zigzag function (The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected): is path-connected and is not.
Facts & Assumptions
Given: The zigzag graph and its closure , with the subspace topology.
A subset is path-connected when any two of its points are joined by a path with image in it; closure is taken in the ambient space (Paths, path-connected spaces and path components, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
Refutation
Suppose, for contradiction, that the claim holds: the closure of every path-connected subset is path-connected.
is a path-connected subset of by [L1], so the supposed claim applies to it.
It follows that is path-connected.
This contradicts [L2]. So the claim is false.
Remarks
-
Exactly one word changes between the true statement and the false one. If is connected and then is connected; in particular the closure of a connected set is connected, with connectedness as in Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, holds in every topological space with no hypothesis at all, and the witness above shows that its path-connected analogue holds in none but the cases where some further hypothesis is present. The asymmetry has a cause: a point of is a limit of points of , which is enough to prevent a separation but not enough to produce a path, a path being a single continuous map defined on the whole unit interval.
-
The added set is as small as it can usefully be. By claim 2 of The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected, is one segment. So a path-connected set can lose path-connectedness on adjoining a single closed segment, and no larger or more complicated addition is needed.
-
What the witness does not show. Nothing here says that the closure of a path-connected set is never path-connected; it usually is. The claim refuted is the universal one.
FALSE: every connected space is locally connected
Statement
False claim: every connected topological space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets) is locally connected (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point).
Neither condition implies the other, and this item refutes one of the two directions. The other fails as well: a two-point discrete space is locally connected and disconnected, as Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point records.
Witness. The closure of the zigzag graph (The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected), a subspace of (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace), is connected and is not locally connected at any point of the segment .
Facts & Assumptions
Given: The zigzag graph and its closure , with the subspace topology.
is locally connected when for every and every open there is an open connected with ; being locally connected requires this at every point (Locally connected and locally path-connected spaces: a neighbourhood base of open connected, respectively open path-connected, sets at every point, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
is not locally connected at any point with , and such points belong to (The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected, claims 2 and 5).
Refutation
Suppose, for contradiction, that the claim holds: every connected space is locally connected.
is connected by [L1], so the supposed claim applies to it and is locally connected.
By [A1] this means is locally connected at every one of its points, in particular at , which lies in by [L2].
This contradicts [L2], which denies local connectedness at that point. So the claim is false.
Remarks
-
Connectedness is global and local connectedness is not, so no implication is to be expected in either direction. Connectedness says the space cannot be cut in two; local connectedness says every point has arbitrarily small connected open neighbourhoods. A space can be a single unbroken piece and still be locally shredded at some of its points, which is what is at every point of the added segment.
-
What the failure costs. By A space is locally connected exactly when every component of every open subspace is open; in that case the components of the space itself are clopen and Connected components, quasicomponents, and totally disconnected spaces, a locally connected space has clopen components and, inside every open set, open components. In that machinery is unavailable, which is precisely why its partition into path components fails to be a partition into clopen pieces and why the space is connected without being path-connected.
-
The failure is confined to the segment. Claim 5 of The graph of the piecewise-linear map oscillating between and on the intervals is path-connected, its closure adds the segment , and that closure is connected, is not path-connected because no path joins the segment to the graph, and is not locally connected locates it at the points , and at every other point agrees locally with , which is locally connected by claim 1 there.
FALSE: the intersection of two connected subspaces is connected
Statement
False claim: if and are connected subsets of a topological space (Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace) then is connected.
The corresponding statement for unions is true under a meeting hypothesis (A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member); there is no such repair for intersections, and the witness below has , so nonemptiness is not what is missing.
Witness. In with the product topology (For the product topology on copies of the usual topology of is the metric topology of on , and hence also of and , so as a product and as a metric space are one space, The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space) put
and let and : the three sides of the unit square other than the top, and the three other than the bottom. Both are connected, and is disconnected, being two disjoint closed segments.
Facts & Assumptions
Given: with the product topology and the sets above; subsets carry the subspace topology.
is order-convex, hence a connected subset of ; a subset of is connected exactly when it is order-convex (The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ", Intervals of : the nine order-convex forms, nondegeneracy, and length).
A map into is continuous exactly when both components are, and a constant map and the identity are continuous; a continuous image of a connected space is a connected subset of the target (A map into a product is continuous iff each of its components is; the projections are continuous and open; and each projection is surjective when every factor is nonempty, which for an infinite index set uses the Axiom of Choice, A continuous image of a connected space is connected, and connectedness is a topological property, Continuity may be checked on any open cover, and on any finite closed cover; composites of continuous maps are continuous, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, as the set of functions , and , , are metrics on it, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).
A union of connected subsets each meeting a fixed connected subset, together with that subset, is connected (A union of connected subspaces with a point in common is connected, and so is a union of a family in which every member meets a fixed connected member, claim 2).
A subset of a space is disconnected exactly when with nonempty and separated, that is neither meeting the other's closure (A subspace is disconnected exactly when with nonempty and separated in , which is the criterion this library already uses on the real line, Interior, closure, boundary, exterior, derived set and isolated point in a topological space).
A product of closed sets is closed in , and and are closed in ; a closed set equals its own closure (Interior, closure, boundary, exterior, derived set and isolated point in a topological space, The product set of functions choosing a point in each factor, the projections, the box topology, and the product topology as the initial topology of the projections; the empty product is a one-point space, Intervals of : the nine order-convex forms, nondegeneracy, and length).
Refutation
Suppose, for contradiction, that the claim holds: the intersection of two connected subsets is connected.
Each of is a connected subset of : for instance is the image of under , whose components are a constant map and the identity, hence continuous by [A2], and is connected by [A1]; the other three are the images of , and .
Each of is closed in by [A5], being a product of two closed subsets of , so each equals its own closure.
: each of lies in both and ; and a point of not in has second coordinate and first coordinate strictly between and , so it lies in neither nor nor , hence not in ; symmetrically for .
is connected: is connected by step 1.2, and and are connected and meet , in and respectively; so [A3] applies with as the fixed connected set. Symmetrically is connected, and meeting in and .
and are nonempty, disjoint, and separated in : by step 1.3 each is its own closure, and because a common point would have first coordinate both and . So is disconnected by [A4] and step 1.4.
By step 2.1 both and are connected, so the supposed claim of step 1.1 makes connected, contradicting step 2.2. The claim is therefore false.
Remarks
-
Nonemptiness is not the missing hypothesis. In the witness is nonempty, and it is even a union of two connected sets — they simply do not meet. Nor does convexity of the pieces help: each of and is a union of three straight segments.
-
Why unions behave and intersections do not. [A3] works because a point common to two connected sets welds them: a continuous two-valued function must agree on both. An intersection has no such welding point available, and indeed the intersection of two connected sets can be split as badly as one likes; taking longer chains of segments makes a union of any number of disjoint segments while keeping and connected.
-
Both witnesses are as simple as the plane allows. and are the boundary of the unit square with one side removed, in the two ways of doing so that leave the two vertical sides. Each is path-connected, hence connected by Every path-connected space is connected, and every path component lies inside a component and Paths, path-connected spaces and path components, so the failure has nothing to do with the pathologies of the zigzag curve elsewhere on this page.
FALSE: a totally disconnected space carries the discrete topology
Statement
False claim: if every connected component of a topological space is a single point (Connected components, quasicomponents, and totally disconnected spaces) then the space carries the discrete topology (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
The implication holds in the other direction — a discrete space is totally disconnected, as Connected components, quasicomponents, and totally disconnected spaces shows — and it is that true statement which the false one attempts to reverse.
Witness. The set of rationals inside , as a subspace of the usual topology (Both and are dense in , and every nonempty open subset of is uncountable, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not). Every component of is a single point, and no singleton is open in , so the topology is not discrete.
Here denotes the copy of the rationals inside (Both and are dense in , and every nonempty open subset of is uncountable).
Facts & Assumptions
Given: with its usual topology and the subspace .
A subset of is a connected subset exactly when it is order-convex, that is when it contains every real lying between two of its points (The connected subspaces of with its usual topology are exactly the order-convex subsets, the published characterisation transported by the identification of the two descriptions of "open in ", Intervals of : the nine order-convex forms, nondegeneracy, and length, Separation of a topological space, connected and disconnected spaces, clopen sets, and connected subsets).
The subspace topology is transitive: for the topology inherits from is the one it inherits from (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
Both and are dense in : every nonempty open interval of contains a rational and an irrational (Both and are dense in , and every nonempty open subset of is uncountable, ℚ is dense in every Archimedean ordered field).
and a subset is open exactly when each of its points has such a ball inside it; the open sets of the subspace are the traces (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, Open ball, closed ball and sphere in a metric space, The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement, Metrizable space: a topological space whose topology is induced by some metric; metrizability is topological, the metric is not, Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace, Intervals of : the nine order-convex forms, nondegeneracy, and length).
In the discrete topology every subset is open, in particular every singleton (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies, Topology on a set, open and closed sets, clopen sets, the closed-set axiomatisation, and the coarser/finer comparison).
The component of a point is the largest connected subset containing it, and a space is totally disconnected when every component is a singleton, equivalently when every connected subset has at most one point (Connected components, quasicomponents, and totally disconnected spaces).
Refutation
Suppose, for contradiction, that the claim holds: every totally disconnected space carries the discrete topology.
Let be connected as a subspace of . By [A2] the space is the same whether is regarded as a subspace of or of , so is a connected subset of and hence order-convex by [A1].
The singleton is not open in for any : an open set of containing is a trace with open in , so it contains for some by [A4], and that set contains a rational other than , since is a nonempty open interval and meets by [A3].
has at most one point: if with then order-convexity from step 1.2 puts every real of in , whereas contains an irrational by [A3]. So every connected subset of has at most one point, and is totally disconnected by [A6].
Applying the supposed claim of step 1.1 to makes its topology discrete, so every singleton is open in by [A5].
This contradicts step 1.3. So the claim is false.
Remarks
-
What separates the two notions. Total disconnectedness forbids large connected pieces; discreteness demands that each point be isolated. In every point is a limit of other points, so nothing is isolated, and yet no two points can be joined inside by an order-convex set, because the irrationals block every interval. Both facts hold simultaneously, and step 1.3 and step 2.1 are exactly the two of them.
-
The witness is not exotic. No construction is needed: with its usual topology is the standard example, and the only inputs are the density of the rationals and of the irrationals ([A3]) together with the classification of the connected subsets of the line ([A1]).
-
A second, non-countable witness exists. The set of irrationals, and the Cantor set, are totally disconnected and not discrete for the same reason. The Cantor set case is already recorded elsewhere in the library as The Cantor set contains no interval of positive length yet has no isolated point, so every connected subset of it is a single point, which proves that every connected subset of it is a single point while no point of it is isolated.
Sources
Standard references
Recommended treatments; not extraction sources.
- Order topology (Wikipedia)
- Linear continuum (Wikipedia)
- Connected space (Wikipedia)
- The Stacks Project, Section 5.7: Connected components
- Separated sets (Wikipedia)
- Intermediate value theorem (Wikipedia)
- The Stacks Project, Lemma 5.7.3
- Product topology (Wikipedia)
- Paul Bankston, Metric Topology: A First Course
- General topology (Wikipedia)
- Totally disconnected space (Wikipedia)
- Locally connected space (Wikipedia)
- Path (topology) (Wikipedia)
- Keith Conrad, Spaces That Are Connected but Not Path-Connected
- Long line (topology) (Wikipedia)
- MIT OpenCourseWare, The Long Line
- Topologist's sine curve (Wikipedia)
- Discrete space (Wikipedia)