Connectedness

A continuous function on an interval never skips a value. What property of the interval does that use, and how can it be stated with open sets alone?

Where you are 5 in Connectedness and compactness

Why this exists

The intermediate value theorem (The intermediate value theorem) says that a function continuous on [a, b] takes every value between f(a) and f(b). What it needs from [a, b] is that the interval comes in one piece. This lesson states that property with open sets alone, for any space, and shows that continuous maps (Continuous maps and homeomorphisms) preserve it. It also tells apart spaces that a bijection cannot, such as \mathbb{R} and \mathbb{R}^2.

Definition

Throughout, X is a topological space.

Separation. A separation of X is a pair U, V of disjoint nonempty open subsets of X with U \cup V = X. The space X is connected if it has no separation, and disconnected otherwise. The empty space and every one-point space are connected.

Subspaces. For A \subseteq X, the subspace topology on A is \{A \cap U : U \text{ open in } X\}, a topology because intersecting with A commutes with unions and intersections (Subspace and product topologies studies it). A subset A is connected when it is connected in this topology. On a subset of \mathbb{R} or \mathbb{R}^n it is the topology of the restricted metric, since the ball of radius r about x in A is A \cap B(x, r). If f : X \to Y is continuous and f(A) \subseteq B, the restriction A \to B is continuous: its preimage of B \cap V is A \cap f^{-1}(V).

Intervals. J \subseteq \mathbb{R} is an interval if x, y \in J and x < z < y imply z \in J (Interval and set-builder notation; \varnothing and one-point sets count).

Components. The component C_x of x \in X is the union of all connected subsets of X containing x. A space whose components are its one-point sets is totally disconnected.

Cut points. A point p of a connected space X is a cut point if X \setminus \{p\} is disconnected.

Intuition

A separation cuts X into two open pieces, so no point of one piece is a limit point of the other. In Figure 1 the set A is cut by open sets U and V of the plane.

A \cap U
A \cap V
U
V
Figure 1A disconnected set: A \subseteq U \cup V with U, V open, and A meets each of them but not their overlap.

The halves \displaystyle [0, \frac{1}{2}) and \displaystyle [\frac{1}{2}, 1] do not separate [0, 1]: the second is not open in [0, 1], as \displaystyle \frac{1}{2} is a limit point of the first.

Results

Theorem 1 (tests). For a space X the following are equivalent: (a) X is connected; (b) the only subsets of X both open and closed (clopen) are \varnothing and X; (c) every continuous map from X to the discrete space \{0, 1\} is constant.

Theorem 2 (connected subsets). A \subseteq X is connected if and only if, whenever U, V are open in X with A \subseteq U \cup V and A \cap U \cap V = \varnothing, either A \subseteq U or A \subseteq V. In particular a connected subset of X lies inside one set of any separation of X.

Theorem 3 (the line). A subset of \mathbb{R} is connected if and only if it is an interval.

Theorem 4 (continuous images). If X is connected and f : X \to Y is continuous, then f(X) is connected. Hence connectedness is a topological property, and a homeomorphism carries cut points exactly onto cut points.

Theorem 5 (unions). (a) If connected subsets A_i, i \in I, all contain a point p, then \bigcup_{i \in I} A_i is connected. (b) If A_0 is connected and each connected A_i, i \in I, meets A_0, then A_0 \cup \bigcup_{i \in I} A_i is connected.

Theorem 6 (closures). If A is connected and A \subseteq B \subseteq \overline{A}, then B is connected. In particular \overline{A} is connected.

Theorem 7 (intermediate values). Let X be connected, f : X \to \mathbb{R} continuous, a, b \in X, and r between f(a) and f(b). Then f(c) = r for some c \in X.

Theorem 8 (components). (a) C_x is connected and closed, the largest connected subset containing x. (b) Two components are equal or disjoint, so they partition X. (c) A nonempty connected subset lies in exactly one component. (d) A homeomorphism f has f(C_x) = C_{f(x)}, so it matches components one to one.

Why it is true

Theorem 1. Proof. (a) \Rightarrow (b): a clopen C with \varnothing \ne C \ne X makes C, X \setminus C a separation. (b) \Rightarrow (c): for continuous f : X \to \{0, 1\}, f^{-1}(\{0\}) is open with open complement f^{-1}(\{1\}), so it is \varnothing or X. (c) \Rightarrow (a): a separation U, V would give the continuous nonconstant map equal to 0 on U and 1 on V, whose preimages of \varnothing, \{0\}, \{1\}, \{0, 1\} are \varnothing, U, V, X. \square

Theorem 2. Proof. The open sets of A are the sets A \cap U. If A is connected and U, V are as stated, then A \cap U and A \cap V are open in A, disjoint, and cover A, so one is empty; if A \cap V = \varnothing, then A \subseteq U. Conversely, let P = A \cap U, Q = A \cap V be a separation of A, with U, V open in X. Then A \subseteq U \cup V and A \cap U \cap V = P \cap Q = \varnothing; a point of Q is not in P, hence not in U, so A \not\subseteq U, and likewise A \not\subseteq V. The last sentence is the case U \cap V = \varnothing. \square

Theorem 3. Proof. If A is not an interval, pick x < z < y with x, y \in A, z \notin A. Then (-\infty, z) and (z, \infty) are disjoint open sets covering A, one containing x and the other y, so A is disconnected by Theorem 2.

Let J be an interval, and suppose U, V are open with J \subseteq U \cup V, J \cap U \cap V = \varnothing, a \in J \cap U and b \in J \cap V. Exchanging the names U, V if needed, a < b, so [a, b] \subseteq J. Let s = \sup S for S = U \cap [a, b], which is nonempty and bounded by b. Then s \in [a, b] \subseteq J, so s lies in exactly one of U, V.

If s \in U, then s \ne b, and as U is open some \varepsilon \le b - s has (s - \varepsilon, s + \varepsilon) \subseteq U; then \displaystyle s + \frac{\varepsilon}{2} \in S exceeds \sup S. If s \in V, then s \ne a, and some \varepsilon \le s - a has (s - \varepsilon, s + \varepsilon) \subseteq V. The points of (s - \varepsilon, s] lie in J \cap V, hence not in U, so S \subseteq [a, s - \varepsilon] and s - \varepsilon is a smaller upper bound. Both cases are impossible, so J is connected by Theorem 2. \square

Theorem 4. Proof. Let U, V be open in Y with f(X) \subseteq U \cup V and f(X) \cap U \cap V = \varnothing. The open sets f^{-1}(U), f^{-1}(V) cover X and are disjoint, since a point in both maps into f(X) \cap U \cap V. So one is empty, say f^{-1}(V), and f(X) \subseteq U; Theorem 2 applies. For a homeomorphism f, the restrictions of f and f^{-1} are inverse continuous maps between X \setminus \{p\} and Y \setminus \{f(p)\}, so each of these is connected exactly when the other is. \square

Theorem 5. Proof. (a) Let Y = \bigcup A_i and let U, V be open with Y \subseteq U \cup V, Y \cap U \cap V = \varnothing. If I = \varnothing, Y = \varnothing; otherwise say p \in U. By Theorem 2 each A_i lies in U or in V, and A_i \subseteq V would put p in Y \cap U \cap V. So Y \subseteq U. (b) If I = \varnothing the union is A_0; otherwise A_0 \ne \varnothing. Each A_0 \cup A_i is connected by (a), at a point of A_0 \cap A_i; these sets all contain A_0 \ne \varnothing, so (a) applies again. \square

Theorem 6. Proof. Let U, V be open with B \subseteq U \cup V and B \cap U \cap V = \varnothing. By Theorem 2, A \subseteq U, say. If some b \in B lay in V, the neighborhood V of b \in \overline{A} would meet A (Theorem 3 of Closed sets, closure and limit points) at a point of B \cap U \cap V. So B \subseteq U. \square

Theorem 7. Proof. By Theorems 4 and 3, f(X) is an interval containing f(a) and f(b), hence r. \square

Theorem 8. Proof. (a) C_x is a union of connected sets containing x (one is \{x\}), connected by Theorem 5(a), and contains every connected set containing x. By Theorem 6, \overline{C_x} is connected and contains x, so \overline{C_x} \subseteq C_x. (b) If z \in C_x \cap C_y, then C_x \cup C_y is connected (Theorem 5(a)) and contains x, so C_y \subseteq C_x; by symmetry C_x = C_y. (c) A connected A \ni x lies in C_x, and by (b) meets no other component. (d) f(C_x) is connected (Theorem 4) and contains f(x), so f(C_x) \subseteq C_{f(x)}; the same for f^{-1} gives the reverse. \square

Worked examples

Example 1

Beacons in a cavern

Kofi and Mei survey a cavern with chambers a, b, c, d, e, f. The radio beacons’ ranges are B_1 = \{a, b, c\}, B_2 = \{c, d\}, B_3 = \{e, f\}, B_4 = \{f\}. They form a subbasis for a topology on X = \{a, b, c, d, e, f\} (Bases and subbases): the open sets are the regions the beacons can confirm a caver is in. (a) Find the components and the clopen sets. (b) Are \{b, c, d\} and \{a, d\} connected? (c) Mei adds a beacon with range B_5 = \{d, e\}. Find the components now.

Solution

The smallest open set M_x containing a point is the intersection of the ranges containing it: M_a = M_b = \{a, b, c\}, M_c = \{c\}, M_d = \{c, d\}, M_e = \{e, f\}, M_f = \{f\}. An open set meeting a subset at x contains M_x.

(a) Each M_x with x \in \{a, b, c, d\} contains c, so every nonempty open set of the subspace \{a, b, c, d\} contains c, no two are disjoint, and the subspace is connected. Likewise every nonempty open subset of \{e, f\} contains f. The sets B_1 \cup B_2 = \{a, b, c, d\} and B_3 = \{e, f\} are open and complementary, so by Theorem 2 no connected set meets both. The components are \{a, b, c, d\} and \{e, f\}. A clopen C contains or misses each component (Theorem 2), so the clopen sets are \varnothing, \{a, b, c, d\}, \{e, f\} and X.

(b) In \{b, c, d\} every nonempty open set contains c: connected. In \{a, d\} the sets \{a\} = \{a, d\} \cap B_1 and \{d\} = \{a, d\} \cap B_2 are open: a separation. Two points of one component need not form a connected set.

(c) Now M_d = B_2 \cap B_5 = \{d\} and M_e = B_3 \cap B_5 = \{e\}. The open sets B_1, \{d\}, \{e\}, \{f\} have open complements B_3 \cup B_5, B_1 \cup B_3, B_1 \cup B_2 \cup B_4, B_1 \cup B_2 \cup B_5, so all four are clopen, and B_1 is connected as in (a). So the components are \{a, b, c\}, \{d\}, \{e\}, \{f\}.

Example 2

One line, three topologies

Find the components of \mathbb{R} in (a) the standard topology, (b) the lower limit topology \mathbb{R}_{\ell}, (c) the finite-complement topology \mathcal{T}_f.

Solution

(a) \mathbb{R} is an interval, connected by Theorem 3: one component.

(b) For each y, [y, \infty) is open in \mathbb{R}_{\ell}, and so is its complement (-\infty, y) = \bigcup_{n \ge 1} [y - n, y). If A contains points x < y, then A \cap (-\infty, y) and A \cap [y, \infty) separate A. So \mathbb{R}_{\ell} is totally disconnected.

(c) Nonempty open U, V have finite complements, so \mathbb{R} \setminus (U \cap V) = (\mathbb{R} \setminus U) \cup (\mathbb{R} \setminus V) is finite and U \cap V \ne \varnothing. No separation exists: one component.

The topologies grow finer from (c) to (a) to (b), and a set connected in a finer topology is connected in a coarser one (Theorem 4, for the identity map).

Example 3

Cut points of intervals and the circle

Show that no two of [0, 1], [0, 1), (0, 1) and S^1 are homeomorphic.

0
p
1
[0, p)
(p, 1]
p
S^1 \setminus \{p\}
Figure 2Example 3: removing an inner point cuts [0, 1] in two, while removing any point of S^1 leaves one arc.
Solution

The first three are intervals, connected by Theorem 3. The map e(s) = (\cos 2\pi s, \sin 2\pi s) is continuous on \mathbb{R} (the estimate \lVert e(s) - e(t) \rVert \le 2\pi |s - t| of Example 4 in Continuous maps and homeomorphisms holds for all real s, t), so S^1 = e([0, 1]) is connected by Theorem 4. By Theorem 4 a homeomorphism matches non-cut points with non-cut points; we count those.

Removing p from an interval J leaves an interval exactly when p is an endpoint of J: if x < p < y with x, y \in J, then J \setminus \{p\} holds x and y but not p. So [0, 1] has two non-cut points, [0, 1) one, (0, 1) none. Every p = e(s_0) in S^1 is a non-cut point: e(s) = e(s_0) only when s - s_0 \in \mathbb{Z}, so S^1 \setminus \{p\} = e((s_0, s_0 + 1)), a continuous image of an interval. The counts 2, 1, 0 and infinitely many differ.

Example 4

The punctured plane

Prove that \mathbb{R}^2 \setminus \{0\} and \mathbb{R}^2 are connected, and that \mathbb{R} and \mathbb{R}^2 are not homeomorphic.

S^1
R_u
u
Figure 3Example 4: \mathbb{R}^2 \setminus \{0\} is S^1 together with the rays R_u, each of which meets S^1 at u.
Solution

Proof. S^1 is connected (Example 3). For u \in S^1 the ray R_u = \{tu : t > 0\} is the image of (0, \infty) under t \mapsto tu, continuous since \lVert tu - su \rVert = |t - s| (Dot product, length and orthogonality in n dimensions); so R_u is connected and meets S^1 at u. Each q \ne 0 lies on R_u for \displaystyle u = \frac{q}{\lVert q \rVert}, so by Theorem 5(b) with A_0 = S^1, \mathbb{R}^2 \setminus \{0\} is connected. Every ball about 0 meets it, so its closure \mathbb{R}^2 is connected by Theorem 6.

If h : \mathbb{R}^2 \to \mathbb{R} were a homeomorphism, then as in the proof of Theorem 4, \mathbb{R}^2 \setminus \{0\} would be homeomorphic to \mathbb{R} \setminus \{h(0)\}. The second holds h(0) \pm 1 but not h(0), so it is disconnected by Theorem 3, while the first is connected: a contradiction with Theorem 4. \square

Example 5

Opposite points on a circle

Prove that for every continuous f : S^1 \to \mathbb{R} some p \in S^1 has f(p) = f(-p).

Solution

Proof. The map p \mapsto -p is continuous, as \lVert (-p) - (-q) \rVert = \lVert p - q \rVert, so g(p) = f(p) - f(-p) is continuous (a difference of continuous real functions, by the metric test of Continuous maps and homeomorphisms). Also g(-p) = f(-p) - f(p) = -g(p). Fix p_0. If g(p_0) = 0, take p = p_0. If g(p_0) \ne 0, then g(p_0) and g(-p_0) have opposite signs, and as S^1 is connected, Theorem 7 with r = 0 gives c with g(c) = 0. \square

Example 6

Connected metric spaces are uncountable

Prove that a connected metric space (X, d) with at least two points is uncountable.

Solution

Proof. Pick a \ne b, let r = d(a, b) > 0 and f(x) = d(a, x). The triangle inequality gives |d(a, x) - d(a, y)| \le d(x, y), so \delta = \varepsilon works and f : X \to \mathbb{R} is continuous. By Theorems 4 and 3, f(X) is an interval containing 0 and r, so [0, r] \subseteq f(X). If X were countable, so would be f(X) and [0, r], which is uncountable (Countable and uncountable sets). \square Outside metric spaces this fails: Example 2(c) works word for word for \mathbb{N} with the finite-complement topology.

Boundaries

  • Interiors and intersections of connected sets need not be connected (Exercise 16), though closures are (Theorem 6).
  • Components are closed but need not be open: those of \mathbb{Q} are its points (Exercise 5). With finitely many components they are open (Exercise 17).
  • Connectedness depends on the topology: finer topologies have fewer connected sets (Examples 1 and 2), and countable connected spaces exist outside metric spaces (Example 6).
  • Connected does not mean joined by paths. Path-connectedness asks for a path between any two points; its topologist’s sine curve is connected but not path-connected. A connected graph (Walks, paths, cycles and connected graphs) is a combinatorial notion, closer to paths.

Where this goes next

Path-connectedness strengthens connectedness and often proves it quickly. Compactness and open covers is the second property kept by continuous images. In Classification of surfaces a closed surface is a compact connected one.

Exercises

Finite spaces

  1. Let X = \{1, 2, 3, 4, 5\} have the topology with subbasis \{1, 2\}, \{2, 3\}, \{4\}, \{4, 5\}. (a) Find the components. (b) List the clopen sets. (c) Are the subspaces \{1, 2, 3\} and \{1, 3\} connected?
  2. (a) How many of the 4 topologies on \{1, 2\} are connected? (b) How many of the 29 topologies on \{1, 2, 3\} are connected?
  3. Mei surveys a second cavern with chambers p, q, r, s, where beacons detect \{p, q\}, \{q, r, s\} and \{s\}, a subbasis. (a) Which two-point subsets are connected? (b) Show that the space is connected.

Subsets of the line and the plane

  1. Which subsets of \mathbb{R} are connected? (a) \{x : x^2 - 3x < 4\}; (b) \{x : x^3 \ge x\}; (c) \{x : |x - 2| \le 3\} \cup (5, 7); (d) \mathbb{Z}; (e) \mathbb{R} \setminus \mathbb{Q}.
  2. Find the components of (a) \{x \in \mathbb{R} : x^3 - 4x > 0\}; (b) \{x \in \mathbb{R} : \sin x \ne 0\}; (c) \mathbb{Q} with the metric |s - t|.
  3. (a) Let C = ([-1, 1] \times \{0\}) \cup (\{0\} \times [-1, 1]) in \mathbb{R}^2. How many components has C \setminus \{(0, 0)\}? Deduce that C is not homeomorphic to [0, 1]. (b) The figure eight E is the union of the circles of radius 1 about (1, 0) and (-1, 0). Show that E is not homeomorphic to S^1.
  4. On S^1 let f(x, y) = x + y + xy. Find every p \in S^1 with f(p) = f(-p).
  5. For which real k is A_k = \{(x, y) : y = x^2\} \cup \{(x, y) : y = k\} connected?
  6. Let H = \{(x, y) : xy = 1\}. How many components have (a) H, (b) H \cup \{(x, y) : y = x\}, (c) H \cup \{(x, y) : y = -x\}?

Proofs

  1. Suppose x \in X has a smallest open set M_x containing it. Prove that M_x is connected.
  2. Prove that if A and B are connected and \overline{A} \cap B \ne \varnothing, then A \cup B is connected.
  3. Prove that every continuous map from a connected space to \mathbb{Q}, with the metric |s - t|, is constant.
  4. Prove that every continuous f : [0, 1] \to [0, 1] has a point with f(c) = c.
  5. Prove that there is no continuous injective map f : \mathbb{R}^2 \to \mathbb{R}.
  6. A map f : X \to Y is locally constant if every point has a neighborhood on which f is constant. Prove that a locally constant map on a connected space is constant.
  7. Refute each claim with a counterexample in \mathbb{R}^2: (a) the interior of a connected set is connected; (b) the intersection of two connected sets is connected.
  8. Prove that if X has finitely many components, each of them is open.
Answers
  1. M_1 = \{1, 2\}, M_2 = \{2\}, M_3 = \{2, 3\}, M_4 = \{4\}, M_5 = \{4, 5\}. (a) \{1, 2, 3\} and \{4, 5\}: in each, every M_x contains 2 (respectively 4), so each is connected as in Example 1, and they are open and complementary. (b) \varnothing, \{1, 2, 3\}, \{4, 5\}, X. (c) \{1, 2, 3\} is connected; \{1, 3\} is not, as \{1\} = \{1, 3\} \cap \{1, 2\} and \{3\} = \{1, 3\} \cap \{2, 3\} are open in it.
  2. (a) 3: all but the discrete one, since a separation needs \{1\} and \{2\} open. (b) 19. A finite topology is disconnected exactly when a proper nonempty open set has open complement. In the list of Continuous maps and homeomorphisms Exercise 5 this happens for \{a\}, \{b, c\} (3 topologies), for \{a\}, \{b\}, \{a, b\}, \{a, c\}, where \{b\} and \{a, c\} are complementary (6), and for the discrete one (1): 29 - 10 = 19.
  3. M_p = \{p, q\}, M_q = \{q\}, M_r = \{q, r, s\}, M_s = \{s\}. (a) \{x, y\} is connected exactly when y \in M_x or x \in M_y; otherwise \{x\} = \{x, y\} \cap M_x and \{y\} are open in it. So \{p, q\}, \{q, r\}, \{r, s\} only. (b) \{p, q\} \cup \{q, r\} is connected (common point q, Theorem 5(a)), and so is its union with \{r, s\} (common point r).
  4. (a) (-1, 4): connected. (b) [-1, 0] \cup [1, \infty): not connected, \displaystyle \frac{1}{2} is missing. (c) [-1, 5] \cup (5, 7) = [-1, 7): connected. (d) Not connected: 0, 1 \in \mathbb{Z}, \displaystyle \frac{1}{2} \notin \mathbb{Z}. (e) Not connected: it holds \displaystyle \sqrt{2} and \displaystyle 2\sqrt{2} but not the rational 2.
  5. By Theorems 3 and 8, the components of A \subseteq \mathbb{R} are its largest intervals. (a) x(x - 2)(x + 2) > 0 gives (-2, 0) and (2, \infty). (b) \sin x = 0 exactly at x = k\pi, so the components are (k\pi, (k + 1)\pi), k \in \mathbb{Z}. (c) The one-point sets: a subset of \mathbb{Q} with points x < y misses an irrational between them.
  6. (a) 4: the half-arms (0, 1] \times \{0\}, [-1, 0) \times \{0\}, \{0\} \times (0, 1], \{0\} \times [-1, 0). Each is connected, an image of an interval under a map such as t \mapsto (t, 0), and open in C \setminus \{(0, 0)\}, being its intersection with \{x > 0\}, \{x < 0\}, \{y > 0\} or \{y < 0\}; so each is clopen, a component. Removing a point from [0, 1] leaves at most 2 components, and a homeomorphism h would make C \setminus \{(0, 0)\} \approx [0, 1] \setminus \{h(0, 0)\}, with equally many components (Theorem 8(d)). (b) The only point of E with x = 0 is (0, 0), since (0 \mp 1)^2 + y^2 = 1 forces y = 0. So \{x > 0\} and \{x < 0\} separate E \setminus \{(0, 0)\}: (0, 0) is a cut point of E, connected by Theorem 5(a). S^1 has no cut point (Example 3).
  7. \displaystyle p = \left(\frac{\sqrt{2}}{2}, -\frac{\sqrt{2}}{2}\right) and \displaystyle p = \left(-\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right). Since f(-x, -y) = -x - y + xy, the condition is 2(x + y) = 0, so y = -x and 2x^2 = 1.
  8. Exactly for k \ge 0. The parabola and the line are images of \mathbb{R} under t \mapsto (t, t^2) and t \mapsto (t, k). For k \ge 0 they share \displaystyle (\sqrt{k}, k); Theorem 5(a). For k < 0 the half-planes \displaystyle \{y > \frac{k}{2}\} and \displaystyle \{y < \frac{k}{2}\} separate them, as \displaystyle x^2 \ge 0 > \frac{k}{2} > k.
  9. (a) 2: the branches H_+ (x > 0) and H_- (x < 0) are images of intervals under \displaystyle t \mapsto (t, \frac{1}{t}), separated by \{x > 0\}, \{x < 0\}. (b) 1: the line meets H_+ at (1, 1) and H_- at (-1, -1); Theorem 5(b) with A_0 the line. (c) 3: -x^2 = 1 has no real root, so the line L misses H. The continuous g(x, y) = x + y is at least 2 on H_+ (as \displaystyle x + \frac{1}{x} - 2 = \frac{(x - 1)^2}{x}), at most -2 on H_-, and 0 on L; the preimages of (1, \infty), (-1, 1), (-\infty, -1) cut the union into the connected pieces H_+, L, H_-.
  10. Let U, V be open with M_x \subseteq U \cup V and M_x \cap U \cap V = \varnothing; say x \in U. Then U is open and contains x, so M_x \subseteq U, and M_x is connected by Theorem 2. \square
  11. A \subseteq A \cup (\overline{A} \cap B) \subseteq \overline{A}, so D = A \cup (\overline{A} \cap B) is connected by Theorem 6, and D \cup B = A \cup B is connected by Theorem 5(a), at a common point in \overline{A} \cap B. \square
  12. Let f : X \to \mathbb{Q} be continuous, X connected. By Theorem 4, f(X) is connected; its subspace topology from \mathbb{Q} is the one from \mathbb{R}, as f(X) \cap (\mathbb{Q} \cap U) = f(X) \cap U. By Theorem 3 it is an interval inside \mathbb{Q}, so it has at most one point (Exercise 5(c)), and f is constant. \square
  13. g(x) = f(x) - x is continuous on the connected [0, 1], with g(0) = f(0) \ge 0 and g(1) = f(1) - 1 \le 0. Theorem 7 with r = 0 gives c with g(c) = 0. \square
  14. Suppose f is such a map. J = f(\mathbb{R}^2) is an interval (Example 4, Theorems 4 and 3) with more than one point. As f is injective, at most two points of \mathbb{R}^2 map to \inf J or \sup J, so some p has a < f(p) < b for some a, b \in J, and f(\mathbb{R}^2 \setminus \{p\}) = J \setminus \{f(p)\} is not an interval. But q \mapsto q - p is a homeomorphism of \mathbb{R}^2 \setminus \{p\} onto \mathbb{R}^2 \setminus \{0\}, connected by Example 4, so that image is connected by Theorem 4, contradicting Theorem 3. \square
  15. If X = \varnothing there is nothing to prove. Fix x_0 and let A = \{x : f(x) = f(x_0)\}. Each x \in A has a neighborhood on which f equals f(x_0), inside A; each x \notin A has one on which f equals f(x) \ne f(x_0), inside X \setminus A. So A is clopen and contains x_0, and A = X by Theorem 1. \square
  16. (a) The closed disks of radius 1 about (1, 0) and (-1, 0) are connected (unions of segments from their centers, Theorem 5(a)) and meet at (0, 0), so their union is connected. Points (0, \varepsilon) with \varepsilon \ne 0 lie in neither disk, as 1 + \varepsilon^2 > 1, so (0, 0) is not interior, nor is another point of a circle, as the disks lie on opposite sides of the y-axis. The interior is two open disks, separated by \{x > 0\} and \{x < 0\}. (b) S^1 and the x-axis are connected and meet in \{(-1, 0), (1, 0)\}, a two-point metric space, which is discrete.
  17. The complement of a component is the union of the other components, finitely many closed sets (Theorem 8(a)), so it is closed (Theorem 1 of Closed sets, closure and limit points), and the component is open. \square
math.wiki · updated 2026-11-18 · CC-BY-SA-4.0