Polynomials
Now we come to a really nice example of a semigroup ring. Start with the free commutative monoid on generators. This is just the product of copies of the natural numbers: . Now let’s build the semigroup ring on this monoid.
First off, an element of the monoid is an ordered -tuple of natural numbers . Let’s write it in the following, more suggestive notation: . We multiply such “monomials” just by adding up the corresponding exponents, as we know from the composition rule for the monoid. Now we build the semigroup ring by taking formal linear combinations of these monomials. A generic element looks like
where the are integers, and all but finitely many of them are zero.
Assuming everyone’s taken high school algebra, we’ve seen these before. They’re just polynomials in variables with integer coefficients! The addition and multiplication rules are just what we know from high school algebra. The only difference is here we specifically don’t think of as a “placeholder” for a number, but as an actual element of our ring.
But we can still use it as a placeholder. Let’s consider any other commutative ring with unit and pick elements of . Call them , , and so on up to . Since is a commutative monoid under multiplication there is a unique homomorphism of monoids from to sending to . That’s just what it means for to be a free commutative monoid. Now there’s a unique homomorphism of rings from to sending to , because is the semigroup ring of .
The upshot is that is the free commutative ring with unit on generators. Because of this, we’ll usually omit the intermediate step of constructing and just write this ring as .
There are similar constructions to this one that I’ll leave you to ponder on your own. What if we just constructed the free monoid on generators (not commutative)? What about the free semigroup? What sort of rings do we get, and what universal properties do they satisfy?