Image of a compact connected set is a compact interval

A continuous real-valued map sends compact connected sets to closed intervals
Image of a compact connected set is a compact interval

Let (X,d)(X,d) be a , and let f:XRf:X\to\mathbb{R} be .

Corollary: The set f(X)Rf(X)\subseteq\mathbb{R} is a compact . In particular, there exist m,MRm,M\in\mathbb{R} with mMm\le M such that f(X)=[m,M], f(X)=[m,M], where m=HAHAHUGOSHORTCODE654s5HBHBXfm= _X f and M=HAHAHUGOSHORTCODE654s6HBHBXfM= _X f.

Connection to parent theorems: