In a
concrete category (in which each object has an underlying set), if the underlying function of a morphism is surjective, then the morphism is epi. In many concrete categories of interest the converse is also true. For example, in the following categories, the epimorphisms are exactly those morphisms that are surjective on the underlying sets: •
Set:
sets and functions. To prove that every epimorphism in
Set is surjective, we compose it with both the
characteristic function of the image and the map that is constant 1. •
Rel: sets with
binary relations and relation-preserving functions. Here we can use the same proof as for
Set, equipping with the full relation {{math|{0, 1}×}}. •
Pos:
partially ordered sets and
monotone functions. If is not surjective, pick in and let be the characteristic function of and the characteristic function of . These maps are monotone if is given the standard ordering . •
Grp:
groups and
group homomorphisms. The result that every epimorphism in
Grp is surjective is due to
Otto Schreier (he actually proved more, showing that every
subgroup is an
equalizer using the
free product with one amalgamated subgroup); an
elementary proof can be found in (Linderholm 1970). •
FinGrp:
finite groups and group homomorphisms. Also due to Schreier; the proof given in (Linderholm 1970) establishes this case as well. •
Ab:
abelian groups and group homomorphisms. •
-Vect:
vector spaces over a
field and
-linear transformations. •
Mod-:
right modules over a
ring and
module homomorphisms. This generalizes the two previous examples; to prove that every epimorphism in
Mod- is surjective, we compose it with both the canonical
quotient map and the
zero map . •
Top:
topological spaces and
continuous functions. To prove that every epimorphism in
Top is surjective, we proceed exactly as in
Set, giving {0, 1} the
indiscrete topology, which ensures that all considered maps are continuous. •
HComp:
compact Hausdorff spaces and continuous functions. If is not surjective, let Since is closed, by
Urysohn's Lemma there is a continuous function such that is on and on . We compose with both and the zero function However, there are also many concrete categories of interest where epimorphisms fail to be surjective. A few examples are: • In the
category of monoids,
Mon, the
inclusion map N →
Z is a non-surjective epimorphism. To see this, suppose that
g1 and
g2 are two distinct maps from
Z to some monoid
M. Then for some
n in
Z,
g1(
n) ≠
g2(
n), so
g1(−
n) ≠
g2(−
n). Either
n or −
n is in
N, so the restrictions of
g1 and
g2 to
N are unequal. • In the category of algebras over commutative ring R, take R[x]\to R[x,x^{-1}] the polyomials over R included in the
Laurent polynomials (this is the morphism of
monoid rings corresponding to the above inclusion
N →
Z). This is an epimorphism since any homomorphism of algebras respects multiplicative inverse whenever it is defined, so the image of x\in R[x] determines the image of any Laurent polynomial. • In the
category of rings,
Ring, the inclusion map
Z →
Q is a non-surjective epimorphism; to see this, note that any
ring homomorphism on
Q is determined entirely by its action on
Z, similar to the previous example. A similar argument shows that the natural ring homomorphism from any
commutative ring R to any one of its
localizations is an epimorphism. • In the
category of commutative rings, a
finitely generated homomorphism of rings
f :
R →
S is an epimorphism if and only if for all
prime ideals
P of
R, the ideal
Q generated by
f(
P) is either
S or is prime, and if
Q is not
S, the induced map
Frac(
R/
P) → Frac(
S/
Q) is an
isomorphism (
EGA IV 17.2.6). • In the category of Hausdorff spaces,
Haus, the epimorphisms are precisely the continuous functions with
dense images. For example, the inclusion map
Q →
R is a non-surjective epimorphism. The above differs from the case of monomorphisms where it is more frequently true that monomorphisms are precisely those whose underlying functions are
injective. As for examples of epimorphisms in non-concrete categories: • If a
monoid or
ring is considered as a category with a single object (composition of morphisms given by multiplication), then the epimorphisms are precisely the right-cancellable elements. • If a
directed graph is considered as a category (objects are the vertices, morphisms are the paths, composition of morphisms is the concatenation of paths), then
every morphism is an epimorphism. ==Properties==