Monoid (category theory)


In category theory, a branch of mathematics, a monoid in a monoidal category is an object together with two morphisms
such that the pentagon diagram
and the unitor diagram
commute. In the above notation, is the identity morphism of, is the unit element and and are respectively the associator, the left unitor and the right unitor of the monoidal category.
Dually, a comonoid in a monoidal category is a monoid in the dual category.
Suppose that the monoidal category has a braiding. A monoid in is commutative when.

Examples

Categories of monoids

Given two monoids and in a monoidal category C, a morphism is a morphism of monoids whenfμ = μ′ ∘,fη = η′.
In other words, the following diagrams
,
commute.
The category of monoids in C and their monoid morphisms is written MonC.