For the algebraic structure, see
Monoid.
In category theory, a branch of mathematics, a monoid (or monoid object, or internal monoid, or algebra)
in a monoidal category
is an object
together with two morphisms
called multiplication,
called unit,
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
.