So I’m in the midst of coming to grips with mapping notation and just require some clarity. Is there anything wrong with writing $$x\mapsto\frac{1}{x}$$ Because from my understanding, I understand that for this mapping to describe a function, we would need to specify that $x\neq0$, which we could then write as $$f:x\mapsto\frac{1}{x},x\neq0$$but assuming we’re not looking to describe the mapping of a function, is there anything wrong with the first expression?
The reason for my question is because I know that a mapping and a function are not the same thing, but we can use one to describe the other. Any responses are appreciated.