Here’s the gist: both coequalizers and pushouts are colimits (dual-notions of limits), and both equalizers and pullbacks are limits. In fact, each “parallel‐pair” construction can be seen as a special case of the corresponding “span/cospan” construction, and conversely one can build general spans (resp. cospans) from parallel pairs plus coproducts (resp. products).
1. Shapes of the diagrams
• Equalizer of (f,g\colon A\rightrightarrows B)
– It is the limit of the parallel‐pair diagram
[
A ;\rightrightarrows^f_g; B.
]
• Pullback of (f\colon X\to Z) and (g\colon Y\to Z)
– It is the limit of the cospan
[
X;\xrightarrow{,f,};Z;\xleftarrow{,g,};Y.
]
• Coequalizer of (f,g\colon A\rightrightarrows B)
– It is the colimit of the parallel‐pair
[
A ;\rightrightarrows^f_g; B.
]
• Pushout of (f\colon A\to B) and (g\colon A\to C)
– It is the colimit of the span
[
B;\xleftarrow{,f,};A;\xrightarrow{,g,};C.
]
2. “Special‐case” vs. “build‐up”
2.1 Coequalizers as special pushouts
Take a parallel pair (f,g\colon A\to B). Consider the span
[
B ;\xleftarrow{,f,}; A ;\xrightarrow{,g,}; B.
]
Its pushout is exactly the coequalizer of (f) and (g). Concretely in Set you get
[
\mathrm{Pushout}(B\leftarrow A \to B);=;B/!\bigl{,f(a)\sim g(a)\bigr},
]
the usual quotient by the least equivalence identifying (f(a)) with (g(a)).
2.2 Pushouts from coproducts + coequalizers
Conversely, if your category has finite coproducts and coequalizers, you can build any pushout
[
B;\xleftarrow{f};A;\xrightarrow{g};C
]
as the coequalizer of the pair
[
\bigl[B \amalg C \xleftarrow{i_B};A \xrightarrow{i_C};B \amalg C\bigr],
]
where (i_B) and (i_C) are the obvious injections into the coproduct.
3. Dual story for pullbacks & equalizers
3.1 Equalizers as special pullbacks
Given (f,g\colon A\to B), consider the cospan
[
A ;\xrightarrow{,(f,g),};B\times B
;\xleftarrow{;\Delta;};B,
]
where (\Delta) is the diagonal. Its pullback is the equalizer of (f) and (g):
[
\mathrm{Pullback}(A\to B\times B;\leftarrow B);=;{,x\in A\mid f(x)=g(x)}.
]
3.2 Pullbacks from products + equalizers
If you have binary products and equalisers, then for any cospan
[
X;\xrightarrow{f};Z;\xleftarrow{g};Y
]
you form the two maps
[
X\times Y;\rightrightarrows;Z\times Z
\quad\text{via}\quad (f\circ\pi_1,;g\circ\pi_2),
]
and take their equalizer. That object is the pullback of (f) and (g).
4. Summary
- Coequalizer ≅ Pushout of a span (B\leftarrow A\to B).
- Equalizer ≅ Pullback of a cospan (A\to B\times B\leftarrow B).
- Pushouts can be built from coproducts + coequalizers.
- Pullbacks can be built from products + equalizers.
Dually all of this says:
• Parallel‐pair colimits (coequalizers) are special span‐colimits (pushouts),
• Span‐colimits are built from parallel‐pair colimits plus coproducts.
—and the same story with arrows reversed for pullbacks ↔ equalisers.