Lemma (continuous functions bounded on closed intervals)

Suppose $f: [a,b]\to\R$ is continuous. Then there exists $K$ such that $|f(x)| < K$ for all $x\in[a,b]$.

Proof