Assume every continuous function is bounded. The Euclidean norm function is continuous, so its boundedness proves that is a bounded set.
If were not a closed set, there would be . Choose with . The function is continuous everywhere on , because its denominator is nonzero there. Yet , contradicting the hypothesis. Thus is closed. Together with the two previous implications this proves all three conditions are equivalent. The empty set satisfies all three conditions trivially. This is the Euclidean case of the bounded-continuous-function characterization of compact metric spaces.
If is compact and is continuous, then is compact by the continuous image of a compact space theorem. Every compact subset of is bounded, so is bounded.
Conversely, suppose the metric space is not compact. For metric spaces, compactness is equivalent to sequential compactness, so there is a sequence of distinct points having no convergent subsequence. The set
is closed: an accumulation point would supply a convergent subsequence. It is also discrete for the same reason. Consequently the function
is continuous. By part (a), is normal, and the Tietze extension theorem extends to a continuous . Since , this extension is unbounded. Therefore, if every continuous real-valued function on is bounded, must be compact. This is the bounded-continuous-function characterization of compact metric spaces.