I'm working on a question that states:
Let $f: \mathbb{R}^+ \to \mathbb{R}$ be a continuous functions.
(a) Is the function $g:\mathbb{R} \to \mathbb{R}: x \mapsto f(\frac{1}{1+x^2})$ uniformly continuous?
(b) Is the function $h:\mathbb{R} \to \mathbb{R}: x \mapsto g(x)^2$ uniformly continuous (here $g$ is the same function as in part (a))?
I am aware and can prove that the function $\frac{1}{1+x^2}$ is uniformly continuous and my I think that $g$ is uniformly continuous, but $h$ is not. I know that the composition of two uniformly continuous functions is uniformly continuous, but my issue is that $f$ is only continuous.
Any help on this problem is appreciated.