I have been studying functions and how to find the inverse of a function which so far I have found straight forward. However, I have had some difficulty while trying to find the inverse of function $f(X) = \frac{2}X$. I have the answer sheet to the question, which says the answer is "$f^{-1}(x) = \frac{2}x$".
I took the function to mean that the input maps to $2$ divided by $X$, so I thought the inverse would be $2$ multiplied by $X$, or "$f^{-1}(x) = 2 x$"
Am I making a mistake with the notation? I have found much more complicated functions easier to find the inverse of, I'm not sure what rookie mistake I'm making here.