I'm trying to learn how to use function inverses to solve equations. In an exercise I know that the solution is $0$. I am unable to reach zero myself.
Solve for $x$ in the equation $g(x) = 1$, given $g(x) = e^{-2x}$.
From my book I know that the inverse of $e^x$ is $\log_e(x)$.
The solution in my textbook reads:
$$g^{-1}(x)=-\frac{1}{2}\log(x), \ x=0.$$
I'm unable to follow or understand the steps to arrive at $x = 0$?
$$y=e^{-2x}\implies \ln y=\ln e^{-2x}=-2x\implies x=\dfrac{\ln y}{-2}=\dfrac{-\ln y}{2}.$$
Now, if $g(x)=1$ we get
$$x=g^{-1}(1)=\dfrac{-\ln 1}{2}=0.$$