Prove that $f : \mathbb{R} \to \mathbb{R}, x \mapsto x^2$ is not uniformly continuous
Now I actually ask this question, as Wikipedia's proof of this seems wrong to me.
Wikipedia's Proof:
$f$ is uniformly continuous on $\mathbb{R}$ if $\forall \epsilon > 0$, there exists a $\delta > 0$ for all $x_1, x_0 \in \mathbb{R}$ such that
$$|x_1 - x_0| < \delta \implies |f(x_1) -f(x_0)| < \epsilon$$
But $$\begin{aligned} f(x+ \delta) - f(x) &= x^2 + 2x\delta +\delta^2 - x^2\\ &= 2x\delta + \delta^2\\ &= \delta(2x + \delta)\\ &> \epsilon \ \ \ \text{for suffiently large $x$} \ \ \ \square \end{aligned}$$
Now what I don't get is that if we set $x_1 = x+ \delta$ and $x_0 = x$, then $|x_1 -x_0| = |x+ \delta - x| = |\delta| \not< \delta$, so everything above should not apply as $|x+ \delta - x| \not < \delta$ in the first place.
Is Wikipedia's proof correct? If so, then why would my argument above be incorrect?
You can replace the $|x - y| < \delta$ with $|x - y | \leq \delta$ in the definition of uniform continuity and not fundamentally change anything. However, if it makes you feel comfier, you can fix it up by choosing a $\rho < \delta$ and proceed exactly as shown, but with $f(x+ \rho) - f(x)$.
We can establish the equivalence of the two slightly different definitions as follows:
First, if there exists a $\delta$ such that $|x - y| < \delta \implies |f(x) - f(y)| < \varepsilon$, then there exists a $\rho$ such that $|x - y| \leq \rho \implies |f(x) - f(y)| < \varepsilon$. For example, $\rho = \delta / 2$.
On the other hand, if there exists a $\delta$ such that $|x - y| \leq \delta \implies |f(x) - f(y)| < \varepsilon$, then of course it's also true that $|x-y| < \delta \implies |f(x) - f(y)| < \varepsilon$.
One can also change the $< \varepsilon$ condition to $\leq \varepsilon$. To establish this equivalence, first suppose that if we are given any $\varepsilon > 0$, we can find a $\delta$ such that $|x - y| < \delta \implies |f(x) - f(y)|< \varepsilon$. It follows immediately that $|x-y| < \delta \implies |f(x) - f(y)| \leq \varepsilon$.
On the other hand, suppose that if we are given any $\varepsilon > 0$, we can find a $\delta$ such that $|x-y| < \delta \implies |f(x) - f(y)| \leq \varepsilon$. By choosing a $\delta$ that satisfies this condition for some $\varepsilon' < \varepsilon$, we thus have a $\delta$ such that $|x-y| < \delta \implies |f(x) - f(y)| < \varepsilon$.
I suspect the reason why the strict less-than condition for both $\varepsilon$ and $\delta$ is prefered in analysis texts is because this emphasizes the more general topological definition of continuity. Namely, the preimage of an open set is open.