I have the function
$$f(x) = \frac{x}{x^2 - 1}$$
The domain of this function is $(-1,1)$ and the range is $\mathbb{R}$.
When I find the inverse of this, this becomes
$$f^{-1}(x) = \frac{1 + \sqrt{4x^2+1}}{2x}$$
The domain seems to be different, now that I cannot have zero in the denominator. This should match up with the range of the initial function. Why does this happen?