Show that $f(x)=\frac{1}{\sqrt{x}}$ is uniformly continuous on the domain $(1,\infty)$ but not on the domain $(0,1)$.
$\def\verts#1{\left\vert#1\right\vert}$ My Attempt
First we show that $\forall\varepsilon>0,\exists\delta>0$ such that $\forall x,y\in (1,\infty)$, if $\verts{x-y}<\delta$ then $\verts{\frac{1}{\sqrt{x}}-\frac{1}{\sqrt{y}}}<\varepsilon$
Since $x,y\in(1,\infty)$, that $0<\frac{1}{\sqrt{x}},\frac{1}{\sqrt{y}}<1$ i.e. $\verts{\frac{1}{\sqrt{x}}-\frac{1}{\sqrt{y}}}<1$, if $1<|x-y|$, let $\delta=\varepsilon$ then $\verts{\frac{1}{\sqrt{x}}-\frac{1}{\sqrt{y}}}<\varepsilon$. If $\verts{x-y}\le1$ then $\dots$ here i'm stucked on the second case
Next is to show $\exists\varepsilon>0$,$\forall\delta>0,\exists x,y\in(0,1)$ such that $\verts{x-y}<\delta$ and $\verts{\frac{1}{\sqrt{x}}-\frac{1}{\sqrt{y}}}\ge\varepsilon$, not sure how to prove this, could someone help me.
As in the hint from @BrianMoehring, if $n^2>1/\varepsilon$ then $|1/n^2-1/(n+1)^2|<1/n^2<\varepsilon$ and $|\sqrt {1/(1/n^2)}-\sqrt {1/(1/(n+1)^2)}|=1.$
If $a<b$ and $f:(a,b)\to \Bbb R$ is uniformly continuous on $(a,b)$ then $f$ is bounded on $(a,b).$
For we may take $r>0$ such that $|f(x)-f(y)|<1$ whenever $x,y\in (a,b)$ with $|x-y|<r.$ Now take some (any) $x_0\in (a,b).$ Consider some $n_0\in \Bbb N$ such that $x_0-n_0r/2\le a$ and $x_0+n_0r/2\ge b.$
Then $|f(x)|<n_0+|f(x_0)|$ for all $x\in (a,b).$
E.g. if $n_0> 2$ and $x_0+(r/2)<x\le x_0+2(r/2)<b$ then $$|f(x)|\le$$ $$\le |f(x)-f(x-[x_0+2(r/2)])|+{}$$ $${}+|f(x_0+2(r/2))-f(x_0+r/2)|+{}$$ $${}+|f(x_0+r/2)-f(x_0)|+{}$$ $${}+|f(x_0)|<$$ $$<3+|f(x_0)|\le n_0+|f(x_0)|.$$
So if $f$ is unbounded on $(a,b),$ e.g. if $f(x)=1/\sqrt x$ and $(a,b)=(0,1),$ then $f$ cannot be uniformly continuous on $(a,b).$