Connectedness: Separations, Intervals, and Continuous Images
A separation of a space X is a pair of nonempty disjoint sets U and V that are open in the subspace X and satisfy X = U union V.
A space is disconnected exactly when it has such a separation. The word 'relative' matters: a set can be open in X because it is X intersected with an ambient open set.
Connected subsets of the real line are exactly intervals: whenever two points belong, every point between them belongs. A missing point creates a potential separation. Density is not enough; the rational numbers are dense in the real line but can be split by an irrational cut.
Continuous images of connected sets are connected. If an image had a separation, inverse images of those relative-open pieces would separate the domain. This result concerns connectedness only; it does not independently imply compactness, openness, or that a function is constant.
Which subset of R is connected in the usual topology?
If f is continuous on a connected set C, what is guaranteed about f(C)?