Definition: Injective, surjective, and bijective functions
Suppose f:X→Y is a function. We say f is
- Injective if for all x∈X, f(x1)=f(x2) implies that x1=x2.
- Contrapositive: any two distinct elements in the domain map to distinct elements in the codomain.
- Surjective if for each y∈Y, there exists x∈X such that f(x)=y; that is, the image of f is the whole codomain.
- Bijective if f is both injective and surjective.
A function’s injectivity and surjectivity depends entirely on its domain and codomain.
Review §
- If f(x)=x2 injective, surjective, or bijective? How can the domain and codomain be restricted to satisfy each definition?