8 - Injections, Surjections, and Bijections Flashcards
Definition 8.1 (Injective)
When is a function said to be injective?
A function f : A→B is injective if
∀x,y∈A, x≠y ⇒ f(x)≠f(y)
Eq. Definition 8.1 (Injective)
When is a function equivalently said to be injective?
A function is equivalently said to be injective if
∀x,y∈A, f(x)=f(y) ⇒ x=y
How do you prove something is not injective?
It’s enough to find two elements x and y of the domain such that x≠y and f(x)=f(y) (negation)
Definition 8.4 (Surjective, surjection, image)
When is a function said to be surjective?
A function f : A→B is surjective (or is a surjection onto, or is onto) if
∀b∈B ∃a∈A such that f(a)=b
What is the image of S under f for any subset S⊆A?
∀S⊆A, the image of S under f is the set
f(S) := {f(a) : a∈S} ⊆ B
What is the image of f and when is f surjective?
The image of f is f(A). In other words, the image of f is the image of the domain of f under f. Thus, f is surjective if and only if f(A)=B (i.e. the image of f is equal to the codomain of f)
Prove that the function
f: Z - {0} → Z>0, f(x)=|x|
is surjective
To prove this, note that
∀x∈Z>0, we have f(x)=|x|=x
Definition 8.1 (Bijective)
When is a function said to be bijective?
A function is bijective (or is a bjection) if it is both injective and surjective.