Morphism=monomorphism•epimorphism? Is it true that any morphism in any category can be written as a combination of monomorphism and epimorphism? In SET and categories where monomorphism is an injective function and epimorphism is a surjective function is it true. But I am interested about the issue in any category. How to prove that statement or there is a counterexample?
 A: In general there is no reason for this to be true. A simple counterexample is the category with one object $x$ and exactly one non-identity arrow $f:x\to x$, where $f\circ f=f$. In this category $f$ is neither a monomorphism nor an epimorphism, so the only monomorphism/epimorphism is the identity, and $f$ is not a composition of the identity with itself. More generally, if $\mathcal{C}$ is a category where every epimorphism or monomorphism is an isomorphism, then clearly an arrow that is not an isomorphism cannot be decomposed like that (though I can't think of any other example of this kind).
It is true, however, for most concrete categories that one usually considers; in particular, a category where every morphism factors as a strong epimorphism followed by a monomorphism and strong epimorphisms are stable under pullbacks is called a regular category, and any quasivariety of universal algebra, any abelian category or any quasitopos is regular. Note that the category of topological spaces is not regular, but it still has the property that every arrow factors as an epi followed by a mono (in fact its dual is regular).
