examples of semigroups
Examples of semigroups are numerous. This entry presents some of the most common examples.
- 1.
The set of integers with multiplication is a semigroup, along with many of its subsets (subsemigroups):
- (a)
The set of non-negative integers
- (b)
The set of positive integers
- (c)
, the set of all integral multiples
of an integer
- (d)
For any prime , the set of , where is a non-negative integer
- (e)
The set of all composite integers
- (a)
- 2.
, the set of all integers modulo an integer , with integer multiplication modulo . Here, we may find examples of nilpotent
and idempotent elements, relative inverses, and eventually periodic elements:
- (a)
If , where is prime, then every non-zero element containing a factor of is nilpotent. For example, if , then .
- (b)
If , where is an odd prime, then is a non-trivial idempotent element (), and since by Fermat’s little theorem, we see that is a relative inverse of , as and
- (c)
If , where is an odd prime, and , then is eventually periodic. For example, , then , , , , , , , etc…
- (a)
- 3.
The set of square matrices
over a ring , with matrix multiplication
, is a semigroup. Unlike the previous two examples, is not commutative
.
- 4.
The set of functions on a set , with functional composition, is a semigroup.
- 5.
Every group is a semigroup, as well as every monoid.
- 6.
If is a ring, then with the ring multiplication (ignoring addition) is a semigroup (with ).
- 7.
Group with Zero. A semigroup is called a group with zero if it contains a zero element
, and is a subgroup
of . In in the previous example is a division ring, then with the ring multiplication is a group with zero. If is a group, by adjoining with an extra symbol , and extending the domain of group multiplication by defining for all , we get a group with zero .
- 8.
As mentioned earlier, every monoid is a semigroup. If is not a monoid, then it can be embedded in one: adjoin a symbol to , and extend the semigroup multiplication on by defining and , we get a monoid with multiplicative identity . If is already a monoid with identity
, then adjoining to and repeating the remaining step above gives us a new monoid with identity . However, is no longer an identity, as .