In
topology
Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
and related branches of
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a connected space is a
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
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 distinguish topological spaces.
A subset of a topological space
is a
if it is a connected space when viewed as a
subspace of
.
Some related but stronger conditions are
path connected,
simply connected
In topology, a topological space is called simply connected (or 1-connected, or 1-simply connected) if it is path-connected and every Path (topology), path between two points can be continuously transformed into any other such path while preserving ...
, and
-connected. Another related notion is
locally connected, which neither implies nor follows from connectedness.
Formal definition
A
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
is said to be
if it is the union of two disjoint non-empty open sets. Otherwise,
is said to be
connected. A
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
of a topological space is said to be connected if it is connected under its subspace topology. Some authors exclude the
empty set
In mathematics, the empty set or void set is the unique Set (mathematics), set having no Element (mathematics), elements; its size or cardinality (count of elements in a set) is 0, zero. Some axiomatic set theories ensure that the empty set exi ...
(with its unique topology) as a connected space, but this article does not follow that practice.
For a topological space
the following conditions are equivalent:
#
is connected, that is, it cannot be divided into two disjoint non-empty open sets.
#The only subsets of
which are both open and closed (
clopen sets) are
and the empty set.
#The only subsets of
with empty
boundary are
and the empty set.
#
cannot be written as the union of two non-empty
separated sets (sets for which each is disjoint from the other's closure).
#All
continuous functions from
to
are constant, where
is the two-point space endowed with the
discrete topology
In topology, a discrete space is a particularly simple example of a topological space or similar structure, one in which the points form a , meaning they are '' isolated'' from each other in a certain sense. The discrete topology is the finest to ...
.
Historically this modern formulation of the notion of connectedness (in terms of no partition of
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
in a topological space
the union of any collection of connected subsets such that each contains
will once again be a connected subset.
The
connected component of a point in
is the union of all connected subsets of
that contain
it is the unique largest (with respect to
) connected subset of
that contains
The
maximal connected subsets (ordered by
inclusion ) of a non-empty topological space are called the
connected components of the space.
The components of any topological space
form a
partition of
: 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 number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example,
The set of all ...
s are the one-point sets (
singletons), which are not open. Proof: Any two distinct rational numbers