Continuous functions on compact sets are bounded

A continuous real-valued function on a compact set has finite sup norm
Continuous functions on compact sets are bounded

Let (X,d)(X,d) be a , let KXK\subseteq X be , and let f:KRf:K\to\mathbb{R} be .

Proposition: The function ff is on KK: there exists M<M<\infty such that f(x)M|f(x)|\le M for all xKx\in K.

This proposition is one of the core reasons compactness is the right hypothesis for global control from local continuity.