Fiveable

🧠Thinking Like a Mathematician Unit 8 Review

QR code for Thinking Like a Mathematician practice questions

8.7 Connectedness

8.7 Connectedness

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🧠Thinking Like a Mathematician
Unit & Topic Study Guides

Connectedness is a fundamental concept in topology that explores whether a mathematical space is "all one piece" or can be split apart. It plays a crucial role in proving important theorems across analysis, topology, and applied math, and it gives mathematicians a precise way to talk about the structure of spaces.

This topic covers the formal definition of connectedness, its several variations (path connectedness, simple connectedness, local connectedness), key properties, and how connectedness shows up in different mathematical settings.

Definition of connectedness

At its core, connectedness captures whether a space can be split into two separate pieces. A connected space is one that can't be pulled apart into two non-empty open sets that don't overlap. This idea shows up constantly in topology and analysis, from proving the Intermediate Value Theorem to classifying surfaces.

Intuitive understanding

Think of a connected space as a single piece of paper. You can't divide it into two separate sheets without tearing it. A disconnected space, by contrast, is like two separate sheets sitting on a table: they're already apart, no tearing needed.

This intuition applies to many mathematical objects. A closed interval on the real line, a circle, and a solid sphere are all connected. But two disjoint intervals sitting apart on the number line? That's disconnected.

Formal mathematical definition

A topological space XX is connected if there do not exist two non-empty open sets AA and BB such that:

  • X=ABX = A \cup B
  • AB=A \cap B = \emptyset

If you can find such AA and BB, the space is disconnected, and the pair (A,B)(A, B) is called a separation of XX.

There's an equivalent definition using closed sets: just replace "open" with "closed" everywhere above, and the statement still holds. Connectedness is also preserved under continuous functions and homeomorphisms, which makes it a topological invariant.

Connected vs disconnected sets

Connected sets form a single, unbroken piece. Some key examples:

  • Connected: Any interval on the real line (open, closed, or half-open), the real numbers R\mathbb{R} with the standard topology, solid geometric shapes like disks and spheres
  • Disconnected: The union of two disjoint intervals like (1,0)(1,2)(-1, 0) \cup (1, 2), the set of integers Z\mathbb{Z} with the subspace topology (each integer is isolated from the others)

The real line R\mathbb{R} is connected because there's no way to split it into two disjoint non-empty open sets. The integers, on the other hand, fall apart into individual points, each of which is its own open set in the subspace topology.

Types of connectedness

Not all forms of "hanging together" are the same. Topology distinguishes several types of connectedness, each capturing a different degree of how tightly a space holds together. These distinctions matter because they have different implications for what you can prove about a space.

Path connectedness

Path connectedness is a stronger condition than plain connectedness. A space XX is path-connected if for any two points aa and bb in XX, there exists a continuous function f:[0,1]Xf: [0, 1] \rightarrow X with f(0)=af(0) = a and f(1)=bf(1) = b. In other words, you can always draw a continuous curve from any point to any other point without leaving the space.

Every path-connected space is connected, but the reverse isn't always true. The classic counterexample is the topologist's sine curve: the graph of sin(1/x)\sin(1/x) for x>0x > 0 together with the segment {0}×[1,1]\{0\} \times [-1, 1]. This space is connected (you can't separate it into two open pieces), but there's no continuous path from a point on the sine wave to a point on the vertical segment.

Familiar path-connected spaces include line segments, circles, and solid spheres.

Simply connected spaces

A simply connected space goes one step further: not only can you connect any two points with a path, but every loop in the space can be continuously shrunk down to a single point. Formally, a space is simply connected if it is path-connected and its fundamental group (the algebraic object that tracks loops up to continuous deformation) is trivial.

  • Simply connected: The Euclidean plane R2\mathbb{R}^2, the surface of a sphere S2S^2
  • Not simply connected: The torus (a loop going around the hole can't be shrunk to a point), the figure-eight curve (loops around either circle are "stuck")

Simply connected spaces have no "holes" that loops can wrap around, which makes them particularly well-behaved for many purposes in analysis and geometry.

Locally connected spaces

A space is locally connected if every point has arbitrarily small connected neighborhoods. Formally, for every point xx and every open set UU containing xx, there exists a connected open set VV with xVUx \in V \subset U.

Local connectedness and global connectedness are independent properties. The real line and the plane are both locally connected and globally connected. The topologist's sine curve is globally connected but not locally connected: points on the vertical segment don't have small connected neighborhoods that include nearby parts of the sine wave.

Properties of connected sets

Connected sets have several important properties that make them powerful tools in proofs. These properties let you transfer connectedness from one setting to another and draw conclusions about functions defined on connected domains.

Preservation under continuous functions

If f:XYf: X \rightarrow Y is a continuous function and XX is connected, then the image f(X)f(X) is connected in YY. This is one of the most frequently used facts in topology.

The intuition: a continuous function can stretch and bend a space, but it can't tear it apart. So if the domain is one piece, the image must be one piece too. Homeomorphisms (continuous bijections with continuous inverses) preserve connectedness in both directions, which is why connectedness is a topological invariant.

Connectedness in product spaces

The product of connected spaces is connected. If XX and YY are both connected topological spaces, then X×YX \times Y is connected. This generalizes to arbitrary (even infinite) products of connected spaces.

This is useful for building up higher-dimensional connected spaces from lower-dimensional ones. Note the contrast with compactness: Tychonoff's theorem tells us arbitrary products of compact spaces are compact, but the proof is much harder and requires the Axiom of Choice. For connectedness, the result is more straightforward.

Intermediate value theorem

The Intermediate Value Theorem (IVT) is one of the most familiar consequences of connectedness. It states: if f:[a,b]Rf: [a, b] \rightarrow \mathbb{R} is continuous and yy is any value between f(a)f(a) and f(b)f(b), then there exists some c[a,b]c \in [a, b] with f(c)=yf(c) = y.

Why does this follow from connectedness? The interval [a,b][a, b] is connected, so its image under ff must also be connected. Connected subsets of R\mathbb{R} are exactly the intervals. So f([a,b])f([a, b]) is an interval, which means it contains every value between f(a)f(a) and f(b)f(b).

The IVT generalizes: any continuous function from a connected space to R\mathbb{R} satisfies an analogous property. Applications range from finding roots of equations to analyzing dynamical systems.

Intuitive understanding, visualization - Techniques for visualising $n$ dimension spaces - Mathematics Stack Exchange

Topological connectedness

This section looks more closely at how connectedness interacts with the open/closed set structure of a topological space. These tools are essential for actually proving things about connectedness in practice.

Open and closed sets

A set that is simultaneously open and closed is called clopen. In any topological space, the empty set and the whole space are always clopen. A space is connected if and only if these are the only clopen sets.

This gives you a clean equivalent characterization: to show a space is disconnected, find a non-trivial clopen set (one that's neither empty nor the whole space). To show it's connected, prove no such set exists.

Connected components

Every topological space can be broken into its connected components: maximal connected subsets. Here's what you need to know:

  • Every point belongs to exactly one connected component
  • Connected components partition the space (they cover everything and don't overlap)
  • A space is connected if and only if it has exactly one connected component
  • In a discrete space, each individual point is its own connected component

Connected components give you a way to decompose any space into its "connected pieces."

Separation of sets

Two subsets AA and BB of a topological space XX form a separation of XX if:

  1. Both AA and BB are non-empty and open
  2. AA and BB are disjoint (AB=A \cap B = \emptyset)
  3. Their union is the entire space (AB=XA \cup B = X)

A space is connected if and only if no separation exists. When you want to prove a space is disconnected, the strategy is to construct an explicit separation. This concept also generalizes to ideas like local connectedness and the study of connected components.

Applications of connectedness

Connectedness isn't just an abstract property. It shows up in proofs throughout analysis and topology, and it connects to real-world problems in network theory and economics.

Continuity and connectedness

Since continuous functions preserve connectedness, you can use connectedness to deduce properties of continuous functions on connected domains. For example:

  • A continuous real-valued function on a connected domain must have an interval as its range (no "gaps" in the output)
  • Connectedness arguments help establish the existence of solutions to differential equations
  • In dynamical systems, connectedness of phase spaces constrains how trajectories can behave

Fixed point theorems

Several important fixed point theorems rely on connectedness. The Brouwer Fixed Point Theorem states that every continuous function from a convex compact subset of Euclidean space to itself has at least one fixed point. The one-dimensional case of this theorem is essentially the Intermediate Value Theorem, which is a direct consequence of the connectedness of intervals.

These theorems have applications in economics (proving the existence of market equilibria) and game theory (existence of Nash equilibria).

Connectedness in graph theory

Graphs can be viewed through a topological lens. A connected graph corresponds to a path-connected topological space: you can get from any vertex to any other by following edges. Bridges in graph theory (edges whose removal disconnects the graph) are analogous to cut points in topology.

Algorithms for finding connected components in graphs are fundamental in network analysis, from social networks to communication infrastructure.

Methods for proving connectedness

Proving that a space is connected (or disconnected) requires choosing the right strategy for the situation. Here are the main approaches.

Direct proofs

  1. For path-connectedness: Explicitly construct a continuous path between any two arbitrary points in the space
  2. For connectedness: Show directly that no separation can exist, often by assuming you have open sets AA and BB with X=ABX = A \cup B and AB=A \cap B = \emptyset, then showing one must be empty
  3. Via continuous functions: If your space is the continuous image of a known connected space, it's automatically connected

Direct proofs work best when the space has enough structure that you can write down paths or argue about open sets explicitly.

Contradiction proofs

When direct construction is hard, assume the space is disconnected and work toward a contradiction. This often involves:

  1. Assuming a separation (A,B)(A, B) exists
  2. Using properties of the space (continuity, compactness, specific structure) to derive constraints on AA and BB
  3. Showing those constraints force AA or BB to be empty, contradicting the assumption

This technique is especially powerful for complex spaces where the structure isn't easy to visualize.

Intuitive understanding, general topology - Simply connected and connected in complex analysis - Mathematics Stack Exchange

Induction proofs

Induction works well for spaces built up recursively or as increasing unions:

  • If C1C2C3C_1 \subset C_2 \subset C_3 \subset \cdots are connected sets, and consecutive sets overlap, then Cn\bigcup C_n is connected
  • In graph theory, induction on the number of vertices or edges is a standard technique
  • For fractal or self-similar structures, induction captures the recursive construction process

Connectedness in different spaces

Connectedness looks different depending on the space you're working in. Here's how it plays out in some important settings.

Real line connectedness

The connected subsets of R\mathbb{R} are exactly the intervals (including rays and R\mathbb{R} itself). This is a foundational result.

  • Any union of overlapping intervals is connected
  • The rational numbers Q\mathbb{Q} are disconnected as a subspace of R\mathbb{R} (you can always separate rationals using an irrational cut)
  • The irrational numbers are also disconnected as a subspace
  • The Cantor set is a totally disconnected subset of [0,1][0, 1]: its only connected subsets are individual points

Plane connectedness

In R2\mathbb{R}^2, connectedness gets richer:

  • Simply connected regions have no holes. Star-shaped domains (where one point can "see" every other point via a straight line segment inside the domain) are always simply connected.
  • The Jordan Curve Theorem says that a simple closed curve in the plane divides it into exactly two connected components: a bounded interior and an unbounded exterior.
  • The punctured plane (R2\mathbb{R}^2 minus a point) is connected but not simply connected, since a loop around the missing point can't be shrunk to a point.

Higher dimensional connectedness

Many concepts from lower dimensions generalize, but new phenomena appear:

  • Spheres SnS^n and balls BnB^n in all dimensions are connected and simply connected (for n2n \geq 2 in the case of spheres)
  • Complements of subspaces behave differently: removing a point from Rn\mathbb{R}^n leaves a connected space for n2n \geq 2, but disconnects R1\mathbb{R}^1
  • In dimensions 7 and higher, exotic spheres exist: spaces that are homeomorphic to the standard sphere but not diffeomorphic to it, showing that smooth structure adds subtlety beyond topology
  • Manifolds provide a rich setting for studying all types of connectedness

Disconnected spaces

Studying disconnected spaces clarifies what connectedness really means and provides essential counterexamples.

Discrete topologies

In a discrete topology, every subset is open (and therefore also closed). This makes every subset clopen, so the space is as disconnected as possible. The only connected subsets are individual points. Discrete topologies are the natural setting for finite sets and combinatorial structures.

Totally disconnected spaces

A space is totally disconnected if its only connected subsets are single points. These spaces are more "shattered" than merely disconnected. Important examples:

  • The Cantor set: uncountable, yet every connected subset is a single point
  • The pp-adic numbers: a totally disconnected metric space that's fundamental in number theory
  • These spaces arise naturally in number theory, algebraic geometry, and descriptive set theory

Cantor set

The Cantor set deserves special attention as a rich source of counterexamples:

  1. Construction: Start with [0,1][0, 1]. Remove the open middle third (1/3,2/3)(1/3, 2/3). Remove the middle thirds of the two remaining intervals. Repeat infinitely.
  2. Properties: It has measure zero (the total length removed adds up to 1), yet it's uncountable, having the same cardinality as R\mathbb{R}
  3. Topology: It's totally disconnected, compact, and has a self-similar fractal structure
  4. Universal property: It's homeomorphic to the product of countably many copies of the two-point discrete space, making it a "universal" totally disconnected compact metric space

Relationship to other concepts

Connectedness doesn't exist in isolation. Understanding how it relates to other topological properties helps you see the bigger picture.

Connectedness vs compactness

These two properties are completely independent:

  • Compact but not connected: A finite discrete space (e.g., {0,1}\{0, 1\} with the discrete topology)
  • Connected but not compact: The real line R\mathbb{R}
  • Both: The closed interval [0,1][0, 1]
  • Neither: The union of open intervals (0,1)(2,3)(0, 1) \cup (2, 3)

Both properties are preserved under continuous functions. Spaces that are both compact and connected are called continua and have special importance in topology.

Connectedness vs completeness

Completeness (every Cauchy sequence converges) is a metric space property, while connectedness is purely topological. They're independent:

  • Connected but not complete: The open interval (0,1)(0, 1)
  • Complete but not connected: The integers Z\mathbb{Z} with the usual metric
  • Both: The real line R\mathbb{R}

Completeness is defined using the metric, so it depends on which metric you choose. Connectedness depends only on the topology.

Connectedness in metric spaces

Metric spaces provide extra structure that tightens the relationship between different types of connectedness:

  • Connectedness is still equivalent to having no non-trivial clopen sets
  • In locally path-connected metric spaces, connectedness and path-connectedness are equivalent. This is why the distinction rarely matters for "nice" spaces like open subsets of Rn\mathbb{R}^n
  • Open balls and closed balls in Rn\mathbb{R}^n are both connected
  • A common (but false) claim is that complete connected metric spaces are always path-connected. This requires additional conditions like local connectedness.