Altanis

1.4Monomorphisms, Epimorphisms

Updated 11 May 2026Chapter (PDF)

[1.4.1]Definition(Monomorphism)#

A function of sets f:A→Bf: A \to B is a monomorphism if, for every set ZZ and functions α′,α′′:Z→A\alpha', \alpha'': Z \to A such that f∘α′=f∘α′′f \circ \alpha' = f \circ \alpha'', it follows that α′=α′′\alpha' = \alpha''.

[1.4.2]Theorem(Monomorphisms On Set-Functions Are Equivalent to Injections)#

Suppose f:A→Bf: A \to B is a function of sets. Then ff is injective if and only if it is a monomorphism.

Proof.

(⟹):(\Longrightarrow): Suppose ff is injective. Let ZZ be an arbitrary set and let α′,α′′:Z→A\alpha', \alpha'': Z \to A be functions such that

f∘α′=f∘α′′.f \circ \alpha' = f \circ \alpha''.

Note that ff has a left-inverse gg, so we may apply it both sides and make use of associativity:

(g∘f)∘α′=(g∘f)∘a′′  ⟹  idA∘α′=idA∘α′′  ⟹  α′=α′′.(g \circ f) \circ \alpha' = (g \circ f) \circ a'' \implies \id_A \circ \alpha' = \id_A \circ \alpha'' \implies \alpha' = \alpha''.

Thus ff is monomorphic.

(⟸):(\Longleftarrow): Suppose ff is monomorphic. Let ZZ be an arbitrary set and let α′,α′′:Z→A\alpha', \alpha'': Z \to A be functions such that

f∘α′=f∘α′′.f \circ \alpha' = f \circ \alpha''.

Then it follows that α=α′\alpha = \alpha'. For any z∈Zz \in Z, we have that α′(z)=a1∈A\alpha'(z) = a_1 \in A and α′′(z)=a2∈A\alpha''(z) = a_2 \in A. Then we have, by equality of the two compositions, that

f(a1)=f(a2)  ⟹  a1=a2f(a_1) = f(a_2) \implies a_1 = a_2

for all arbitrary pairs of elements in AA. Thus ff is injective.

[1.4.3]Definition(Epimorphism)#

A function of sets f:A→Bf: A \to B is a epimorphism if, for every set ZZ and functions β′,β′′:B→Z\beta', \beta'': B \to Z such that β′∘f=β′′∘f\beta' \circ f = \beta'' \circ f, it follows that β′=β′′\beta' = \beta''.

[1.4.4]Theorem(Epimorphisms On Set-Functions Are Equivalent to Surjections)#

Suppose f:A→Bf: A \to B is a function of sets. Then ff is surjective if and only if it is an epimorphism.

Proof.

(⟹):(\Longrightarrow): Suppose ff is surjective. Let ZZ be an arbitrary set and let β′,β′′:B→Z\beta', \beta'': B \to Z be functions such that

β′∘f=β′′∘f.\beta' \circ f = \beta'' \circ f.

Note that ff has a right-inverse gg, so we may apply it both sides and make use of associativity:

β′∘(f∘g)=β′′∘(f∘g)  ⟹  β′∘idB=β′′∘idB  ⟹  β′=β′′.\beta' \circ (f \circ g) = \beta'' \circ (f \circ g) \implies \beta' \circ \id_B = \beta'' \circ \id_B \implies \beta' = \beta''.

Thus ff is epimorphic.

(⟸):(\Longleftarrow): Suppose ff is not surjective. Let ZZ be an arbitrary set and let z0∈Z∉im⁡(f)z_0 \in Z \notin \im(f). Define β′,β′′:B→Z\beta', \beta'': B \to Z by the following rules

β′(im⁡(f))=β′′(im⁡(f))β′(z0)≠β′′(z0).\beta'(\im(f)) = \beta''(\im(f)) \qquad \beta'(z_0) \ne \beta''(z_0).

Then β′∘f=β′′∘f\beta' \circ f = \beta'' \circ f since they agree on ff's image values, but β′≠β′′\beta' \ne \beta''. Thus ff is not epimorphic, completing a contrapositive proof.

A monomorphism (resp. epimorphism) is denoted by ↪\hookrightarrow (resp. ↠\twoheadrightarrow).

[1.4.5]Remark(Product Decomposition)#

Observe the decomposition of the Cartesian product of sets A×BA \times B in terms of inclusions (monomorphisms) and projections (epimorphisms) as follows.

The inclusion maps ibi_b (resp. iai_a) map a set to the product by ib(a)=(a,b)i_b(a) = (a, b) (resp. ia(b)=(a,b)i_a(b) = (a, b))—they are obviously monomorphic. Moreover, the projection maps πA\pi_A (resp. πB\pi_B) project a product onto a set by πA((a,b))=a\pi_A((a, b)) = a (resp. πB((a,b))=b\pi_B((a, b)) = b)—they are obviously epimorphic.

We now reach the canonical decomposition, an extremely important decomposition that yields a natural isomorphism of sets (and perhaps other structures).

[1.4.6]Remark(Canonical Decomposition)#

Let f:A→Bf: A \to B be a map of sets from AA to BB. Define ∼\sim be an equivalence relation on SS such that

a∼b  ⟺  f(a)=f(b).a \sim b \iff f(a) = f(b).

Note that the map sending an element a∈Aa \in A to its equivalence class [a]∼[a]_\sim is epimorphic—we denote it π:A↠A/∼\pi: A \twoheadrightarrow A/{\sim}. Note ff decomposes as follows.

In words, the map a↦f(a)a \mapsto f(a) can be decomposed canonically as follows:

  1. Take each a∈Aa \in A to its equivalence class [a]∼∈A/∼[a]_\sim \in A/{\sim}. Note the canonical projection π:A↠A/∼\pi: A \twoheadrightarrow A/{\sim} is an epimorphism.

  2. Take each equivalence class [a]∼∈A/∼[a]_\sim \in A/{\sim} to the image of any element of the equivalence class f(a)∈im⁡(f)f(a) \in \im(f). This is justified by all elements of [a]∼[a]_\sim mapping to the same element in im⁡(f)\im(f). This is an isomorphism of sets f∼:A/∼→∼im⁡(f)\stackrel{\sim}{f}: A/{\sim} \stackrel{\sim}{\to} \im(f).

  3. Finally, embed the elements of im⁡(f)\im(f) into BB by the inclusion map i:im⁡(f)↪Bi: \im(f) \hookrightarrow B.

The lengthy description of this process effectively serves as proof.