After the preceding brief introduction to monoids, let's get straight to business and look at a formal definition of a monoid:
The preceding definition is definitely not enough to have a good understanding of monoids, so let's break it into pieces in this section and try to come up with a better one.
First, let's clarify the term algebraic structure:
Now that we know that monoids are defined only by the operations they support, let's have a look at the monoid laws: ...