Converse of intermediate value theorem
Statement
Suppose is a topological space that satisfies the conclusion of the intermediate value theorem: For any continuous function , and two elements such that , must contain .
Then, is a connected space.
Related facts
Converse
Proof
Given: A topological space such that for any continuous function , and two elements such that , must contain .
To prove: is connected.
Proof: Suppose not, i.e., suppose is not connected. Then, is a union of two nonempty disjoint open subsets and . Consider the function defined by and . This is a continuous function (in fact, all its fibers are open).
Pick and . By our construction, , so by the given data, should contain the interval . But this contradicts the fact that the image of is the two-element set .
Thus, our original assumption that is not connected cannot hold. Hence, must be connected.