Examples of Groups
Examples of Groups
Examples of Groups
In this section, I’ll look at some additional examples of groups. Some of these will be discussed in more
detail later on.
In many of these examples, I’ll assume familiar things like associativity of addition or multiplication. A
really careful discussion would often require an extensive discussion of foundations: For instance, associativity
of addition for the integers would require a discussion of how the integers are constructed.
Example. (The integers mod n) Zn (read “Z mod n”) denote the set of equivalence classes of integers
under equality mod n. It’s a group under addition mod n.
If a and b are integers and n is a positive integer (in most cases, n > 1), then a and b are congruent
mod n if n divides a − b. In this case, you write a = b (mod n).
For example, −6 and 36 are congruent mod 14, since 14 divides 36 − (−6) = 42.
Equality mod n is an equivalence relation on Z, and therefore Z is partitioned into equivalence
classes. For example, the equivalence classes of integers mod 4 are
{. . . − 7, −3, 1, 5, 9, . . .},
{. . . − 6, −2, 2, 6, 10, . . .},
{. . . − 5, −1, 3, 7, 11, . . .}.
To say that this is a partition of Z means that every integer is in exactly one of these sets.
Thus, Z4 = {0, 1, 2, 3}. Add elements of Zn by adding and reducing mod n. Thus, in Z4 ,
2 + 2 = 0, 3 + 2 = 1, and so on.
Relative to congruence mod n, there are n equivalence classes: The class containing 0, the class con-
taining 1, . . . , the class containing n − 1. As usual, I’ll abuse notation and denote the equivalence classes by
0, 1, . . . , n − 1. Then Zn is the set of these n equivalence classes.
Addition mod n gives a binary operation on Zn . It is associative, and the identity is 0. If 0 ≤ k < n,
then the inverse of k is −k = n − k.
With these definitions, Zn is a group. It is called the cyclic group of order n.
I’ll take the axioms for granted right now; later, they will follow from the construction of Zn as a
quotient group of Z.
1 · 6 = 6 6= 0, 2 · 6 = 2 6= 0, 3 · 6 = 8 6= 0, 4 · 6 = 4 6= 0, but 5 · 6 = 0.
1
Example. (Guessing an identity and inverses) Define an operation ∗ on the real numbers by
a ∗ b = a + b + 2 for all a, b ∈ R.
(a ∗ b) ∗ c) = (a + b + 2) ∗ c = (a + b + 2) + c + 2 = a + b + c + 4,
a ∗ (b ∗ c) = a ∗ (b + c + 2) = a + (b + c + 2) + 2 = a + b + c + 4.
Thus, (a ∗ b) ∗ c) = a ∗ (b ∗ c), so ∗ is associative.
Next, I have to determine whether there is an identity for ∗. First, I’ll work backwards to guess what
the identity should be. This is not a proof ! Once I have my guess, I’ll confirm my guess (if possible).
Suppose e is the identity. Then in particular, e ∗ 3 = 3 (I picked 3 at random). This means that
e + 3 + 2 = 3, or e = −2.
My guess is that the identity is −2. To see if it works, let a ∈ R. Then
Example. (A left identity and right inverses) Let R∗ denote the nonzero reals. Define a binary
operation on R∗ by
a · b = |a|b.
(The operation is ·, and I multiply as usual on the right side.)
Show that the operation is associative, has a left identity but not a right identity, and has right inverses
but not left inverses. If a and b are nonzero real numbers, so is a · b = |a|b. Therefore, the set is closed under
the operation.
Let a, b, c ∈ R∗ . Then
2
In other words, 1 is not a two-sided identity, as required by the group definition.
1
There are also right inverses: a · = 1 for all a ∈ R∗ . But (for instance) there is no x ∈ R∗ such
|a|
that x · (−3) = 1, since
x · (−3) = |x|(−3) ≤ 0 for all x.
R∗ with · is not a group. This example shows why you have to be careful to check the identity and
inverse properties on “both sides” (unless you know the operation is commutative).
Note: It is true that if an associative operation has a left identity and every element has a left inverse,
then the set is a group.
First, I’ll check whether integer addition actually gives a binary operation on G. To do this, I need to
check whether the set is closed under the operation. I’ll take two arbitrary elements of G, add them, and
see if the sum is an element of G.
Let 8a + 14b, 8a′ + 14b′ ∈ G. Then
To show that the sum is in G, I have to write it in the form of a typical element of G, namely
8(stuff) + 14(junk).
Note that I didn’t pick two specific elements of G (like “22” and “0”): I used two general elements.
I also didn’t use “8a + 14b” and “8a + 14b”, since that would be using the same element twice.
Now I know that addition gives a binary operation on G.
I’m assuming that addition is associative.
Next, I must show that G has an identity element. 0 is an identity element for addition of integers, so
it will work for elements of G:
0 = 8 · 0 + 14 · 0 ∈ G.
3
Example. (Symmetry groups) A regular n-gon is a closed, convex polygon in the plane with n equal
sides. For example, a regular 3-gon is an equilateral triangle, and a regular 4-gon is a square.
A rigid motion of the plane is a map R2 → R2 which preserves distances. Dn , the dihedral group
of order 2n, is the group of rigid motions of the plane which carry a given regular n-gon onto itself. (Such a
rigid motion is said to preserve the figure. It is also called a symmetry of the figure.)
Construct D4 , the dihedral group of order 8 (the group of symmetrices of a square).
A map which carries the square onto itself must map vertices to vertices. Here is a picture of a square
with the vertices labelled.
3 4
1 2
Consider vertex 1. A rigid motion can map it to any of the 4 vertices. Once I know where 1 goes, 3 must
go to the vertex opposite it, since distance are preserved. Now there are only two possibilities for vertices 2
and 4. All together, I have 4 · 2 = 8 choices, so there at most 8 symmetries. I’ll show there are exactly 8 by
displaying 8 different symmetries.
(Before I do, note that the same argument shows that |Dn | ≤ 2n.)
I will take my square to be as pictured above. The 8 symmetries are as follows:
7. m+ , reflection across the “southwest to northeast” line which bisects the square.
8. m− , reflection across the “northwest to southeast” line which bisects the square.
m+
1 2 1 3
The operation on D4 is function composition — do one rigid motion after another. It’s clear that this
is a binary operation, but I need to establish a convention concerning how I will write the operation. I will
write
m+ · r3 to mean r3 , then m+ .
In other words, I’ll apply the motions from right to left. This is consistent with the usual notation for
composing functions: f (g(x)) means g first, then f .
4
The next picture shows the composite m+ · r3 . You can see that m+ · r3 = my .
3 4 1 3 4 3
r3 m+
1 2 2 4 2 1
my
With a little bit of patience (and perhaps a little cardboard square), you can generate the multiplication
table for D4 . Here it is:
id r1 r2 r3 m+ m− mx my
id id r1 r2 r3 m+ m− mx my
r1 r1 r2 r3 id my mx m+ m−
r2 r2 r3 id r1 m− m+ my mx
r3 r3 id r1 r2 mx my m− m+
m+ m+ mx m− my id r2 r1 r3
m− m− my m+ mx r2 id r3 r1
mx mx m− my m+ r3 r1 id r2
my my m+ mx m− r1 r3 r2 id
The next proposition contains the result I mentioned about rows and columns of finite group tables.
Proposition. In a finite group operation table, each row or column contains each element of the group
exactly once.
Proof. Consider the row for the element a ∈ G. If x occurs in the b and c-columns, this means that
ab = x = ac. Multiply this equation on the left by a−1 :
a−1 · ab = a−1 · ac
b=c
That is, the b and c-columns are actually the same column. Hence, each row contains a given element
at most once.
On the other hand, consider again the row for a ∈ G. Take x ∈ G; does x occur in this row? Well,
x = a · (a−1 x), so x occurs in the column for a−1 x. That is, every element of G occurs in the row for a.
All together, every element of G occurs exactly once in the row for a. A similar argument works for
columns.
Z2 = Z × Z = {(a, b) | a, b ∈ Z}.
5
Is this a group under componentwise-addition (“vector addition”)?
What about componentwise-multiplication?
It’s associative, and the identity is (1, 1). However, many pairs don’t have multiplicative inverses. For
example, suppose
(3, 0) · (a, b) = (1, 1).
Then
3a = 1 and 0 · b = 1.
The first equation has no integer solutions, and the second says “0 = 1”, so I have two contradictions!
Notes: If you use the notation “Z2 ” for this group, don’t confuse it with “Z2 ”.
You can replace Z with Q or R or C. Thus, Q×Q, R×R, and C×C are all groups under componentwise-
addition (and not under componentwise-multiplication). And you can extend this to more than two factors:
For example Z × Z × Z is a group under componentwise-addition.
6
However, GL(n, R) is not a group under matrix addition. In fact, you can add two invertible matrices
and get a non-invertible matrix; for example,
1 0 −1 0 0 0
+ = .
0 1 0 −1 0 0
Thus, addition of matrices is not a binary operation on GL(n, R).
Note: You can replace “R” in this example with Z, Q, C — in fact, you can even use the integers mod n
like Z5 . In the case of Z5 , you add and multiply elements of Z5 mod 5. And more generally, you can replace
“R” with any commutative ring with identity (I’ll discuss rings later).
Example. (Groups of order 2) Suppose G is a group of order 2: |G| = 2. Construct the multiplication
table for G.
Since G has two elements, G = {1, a}, where 1 is the identity and a 6= 1 is another element. a must
have an inverse; since a · 1 = a, the inverse of a is not 1. Therefore, the inverse of a is a, and a · a = 1. The
multiplication table for G looks like this:
· 1 a
1 1 a
a a 1
This group is called Z2 , the cyclic group of order 2. Here is another table for the same group:
+ 0 1
0 0 1
1 1 0
In this case, I think of Z2 as the set {0, 1}, with addition mod 2.
What do I mean when I say that they’re “the same group”?
I mean that I can get the second table from the first this way:
1 → 0, a → 1, b → 2.
This is an example of an isomorphism — a function which “matches up” elements of one group with
another, so the group table is preserved. (I’ll make this more precise later.) Isomorphic groups are the same
as groups. In this sense, Z2 is the only group of order 2.
Example. (Groups of order 3) Suppose that G is a group and |G| = 3. Construct the multiplication
table for G.
Let G = {1, a, b}, where 1, a, and b are different elements.
If aa = a, then aaa−1 = aa−1 = 1, or a = 1, contradicting the fact that a and 1 were distinct elements.
If aa = 1, then ab = b (because ab = a gives aab = aa = 1, or b = 1, contradicting the fact that b and 1 were
distinct elements). But then abb−1 = bb−1 = 1, so a = 1, the same contradiction as before. Hence, aa = b.
Using the principle that each row or column of a multiplication table contains each element exactly once, I
can fill in the rest of the table:
· 1 a b
1 1 a b
a a b 1
b b 1 a
7
This is Z3 , the cyclic group of order 3. Here is another table for the same group:
+ 0 1 2
0 0 1 2
1 1 2 0
2 2 0 1
These two tables give groups which are isomorphic. Up to isomorphism, there is only one group of order
3, namely Z3 .
There are two groups of order 4, one group of order 5, two groups of order 6, and one group of order 7.
No one knows a practical formula for determining how many groups of order n there are. And the method
of the preceding examples — essentially, trial and error — is untenable once n gets large.