Quotient objects, their universal property and the isomorphism theorems
This is a question that has been bothering me for quite a while. Let me put between quotation marks the terms that are used informally.
"Quotient objects" are always the same. Take groups, abelian groups, rings, topological vector spaces for example. Inside every object there are certain "subobjects" that we can divide by: normal subgroups, subgroups, ideals and subspaces with the subspace topology, respectively.
I (think I) know from an universal algebra viewpoint (of which I know nothing) that in the case of "algebraic" objects, the "subobjects" we take the quotient by are determined by congruences: equivalence relations on the cartesian product that respect the operation(s).
The first problem is:
1) How to define categorically the "subobjects" by which we take quotients?
Now, the resulting "quotient object" $G/N$ always satisfies the same universal property: it comes with a morphism $\pi$ such that $\pi:G\to G/N$ and $N\subset ker \,\pi$, which is universal with respect to this: any other such morphism factors through $\pi$.
The second (intimately linked) problem is:
2) How to define categorically these "quotient objects" and express in fancy terms the universal property they satisfy?
Now, in "algebraic" categories there are well-known isomorphism theorems. In the Wikipedia link, it is explained that they are all a special case of the universal algebra statement.
3) How can we express them in categorical terms?
Any insightful answer, even if partial, will be very welcome.
First of all, let me say that there already well-defined notions of subobjects and quotient objects in category theory. I'll state them here for reference:
Definition. A subobject of an object $A$ in a category $\mathbf{C}$ is an equivalence class of monomorphisms with codomain $A$, where we identify two monomorphisms $m : B \to A$, $m' : B' \to A$ as equivalent just if there is an isomorphism $f : B \to B'$ such that $m = m' \circ f$.
Definition. A quotient object of an object $A$ in a category $\mathbf{C}$ is a subobject of $A$ in the opposite category $\mathbf{C}^{\textrm{op}}$. Explicitly, it is an equivalence class of epimorphisms with domain $A$, where we identify two epimorphisms $e : A \to B$ and $e' : A \to B'$ as equivalent just if there is an isomorphism $f : B' \to B$ such that $e = f \circ e'$.
But we shall see by means of examples that these aren't necessarily what we want them to be.
Example. In the category of topological spaces, subspaces are subobjects. But so are other things. Indeed, if $B$ has a finer topology than $A$, then $B$ is also a subobject of $A$.
Example. In the category of monoids, $\mathbb{Z}$ is a quotient of $\mathbb{N}$, because the natural inclusion map $\mathbb{N} \hookrightarrow \mathbb{Z}$ is epic.
The problem is that the notions of monomorphism and epimorphism are a bit too general to capture the properties we want. So we should begin by defining some ‘stronger’ notions of mono/epi.
Definition. A regular monomorphism is an monomorphism which is an equaliser of some pair of parallel morphisms. A regular epimorphism is a coequaliser of some pair of parallel morphisms.
Example. The kernel of a group/ring/module/etc. homomorphism is a regular monomorphism: indeed, $\ker f$ is the equaliser of $f$ and the zero morphism.
Example. Conversely, in an abelian category, every regular monomorphism is a kernel: indeed, the equaliser of $f, g : A \to B$ is precisely the same thing as $\ker (f-g)$, by the above observation.
Example. In the category of topological spaces, the inclusion of a subspace $B \hookrightarrow A$ is a regular monomorphism: it is the equaliser of its characteristic map $A \to 2$ (where $2$ is given the indiscrete topology) and a constant map. Conversely, every regular monomorphism is (isomorphic to) the inclusion of a subspace.
This suggests we're on the right track. Let's look now at the epimorphisms.
Example. The coimage of a group/ring/module/etc. homomorphism is a regular epimorphism: indeed, $\operatorname{coim} f$ is the coequaliser of $\ker f$ and the zero morphism. In particular, the projection maps onto quotient groups/rings/modules/etc. are regular epimorphisms. The converse is true in abelian categories by an argument similar to the one before.
Example. Let $A / R$ be the quotient of a topological space $A$ by an equivalence relation $R$. Then the projection map $\pi : A \to A / R$ is a regular epimorphism. Recall that $R$ is a subset of the cartesian product $A \times A$; so let us take $A \times A$ with the induced product topology and topologise $R$ with subspace topology. Then we have reified $R$ as an object in $\textbf{Top}$. Let $p_1, p_2 : R \to A$ be the projections. It is not hard to verify that $\pi : A \to A / R$ is the coequaliser of $p_1$ and $p_2$, so it is indeed a regular epimorphism.
Unfortunately, it turns out that in the category of groups, monomorphisms and regular monomorphisms are the same thing. (For a proof, see here.) So perhaps regular monomorphisms aren't a perfect fit for what we're looking for. Nonetheless, in sufficiently nice categories, we do have the following analogue of the first isomorphism theorem:
Theorem. In any regular category, (the domain of) the image of a morphism is isomorphic (the codomain of) its regular coimage (the coequaliser of its kernel pair).
Examples. Any abelian category is regular, as is any semiabelian category and any topos.
So I think this is probably the right level of generality, even though it doesn't cover the category of groups or the category of topological spaces. (In fact, the conclusion of the above theorem is blatantly false in the category of topological spaces: intuitively, the regular coimage is topologised by the domain, while the image is topologised by the codomain; so, for example, the map from a discrete space to an indiscrete space will have non-isomorphic image and regular coimage.)