Let A,B∈Obj(C) with f∈HomC(A,B).
Show that if f has a right inverse g∈HomC(B,A), then f is an epimorphism.
Show that the converse is not true by explicitly constructing a category and an epimorphism without a right-inverse.
Solution. Let β′,β′′∈HomC(C,A), with C∈Obj(C), be such that
β′∘f=β′′∘f. Apply g to both sides, yielding
β′∘(f∘g)=β′′∘(f∘g)⟹β′∘1B=β′′∘1B⟹β′=β′′, completing (1).
To do (2), consider the category C induced by the partial ordering ≤ on Z. Then fix the morphism f:2↠3, which is right-cancellative by inspection (and thus epic). However note f has no right inverse (3 can never map to 2), completing the proof.