The function $f(x)=x^2$ is continuous everywhere.
I wrote all this for good measure, but my question is that in most proofs the calculations below are avoided and instead $\delta$ is chosen to be less than $1$ or chosen to be the $\mathrm{min}(1,\frac{\varepsilon}{2|a|+1})$. For example, as done in this question Show Continuity Using Epsilon Delta Definiton . How do we know to choose $\delta < 1$ or $\mathrm{min}(1,\frac{\varepsilon}{2|a|+1})$ as done in the answer of the linked question? Shouldn't the calculations below be necessary in any conclusive proof of the question.
Using the definition of continuity as
$$\forall \epsilon >0\ \forall x_0 >0 \in S \ \exists \delta > 0\ \forall x \in S [\ | x-x_0| < \delta \Rightarrow \ |f(x)-f(x_0)| <\epsilon ]$$, I realize that we have to define our $\delta$ both in terms of $x_0$ and $\epsilon$. So $$| x-x_0| < \delta$$ $$ -\delta +x_0 < x < \delta+x_0$$ $$ -\delta +2x_0 < x + x_0 < \delta+ 2x_0$$ $$-\delta +2|x_0| \le-\delta +2x_0 < x + x_0 < \delta+ 2x_0 \le \delta+ |2x|_0$$
$$-\delta +2|x_0| < x + x_0 < \delta+ |2x_0|$$
$$ |x + x_0| < \delta+ |2x_0|$$
Now since $| x-x_0| < \delta$, it follows $$| x-x_0||x + x_0| < \delta[\delta+ |2x_0|]$$
$$|f(x)-f(x_0)| < \delta^{2}+ 2|x_0|\delta \ .$$
So we let $$\delta^{2}+ 2|x_0|\delta =\epsilon$$ $$\delta^{2}+ 2|x_0|\delta - \epsilon=0$$ and solve using the quadratic formula, that is,
$$\delta= \frac{ (-2|x_0|)\pm \sqrt{ {(2|x_0|)^2}+4\epsilon}}{2} = \frac{-|x_0|\pm \sqrt{ (|x_0|^2)+ \epsilon}}{1}.$$
Since $\delta > 0$ we let $\delta = -|x_0| $ + $ \sqrt{ (|x_0|^2)+ \epsilon}$.