to add further lets say f is defined like this : (so that it becomes a function):
f(x) = 1/x , x>0
= a , x=0 where
a is positive Real number
then the function wont be injective because at both x = 1/a and x=0 , f(x) = a.
---
"You don't have to believe in God, but you should believe in The Book." -Paul Erdős