Given $g: \Bbb R \to \Bbb R^+$ where $g(x) = 3^x$, define fully the inverse function $g^{-1}$ and state the value of $g^{-1}(1)$.
This is what I have tried:
$$\begin{align} g(x) &= 3^x \\ 3^x &= y \\ x \log_3 3 &= \log_3 y \\ x &= \log_3 y \\ g^{-1}(1) &= \log_3 1 \end{align}$$
Why is this wrong?
It's not untrue, but there are two reasons it might be marked wrong in a test.