To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

# Connected space

Connected and disconnected subspaces of R²
From top to bottom: red space A, pink space B, yellow space C and orange space D are all connected spaces, whereas green space E (made of subsets E1, E2, E3, and E4) is disconnected. Furthermore, A and B are also simply connected (genus 0), while C and D are not: C has genus 1 and D has genus 4.

In topology and related branches of mathematics, a connected space is a topological space that cannot be represented as the union of two or more disjoint non-empty open subsets. Connectedness is one of the principal topological properties that are used to distinguish topological spaces.

A subset of a topological space ${\displaystyle X}$ is a connected set if it is a connected space when viewed as a subspace of ${\displaystyle X}$.

Some related but stronger conditions are path connected, simply connected, and ${\displaystyle n}$-connected. Another related notion is locally connected, which neither implies nor follows from connectedness.

• 1/5
Views:
1 373
7 603
2 567
3 704
482
• connected space vs disconnected space with examples
• Lecture 46 | Connected and Disconnected spaces | Topology by James R munkre
• Connected Spaces
• Topology | Connectedness | Connected Space | Disconnected Space | Theorems
• Separated sets | Disconnected space | Connected space

## Formal definition

A topological space ${\displaystyle X}$ is said to be disconnected if it is the union of two disjoint non-empty open sets. Otherwise, ${\displaystyle X}$ is said to be connected. A subset of a topological space is said to be connected if it is connected under its subspace topology. Some authors exclude the empty set (with its unique topology) as a connected space, but this article does not follow that practice.

For a topological space ${\displaystyle X}$ the following conditions are equivalent:

1. ${\displaystyle X}$ is connected, that is, it cannot be divided into two disjoint non-empty open sets.
2. The only subsets of ${\displaystyle X}$ which are both open and closed (clopen sets) are ${\displaystyle X}$ and the empty set.
3. The only subsets of ${\displaystyle X}$ with empty boundary are ${\displaystyle X}$ and the empty set.
4. ${\displaystyle X}$ cannot be written as the union of two non-empty separated sets (sets for which each is disjoint from the other's closure).
5. All continuous functions from ${\displaystyle X}$ to ${\displaystyle \{0,1\}}$ are constant, where ${\displaystyle \{0,1\}}$ is the two-point space endowed with the discrete topology.

Historically this modern formulation of the notion of connectedness (in terms of no partition of ${\displaystyle X}$ into two separated sets) first appeared (independently) with N.J. Lennes, Frigyes Riesz, and Felix Hausdorff at the beginning of the 20th century. See [1] for details.

### Connected components

Given some point ${\displaystyle x}$ in a topological space ${\displaystyle X,}$ the union of any collection of connected subsets such that each contained ${\displaystyle x}$ will once again be a connected subset. The connected component of a point ${\displaystyle x}$ in ${\displaystyle X}$ is the union of all connected subsets of ${\displaystyle X}$ that contain ${\displaystyle x;}$ it is the unique largest (with respect to ${\displaystyle \subseteq }$) connected subset of ${\displaystyle X}$ that contains ${\displaystyle x.}$ The maximal connected subsets (ordered by inclusion ${\displaystyle \subseteq }$) of a non-empty topological space are called the connected components of the space. The components of any topological space ${\displaystyle X}$ form a partition of ${\displaystyle X}$: they are disjoint, non-empty and their union is the whole space. Every component is a closed subset of the original space. It follows that, in the case where their number is finite, each component is also an open subset. However, if their number is infinite, this might not be the case; for instance, the connected components of the set of the rational numbers are the one-point sets (singletons), which are not open. Proof: Any two distinct rational numbers ${\displaystyle q_{1} are in different components. Take an irrational number ${\displaystyle q_{1} and then set ${\displaystyle A=\{q\in \mathbb {Q} :q and ${\displaystyle B=\{q\in \mathbb {Q} :q>r\}.}$ Then ${\displaystyle (A,B)}$ is a separation of ${\displaystyle \mathbb {Q} ,}$ and ${\displaystyle q_{1}\in A,q_{2}\in B}$. Thus each component is a one-point set.

Let ${\displaystyle \Gamma _{x}}$ be the connected component of ${\displaystyle x}$ in a topological space ${\displaystyle X,}$ and ${\displaystyle \Gamma _{x}'}$ be the intersection of all clopen sets containing ${\displaystyle x}$ (called quasi-component of ${\displaystyle x.}$) Then ${\displaystyle \Gamma _{x}\subset \Gamma '_{x}}$ where the equality holds if ${\displaystyle X}$ is compact Hausdorff or locally connected. [2]

### Disconnected spaces

A space in which all components are one-point sets is called totally disconnected. Related to this property, a space ${\displaystyle X}$ is called totally separated if, for any two distinct elements ${\displaystyle x}$ and ${\displaystyle y}$ of ${\displaystyle X}$, there exist disjoint open sets ${\displaystyle U}$ containing ${\displaystyle x}$ and ${\displaystyle V}$ containing ${\displaystyle y}$ such that ${\displaystyle X}$ is the union of ${\displaystyle U}$ and ${\displaystyle V}$. Clearly, any totally separated space is totally disconnected, but the converse does not hold. For example take two copies of the rational numbers ${\displaystyle \mathbb {Q} }$, and identify them at every point except zero. The resulting space, with the quotient topology, is totally disconnected. However, by considering the two copies of zero, one sees that the space is not totally separated. In fact, it is not even Hausdorff, and the condition of being totally separated is strictly stronger than the condition of being Hausdorff.

## Examples

• The closed interval ${\displaystyle [0,2)}$ in the standard subspace topology is connected; although it can, for example, be written as the union of ${\displaystyle [0,1)}$ and ${\displaystyle [1,2),}$ the second set is not open in the chosen topology of ${\displaystyle [0,2).}$
• The union of ${\displaystyle [0,1)}$ and ${\displaystyle (1,2]}$ is disconnected; both of these intervals are open in the standard topological space ${\displaystyle [0,1)\cup (1,2].}$
• ${\displaystyle (0,1)\cup \{3\}}$ is disconnected.
• A convex subset of ${\displaystyle \mathbb {R} ^{n}}$ is connected; it is actually simply connected.
• A Euclidean plane excluding the origin, ${\displaystyle (0,0),}$ is connected, but is not simply connected. The three-dimensional Euclidean space without the origin is connected, and even simply connected. In contrast, the one-dimensional Euclidean space without the origin is not connected.
• A Euclidean plane with a straight line removed is not connected since it consists of two half-planes.
• ${\displaystyle \mathbb {R} }$, the space of real numbers with the usual topology, is connected.
• The Sorgenfrey line is disconnected.[3]
• If even a single point is removed from ${\displaystyle \mathbb {R} }$, the remainder is disconnected. However, if even a countable infinity of points are removed from ${\displaystyle \mathbb {R} ^{n}}$, where ${\displaystyle n\geq 2,}$ the remainder is connected. If ${\displaystyle n\geq 3}$, then ${\displaystyle \mathbb {R} ^{n}}$ remains simply connected after removal of countably many points.
• Any topological vector space, e.g. any Hilbert space or Banach space, over a connected field (such as ${\displaystyle \mathbb {R} }$ or ${\displaystyle \mathbb {C} }$), is simply connected.
• Every discrete topological space with at least two elements is disconnected, in fact such a space is totally disconnected. The simplest example is the discrete two-point space.[4]
• On the other hand, a finite set might be connected. For example, the spectrum of a discrete valuation ring consists of two points and is connected. It is an example of a Sierpiński space.
• The Cantor set is totally disconnected; since the set contains uncountably many points, it has uncountably many components.
• If a space ${\displaystyle X}$ is homotopy equivalent to a connected space, then ${\displaystyle X}$ is itself connected.
• The topologist's sine curve is an example of a set that is connected but is neither path connected nor locally connected.
• The general linear group ${\displaystyle \operatorname {GL} (n,\mathbb {R} )}$ (that is, the group of ${\displaystyle n}$-by-${\displaystyle n}$ real, invertible matrices) consists of two connected components: the one with matrices of positive determinant and the other of negative determinant. In particular, it is not connected. In contrast, ${\displaystyle \operatorname {GL} (n,\mathbb {C} )}$ is connected. More generally, the set of invertible bounded operators on a complex Hilbert space is connected.
• The spectra of commutative local ring and integral domains are connected. More generally, the following are equivalent[5]
1. The spectrum of a commutative ring ${\displaystyle R}$ is connected
2. Every finitely generated projective module over ${\displaystyle R}$ has constant rank.
3. ${\displaystyle R}$ has no idempotent ${\displaystyle \neq 0,1}$ (i.e., ${\displaystyle R}$ is not a product of two rings in a nontrivial way).

An example of a space that is not connected is a plane with an infinite line deleted from it. Other examples of disconnected spaces (that is, spaces which are not connected) include the plane with an annulus removed, as well as the union of two disjoint closed disks, where all examples of this paragraph bear the subspace topology induced by two-dimensional Euclidean space.

## Path connectedness

A path-connected space is a stronger notion of connectedness, requiring the structure of a path. A path from a point ${\displaystyle x}$ to a point ${\displaystyle y}$ in a topological space ${\displaystyle X}$ is a continuous function ${\displaystyle f}$ from the unit interval ${\displaystyle [0,1]}$ to ${\displaystyle X}$ with ${\displaystyle f(0)=x}$ and ${\displaystyle f(1)=y}$. A path-component of ${\displaystyle X}$ is an equivalence class of ${\displaystyle X}$ under the equivalence relation which makes ${\displaystyle x}$ equivalent to ${\displaystyle y}$ if there is a path from ${\displaystyle x}$ to ${\displaystyle y}$. The space ${\displaystyle X}$ is said to be path-connected (or pathwise connected or ${\displaystyle \mathbf {0} }$-connected) if there is exactly one path-component. For non-empty spaces, this is equivalent to the statement that there is a path joining any two points in ${\displaystyle X}$. Again, many authors exclude the empty space.

Every path-connected space is connected. The converse is not always true: examples of connected spaces that are not path-connected include the extended long line ${\displaystyle L^{*}}$ and the topologist's sine curve.

Subsets of the real line ${\displaystyle \mathbb {R} }$ are connected if and only if they are path-connected; these subsets are the intervals and rays of ${\displaystyle \mathbb {R} }$. Also, open subsets of ${\displaystyle \mathbb {R} ^{n}}$ or ${\displaystyle \mathbb {C} ^{n}}$ are connected if and only if they are path-connected. Additionally, connectedness and path-connectedness are the same for finite topological spaces.

## Arc connectedness

A space ${\displaystyle X}$ is said to be arc-connected or arcwise connected if any two topologically distinguishable points can be joined by an arc, which is an embedding ${\displaystyle f:[0,1]\to X}$. An arc-component of ${\displaystyle X}$ is a maximal arc-connected subset of ${\displaystyle X}$; or equivalently an equivalence class of the equivalence relation of whether two points can be joined by an arc or by a path whose points are topologically indistinguishable.

Every Hausdorff space that is path-connected is also arc-connected; more generally this is true for a ${\displaystyle \Delta }$-Hausdorff space, which is a space where each image of a path is closed. An example of a space which is path-connected but not arc-connected is given by the line with two origins; its two copies of ${\displaystyle 0}$ can be connected by a path but not by an arc.

Intuition for path-connected spaces does not readily transfer to arc-connected spaces. Let ${\displaystyle X}$ be the line with two origins. The following are facts whose analogues hold for path-connected spaces, but do not hold for arc-connected spaces:

• Continuous image of arc-connected space may not be arc-connected: for example, a quotient map from an arc-connected space to its quotient with countably many (at least 2) topologically distinguishable points cannot be arc-connected due to too small cardinality.
• Arc-components may not be disjoint. For example, ${\displaystyle X}$ has two overlapping arc-components.
• Arc-connected product space may not be a product of arc-connected spaces. For example, ${\displaystyle X\times \mathbb {R} }$ is arc-connected, but ${\displaystyle X}$ is not.
• Arc-components of a product space may not be products of arc-components of the marginal spaces. For example, ${\displaystyle X\times \mathbb {R} }$ has a single arc-component, but ${\displaystyle X}$ has two arc-components.
• If arc-connected subsets have a non-empty intersection, then their union may not be arc-connected. For example, the arc-components of ${\displaystyle X}$ intersect, but their union is not arc-connected.

## Local connectedness

A topological space is said to be locally connected at a point ${\displaystyle x}$ if every neighbourhood of ${\displaystyle x}$ contains a connected open neighbourhood. It is locally connected if it has a base of connected sets. It can be shown that a space ${\displaystyle X}$ is locally connected if and only if every component of every open set of ${\displaystyle X}$ is open.

Similarly, a topological space is said to be locally path-connected if it has a base of path-connected sets. An open subset of a locally path-connected space is connected if and only if it is path-connected. This generalizes the earlier statement about ${\displaystyle \mathbb {R} ^{n}}$ and ${\displaystyle \mathbb {C} ^{n}}$, each of which is locally path-connected. More generally, any topological manifold is locally path-connected.

Locally connected does not imply connected, nor does locally path-connected imply path connected. A simple example of a locally connected (and locally path-connected) space that is not connected (or path-connected) is the union of two separated intervals in ${\displaystyle \mathbb {R} }$, such as ${\displaystyle (0,1)\cup (2,3)}$.

A classical example of a connected space that is not locally connected is the so called topologist's sine curve, defined as ${\displaystyle T=\{(0,0)\}\cup \left\{\left(x,\sin \left({\tfrac {1}{x}}\right)\right):x\in (0,1]\right\}}$, with the Euclidean topology induced by inclusion in ${\displaystyle \mathbb {R} ^{2}}$.

## Set operations

The intersection of connected sets is not necessarily connected.

The union of connected sets is not necessarily connected, as can be seen by considering ${\displaystyle X=(0,1)\cup (1,2)}$.

Each ellipse is a connected set, but the union is not connected, since it can be partitioned to two disjoint open sets ${\displaystyle U}$ and ${\displaystyle V}$.

This means that, if the union ${\displaystyle X}$ is disconnected, then the collection ${\displaystyle \{X_{i}\}}$ can be partitioned to two sub-collections, such that the unions of the sub-collections are disjoint and open in ${\displaystyle X}$ (see picture). This implies that in several cases, a union of connected sets is necessarily connected. In particular:

1. If the common intersection of all sets is not empty (${\textstyle \bigcap X_{i}\neq \emptyset }$), then obviously they cannot be partitioned to collections with disjoint unions. Hence the union of connected sets with non-empty intersection is connected.
2. If the intersection of each pair of sets is not empty (${\displaystyle \forall i,j:X_{i}\cap X_{j}\neq \emptyset }$) then again they cannot be partitioned to collections with disjoint unions, so their union must be connected.
3. If the sets can be ordered as a "linked chain", i.e. indexed by integer indices and ${\displaystyle \forall i:X_{i}\cap X_{i+1}\neq \emptyset }$, then again their union must be connected.
4. If the sets are pairwise-disjoint and the quotient space ${\displaystyle X/\{X_{i}\}}$ is connected, then X must be connected. Otherwise, if ${\displaystyle U\cup V}$ is a separation of X then ${\displaystyle q(U)\cup q(V)}$ is a separation of the quotient space (since ${\displaystyle q(U),q(V)}$ are disjoint and open in the quotient space).[6]

The set difference of connected sets is not necessarily connected. However, if ${\displaystyle X\supseteq Y}$ and their difference ${\displaystyle X\setminus Y}$ is disconnected (and thus can be written as a union of two open sets ${\displaystyle X_{1}}$ and ${\displaystyle X_{2}}$), then the union of ${\displaystyle Y}$ with each such component is connected (i.e. ${\displaystyle Y\cup X_{i}}$ is connected for all ${\displaystyle i}$).

Proof[7]

By contradiction, suppose ${\displaystyle Y\cup X_{1}}$ is not connected. So it can be written as the union of two disjoint open sets, e.g. ${\displaystyle Y\cup X_{1}=Z_{1}\cup Z_{2}}$. Because ${\displaystyle Y}$ is connected, it must be entirely contained in one of these components, say ${\displaystyle Z_{1}}$, and thus ${\displaystyle Z_{2}}$ is contained in ${\displaystyle X_{1}}$. Now we know that:

${\displaystyle X=\left(Y\cup X_{1}\right)\cup X_{2}=\left(Z_{1}\cup Z_{2}\right)\cup X_{2}=\left(Z_{1}\cup X_{2}\right)\cup \left(Z_{2}\cap X_{1}\right)}$
The two sets in the last union are disjoint and open in ${\displaystyle X}$, so there is a separation of ${\displaystyle X}$, contradicting the fact that ${\displaystyle X}$ is connected.

## Theorems

• Main theorem of connectedness: Let ${\displaystyle X}$ and ${\displaystyle Y}$ be topological spaces and let ${\displaystyle f:X\rightarrow Y}$ be a continuous function. If ${\displaystyle X}$ is (path-)connected then the image ${\displaystyle f(X)}$ is (path-)connected. This result can be considered a generalization of the intermediate value theorem.
• Every path-connected space is connected.
• In a locally path-connected space, every open connected set is path-connected.
• Every locally path-connected space is locally connected.
• A locally path-connected space is path-connected if and only if it is connected.
• The closure of a connected subset is connected. Furthermore, any subset between a connected subset and its closure is connected.
• The connected components are always closed (but in general not open)
• The connected components of a locally connected space are also open.
• The connected components of a space are disjoint unions of the path-connected components (which in general are neither open nor closed).
• Every quotient of a connected (resp. locally connected, path-connected, locally path-connected) space is connected (resp. locally connected, path-connected, locally path-connected).
• Every product of a family of connected (resp. path-connected) spaces is connected (resp. path-connected).
• Every open subset of a locally connected (resp. locally path-connected) space is locally connected (resp. locally path-connected).
• Every manifold is locally path-connected.
• Arc-wise connected space is path connected, but path-wise connected space may not be arc-wise connected
• Continuous image of arc-wise connected set is arc-wise connected.

## Graphs

Graphs have path connected subsets, namely those subsets for which every pair of points has a path of edges joining them. But it is not always possible to find a topology on the set of points which induces the same connected sets. The 5-cycle graph (and any ${\displaystyle n}$-cycle with ${\displaystyle n>3}$ odd) is one such example.

As a consequence, a notion of connectedness can be formulated independently of the topology on a space. To wit, there is a category of connective spaces consisting of sets with collections of connected subsets satisfying connectivity axioms; their morphisms are those functions which map connected sets to connected sets (Muscat & Buhagiar 2006). Topological spaces and graphs are special cases of connective spaces; indeed, the finite connective spaces are precisely the finite graphs.

However, every graph can be canonically made into a topological space, by treating vertices as points and edges as copies of the unit interval (see topological graph theory#Graphs as topological spaces). Then one can show that the graph is connected (in the graph theoretical sense) if and only if it is connected as a topological space.

## Stronger forms of connectedness

There are stronger forms of connectedness for topological spaces, for instance:

• If there exist no two disjoint non-empty open sets in a topological space ${\displaystyle X}$, ${\displaystyle X}$ must be connected, and thus hyperconnected spaces are also connected.
• Since a simply connected space is, by definition, also required to be path connected, any simply connected space is also connected. If the "path connectedness" requirement is dropped from the definition of simple connectivity, a simply connected space does not need to be connected.
• Yet stronger versions of connectivity include the notion of a contractible space. Every contractible space is path connected and thus also connected.

In general, any path connected space must be connected but there exist connected spaces that are not path connected. The deleted comb space furnishes such an example, as does the above-mentioned topologist's sine curve.

## References

1. ^ Wilder, R.L. (1978). "Evolution of the Topological Concept of "Connected"". American Mathematical Monthly. 85 (9): 720–726. doi:10.2307/2321676. JSTOR 2321676.
2. ^
3. ^ Stephen Willard (1970). General Topology. Dover. p. 191. ISBN 0-486-43479-6.
4. ^ George F. Simmons (1968). Introduction to Topology and Modern Analysis. McGraw Hill Book Company. p. 144. ISBN 0-89874-551-9.
5. ^
6. ^ Brandsma, Henno (February 13, 2013). "How to prove this result involving the quotient maps and connectedness?". Stack Exchange.
7. ^ Marek (February 13, 2013). "How to prove this result about connectedness?". Stack Exchange.