In topology and other branches of mathematics, a topological space *X* is
**locally connected** if every point admits a neighbourhood basis consisting entirely of open, connected sets.

## Background

Throughout the history of topology, connectedness and compactness have been two of the most
widely studied topological properties. Indeed, the study of these properties even among subsets of Euclidean space, and the recognition of their independence from the particular form of the Euclidean metric, played a large role in clarifying the notion of a topological property and thus a topological space. However, whereas the structure of *compact* subsets of Euclidean space was understood quite early on via the Heine–Borel theorem, *connected* subsets of (for *n* > 1) proved to be much more complicated. Indeed, while any compact Hausdorff space is locally compact, a connected space—and even a connected subset of the Euclidean plane—need not be locally connected (see below).

This led to a rich vein of research in the first half of the twentieth century, in which topologists studied the implications between increasingly subtle and complex variations on the notion of a locally connected space. As an example, the notion of weak local connectedness at a point and its relation to local connectedness will be considered later on in the article.

In the latter part of the twentieth century, research trends shifted to more intense study of spaces like manifolds, which are locally well understood (being locally homeomorphic to Euclidean space) but have complicated global behavior. By this it is meant that although the basic point-set topology of manifolds is relatively simple (as manifolds are essentially metrizable according to most definitions of the concept), their algebraic topology is far more complex. From this modern perspective, the stronger property of local path connectedness turns out to be more important: for instance, in order for a space to admit a universal cover it must be connected and locally path connected. Local path connectedness will be discussed as well.

A space is locally connected if and only if for every open set *U*, the connected components of *U* (in the subspace topology) are open. It follows, for instance, that a continuous function from a locally connected space to a totally disconnected space must be locally constant. In fact the openness of components is so natural that one must be sure to keep in mind that it is not true in general: for instance Cantor space is totally disconnected but not discrete.

## Definitions and first examples

Let *X* be a topological space, and let *x* be a point of *X*.

We say that *X* is **locally connected at x** if for every open set

*V*containing

*x*there exists a connected, open set

*U*with . The space

*X*is said to be

**locally connected**if it is locally connected at

*x*for all

*x*in

*X*.

^{[1]}Note that local connectedness and connectedness are not related to one another; a space may possess one or both of these properties, or neither.

By contrast, we say that *X* is **weakly locally connected at x** (or

**connected im kleinen at**) if for every open set

*x**V*containing

*x*there exists a connected subset

*N*of

*V*such that

*x*lies in the interior of

*N*. An equivalent definition is: each open set

*V*containing

*x*contains an open neighborhood

*U*of

*x*such that any two points in

*U*lie in some connected subset of

*V*.

^{[2]}The space

*X*is said to be

**weakly locally connected**if it is weakly locally connected at

*x*for all

*x*in

*X*.

In other words, the only difference between the two definitions is that for local connectedness at *x* we require a neighborhood base of *open* connected sets containing *x*, whereas for weak local connectedness at *x* we require only a neighborhood base of connected sets containing *x*.

Evidently a space that is locally connected at *x* is weakly locally connected at *x*. The converse does not hold (a counterexample, the broom space, is given below). On the other hand, it is equally clear that a locally connected space is weakly locally connected, and here it turns out that the converse does hold: a space that is weakly locally connected at all of its points is necessarily locally connected at all of its points.^{[3]} A proof is given below.

We say that *X* is **locally path connected at x** if for every open set

*V*containing

*x*there exists a path connected, open set

*U*with . The space

*X*is said to be

**locally path connected**if it is locally path connected at

*x*for all

*x*in

*X*.

Since path connected spaces are connected, locally path connected spaces are locally connected. This time the converse does not hold (see example 6 below).

### First examples

- For any positive integer
*n*, the Euclidean space is locally path connected, thus locally connected; it is also connected. - More generally, every locally convex topological vector space is locally connected, since each point has a local base of convex (and hence connected) neighborhoods.
- The subspace of the real line is locally path connected but not connected. Since the although the intervals are not open in , they are open in .
- The topologist's sine curve is a subspace of the Euclidean plane that is connected, but not locally connected.
^{[4]} - The space of rational numbers endowed with the standard Euclidean topology, is neither connected nor locally connected.
- The comb space is path connected but not locally path connected.
- A countably infinite set endowed with the cofinite topology is locally connected (indeed, hyperconnected) but not locally path connected.
^{[5]}

Further examples are given later on in the article.

## Properties

- Local connectedness is, by definition, a local property of topological spaces, i.e., a topological property
*P*such that a space*X*possesses property*P*if and only if each point*x*in*X*admits a neighborhood base of sets that have property*P*. Accordingly, all the "metaproperties" held by a local property hold for local connectedness. In particular: - A space is locally connected if and only if it admits a base of connected subsets.
- The disjoint union of a family of spaces is locally connected if and only if each is locally connected. In particular, since a single point is certainly locally connected, it follows that any discrete space is locally connected. On the other hand, a discrete space is totally disconnected, so is connected only if it has at most one point.
- Conversely, a totally disconnected space is locally connected if and only if it is discrete. This can be used to explain the aforementioned fact that the rational numbers are not locally connected.

## Components and path components

The following result follows almost immediately from the definitions but will be quite useful:

Lemma: Let *X* be a space, and a family of subsets of *X*. Suppose that is nonempty. Then, if each is connected (respectively, path connected) then the union is connected (respectively, path connected).^{[6]}

Now consider two relations on a topological space *X*: for , write:

- if there is a connected subset of
*X*containing both*x*and*y*; and - if there is a path connected subset of
*X*containing both*x*and*y*.

Evidently both relations are reflexive and symmetric. Moreover, if *x* and *y* are contained in a connected (respectively, path connected) subset *A* and *y* and *z* are connected in a connected (respectively, path connected) subset *B*, then the Lemma implies that is a connected (respectively, path connected) subset containing *x*, *y* and *z*. Thus each relation is an equivalence relation, and defines a partition of *X* into equivalence classes. We consider these two partitions in turn.

For *x* in *X*, the set of all points *y* such that is called the connected component of *x*.^{[7]} The Lemma implies that is the unique maximal connected subset of *X* containing *x*.^{[8]} Since
the closure of is also a connected subset containing *x*,^{[9]} it follows that is closed.^{[10]}

If *X* has only finitely many connected components, then each component is the complement of a finite union of closed sets and therefore open. In general, the connected components need not be open, since, e.g., there exist totally disconnected spaces (i.e., for all points *x*) that are not discrete, like Cantor space. However, the connected components of a locally connected space are also open, and thus are clopen sets.^{[11]} It follows that a locally connected space *X* is a topological disjoint union of its distinct connected components. Conversely, if for every open subset *U* of *X*, the connected components of *U* are open, then *X* admits a base of connected sets and is therefore locally connected.^{[12]}

Similarly *x* in *X*, the set of all points *y* such that is called the *path component* of *x*.^{[13]} As above, is also the union of all path connected subsets of *X* that contain *x*, so by the Lemma is itself path connected. Because path connected sets are connected, we have for all *x* in *X*.

However the closure of a path connected set need not be path connected: for instance, the topologist's sine curve is the closure of the open subset *U* consisting of all points *(x,y)* with *x > 0*, and *U*, being homeomorphic to an interval on the real line, is certainly path connected. Moreover, the path components of the topologist's sine curve *C* are *U*, which is open but not closed, and , which is closed but not open.

A space is locally path connected if and only if for all open subsets *U*, the path components of *U* are open.^{[13]} Therefore the path components of a locally path connected space give a partition of *X* into pairwise disjoint open sets. It follows that an open connected subspace of a locally path connected space is necessarily path connected.^{[14]} Moreover, if a space is locally path connected, then it is also locally connected, so for all *x* in *X*, is connected and open, hence path connected, i.e., . That is, for a locally path connected space the components and path components coincide.

### Examples

- The set
*I*×*I*(where*I*= [0,1]) in the dictionary order topology has exactly one component (because it is connected) but has uncountably many path components. Indeed, any set of the form {*a*} ×*I*is a path component for each*a*belonging to*I*. - Let
*f*be a continuous map from**R**to**R**_{ℓ}(**R**in the lower limit topology). Since**R**is connected, and the image of a connected space under a continuous map must be connected, the image of**R**under*f*must be connected. Therefore, the image of**R**under*f*must be a subset of a component of**R**_{ℓ}. Since this image is nonempty, the only continuous maps from**R**to**R**_{ℓ}, are the constant maps. In fact, any continuous map from a connected space to a totally disconnected space must be constant.

## Quasicomponents

Let *X* be a topological space. We define a third relation on *X*: if there is no separation of *X* into open sets *A* and *B* such that *x* is an element of *A* and *y* is an element of *B*. This is an equivalence relation on *X* and the equivalence class containing *x* is called the **quasicomponent** of *x*.^{[8]}

can also be characterized as the intersection of all clopen subsets of *X* that contain *x*.^{[8]} Accordingly is closed; in general it need not be open.

Evidently for all *x* in *X*.^{[8]} Overall we have the following containments among path components, components and quasicomponents at *x*:

If *X* is locally connected, then, as above, is a clopen set containing *x*, so and thus . Since local path connectedness implies local connectedness, it follows that at all points *x* of a locally path connected space we have

Another class of spaces for which the quasicomponents agree with the components is the class of compact Hausdorff spaces.

### Examples

- An example of a space whose quasicomponents are not equal to its components is a sequence with a double limit point. This space is totally disconnected, but both limit points lie in the same quasicomponent, because any clopen set containing one of them must contain a tail of the sequence, and thus the other point too.
- The space is locally compact and Hausdorff but the sets and are two different components which lie in the same quasicomponent.
- The Arens–Fort space is not locally connected, but nevertheless the components and the quasicomponents coincide: indeed for all points
*x*.^{[4]}

## More on local connectedness versus weak local connectedness

**Theorem **

Let *X* be a weakly locally connected space. Then *X* is locally connected.

**Proof**

It is sufficient to show that the components of open sets are open. Let *U* be open in *X* and let *C* be a component of *U*. Let *x* be an element of *C*. Then *x* is an element of *U* so that there is a connected subspace *A* of *X* contained in *U* and containing a neighbourhood *V* of *x*. Since *A* is connected and *A* contains *x*, *A* must be a subset of *C* (the component containing *x*). Therefore, the neighbourhood *V* of *x* is a subset of *C*, which shows that *x* is an interior point of *C*. Since *x* was an arbitrary point of *C*, *C* is open in *X*. Therefore, *X* is locally connected.

A certain infinite union of decreasing broom spaces is an example of a space that is weakly locally connected at a particular point, but not locally connected at that point.^{[15]}

## Notes

**^**Willard, Definition 27.4, p. 199**^**Willard, Definition 27.14, p. 201**^**Willard, Theorem 27.16, p. 201- ^
^{a}^{b}Steen & Seebach, pp. 137–138 **^**Steen & Seebach, pp. 49–50**^**Willard, Theorem 26.7a, p. 192**^**Willard, Definition 26.11, p.194- ^
^{a}^{b}^{c}^{d}Willard, Problem 26B, pp. 195–196 **^**Kelley, Theorem 20, p. 54; Willard, Theorem 26.8, p.193**^**Willard, Theorem 26.12, p. 194**^**Willard, Corollary 27.10, p. 200**^**Willard, Theorem 27.9, p. 200- ^
^{a}^{b}Willard, Problem 27D, p. 202 **^**Willard, Theorem 27.5, p. 199**^**Steen & Seebach, example 119.4, p. 139

## See also

- Comb space
- Connected space
- Equivalence relation
- Sorgenfrey line
- Topologist's sine curve
- Totally disconnected space
- Locally simply connected space
- Semi-locally simply connected

## References

- John L. Kelley; General Topology; ISBN 0-387-90125-6
- Munkres, James (1999),
*Topology*(2nd ed.), Prentice Hall, ISBN 0-13-181629-2. - Stephen Willard; General Topology; Dover Publications, 2004.
- Steen, Lynn Arthur; Seebach, J. Arthur Jr. (1995) [1978],
*Counterexamples in Topology*(Dover reprint of 1978 ed.), Mineola, NY: Dover Publications, Inc., ISBN 978-0-486-68735-3, MR 1382863

## Further reading

- Coppin, C. A. (1972), "Continuous Functions from a Connected Locally Connected Space into a Connected Space with a Dispersion Point",
*Proceedings of the American Mathematical Society*, American Mathematical Society,**32**(2): 625–626, doi:10.1090/S0002-9939-1972-0296913-7, JSTOR 2037874. For Hausdorff spaces, it is shown that any continuous function from a connected locally connected space into a connected space with a dispersion point is constant - Davis, H. S. (1968), "A Note on Connectedness Im Kleinen",
*Proceedings of the American Mathematical Society*, American Mathematical Society,**19**(5): 1237–1241, doi:10.1090/s0002-9939-1968-0254814-3, JSTOR 2036067.