If we want $x^n$ to have an inverse for all non-zero integers $n$, what must the domain of $x$ be?

Solution 1:

For every integer $n\neq0$, the function $f_n:(0,\infty)\to\mathbb R$ given by $f_n(x)=x^n$ is monotone, and so it is one-to-one, and so it is invertible.

The proof that each $f_n$ is monotone is simple: if $n>0$, then $a>b>0\implies a^n>b^n$; this can be easily seen from the identity $$ a^n-b^n=(a-b)(a^{n-1}+a^{n-2}b+\dots+b^{n-1}) \, . $$ If $n<0$, then $-n>0$, so $a>b>0\implies a^{-n}>b^{-n}$; rearranging this final inequality gives us the desired result.