I have the following definition:
Let $f$ be a function. We say that $f$ is injective if $(a, y)\in f$ and $(b,y)\in f$ (i.e., $f(a) = f(b)$) then $a = b$.
I understand the last sentence but I cannot establish the relationship between the definition and injective function.