Prove that the function $f(x)=x^2$ is continuous but not uniformly continuous on the interval $I=(0,\infty)$.
I always get confused proving uniform continuity because it is so similar to continuity.
My attempt:
I must prove $$\forall \epsilon > 0, \forall x \in X, \exists \delta > 0 : |x - y| < \delta \implies |f(x) - f(y)| < \epsilon$$ for continuity. Thus, let $\epsilon>0$, then for $\delta>0$ $\exists \ (x,x_0)\in I$ such that $$|x−x_0|<\delta \implies |f(x)−f(x_0)|<\epsilon$$ $\forall$ $x,x_0\in\mathbb{R}$.
Therefore we have, $|f(x)−f(x_0)|=|x^2−x_0^2|=|x+x_0||x−x_0|$ thus we have that $$2x_0-\delta\le x+x_0\le 2x_0+\delta.$$ How can I finish this up?
Also, for showing that it is not uniformly continuous I must show that $$\text{there exists} \ \epsilon >0 \ \forall \ \delta \ \exists \ (x_0,x)\in I:\{|x -x_0|<\delta \implies |f(x)-f(x)^2|\ge \epsilon\},$$ but how can I prove that?