Let $a > 0$, and set $B_a = \{x \in \mathbb{R}^n : |x|^2 < a \}$. Let $\phi : B_a \to \mathbb{R}^n$ be given by $\phi(x) = \frac{ax}{\sqrt{a^2 - |x|^2}}$. Prove that $\phi$ is a diffeomorphism of $B_a$ onto $\mathbb{R}^n$.
This problem is from Guillemin and Pollack's book on Differential Topology. I'm working through it as a self-study.
It's clear that $\phi(x)$ is invertible, one can directly compute the inverse and find it to be $\phi^{-1}(y) = \frac{ay}{\sqrt{a^2 + |y|^2}}$ (check out this post: What is the inverse of the function $x \mapsto \frac{ax}{\sqrt{a^2 - |x|^2}}$?). So, to see that $\phi$ is a diffeomorphism, I just need to see that it's smooth (i.e., it's component functions $\frac{ax_i}{\sqrt{a^2 - |x|^2}}$ have continuous partial derivatives of all orders).
Now, it's mostly obvious to me that each $\frac{ax_i}{\sqrt{a^2 - |x|^2}}$ is indeed smooth. Practically speaking, we should be able compute partial derivatives of this expression for as long as we like. We'd just have to use the quotient rule over and over, and we'd never have any singularities causing us trouble.
But I'm looking for a more formal method for showing that $\phi$ is smooth. Any suggestions? Maybe there is a general technique/theorem for showing that "nice" component functions like these, which contain nothing more than fractions or radicals, are smooth?
Thanks in advance for solutions and hints.