Injective Function
A function is said to be injective or one-to-one, if every element in the domain has a unique image.
In other words, every unique input to must have a unique output.
Formally, we can say either:
- for all,
- or, for all
A function is said to be injective or one-to-one, if every element in the domain has a unique image.
In other words, every unique input to must have a unique output.
Formally, we can say either: