Show that $f(x)=1/x^2$ is not uniformly continuous on $(0,\infty)$
So I was trying to attempt this question and did the proof as follows:
$f(x)$ is not defined at the point $x=0$. Then, by the continuous extension theorem, $f(x)$ is not uniformly continuous on the interval $(0,\infty)$
I checked the answer to this question in the solution manual, and this was not the approach they used. Rather, they used the non uniform continuity sequential criteria.
My question is, is my proof correct? I am particularly concerned about the interval being $(0,\infty)$ rather than some interval $(a,b)$ where $b \in \mathbb{R}$, so I'm now unsure if the continuous extension theorem is even applicable at all in this case.
Thank you.
The issue is not whether the function is defined at $0$ but rather whether it can be extended by continuity there. The key lemma you want to use here is that if $f$ is uniformly continuous on a bounded open interval $(a,b)$ then it can be extended by continuity to the extremities $a$ and $b$, i.e., defined there in such a way that the extended function is continuous on the closed interval $[a,b]$.
Then show that $\frac{1}{x^2}$ cannot be extended by continuity at $0$ and you are done.