In abstract algebra, a monoid ring is a ring constructed from a ring and a monoid, just as a group ring is constructed from a ring and a group.
Let R be a ring and let G be a monoid. The monoid ring or monoid algebra of G over R, denoted R[''G''] or RG, is the set of formal sums
\sumgrgg
rg\inR
g\inG
Alternatively, one can identify the element
g\inR[G]
(\phi\psi)(g)=\sumk\ell=g\phi(k)\psi(\ell)
Given R and G, there is a ring homomorphism sending each r to r1 (where 1 is the identity element of G),and a monoid homomorphism (where the latter is viewed as a monoid under multiplication) sending each g to 1g (where 1 is the multiplicative identity of R).We have that α(r) commutes with β(g) for all r in R and g in G.
The universal property of the monoid ring states that given a ring S, a ring homomorphism, and a monoid homomorphism to the multiplicative monoid of S,such that α'(r) commutes with β'(g) for all r in R and g in G, there is a unique ring homomorphism such that composing α and β with γ produces α' and β'.
The augmentation is the ring homomorphism defined by
η\left(\sumg\inrgg\right)=\sumg\inrg.
The kernel of η is called the augmentation ideal. It is a free R-module with basis consisting of 1 – g for all g in G not equal to 1.
Given a ring R and the (additive) monoid of natural numbers N (or viewed multiplicatively), we obtain the ring R[{''x''<sup>''n''</sup>}] =: R[''x''] of polynomials over R.The monoid Nn (with the addition) gives the polynomial ring with n variables: R['''N'''<sup>''n''</sup>] =: R[''X''<sub>1</sub>, ..., ''X''<sub>''n''</sub>].
If G is a semigroup, the same construction yields a semigroup ring R[''G''].
. Serge Lang . Algebra . . New York . 2002 . Rev. 3rd . . 211 . 0-387-95385-X.