I am working on a two part problem for studying. Not homework. Not exam prep.
The problem is
Let $f\colon(0,1]\rightarrow\mathbb{R}$ be a uniformly continuous function on $(0,1].$
a. State the definition of uniform continuity and use it to show that $g(x)=\ln x$ is not uniformly continuous on $(0,1]$,
b. Prove that $f$ can be extended uniquely to a continuous function on $[0,1]$.
I know how to do part a but don't know how to prove the extenstion portion in part b.
Take any sequence $\{x_n\}$ convergint to $0$. It is of course Cauchy sequence. Using uniform continuity show that $\{f(x_n)\}$ is also Cauchy sequence in $\mathbb{R}$. Hence it have a limit. Since $\{x_n\}$ is arbitrary $f$ have a limit at $0$. The rest is clear.
In fact the more general result holds. Let $X$ and $Y$ be a metric spaces and $Y$ is complete, then every uniformly continuous function $f:X\to Y$ have unique extension onto the completion of $X$ and moreover this extension is also uniformly continuous.