MathLabs
TheoremProved

Continuous images of connected spaces are connected (general Intermediate Value Theorem)

Statement

If f:X→Yf: X \to Y is continuous and XX is connected (it cannot be written as a union of two disjoint nonempty open sets), then f(X)f(X) is connected. In particular, if XX is connected and f:X→Rf: X \to \mathbb{R} is continuous, then f(X)f(X) is an interval: for any a,b∈Xa, b \in X, ff attains every value between f(a)f(a) and f(b)f(b).

Why is it true?

This is the true source of the Intermediate Value Theorem from calculus — connectedness, not the specific formula of ff, is what forces every intermediate value to be hit, and the same argument works for any connected domain, not just intervals of R\mathbb{R}.

Proof sketch

Step 1 — Suppose for contradiction that f(X)f(X) is disconnected. Then f(X)=A∪Bf(X) = A \cup B for some disjoint, nonempty sets A,BA, B that are each open in the subspace topology of f(X)f(X): there exist open sets A′,B′A', B' in YY with A=f(X)∩A′A = f(X) \cap A' and B=f(X)∩B′B = f(X) \cap B'.

Step 2 — Pull the separation back to XX. Let P=f−1(A′)P = f^{-1}(A') and Q=f−1(B′)Q = f^{-1}(B'). Since ff is continuous, PP and QQ are open in XX. Every x∈Xx \in X has f(x)∈f(X)=A∪Bf(x) \in f(X) = A \cup B, so f(x)∈A′f(x) \in A' or f(x)∈B′f(x) \in B', meaning x∈Px \in P or x∈Qx \in Q: thus X=P∪QX = P \cup Q. Also PP and QQ are both nonempty (since A,BA, B are nonempty and are hit by ff), and P∩Q=∅P \cap Q = \emptyset (if x∈P∩Qx \in P \cap Q then f(x)∈A′∩B′∩f(X)=A∩B=∅f(x) \in A' \cap B' \cap f(X) = A \cap B = \emptyset, impossible).

Step 3 — Contradiction. PP and QQ are disjoint nonempty open sets with X=P∪QX = P \cup Q, exactly the definition of XX being disconnected. This contradicts the hypothesis that XX is connected. So f(X)f(X) cannot be disconnected: it is connected.

Step 4 — The interval corollary. The connected subsets of R\mathbb{R} are exactly the intervals (a standard fact: any subset that skips a real number between two of its points fails connectedness via the same open-set separation). Since f(X)f(X) is connected by Steps 1–3, f(X)f(X) is an interval of R\mathbb{R}, so it contains every real number between any two of its elements f(a)f(a) and f(b)f(b) — the classical Intermediate Value Theorem, now seen as a special case of a purely topological fact.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. James Munkres (2000). Topology
  2. John L. Kelley (1955). General Topology
  3. Michael Farber (2008). Topology and Robot Motion Planning (survey chapter)