
A direct product keeps two coordinates and computes with each of them. A quotient starts with one semigroup and identifies elements whose differences can be ignored by its operation. In a quotient, the inputs to the new operation are entire classes.
1. Direct Products
For semigroups and , the direct product has underlying set and operation
The right side lies in because each operation is closed. In a three-factor product, each coordinate can be regrouped by the associativity of its own operation. Equality in both coordinates gives associativity in the product. If the two factors are monoids, is the identity.
For example, use under addition modulo 2 in the first coordinate and under in the second. Then and the identity is . The projection is a homomorphism because the first coordinate of the product is precisely .
2. Congruence Relations and Classes
Take an equivalence relation on . As in Note 1.7, the class of is the set . Members of this set are representatives of the same class. When meets the additional condition below, these same sets are called congruence classes.
An equivalence relation is a congruence on if
This requires invariance under replacement in both input positions. Equivalently, for all and ,
The two-input condition implies each one-input condition by . Conversely, replace first and then to get , and apply transitivity. On a commutative semigroup, commutativity makes the two one-input tests equivalent.
For a finite operation table, collect rows belonging to one class and columns belonging to another. Every entry in that rectangular block must belong to the same output class. Repeat for each ordered pair of classes. The output class may vary from one rectangle to the next.
3. Defining the Quotient Operation
The quotient set is . We would like to compute on its elements by
To check that this rule is well-defined, suppose and . Then and . Congruence gives , so both representative choices yield the same output class. Conversely, if the displayed rule is well-defined, those two equal input classes must give equal output classes, which proves the congruence condition. This establishes the exact condition for the rule to define a binary operation.
The result is the quotient semigroup. Its associativity follows from
If is a monoid, is the quotient identity. The projection , given by , is a surjective homomorphism by the definition of .
4. Worked Examples
Addition Modulo Three
On let mean . Divisibility of differences establishes reflexivity, symmetry, and transitivity. To check compatibility, if and , then . The three classes are for .
For example, and . The choices and both give . The choice gives , which is the same output class.
How the Operation Affects Compatibility
On let mean . Equality of absolute values defines an equivalence relation. Here . For the same input classes and , the representative pair produces , while produces . The two outputs differ, so the proposed addition on classes is ambiguous.
Even the same relation can behave differently under a change of operation. Modulo 3 is compatible with addition, as proved above. With on , the equal classes and the fixed second input give and . Since , this relation fails compatibility with .
5. The Fundamental Homomorphism Theorem
Let be a semigroup homomorphism. Define its kernel congruence by if . Equality of images gives an equivalence relation. If and , preservation of the operation gives
so is a congruence. The classes are the nonempty fibers of . The induced map
is well-defined because representatives in one class have equal images. It is injective because equal images imply equal classes, and surjective onto because each element there is some . Finally, proves preservation. Thus , and . If is surjective, the image is all of . Conversely, every congruence is the kernel congruence of its own quotient projection.
Worked example. Let be a nonempty alphabet and map to by word-length parity. The two classes are all even-length words and all odd-length words. Concatenation adds lengths, so the map preserves addition of their parities. The empty word attains , and a one-letter word attains , proving surjectivity. The quotient is isomorphic to addition modulo 2. In particular, concatenating any two odd-length representatives gives an even-length word, so the odd class combined with itself gives the even class.
6. Self-Check
On use the partition . Determine whether it defines a congruence and write the product table.
Show the quotient
Write and . A sum of two nonnegative integers is zero precisely when both inputs are zero. Thus the output class depends only on the two input classes, which proves compatibility. The products are , , and . The quotient is isomorphic to under by sending to and to .
Sources
- Bernard Kolman, Robert C. Busby, and Sharon Cutler Ross, Discrete Mathematical Structures, 6th edition, Section 9.3.
- Course slides.
Updated: