Proof that a continuous function on a closed interval is uniformly continuous

continuityreal-analysisuniform-continuity

When proving that a function which is continuous on a closed interval $[a,b]$ is uniformly continuous, every proof is somewhat involved. Why does the following argument not suffice (or does it)? Since for all $c\in [a,b]$, there exists $\delta_k>0$ such that for all $\epsilon>0$, we have $|f(x)-f(c)|<\epsilon$ whenever $|x-c|<\delta_k$, then we can find the minimum element of the set of all such $\delta_k$ (which we term $\delta$) and thus for all $x,y$, we must have $|f(x)-f(y)|<\epsilon$ whenever $|x-y|<\delta$ which is the definition of uniform continuity. I must be missing something…

Best Answer

$\delta_k$ is dependent on $c$. There are uncountably many choices for $c$ in $[a,b]$. How do you know that an uncountable collection of $\delta_k(c)$ attains its minimum ("we can find the minimum element of the set of all such $\delta_k$")? It may merely have an infimum or the limit inferior may fail to exist... ((Unfair example removed.)) or that limit might be $0$.