In

^{n} is connected; it is actually Simply connected set, simply connected.
* A Euclidean space, Euclidean plane excluding the origin, $(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.
* R, The space of real numbers with the usual topology, is connected.
* The Lower limit topology, Sorgenfrey line is disconnected.
* If even a single point is removed from R, the remainder is disconnected. However, if even a countable infinity of points are removed from $\backslash R^n$, where $n\; \backslash geq\; 2,$ the remainder is connected. If , then $\backslash 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 $\backslash R$ or $\backslash Complex$), is simply connected.
* Every discrete topological space with at least two elements is disconnected, in fact such a space is Totally disconnected space, totally disconnected. The simplest example is the discrete two-point space.
* 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 ''X'' is Homotopy, homotopy equivalent to a connected space, then ''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 $\backslash operatorname(n,\; \backslash R)$ (that is, the group of ''n''-by-''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, $\backslash operatorname(n,\; \backslash Complex)$ 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
*# The spectrum of a commutative ring ''R'' is connected
*# Every finitely generated projective module over ''R'' has constant rank.
*# ''R'' has no idempotent $\backslash ne\; 0,\; 1$ (i.e., ''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 (mathematics), annulus removed, as well as the union of two disjoint closed Disk (mathematics), disks, where all examples of this paragraph bear the Subspace (topology), subspace topology induced by two-dimensional Euclidean space.

^{''n''} or C^{''n''} are connected if and only if they are path-connected.
Additionally, connectedness and path-connectedness are the same for finite topological spaces.

^{''n''} and 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 sets, separated intervals in $\backslash R$, such as $(0,1)\; \backslash 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 $T\; =\; \backslash \; \backslash cup\; \backslash left\backslash $, with the Euclidean topology Induced topology, induced by inclusion in $\backslash R^2$.

topological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

s, for instance:
* If there exist no two disjoint non-empty open sets in a topological space, ''X'', ''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. Note however, that 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, note that any path connected space must be connected but there exist connected spaces that are not path connected. The Comb space, deleted comb space furnishes such an example, as does the above-mentioned topologist's sine curve.

topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structu ...

and related branches of mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no general consensus abo ...

, a connected space is a topological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

that cannot be represented as the union of two or more disjoint non-empty#REDIRECT Empty set#REDIRECT Empty set
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, chan ...

open subsets. Connectedness is one of the principal topological propertiesIn topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In mathematics, topology (from the Greek language, Greek words , and ) is concerned with the properties of a mathematical object, geometric object ...

that are used to distinguish topological spaces.
A subset of a topological space ''X'' is a if it is a connected space when viewed as a of ''X''.
Some related but stronger conditions are path connected
In topology and related branches of mathematics, a connected space is a topological space that cannot be represented as the union (set theory), union of two or more disjoint set, disjoint Empty set, non-empty open (topology), open subsets. Conne ...

, simply connected
In topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In mathematics, topology (from the Greek language, Greek words , and ) is concerned with the properties of a mathematical object, geometric objec ...

, and n-connected
In the mathematical branch of algebraic topology
250px, A torus, one of the most frequently studied objects in algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. T ...

. Another related notion is locally connected In this topological space, ''V'' is a neighbourhood of ''p'' and it contains a connected open set (the dark green disk) that contains ''p''.
In topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In ...

, which neither implies nor follows from connectedness.
Formal definition

Atopological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

''X'' is said to be if it is the union of two disjoint non-empty open sets. Otherwise, ''X'' is said to be connected. A subset
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical analysis, analysis). ...

of a topological space is said to be connected if it is connected under its subspace topology. Some authors exclude the empty set#REDIRECT Empty set
In mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (mathematical an ...

(with its unique topology) as a connected space, but this article does not follow that practice.
For a topological space ''X'' the following conditions are equivalent:
#''X'' is connected, that is, it cannot be divided into two disjoint non-empty open sets.
#''X'' cannot be divided into two disjoint non-empty closed set
In geometry
Geometry (from the grc, γεωμετρία; ''wikt:γῆ, geo-'' "earth", ''wikt:μέτρον, -metron'' "measurement") is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space th ...

s.
#The only subsets of ''X'' which are both open and closed (clopen set
upright=1.3, A Graph (discrete mathematics), graph with several clopen sets. Each of the three large pieces (i.e. connected component (topology), components) is a clopen set, as is the union of any two or all three.
In topology, a clopen set (a po ...

s) are ''X'' and the empty set.
#The only subsets of ''X'' with empty boundary
Boundary or Boundaries may refer to:
* Border, in political geography
Entertainment
*Boundaries (2016 film), ''Boundaries'' (2016 film), a 2016 Canadian film
*Boundaries (2018 film), ''Boundaries'' (2018 film), a 2018 American-Canadian road trip ...

are ''X'' and the empty set.
#''X'' cannot be written as the union of two non-empty separated sets
In topology and related branches of mathematics
Mathematics (from Ancient Greek, Greek: ) includes the study of such topics as quantity (number theory), mathematical structure, structure (algebra), space (geometry), and calculus, change (ma ...

(sets for which each is disjoint from the other's closure).
#All Continuous function#Continuous functions between topological spaces, continuous functions from ''X'' to $\backslash $ are constant, where $\backslash $ 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 ''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 for details.
Connected components

Given some point $x$ in a topological space $X,$ the union of any collection of connected subset that each contain $x$ will once again be a connected subset. The $x$ in $X$ is the union of all connected subsets of $X$ that contain $x;$ it is the unique largest (with respect to $\backslash subseteq$) connected subset of $X$ that contains $x.$ The Maximal element, maximal connected subsets (ordered by Subset, inclusion $\backslash subseteq$) of a non-empty topological space are called the s of the space. The components of any topological space $X$ form a Partition of a set, partition of $X$: they are Disjoint sets, 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 (Singleton (mathematics), singletons), which are not open. Proof: Any two distinct rational numbers $q\_1math>\; are\; in\; different\; components.\; Take\; an\; irrational\; number$ q\_1\; r\; q\_2,$and\; then\; set$ A\; =\; \backslash $and$ B\; =\; \backslash .$Then$ (A,B)$is\; a\; separation\; of$ \backslash Q,$and$ q\_1\; \backslash in\; A,\; q\_2\; \backslash in\; B$.\; Thus\; each\; component\; is\; a\; one-point\; set.\; Let$ \backslash Gamma\_x$be\; the\; connected\; component\; of$ x$in\; a\; topological\; space$ X,$and$ \backslash Gamma\_x\text{'}$be\; the\; intersection\; of\; all\; clopen\; sets\; containing$ x$(called\; Locally\; connected\; space,\; quasi-component\; of$ x.$)\; Then$ \backslash Gamma\_x\; \backslash subset\; \backslash Gamma\text{'}\_x$where\; the\; equality\; holds\; if$ X$is\; compact\; Hausdorff\; or\; locally\; connected.$Disconnected spaces

A space in which all components are one-point sets is called Totally disconnected space, . Related to this property, a space ''X'' is called if, for any two distinct elements ''x'' and ''y'' of ''X'', there exist disjoint open sets ''U'' containing ''x'' and ''V'' containing ''y'' such that ''X'' is the union of ''U'' and ''V''. Clearly, any totally separated space is totally disconnected, but the converse does not hold. For example take two copies of the rational numbers 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 space, Hausdorff, and the condition of being totally separated is strictly stronger than the condition of being Hausdorff.Examples

* The closed interval $[0,\; 2)$ in the Euclidean space, standard subspace topology is connected; although it can, for example, be written as the union of $[0,\; 1)$ and $[1,\; 2),$ the second set is not open in the chosen topology of $[0,\; 2).$ * The union of $[0,\; 1)$ and $(1,\; 2]$ is disconnected; both of these intervals are open in the standard topological space $[0,\; 1)\; \backslash cup\; (1,\; 2].$ * $(0,\; 1)\; \backslash cup\; \backslash $ is disconnected. * A convex set, convex subset of RPath connectedness

A is a stronger notion of connectedness, requiring the structure of a path. A Path (topology), path from a point ''x'' to a point ''y'' in atopological space
In mathematics
Mathematics (from Greek: ) includes the study of such topics as numbers ( and ), formulas and related structures (), shapes and spaces in which they are contained (), and quantities and their changes ( and ). There is no gener ...

''X'' is a continuous function ''ƒ'' from the unit interval [0,1] to ''X'' with ''ƒ''(0) = ''x'' and ''ƒ''(1) = ''y''. A of ''X'' is an equivalence class of ''X'' under the equivalence relation which makes ''x'' equivalent to ''y'' if there is a path from ''x'' to ''y''. The space ''X'' is said to be path-connected (or pathwise connected or 0-connected) if there is exactly one path-component, i.e. if there is a path joining any two points in ''X''. Again, many authors exclude the empty space (note however that by this definition, the empty space is not path-connected because it has zero path-components; there is a unique equivalence relation on the empty set which has zero equivalence classes).
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 (topology), long line ''L''* and the .
Subsets of the real line R are connected if and only if they are path-connected; these subsets are the interval (mathematics), intervals of R.
Also, open subsets of RArc connectedness

A space ''X'' is said to be or if any two topologically distinguishable points can be joined by an Path (topology), arc, which is an Topological embedding, embedding $f\; :\; [0,\; 1]\; \backslash to\; X$. An arc-component of $X$ is a maximal arc-connected subset of $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 Weak Hausdorff space, Δ-Hausdorff space, which is a space where each image of a Path (topology), 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 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 $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, $X$ has two overlapping arc-components. * Arc-connected product space may not be a product of arc-connected spaces. For example, $X\; \backslash times\; \backslash mathbb$ is arc-connected, but $X$ is not. * Arc-components of a product space may not be products of arc-components of the marginal spaces. For example, $X\; \backslash times\; \backslash mathbb$ has a single arc-component, but $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$X$ intersect, but their union is not arc-connected.Local connectedness

A topological space is said to belocally connected In this topological space, ''V'' is a neighbourhood of ''p'' and it contains a connected open set (the dark green disk) that contains ''p''.
In topology
s, which have only one surface and one edge, are a kind of object studied in topology.
In ...

at a point ''x'' if every neighbourhood of ''x'' contains a connected open neighbourhood. It is locally connected if it has a Base (topology), base of connected sets. It can be shown that a space ''X'' is locally connected if and only if every component of every open set of ''X'' is open.
Similarly, a topological space is said to be 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 RSet 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 $X=(0,1)\; \backslash 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 $U$ and $V$. This means that, if the union $X$ is disconnected, then the collection $\backslash $ can be partitioned to two sub-collections, such that the unions of the sub-collections are disjoint and open in $X$ (see picture). This implies that in several cases, a union of connected sets necessarily connected. In particular: # If the common intersection of all sets is not empty ($\backslash bigcap\; X\_i\; \backslash neq\; \backslash emptyset$), then obviously they cannot be partitioned to collections with disjoint unions. Hence ''the union of connected sets with non-empty intersection is connected''. # If the intersection of each pair of sets is not empty ($\backslash forall\; i,j:\; X\_i\; \backslash cap\; X\_j\; \backslash neq\; \backslash emptyset$) then again they cannot be partitioned to collections with disjoint unions, so their union must be connected. # If the sets can be ordered as a "linked chain", i.e. indexed by integer indices and $\backslash forall\; i:\; X\_i\; \backslash cap\; X\_\; \backslash neq\; \backslash emptyset$, then again their union must be connected. # If the sets are pairwise-disjoint and the Quotient space (topology), quotient space $X\; /\; \backslash $ is connected, then must be connected. Otherwise, if $U\; \backslash cup\; V$ is a separation of then $q(U)\; \backslash cup\; q(V)$ is a separation of the quotient space (since $q(U),\; q(V)$ are disjoint and open in the quotient space). The set difference of connected sets is not necessarily connected. However, if $X\; \backslash supseteq\; Y$ and their difference $X\; \backslash setminus\; Y$ is disconnected (and thus can be written as a union of two open sets $X\_1$ and $X\_2$), then the union of $Y$ with each such component is connected (i.e. $Y\; \backslash cup\; X\_$ is connected for all $i$).Theorems

*Main theorem of connectedness: Let ''X'' and ''Y'' be topological spaces and let ''ƒ'' : ''X'' → ''Y'' be a continuous function. If ''X'' is (path-)connected then the image ''ƒ''(''X'') is (path-)connected. This result can be considered a generalization of the intermediate value theorem. *Every path-connected space is 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 (topology), 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 set, 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 space (topology), 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 topology, 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

Graph (discrete mathematics), 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 cycle graph, 5-cycle graph (and any ''n''-cycle with ''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 . 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 forSee also

*Connected component (graph theory) *Connectedness locus *Extremally disconnected space *Locally connected space *n-connected, ''n''-connected *Uniformly connected space *Pixel connectivityReferences

Further reading

* * * * . {{DEFAULTSORT:Connected Space General topology Properties of topological spaces