Examples of Groups
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll build the small collection of groups that every later theorem gets tested against, learn to compute in and , and see the first genuine surprise: there are exactly two groups of order four, and they are not the same.
The Concept
Section titled “The Concept”A working zoo
Section titled “A working zoo”Abstract theorems are hard to believe until you can check them against something concrete. Six groups will carry you through the entire section.
The integers mod n
Section titled “The integers mod n”with addition that wraps around at . This is clock arithmetic, and it’s the most useful finite group there is.
| + | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 2 | 3 | 4 | 5 |
| 1 | 1 | 2 | 3 | 4 | 5 | 0 |
| 2 | 2 | 3 | 4 | 5 | 0 | 1 |
| 3 | 3 | 4 | 5 | 0 | 1 | 2 |
| 4 | 4 | 5 | 0 | 1 | 2 | 3 |
| 5 | 5 | 0 | 1 | 2 | 3 | 4 |
Shading the even elements shows a smaller group living inside the larger one. Every row and column is a shifted copy of the element list, which is the signature of a group table.
Identity: 0. Cells holding it mark inverse pairs. Shaded: 0, 2, 4 (the even elements) - closed, every product stays inside .
Every is a group: closure by construction, associativity inherited from , identity , and the inverse of is (with its own inverse). All are abelian.
The unit group U(n)
Section titled “The unit group U(n)”Multiplication mod is not a group on all of , because never has an inverse and other elements can fail too. Keep only the ones that work.
has a multiplicative inverse mod exactly when . The reason is Bézout’s identity: means there are integers with , and reading that mod gives , so is the inverse. Conversely if then every multiple of is divisible by , so it can never be .
, and .
| × | 1 | 3 | 5 | 7 |
|---|---|---|---|---|
| 1 | 1 | 3 | 5 | 7 |
| 3 | 3 | 1 | 7 | 5 |
| 5 | 5 | 7 | 1 | 3 |
| 7 | 7 | 5 | 3 | 1 |
Every element is its own inverse, since the identity 1 fills the whole diagonal. That makes U(8) a Klein four-group rather than a cycle.
Identity: 1. Cells holding it mark inverse pairs.
The size of is Euler’s totient , the count of integers below coprime to it. When is prime, , because every nonzero residue is coprime to a prime. That is why has all four nonzero elements while has only four of seven.
The two groups of order four
Section titled “The two groups of order four”Here is the first result that couldn’t have been guessed. There are exactly two groups with four elements, and no more.
| + | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| 0 | 0 | 1 | 2 | 3 |
| 1 | 1 | 2 | 3 | 0 |
| 2 | 2 | 3 | 0 | 1 |
| 3 | 3 | 0 | 1 | 2 |
Adding 1 repeatedly visits 1, 2, 3, 0, so a single element generates everything. The element 1 has order 4.
Identity: 0. Cells holding it mark inverse pairs.
| ∗ | e | a | b | c |
|---|---|---|---|---|
| e | e | a | b | c |
| a | a | e | c | b |
| b | b | c | e | a |
| c | c | b | a | e |
Here every non-identity element squares to e, so nothing generates the whole group. No relabelling can turn this table into the one above.
Identity: e. Cells holding it mark inverse pairs.
Both are abelian, both have four elements, and they are genuinely different structures. The proof is short: in the element satisfies , so some element does not square to the identity. In , every element does. That property survives any relabelling, so no dictionary can translate one table into the other.
This is the moment abstraction starts paying off. “How many elements” is not enough information to pin down a group.
Non-abelian examples
Section titled “Non-abelian examples”Everything above commutes. Two families that don’t:
- , the symmetric group, is all ways to rearrange objects, combined by doing one rearrangement then another. has 6 elements and is the smallest non-abelian group.
- , the dihedral group, is the symmetries of a regular -gon: rotations and reflections. , the symmetries of a square, has 8 elements.
Both get their own lessons. For now, note that a reflection followed by a rotation is generally not the same as the rotation followed by the reflection, which you can verify with a physical square in about ten seconds.
Direct products
Section titled “Direct products”Given groups and , the direct product consists of pairs combined componentwise:
Its order is . This is how new groups get built from old ones, and it turns out the Klein four-group is exactly : the pairs , where adding any element to itself gives .
Worked Examples
Section titled “Worked Examples”Example 1: Compute in .
Find , the inverse of , and .
Solution.
.
The inverse of is . Check: . ✓
. So adding three times returns to the identity, meaning has order 3 in this group.
Example 2: Find and the inverse of 3 in it.
Solution. Test each of through for . Discard (sharing a factor 2 or 5).
For the inverse of : , so .
Example 3: Is a group under multiplication mod 7?
Solution. is prime, so every element from to is coprime to , and this set is exactly .
Inverses: , so , so , so .
Yes, a group of order 6. It is abelian. Notably it is not the same as , which also has order 6 but is non-abelian, so again order alone doesn’t determine the group.
Example 4: Show is not cyclic.
Solution. Square each element mod 8.
Every element squares to . So repeatedly multiplying any single element only ever produces , never all four.
is therefore a Klein four-group, not . Compare , where , , , : powers of sweep out everything, so .
Example 5: The smallest non-abelian group.
Show is not abelian.
Solution. Label positions 1, 2, 3. Let swap positions 1 and 2, and let swap positions 2 and 3.
Apply then to the arrangement : after it is ; after swaps the contents of positions 2 and 3 it is .
Apply then : after it is ; after it is .
, so . Non-abelian.
No group of order 1, 2, 3, 4, or 5 is non-abelian, so at order 6 is genuinely the smallest.
Example 6: Build a group of order 6 as a product.
Solution. has elements: .
Consider and add it to itself repeatedly:
Six distinct elements before returning to the identity, so generates the whole group and .
Contrast , where every element added to itself gives , so nothing generates all four. The rule behind the difference: exactly when .
Real-World Applications
Section titled “Real-World Applications”RSA encryption lives in for a product of two large primes. The public exponent and private exponent are inverses modulo , and the whole scheme works because is a group of known order. Knowing requires knowing and , which is the hard part an attacker faces.
Musical transposition is . The circle of fifths is repeated addition of 7, and it reaches all twelve pitch classes because . Adding 4 instead cycles only through three notes, giving an augmented triad, because .
Days of the week are , which is why “90 days from Tuesday” is a computation in a group of order 7: , so six days past Tuesday, which is Monday.
Check digits. ISBN-10 validation is arithmetic mod 11 and credit card numbers use the Luhn algorithm mod 10. Both catch single-digit errors because of the group structure; ISBN uses 11 rather than 10 precisely because 11 is prime and so every nonzero residue is invertible.
Crystallography. Every crystal’s symmetry is one of 230 space groups, and the classification is a result about which groups can act on a repeating lattice. Chemists identify a compound’s group from its spectrum.
Retrying will remove your ✅ checkmark until you pass again.