I have recently watched a couple of lectures in order to revise some of the notions that I will have to tackle in the coming months, and as I did so I have stumbled over something which baffled me a tad.
Now, within these lectures the lecturer described a relation as being a function solely if it maps one element from the domain to one sole, unique element from the codomain (or range assuming it is a surjective function we are dealing with); I found this a tad confusing since, ever since I can remember we considered functions to map a value from the domain to one sole value from the codomain/range, and if no value from the domain is mapped multiple times to the same value within the codomain/range then it is injective, hence abiding to the lecture's definition of a function.
Have I been missing something, do people automatically discard non-bijective, or at least non-injective functions for whatever reason?
Let $X,Y$ be sets and $\Gamma\subset X\times Y$ a subset. We call such a subset a relation from $X$ into $Y$. We then make the following standard definitions:
Here are some equivalent ways of saying things.
So, you see the uniqueness is referring to different things. In the definition of function, the uniqueness is referring to the value in the codomain, i.e what happens in $Y$. In the definition of injectivity for functions, the uniqueness is referring to the domain, i.e what happens in $X$.