Prove $x \mapsto \sqrt x$ is uniformly continuous on $[0, \infty]$.
Note: There are more elegant proofs readily available, such as here. This question asks to verify and critique my proof.
Proof: Let $\delta = \varepsilon^2$. Then, for $x, a \geq 0; |x-a| < \delta$, we have:
$$\begin{align*} | \sqrt x - \sqrt a| &= \frac {|x-a|} {\sqrt x + \sqrt a} \\ &\leq \frac {|x-a|} {\sqrt{|x-a|}} && \text{(since $\sqrt x + \sqrt a = \sqrt x + \sqrt{x+a-x} \geq \sqrt{|x-a|}$)} \\ &\leq \sqrt{|x-a|} \\ &< \sqrt \delta \\ & < \varepsilon. \end{align*}$$
Discussion: The other proofs I've seen use one of two approaches:
- Split the domain into $[0,k]$ and $[k, \infty)$; the first is compact and the second easier to prove, either by bounding the derivative or by the inequality $|\sqrt x - \sqrt a| < |x-a|/2\sqrt k$.
- Square the left side and apply the triangle inequality for positive quantities to get $|\sqrt x - \sqrt a|^2 \leq |\sqrt x - \sqrt a||\sqrt x + \sqrt a| = |x-a|.$
I imagine those techniques are more broadly applicable. How would I have thought of either? Especially #2, which seems to come from nowhere, the only way I can see myself using it is by seeing it before and recalling the technique.