ConceptComplete

Connectedness in R

A set is connected if it cannot be split into two disjoint nonempty open pieces. In R\mathbb{R}, the connected sets are precisely the intervals (including singletons, rays, and the whole line). Connectedness is the topological property underlying the Intermediate Value Theorem: continuous images of connected sets are connected.


Definition

Definition3.1Connected set

A set E⊆RE \subseteq \mathbb{R} is connected if it is not the union of two disjoint nonempty open sets (in the subspace topology). That is, EE is connected if there do not exist open sets U,V⊆RU, V \subseteq \mathbb{R} such that:

  1. U∩E≠∅U \cap E \neq \varnothing and V∩E≠∅V \cap E \neq \varnothing,
  2. (U∩E)∩(V∩E)=∅(U \cap E) \cap (V \cap E) = \varnothing,
  3. E⊆U∪VE \subseteq U \cup V.

A set that is not connected is disconnected.

RemarkIntuition

Connectedness means the set has "no gaps" — you cannot separate it into two pieces with a gap in between. In R\mathbb{R}, this is equivalent to being an interval.

ExampleIntervals are connected

Any interval II (open, closed, half-open, bounded or unbounded) is connected. For instance, [a,b][a, b], (a,b)(a, b), [a,∞)[a, \infty), and R\mathbb{R} are all connected. The proof uses the completeness of R\mathbb{R}: if I=U∪VI = U \cup V with U,VU, V disjoint open, then choosing a∈Ua \in U and b∈Vb \in V, the supremum sup⁡(U∩[a,b])\sup(U \cap [a, b]) must lie in either UU or VV, leading to a contradiction.

ExampleDisconnected sets

The set E=[0,1]∪[2,3]E = [0, 1] \cup [2, 3] is disconnected. Take U=(−1,1.5)U = (-1, 1.5) and V=(1.5,4)V = (1.5, 4). Then U∩E=[0,1]U \cap E = [0, 1] and V∩E=[2,3]V \cap E = [2, 3] are disjoint nonempty open sets in EE, and E=(U∩E)∪(V∩E)E = (U \cap E) \cup (V \cap E).

ExampleQ is disconnected

The rationals Q\mathbb{Q} are disconnected. For any irrational α\alpha (e.g., 2\sqrt{2}), let U=(−∞,α)U = (-\infty, \alpha) and V=(α,∞)V = (\alpha, \infty). Then U∩QU \cap \mathbb{Q} and V∩QV \cap \mathbb{Q} are nonempty, disjoint, and cover Q\mathbb{Q}. So Q\mathbb{Q} is not connected.


Characterization of connected sets in R

Theorem3.1Connected sets are intervals

A subset E⊆RE \subseteq \mathbb{R} is connected if and only if EE is an interval. That is, EE is connected iff whenever x,y∈Ex, y \in E with x<yx < y, every z∈(x,y)z \in (x, y) also lies in EE.

RemarkProof sketch

(⇐\Leftarrow) If EE is an interval and E=U∪VE = U \cup V with U,VU, V disjoint open in EE, choose a∈Ua \in U, b∈Vb \in V with a<ba < b. Let c=sup⁡{t∈[a,b]∣[a,t]⊆U}c = \sup\{t \in [a, b] \mid [a, t] \subseteq U\}. Then c∈Ec \in E, so c∈Uc \in U or c∈Vc \in V. Both cases lead to contradictions using the openness of UU and VV.

(⇒\Rightarrow) If EE is not an interval, there exist x,y∈Ex, y \in E with x<yx < y and some z∈(x,y)z \in (x, y) with z∉Ez \notin E. Then U=(−∞,z)U = (-\infty, z) and V=(z,∞)V = (z, \infty) separate EE.

ExampleAll types of intervals are connected

The following are all connected:

  • Bounded closed: [a,b][a, b].
  • Bounded open: (a,b)(a, b).
  • Half-open: [a,b)[a, b), (a,b](a, b].
  • Rays: [a,∞)[a, \infty), (a,∞)(a, \infty), (−∞,b](-\infty, b], (−∞,b)(-\infty, b).
  • The whole line: R\mathbb{R}.
  • Singletons: {a}\{a\}.

Intermediate Value Theorem

Theorem3.2Continuous images of connected sets

If EE is connected and f:E→Rf : E \to \mathbb{R} is continuous, then f(E)f(E) is connected.

RemarkIntermediate Value Theorem

Since EE connected in R\mathbb{R} means EE is an interval, and f(E)f(E) connected means f(E)f(E) is an interval, Theorem 3.2 implies the Intermediate Value Theorem (IVT):

If f:[a,b]→Rf : [a, b] \to \mathbb{R} is continuous, then ff takes on every value between f(a)f(a) and f(b)f(b).

ProofIVT from connectedness

If f(a)<c<f(b)f(a) < c < f(b), then c∈[f(a),f(b)]c \in [f(a), f(b)]. Since [a,b][a, b] is connected, f([a,b])f([a, b]) is connected, hence an interval. Thus [f(a),f(b)]⊆f([a,b])[f(a), f(b)] \subseteq f([a, b]), so there exists x∈[a,b]x \in [a, b] with f(x)=cf(x) = c.

■
ExampleExistence of roots

Let f(x)=x3−x−1f(x) = x^3 - x - 1. Then f(1)=−1<0f(1) = -1 < 0 and f(2)=5>0f(2) = 5 > 0. By the IVT, there exists c∈(1,2)c \in (1, 2) with f(c)=0f(c) = 0. Thus the cubic has a real root between 11 and 22.

ExampleFixed point theorem

If f:[0,1]→[0,1]f : [0, 1] \to [0, 1] is continuous, then ff has a fixed point: there exists x∈[0,1]x \in [0, 1] with f(x)=xf(x) = x. Proof: consider g(x)=f(x)−xg(x) = f(x) - x. Then g(0)=f(0)≥0g(0) = f(0) \geq 0 and g(1)=f(1)−1≤0g(1) = f(1) - 1 \leq 0. By IVT, g(c)=0g(c) = 0 for some c∈[0,1]c \in [0, 1].


Path-connectedness

Definition3.2Path-connected

A set E⊆RE \subseteq \mathbb{R} is path-connected if for any two points x,y∈Ex, y \in E, there exists a continuous function γ:[0,1]→E\gamma : [0, 1] \to E (a path) with γ(0)=x\gamma(0) = x and γ(1)=y\gamma(1) = y.

RemarkIn R, connected = path-connected

For subsets of R\mathbb{R}, connectedness and path-connectedness are equivalent. Both are equivalent to being an interval. In higher dimensions (e.g., R2\mathbb{R}^2), there are connected sets that are not path-connected (e.g., the topologist's sine curve).


Summary

Connectedness characterizes intervals in R\mathbb{R}:

  • Connected sets are intervals (no gaps).
  • Continuous images of connected sets are connected (IVT).
  • Path-connectedness is equivalent to connectedness in R\mathbb{R}.

See Intermediate Value Theorem for detailed applications, and Metric Spaces for generalizations.