$f(x)=-x^2+1$
For some reason, the inverse $f^{-1}$ gives me a domain equal to 1 or less than with a range of all real #'s. But the domain of the original function f(x) can only be negative. As squaring the x will only give positive numbers coupled with a negative sign on the outside making them negative.
Is there a discrepancy with the book here?
The function
$$f(x) = -x^2+1$$ describes a parabola, opening downwards, with a vertex at $x=0$ and $y=1$.
If we were to consider $f$ on the whole real line, we would not be able to invert it, as it is not one-to-one, that is, it does not pass the horizontal line test.
So we have a couple of options here:
If you pick any of these options as the domain for $f$, your function would have an inverse.
In either case, the inverse function would have $(-\infty,1]$ as a domain, since the range of $f$ is $(-\infty,1]$.