Suppose is an equivalence relation on a set . Show that the usual set of equivalence classes can be described by a coequalizer in .
Hints
Recall that an equivalence relation on is a subset satisfying various properties (e.g., transitive, etc.). Two elements are said to be equivalent exactly when . As such, the set comes with two projection maps to . These are your parallel arrows that the quotient set will "coequalize." Speaking of which, the set is defined to be the collection of equivalence classes in . Each element in is a subset consisting of all elements equivalent to each other. Each such subset is usually denoted , where is any representative of that subset. In other words, we have exactly when .
The quotient set also comes with a projection map . This is what is claimed to be the coequalizer of your parallel arrows.