20260319 - The monoids. (#1 of a series about Universal Algebra)
"They are useless," said a professor of mine once. Some people certainly consider them to be so. Many find them incomplete and feel that they’re lacking something important. They’re crippled groups. They’re monoids.
Think of any set of objects. Call it . It doesn’t matter. Operations can be defined in it as mappings like , where is a natural number, and is the set of all n-tuples of elements of A. It’s also defined that if , then . These mappings are called n-ary operations, and all monoids have both a binary and a nullary operation. Also called constants, nullary operations just fixate an element of .
Two operations may seem wrong for some, but here we’ll treat monoids as universal algebras. That is, a pair of a non-empty set , the of the algebra, and a family of operations on , indexed by some set . The fundamental or basic operations in our case are a binary operation that takes and associates them to and a nullary operation that picks out .
Three identities are also needed. These being the associative law and two identities for the neutral element , which are and , satisfied by any . Treat identities as axioms if you like, but bear in mind that they are equations satisfied for any "substitution" of elements of in place of the "variables" and . To not get too ahead of myself, I won’t show the formal reasoning behind identities yet, only a notation. We can denote , where and are the identities I just described, to say that M satisfies those identities.
The professor who considered monoids useless also stated recently that "algebra is a simple science." Considering the definitions given so far, we can easily consider what a subalgebra of an algebra is, or more specifically, what a submonoid of a monoid is. We say that is a subalgebra of if is an algebra with the operations defined in , or in other words, if is closed under the operations defined in . That is, if is a monoid, we consider a submonoid when , and for all , . Note that is immediate since is a subset of .
To say that monoids are crippled groups might be a little mean, but examples of monoids usually arise from structures where the underlying set is just "inverses short" of being a group. The natural set with the operation of sum and the set of all matrices of order in a field with the operation of product of matrices both fail to be groups by a tweak in their underlying sets. There are many other examples like that.
They probably aren’t completely useless, I think. Perhaps a bit too fundamental, too simple for you to care, but every so often I think of them.