Example 3.4.3: $f: [0, 1] \to \mathbb{R}$ defined by $f(x) := x^2$ is uniformly continuous.
Proof: Note that $0 \le x, c \le 1$. Then $$|x^2 - c^2| = |x + c||x - c| \le (|x| + |c|)|x - c| \le (1 + 1)|x - c|.$$ Therefore given $\varepsilon \gt 0$, let $\delta := \varepsilon/2$. Take $x \gt 0$ and let $c := x + \delta/2$. Write $$\varepsilon \gt |x^2 - c^2| = |x + c||x - c| = (2x + \delta/2)\delta/2 \ge \delta x.$$ Therefore $x \lt \varepsilon/\delta$ for all $x \gt 0$, which is a contradiction.
In this proof, I don't understand why the author chose $c=x + \frac {\delta}{2}$. Could you explain to me how $c$ is decided when proving this kind of statement?
Why is $x \lt \varepsilon / \delta$ a contradiction?
Thank you in advance!
Because we are trying to prove this is true for all of $\Bbb R$ we can choose any $c$ we want, there is no method to decide on which $c$ to take(although this is a classic example, so you probably won't find other choices online)
We have a contradiction because it is not possible for a constant to be greater than all numbers in $\Bbb R$, after all $\Bbb R$ is closed under addition, for example $x=\frac{\epsilon}{\delta}$ implies that $x\not< \epsilon/\delta$(how can it be equal and strictly less at the same time?)
So to prove those something is not forall you need to prove that at least one exists
So they proved that exists $\epsilon$ such that for all $\delta$ there exists $x$ and $c$ such that the requirement for the claim are false, in other words:
Not for all $\epsilon$ exists $\delta$ such that for all $x$ and $c$ the requirements for the claim hold