Coequalizer
In category theory, a coequalizer (or coequaliser) is a generalization of a quotient by an equivalence relation to objects in an arbitrary category. It is the categorical construction dual to the equalizer (hence the name).
Definition
A coequalizer is a colimit of the diagram consisting of two objects X and Y and two parallel morphisms f, g : X → Y.
More explicitly, a coequalizer can be defined as an object Q together with a morphism q : Y → Q such that q ∘ f = q ∘ g. Moreover, the pair (Q, q) must be universal in the sense that given any other such pair (Q′, q′) there exists a unique morphism u : Q → Q′ for which the following diagram commutes:
As with all universal constructions, a coequalizer, if it exists, is unique up to a unique isomorphism (this is why, by abuse of language, one sometimes speaks of "the" coequalizer of two parallel arrows).
It can be shown that a coequalizer q is an epimorphism in any category.
Examples
In the category of sets, the coequalizer of two functions f, g : X → Y is the quotient of Y by the smallest equivalence relation
such that for every
, we have
. In particular, if R is an equivalence relation on a set Y, and r1, r2 are the natural projections (R ⊂ Y × Y) → Y then the coequalizer of r1 and r2 is the quotient set Y/R. (See also: quotient by an equivalence relation.)