I was asked to prove that the function: $$ g: B \subset \mathbb{R}^n \rightarrow \mathbb{R}^n $$ Is uniformly continuous on $B$, where $B$ is the open ball $B(0,1) \subset \mathbb{R}^n$ y $g(x)= \frac{x}{1-\left | x \right |}$
My attempt
I tried to applied the negation of the definition of uniform continuity $$ \exists \space \epsilon_0 > 0 \space | \space \forall \delta > 0, \exists \space x_0, y_0 \in B $$
with
$$ \left | x_0 - y_0 \right | < \delta $$
such as
$$ \left | f(x_0) - f(y_0) \right | \geq \epsilon_0 $$ So I took $\epsilon_0 = 1/2$ and for any $\delta > 0$ I took $x_0=0$ and $y_0 = \frac{\delta}{1+\delta}e_1$, where $e_1 = (1,0,\dots,0)$ so $x_0, y_0 \in B$ and $\left |x_0 - y_0 \right | < \delta$.
But I just obtain: $\left | f(x_0)-f(y_0) \right | = \delta$ which is not always greater than $1/2$.
Any help would be really appreciated.
HINT:
Take $x_0=\left(1-\frac1n\right)e_1$ and $y_0=\left(1-\frac1{2n}\right)e_1$.