Is $\sqrt{x}$ uniformly continuous on $(0,1)$?
And can anybody give me a function that is uniformly continuous on some interval but $f^2$ is not?
Is $\sqrt{x}$ uniformly continuous on $(0,1)$?
And can anybody give me a function that is uniformly continuous on some interval but $f^2$ is not?
$\sqrt{2}$ is a constant, not a function. If you mean $f(x) = \sqrt{2}$ for all values of $x$, it would be uniformly continuous.
Weierstrass theorem. Every continuous function is uniformly continuous over any compact set. So constant functions are continuous then they are uniformly over any compact , particularly over 0,1
EDIT1: Particularly over [0,1] and therefore over any subset of [0,1], for example (0,1).
EDIT2: I am sorry to credit this theorem to Weierstrass.
JVV has given an example that fails on $\Bbb R$.
But on $(0,1)$ (or any bounded interval), which is totally bounded, a uniformly continuous function $f$ can be extended to a continuous function $\tilde f$ on $[0,1]$ (see this question). In particular, $\tilde f$ is continuous, and so is $\tilde f^2$. And a continuous function on a compact is uniformly continuous (Heine-Cantor theorem), hence $\tilde f^2$ is uniformy continuous, and so is $f^2$, on $(0,1)$.