Introduction to Groups
All of this course will be focused on concepts related to groups, one of the most important unifying ideas in mathematics. The group concept was implicit in mathematics for a long time — arguably from the introduction of negative numbers. It was a French teenager, Evariste Galois (1831), who first defined a group and gave it a name, writing up the sum total of his ideas in a long letter the night before he died in a duel to defend the honor of a sex worker. As you’ll soon see, the definition of a group is fairly simple. I think of groups as sitting fairly low down within the structure of mathematics. This means they are foundational — knowing more about groups tells you about all the objects that build upon them.
Group theory today is often described as the theory of symmetry. Some of the largest discoveries in science have been due to framing symmetries in nature in terms of groups. Noether’s theorem says that, in a precise sense, all conservation laws within a physical theory come from symmetries of that theory. For example, one way to phrase the development of special relativity is that physicists identified the correct symmetry group of spacetime — the Lorentz group. Group theory predicted the existence of many elementary particles before they were found experimentally. Several of the most important problems in physics and computer science can be phrased similarly.
The point of this first chapter is not to master every example. The point is to see the shape of the subject early: examples, calculations, subgroups, generators, homomorphisms, isomorphisms, and actions. Later chapters return to all of these ideas in much more detail.
Definitions and first examples
A group consists of two pieces of data: a set , and an associative binary operation with some properties. Before the formal definition, let’s give two examples:
Example
The pair is a group. is a set and the associative operation is addition. Note that there is a special element that has a special property:
This is called the identity element. Every element has an additive inverse:
Example
Let be the set of nonzero rational numbers. The pair is a group: the set is and the associative operation is multiplication. Again we see the same two nice properties: There is a special element such that
This is the identity element. For any rational number , there is an inverse such that
Definition
A group is a pair consisting of a set of elements , and a binary operation on , such that:
- has an identity element with the property that for all .
- The operation is associative, meaning that for all .
- Every element has an inverse , meaning that .
We’ll denote the size of the group by , sometimes called the order of the group. If is finite, we say is a finite group.
Note that we’ll often refer to the group only by the underlying set itself, leaving you to infer the operation from context.
Unimportant pedantic point
Some authors like to add a “closure axiom”, i.e. to explicitly say that . This is implied already by the fact that is a binary operation on .
Example
and are all groups under addition with and , for all .
Example
, , , and are all groups under multiplication with and , for all .
Invertible matrices
Consider the set of all invertible matrices with real entries, denoted by . This set forms a group under matrix multiplication, known as the general linear group. The identity element is the identity matrix, and the inverse of a matrix is its inverse , which also has real entries. The group operation is associative because matrix multiplication is associative. But wait, is it closed under multiplication? Yes! The product of two invertible matrices is also invertible, and the inverse of the product is given by , which is also an invertible matrix. Therefore, satisfies all the group axioms and is indeed a group.
Non-examples of groups
- is not a group under multiplication, since elements like do not have multiplicative inverses in .
- The pair is not a group. While there is an identity element, the element does not have an inverse.
- The natural numbers are not a group under addition. There is an identity element, but has no additive inverse inside .
- Let be the set of real matrices. Even though we have an identity matrix
not every matrix has a multiplicative inverse. For example, the zero matrix does not have a multiplicative inverse. Even if you delete the zero matrix from the set, it is still not a group — any matrix with determinant zero cannot have an inverse.
Basic algebra in a group
In a group we can calculate without knowing what the elements actually are. The symbols might be integers, matrices, functions, symmetries, or something stranger, but the same algebraic rules still hold.
Proposition
If is a group under the operation , then
- The identity of is unique.
- For each , is uniquely determined.
Proof
Suppose and were both identities. Then since is an identity, and since is an identity. Thus .
Suppose and were both inverses of . Then and . Thus
Therefore we can refer to the identity of and the inverse of without ambiguity.
From now on, when the operation is clear, we usually omit the symbol and write instead of . This is called multiplicative notation. When the group operation is addition, we use additive notation: the identity is written , the inverse of is written , and the product is written .
Proposition
Let be a group and let . Show that the following properties hold:
- If , then .
- If , then .
- .
- .
Proof
Let be the identity element of .
- If , then multiplying on the left by gives , so , hence .
- If , then multiplying on the right by gives , so , hence .
- Since and , the element is the inverse of . Thus .
- We have
and similarly
Hence is the inverse of , so .
Some notation: if and , we write to denote the element obtained by multiplying with itself times:
We also set and for .
Exercise
Let be a group and let . Show that the following properties hold:
- .
- for any integer .
Exercise
Suppose is a finite group. For , prove that the functions
and
are bijections.
Deduce that each row and each column of the multiplication table of contains every element of exactly once.
Exercise
We have seen that a group element has a unique inverse. However, group elements need not have a unique square root. By a square root of an element in a group , we mean an element such that .
- Give an example of an element in a group that has no square roots.
- Give an example of an element in a group which has more than one square root.
- Give an example of an element in a group which has infinitely many square roots.
- Give an example of an element in a group which has a unique square root.
Most of the examples so far have had the special property that for all . This is called commutativity, and it is not a requirement for a group. Groups that do have this property are called abelian groups, after the Norwegian mathematician Niels Henrik Abel.
Definition
A group is abelian if is commutative, i.e. for all we have .
Example
The groups , , , and under addition are abelian. The groups , , , , and under multiplication are also abelian.
Example
So far, the only example we’ve given of a nonabelian group is . For instance, in ,
while
These products are different, so matrix multiplication is not commutative.
Exercise
Prove that if for all then is abelian.
A first gallery of examples
The next examples will come up a lot. The goal here is exposure: you should know these groups exist and have a rough sense of how they behave. We will return to most of them later.
Addition mod
Here is an example from number theory: Let be an integer, and consider the residues (remainders) modulo . That is, we partition the integers into equivalence classes:
These form a group under addition. We call this the cyclic group of order , and denote it as with elements . The identity is .
Multiplication mod
For , the set of equivalence classes which have multiplicative inverses mod is a group under multiplication of classes. The identity element is the element and by definition, each element has a multiplicative inverse. In general, we will use the notation to mean the group of invertible elements of a set.
Sometimes we organize the information of a group into a group table. For example, consider . The group table is as follows:
You can check this is a group: the identity is , every element has an inverse (for example, ), and the operation is associative because multiplication of integers is associative. This, in a sense, contains all information about the group. However, it won’t be a very useful way to organize the information for large groups.
Just for fun, let’s start reasoning through all groups of small order.
-
The only group of order is the trivial group , where is the identity element. That is, up to renaming the group elements, there is only one group of order .
-
The only group of order is
where is the non-identity element. The assignments are forced upon you. So up to renaming your group elements, there is only one group of order . Since we already know that is a group of order , we can conclude that is the only group of order .
- The only group of order is
where and are the non-identity elements. The assignments are forced upon you. So up to renaming your group elements, there is only one group of order . Since we already know that is a group of order , we can conclude that is the only group of order .
- There are two options for the group of order . The first is the cyclic group :
The second is the Klein four group :
So there are two groups of order up to renaming the group elements: and .
-
The only group of order is .
-
There are two groups of order up to renaming the group elements: and , the symmetric group of order . The first is abelian, while the second is not. This is the first non-abelian group.
We will define what it means for groups to be “the same up to renaming” soon, but much of early group theory is about classifying all groups in this way.
Product groups
Let and be groups. The product group is the set of pairs with and , with the operation defined by
The identity element is , where and are the identity elements of and , respectively. The inverse of an element is given by . The operation is associative because both and are associative. Therefore, satisfies all the group axioms and is indeed a group.
Example
Let be the set of complex numbers with absolute value one; that is
Then is a group because
- The complex number serves as the identity, and
- Each complex number has an inverse which is also in , since .
- You should also check that actually still lives in . This follows from the fact that .
Example
Let denote the set of matrices whose determinant is . This is a subgroup (more on this soon) of , and is called the special linear group. The identity element is the identity matrix, and the inverse of a matrix in is its inverse , which also has determinant . The group operation is associative because matrix multiplication is associative. Therefore, satisfies all the group axioms and is indeed a group.
Dihedral group
Consider a regular -sided polygon. The symmetries of this polygon form a group under composition, known as the dihedral group . What does the word symmetric mean here? We apply the label “symmetric” to anything that is invariant under some transformations. In this case, the elements of include rotations and reflections that preserve the shape of the polygon. The identity element is the rotation by degrees, and each symmetry has an inverse that undoes its effect. The group operation is associative because composition of functions is associative. Therefore, satisfies all the group axioms and is indeed a group.
If denotes rotation by and denotes a reflection, then every element of can be written as either or for some . The relations
explain most computations in this group. We will study these groups carefully later.
The next example is actually the original motivation for the definition of a group. That is, when Galois defined a group, he was thinking about the following example.
Symmetric group
The symmetric group is the group of all permutations of . By viewing these permutations as functions from to itself, we can consider compositions of permutations. The pair is a group. There is an identity element: the permutation that leaves all elements fixed. Each permutation has an inverse, which is the permutation that undoes its effect.
A huge theorem of Cayley, which we will later show, says that every group is isomorphic to a subgroup of some symmetric group. This means that, in a sense, the symmetric groups are the most general groups. So maybe Galois was right to focus on them!
Quaternions
The quaternion group is the group with elements
and multiplication defined by the following rules:
This group is not abelian, since but .
Exercise
Let . Prove that is a group under addition, and prove that the nonzero elements of are a group under multiplication.
Exercise
This exercise gives a first glimpse of a Lie algebra. Let be the vector space of all complex matrices. For , define
This operation is called the commutator bracket. In Lie theory, this is the basic example of a Lie bracket.
- Compute for
- Prove that for all . In particular, .
- Prove that if and only if and commute.
- Let
Prove that if , then .
Subgroups: first pass
Every time we define an algebraic object, we should ask which subsets inherit the same structure. For groups, these inherited objects are called subgroups. Often the best way to understand a group is to find smaller groups inside it.
Definition
A subgroup of a group is a group such that and the operation on is the operation on restricted to . We write to mean that is a subgroup of .
The words “under the operation of ” are important. We are not allowed to put a new operation on and then call it a subgroup. A subgroup has to use the same multiplication law as the ambient group.
Example
Every group has two trivial subgroups: the group itself, and the subgroup consisting of just the identity element. For the groups and , these are the only subgroups.
Example
Under addition, we have the chain of subgroups .
Example
For any integer , the set
is a subgroup of under addition. For instance, is the subgroup of all multiples of .
In practice, we usually do not want to check every group axiom from scratch.
Subgroup test
Let be a group and let be a nonempty subset of . Then is a subgroup of if and only if
for all . Equivalently, is a subgroup if and only if is nonempty and closed under the group operation and taking inverses.
Proof
If is a subgroup, then , so .
Conversely, suppose is nonempty and for all . Choose some . Taking gives . Taking and gives . Finally, if , then , so taking and in the test gives . Thus has the identity, inverses, and is closed under the group operation. Associativity comes from , so is a subgroup.
Example
. Indeed, if , then
so .
Example
If , then
is a subgroup of , called the cyclic subgroup generated by .
Definition
The order of an element is the size of the cyclic subgroup generated by . That is, it is the least positive integer such that , or if no such exists.
Exercise
If and are elements of the group , prove that . Deduce that for all .
Example
In , the set of permutations fixing is a subgroup:
This is called the stabilizer of in .
In , the rotations form a subgroup
Also, for any reflection , the two-element set is a subgroup of .
Exercise
In a nonabelian group, two elements need not commute. On the other hand, they might commute. If , the centralizer of in is
- Prove that is a subgroup of .
- Let be the symmetric group on letters and let be the permutation . What is the centralizer ?
Exercise
Exercise
Let be a finite group. The commuting graph of is the graph whose vertices are the elements of , with an edge between distinct vertices and exactly when .
- Draw the commuting graph of .
- Explain how the degree of the vertex is related to the size of the centralizer .
Symmetric Groups
Permutation groups or symmetric groups are among the most important examples of groups. They are concrete enough that you can compute with them by hand, but also flexible enough that many abstract questions about groups can be reduced to questions about permutations. Furthermore, this was how Galois thought of groups and were what people meant for a long time when they said “group”.
Definition
A permutation of a set is a bijection . When , the set of all permutations of is denoted and is called the symmetric group on letters.
The group operation on is composition of functions. Thus if , then means “first do , then do .” This convention is annoying for approximately one week and then becomes second nature.
Proposition
The set forms a group under composition, and .
Proof
The composition of two bijections is again a bijection, composition of functions is associative, the identity map is the identity element, and every bijection has an inverse bijection. Hence is a group.
To count its elements, note that there are choices for , then choices for , and so on. Therefore
Example
The group has six elements. One of them is the identity permutation, and the other five are the nontrivial rearrangements of . Since , this is the smallest symmetric group that is not abelian.
There are several ways to write permutations. The most literal is two-line notation:
means that , , , and .
The same permutation can be pictured by drawing arrows from each input to its output:
Two-line notation is fine for small examples, but it quickly becomes clunky. A better notation records how a permutation cycles elements around.
Definition
A cycle is a permutation of the form
which sends to , to , …, to , to , and fixes every other element.
A cycle of length is called a transposition.
Example
In , the cycle sends , , , and fixes and . The permutation
sends , , , , and . The two disjoint cycles show up as two separate directed components:
Definition
Two cycles are called disjoint if they move disjoint sets of elements.
Proposition
Disjoint cycles commute.
Proof
Suppose and are disjoint cycles. If is moved by , then , so
The same argument works if is moved by , and if is moved by neither cycle then both compositions fix . Therefore .
Theorem
Every permutation in can be written as a product of disjoint cycles. Aside from the order in which the disjoint cycles are written, this decomposition is unique if we ignore -cycles.
Proof
Let . Pick some element . Repeatedly apply :
Since there are only finitely many elements, eventually this sequence repeats. Because is invertible, the first repeated element must be , so these elements form a cycle
If this cycle does not already involve every element of , pick an element not yet used and repeat the process. Continuing in this way produces disjoint cycles whose product is exactly .
For uniqueness, observe that the cycle containing a given element is completely determined by the orbit
so there is no freedom except to reorder the disjoint cycles and omit fixed points.
Example
Consider the permutation given by
Then
We usually suppress the fixed points and rather than writing .
Exercise
Show that
for any .
Cycle notation makes inverses very easy to compute:
It also makes the order of a permutation easier to see. For example, has order , while has order .
Proposition
Every permutation is a product of transpositions.
Proof
It is enough to show that every cycle is a product of transpositions. But
Since every permutation is a product of cycles, it follows that every permutation is a product of transpositions.
Corollary
The symmetric group is generated by the transpositions.
In fact, one can say more: is generated by the adjacent transpositions
This fact lies behind the idea that any rearrangement can be built by repeatedly swapping neighboring entries.
Exercise
Prove that the order of an element in is the least common multiple of the lengths of the cycles in its cycle decomposition.
We will see later that Cayley’s theorem says that every group is isomorphic to a subgroup of some symmetric group. Thus, in a sense, the symmetric groups are the most fundamental groups.
Exercise
A reduced word for a permutation is a way to write the permutation as a product of the smallest possible number of adjacent transpositions. Look up the Rothe diagram or pipe dream of a permutation and compute one for .
Exercise
Find all numbers such that contains an element of order .
Dihedral Groups
Fix an integer , and let be a regular -gon centered at the origin in the plane. Label its vertices
in counterclockwise order. Throughout this subsection, vertex subscripts are read modulo .
Definition
A symmetry of is an isometry such that as a set. This does not mean that fixes every point of ; it means that moves the polygon onto itself.
Definition
The dihedral group is the set of symmetries of the regular -gon , with group operation given by composition.
Remark
There are two common conventions for the notation. In these notes, means the symmetry group of the regular -gon, so . Some authors call this group instead, emphasizing its order rather than the polygon.
Proposition
The set is a group under composition.
Proof
The composition of two isometries is again an isometry. If and , then
so . Composition of functions is associative. The identity map is a symmetry of , and the inverse of a symmetry is again a symmetry. Therefore is a group.
There are two basic kinds of symmetries.
Definition
Let be counterclockwise rotation by . Thus
The rotations in are
Definition
A reflection in is reflection across a line of symmetry of . If is odd, each reflection line passes through one vertex and the midpoint of the opposite side. If is even, there are two kinds of reflection lines: those passing through two opposite vertices, and those passing through the midpoints of two opposite sides.
There are rotations and reflections. To name the reflections efficiently, fix the reflection across the line through the origin and . With our labeling,
For example, when , the chosen generators look like this:
Theorem
The dihedral group has elements.
Proof
First we show that there are at most symmetries. Any symmetry sends vertices to vertices and sends adjacent vertices to adjacent vertices. The image of can be any one of the vertices. Once is chosen, the image of must be one of the two vertices adjacent to .
Every symmetry fixes the center of , and a plane isometry is determined by the images of three non-collinear points. Thus the images of the center, , and determine the whole symmetry. Therefore .
Now we exhibit distinct symmetries:
The rotations are distinct because . The elements are distinct for the same reason, since . Finally, and are different because
and since .
Hence has at least elements and at most elements, so .
Remark
The rotations preserve the counterclockwise order of the vertices. The reflections reverse that order. This is often the quickest way to tell the two types of symmetries apart.
The two symmetries and generate the whole group. Their most important relations are
Since , the last relation is often written as .
Lemma
In , we have .
Proof
Since , it is enough to compare and on the vertices. For every ,
But as well. A symmetry of is determined by what it does to the vertices, so .
Corollary
For every integer , we have
Proof
This follows by applying Lemma dihedral conjugates rotation repeatedly. Equivalently, conjugating by turns the basic rotation into its inverse, so it turns into .
Normal form in
Every element of can be written uniquely in one of the forms
where .
Proof
The previous counting argument already exhibited the distinct elements
Since has exactly elements, this list contains every element of , and no element occurs twice.
Example
The group , the symmetry group of the square, has elements:
Here is rotation by , is rotation by , and is rotation by . The other four elements are reflections.
Exercise
The groups and both have elements, and both are nonabelian. Prove that they are not isomorphic.
Hint: compare the numbers of elements satisfying in the two groups.
Example
The group is not abelian for . Indeed, the relation gives
If , then , so by cancellation. This would imply , contradicting the fact that has order .
Informally, we summarize everything above by writing the presentation
The symbols and generate the group, and the listed relations are enough to reduce any word in and to the normal form or .
For example, since , multiplication in normal form is governed by
where the exponents are read modulo .
Exercise
In , simplify each expression to the form or with :
Homomorphisms and isomorphisms: first pass
In this section we make precise the notion of when two groups “look the same”.
Definition
Let , be groups. A homomorphism from to is a function such that
for all . An isomorphism is a homomorphism which is also a bijection. In this case, we’ll write .
It’s the same as a map on sets, but it needs to respect the group structure of the domain and codomain. Two groups and are isomorphic if we can obtain from by just renaming elements. Very often we care about groups only up to isomorphism. For instance, the group is isomorphic to by and . We could loosely say that and are the same group, even though they are written differently.
Example
The determinant gives a homomorphism
since for all . However, is not an isomorphism, since it is not injective. It is surjective though, since the determinant of a diagonal matrix can be any nonzero real number.
Example
The exponential map defined by is an isomorphism from to , since for all , and is a bijection (it has inverse ).
Example
The inclusion is a homomorphism: when you multiply two integral matrices you get the same answer whether you think of the integers as integers or as real numbers! Note that this homomorphism is injective. That is, is a subgroup of .
Example
We have if and only if since and , and the order of a group is preserved by isomorphism.
Example
Since is abelian and is not abelian, we conclude that .
Exercise
Prove that the multiplicative groups and are not isomorphic.
Example
The reduction map
is a homomorphism from to , because
Example
Homomorphisms out of cyclic groups are completely determined by one element. If and is a homomorphism, then
Thus once you know , you know on every element of . In particular, a homomorphism is determined by the image of .
Group homomorphisms preserve the group structure. In particular, group homomorphisms preserve the identity element and all inverses:
Lemma
Let be a group homomorphism. Then . Moreover, for every , we have .
Proof
We have
so is an idempotent element of . The only idempotent element of a group is the identity, so .
For the second part, we have
so is a right inverse of . Similarly, we can show that is a left inverse of , and thus .
Remark
Given a group generated by a set , any homomorphism is completely determined by the images of the generators in . In particular, if we want to construct a homomorphism from to , it suffices to specify the images of the generators in and check that the relations in are satisfied in .
Definition
Exercise
Prove that the image of a homomorphism is a subgroup of and the kernel of a homomorphism is a subgroup of .
Remark
Given any group homomorphism , we must have since .
When the kernel is as small as possible, meaning , then we say that the kernel is trivial. A homomorphism is injective if and only if its kernel is trivial, and a homomorphism is surjective if and only if its image is all of .
Lemma
A group homomorphism is injective if and only if .
Proof
If is injective, then the only element of that maps to is , so . Conversely, if and , then
so . Since , we have , so . Therefore, is injective.
The easiest way to show that two groups are not isomorphic is to find a property that one group has but the other does not. For example, is not isomorphic to because is not abelian while is abelian.
Exercise
An isomorphism is called an automorphism of . Prove that the set of automorphisms of a group forms a group under composition, called the automorphism group of and denoted .
Exercise
Let be any group. Prove that the map from to itself defined by is an automorphism if and only if is abelian.
Group actions: first pass
Group actions provide the perspective under which groups describe “symmetries”. The confusing thing about the word “symmetries” is that it is being used in a technical sense. You can think of a group action as a way for a group to act on a set, moving its elements around in a way that respects the group structure.
Definition
Let be a group and let be a set. A left action of on is a rule that assigns to each and each an element (so a map ) such that
- for every .
- for every and every .
Example
The dihedral group acts on the set of vertices of a regular -gon. A rotation or reflection sends each vertex to another vertex, and composing symmetries agrees with the group operation in .
Example
The symmetric group acts on by . This is the most basic example of a permutation group acting on a set.
Note that we’ve already been thinking about and using group actions. Rather than thinking about them as being made up of abstract elements, we’ve been thinking of them as symmetries of some set. Symmetry here means: a bijection from the set to itself.
For each fixed , we get a map defined by .
Proposition
Let act on a set . For each , the map is a bijection. Moreover, the assignment
is a group homomorphism.
Proof
The map provides the inverse of :
and similarly . Thus is a bijection.
To check that is a homomorphism, let . For every ,
Hence .
The homomorphism is called the permutation representation associated to the action. Conversely, any homomorphism gives an action of on by the rule
Thus a group action is the same thing as a way to represent elements of as permutations of a set.
Example
The action of on the vertices of a regular -gon gives a permutation representation
If is the rotation with , then is the cycle
If is the reflection with , then is the permutation of the vertices determined by . So the abstract relation can be seen directly as a relation among permutations of the vertices.
Example
Every group acts on itself by left multiplication:
The associated permutation representation is
This homomorphism is injective: if is the identity permutation of , then it fixes , so
Thus is isomorphic to the subgroup .
Cayley's theorem
Every finite group is isomorphic to a subgroup of .
Proof
Let be a finite group with . By the previous example, is isomorphic to a subgroup of . Since has elements, choosing a labeling of the elements of identifies with .
From a practical perspective, this is a nearly useless theorem. It is, however, a beautiful fact.
Exercise
Matrix groups also act naturally on vector spaces. For example, let
be the cyclic group of order , and let
Show that there is a group action on given by for . This is a small example of a representation: instead of representing group elements as permutations of a set, we represent them as invertible matrices acting on a vector space.
Example
Every group also acts on itself by conjugation:
This action measures how far a group is from being abelian. If is abelian, conjugation does nothing, since for all .
Later we will attach two important pieces of information to an action: the orbit of a point, which records where the point can move, and the stabilizer of a point, which records which group elements fix it.