Let $B_r=\{x\in\mathbb{R}^n: |x|<r\}$ be the open ball of radius $r > 0 $ about the origin in $\mathbb{R}^n$. Show that the mapping: $$s_r:B_r\rightarrow\mathbb{R}^n, s_r(x) = \displaystyle\frac{rx}{\sqrt{r^2-|x|^2}}, x\in{B_r}$$ is a diffeomorphism.
I tried to prove it using the definition of diffeomorphism which says: $s_r$ is a diffeomorphism if and only if $s_r$ is homeomorphic and if $s_r^{-1}$ is differentiable, but I can't reach any conclusion and this is the only thing I know.
Hint in the case $r=1$: show that $t_1: y \in \mathbb{R}^n \mapsto \frac{y}{\sqrt{1+\|y\|^2}}\in B_1$ is smooth and satisfies $s_1\circ t_1 = \mathrm{id}_{B_1}$, $s_1\circ t_1 = \mathrm{id}_{\mathbb{R}^n}$.
Try to adapt this in the general case $r > 0$.