Loading lessons...
Algebraic Structures: Semigroup, Monoid & Group
1. Binary Operations
A binary operation ∗ on a non-empty set G is a function ∗ : G × G → G. "→ G" is the closure property: a ∗ b ∈ G for all a, b ∈ G, and the result is unique.
- + is a binary operation on Z (−3 + (−2) = −5 ∈ Z).
- − is not a binary operation on N (2 − 5 ∉ N).
- ÷ is not a binary operation on Z (1 ÷ 2 ∉ Z) or on R (division by 0).
A set with one or more binary operations is an algebraic structure: (Z, +), (Z, +, ·), (P(S), ∪, ∩).
2. Properties of a Binary Operation
| Property | Condition | Example |
|---|---|---|
| Closure | a ∗ b ∈ G | (Z, +) |
| Associative | a ∗ (b ∗ c) = (a ∗ b) ∗ c | −3 + (−2 + 4) = (−3 + (−2)) + 4 = −1 |
| Identity e | a ∗ e = e ∗ a = a | 0 for (Z, +), 1 for (Z, ·) |
| Inverse a⁻¹ | a ∗ a⁻¹ = a⁻¹ ∗ a = e | −a in (Z, +) |
| Commutative | a ∗ b = b ∗ a | −7 + 6 = 6 + (−7) |
3. The Hierarchy
Groupoid → semigroup → monoid → group → abelian group
| Structure | Closure | Associative | Identity | Inverse | Commutative |
|---|---|---|---|---|---|
| Groupoid (magma) | ✅ | ||||
| Semigroup | ✅ | ✅ | |||
| Monoid | ✅ | ✅ | ✅ | ||
| Group | ✅ | ✅ | ✅ | ✅ | |
| Abelian group | ✅ | ✅ | ✅ | ✅ | ✅ |
Examples
- (N, +): semigroup, not a monoid (0 ∉ N).
- (N ∪ {0}, +) and (Z, ·): monoids, not groups (2 has no inverse).
- The set of strings Σ* under concatenation: a monoid with identity the empty string λ (central to automata theory).
- (Z, +), (Q, +), (R, +), (Q − {0}, ·): abelian groups.
- (Z, −): groupoid only (− is not associative).
4. Composition (Cayley) Tables
For a finite group the Cayley table lists every product. Each element appears exactly once in every row and every column (a Latin square) - a consequence of the cancellation laws below.
(Z₅, +₅) - addition modulo 5:
| +₅ | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| 0 | 0 | 1 | 2 | 3 | 4 |
| 1 | 1 | 2 | 3 | 4 | 0 |
| 2 | 2 | 3 | 4 | 0 | 1 |
| 3 | 3 | 4 | 0 | 1 | 2 |
| 4 | 4 | 0 | 1 | 2 | 3 |
e.g. 3 +₅ 4 = 7 mod 5 = 2. Identity 0; inverses 1 ↔ 4, 2 ↔ 3. The table is symmetric about the diagonal ⇒ abelian.
Solved (PYQ). Prove that the fourth roots of unity G = {1, −1, i, −i} form an abelian group under multiplication.
| × | 1 | −1 | i | −i |
|---|---|---|---|---|
| 1 | 1 | −1 | i | −i |
| −1 | −1 | 1 | −i | i |
| i | i | −i | −1 | 1 |
| −i | −i | i | 1 | −1 |
- Closure: every entry is in G ✓
- Associativity: multiplication of complex numbers is associative ✓
- Identity: 1 ✓
- Inverses: 1⁻¹ = 1, (−1)⁻¹ = −1, i⁻¹ = −i, (−i)⁻¹ = i ✓
- Commutativity: table symmetric ✓ ⇒ abelian group of order 4. ∎
Similarly {1, ω, ω²} (cube roots of unity, ω³ = 1) is an abelian group under ×.
5. Basic Theorems
Theorem 1-The identity is unique. Proof. Let e and e′ both be identities. Then e = e ∗ e′ (e′ is an identity) = e′ (e is an identity). ∎
Theorem 2-Each element has a unique inverse. Proof. Let b and c both be inverses of a. Then b = b ∗ e = b ∗ (a ∗ c) = (b ∗ a) ∗ c = e ∗ c = c. ∎
Theorem 3-Cancellation laws. a ∗ b = a ∗ c ⇒ b = c, and b ∗ a = c ∗ a ⇒ b = c. Proof. Multiply on the left by a⁻¹: a⁻¹ ∗ (a ∗ b) = a⁻¹ ∗ (a ∗ c) ⇒ (a⁻¹ ∗ a) ∗ b = (a⁻¹ ∗ a) ∗ c ⇒ b = c. ∎
Theorem 4-Socks and shoes. (a ∗ b)⁻¹ = b⁻¹ ∗ a⁻¹ and (a⁻¹)⁻¹ = a. Proof. (a ∗ b) ∗ (b⁻¹ ∗ a⁻¹) = a ∗ (b ∗ b⁻¹) ∗ a⁻¹ = a ∗ e ∗ a⁻¹ = e. By uniqueness of inverses, (a ∗ b)⁻¹ = b⁻¹ ∗ a⁻¹. ∎
Theorem 5. In a group, a ∗ x = b has the unique solution x = a⁻¹ ∗ b.
Result. If every element of G satisfies a² = e, then G is abelian. Proof. ab = (ab)⁻¹ = b⁻¹a⁻¹ = ba, since each element is its own inverse. ∎
6. Order of a Group and of an Element
- Order of a group o(G) = number of elements.
- Order of an element a: the least positive n with aⁿ = e (or ∞).
In {1, −1, i, −i}: o(1) = 1, o(−1) = 2, o(i) = o(−i) = 4. In (Z₆, +₆): o(1) = 6, o(2) = 3, o(3) = 2.
📝 IPU End-Term Exam Corner (5-10 Marks)
- Q1. Define semigroup, monoid and group with one example each. Give a monoid that is not a group. (5 Marks)
- Q2. Prove that the fourth roots of unity form an abelian group under multiplication. (5 Marks)
- Q3. Prove that in a group the identity element and the inverse of each element are unique. (5 Marks)
- Q4. Prove (ab)⁻¹ = b⁻¹a⁻¹ and that a group in which a² = e for every a is abelian. (5 Marks)