Introduction to Groups
Groups and Related Algebraic Structures
Cartesian Products
The Cartesian product (or direct product) of two sets X and Y is the set of all ordered pairs whose first component comes from X and whose second component comes from Y:
The order of the entries matters. In general,
If X has m elements and Y has k elements, then X×Y has mk elements.
Example
Suppose
and
Then
so ∣X×Y∣=3⋅2=6.
Common Examples
R×R is written as R2. Its elements are ordered pairs of real numbers.
Z/2Z consists of the residue classes represented by 0 and 1.
Z/3Z consists of the residue classes represented by 0, 1, and 2.
The product Z/2Z×Z/3Z has 2⋅3=6 elements.
Binary Operations
A binary operation on a set S is a function from S×S to S:
It takes an ordered pair (a,b) of elements of S and produces another element a∗b of S.
A binary operation combines any two elements of a set and returns an element of the same set.
The requirement that the output remains in S is called closure.
Examples
Ordinary addition on the integers:
+:Z×Z→Z.Ordinary multiplication on the integers:
⋅:Z×Z→Z.Matrix multiplication on the set of n×n matrices. Multiplying two n×n matrices produces another n×n matrix.
Because the input is an ordered pair, the operation does not automatically satisfy
For example, matrix multiplication is generally not commutative.
Notation
If the operation is called ⋆, the result of applying it to a and b can be written as
When the operation is understood to behave like multiplication, the symbol may be omitted:
The Definition of a Group
A group consists of a nonempty set G together with a binary operation, often denoted by ⋆, satisfying four properties:
Closure
Associativity
Identity
Inverses
The structure is written (G,⋆). If the operation is clear from context, it is common to refer simply to the group G.
1. Closure
For every a,b∈G,
The operation must never produce an element outside G. Closure is already built into the definition of a binary operation, but it is emphasized as one of the group properties.
2. Associativity
For every a,b,c∈G,
Associativity means that the placement of parentheses does not affect the result. It does not mean that the order of the elements may be changed.
For example, associativity permits
but it does not necessarily permit
3. Identity Element
A group must contain an element e∈G such that, for every a∈G,
The element e is called the identity element. Applying the operation to the identity and any other element leaves that element unchanged.
Depending on the group, the identity may be denoted by:
e,
eG when several groups are being discussed,
1 or 1G when the operation is written multiplicatively.
4. Inverses
For every a∈G, there must be an element a−1∈G such that
The element a−1 is called the inverse of a. It reverses the effect of a and produces the identity.
Examples
Under addition, the inverse of a is −a, because
a+(−a)=0.Under multiplication, the inverse of a nonzero number a is a1, because
a⋅a1=1.
Finite and Infinite Groups
A group is finite if it contains finitely many elements. Otherwise, it is infinite.
The order of a group G, written ∣G∣, is the number of elements in G:
For an infinite group, the order refers to its cardinality and is described as infinite.
The notation ∣G∣ in this context means the size or cardinality of G, not the absolute value of a number.
Commutativity and Abelian Groups
Two elements a,b∈G commute if
A group is commutative, or abelian, if every pair of elements commutes:
The term abelian honors the mathematician Niels Henrik Abel.
Every abelian group is a group, but not every group is abelian.
Rings, Fields, and Units
Groups involve one binary operation. Rings and fields involve two operations, usually addition and multiplication.
Rings with Identity
A ring with identity is a set R equipped with addition and multiplication satisfying the following properties:
Addition
The set R with addition forms an abelian group:
Addition is closed.
Addition is associative.
There is an additive identity, usually 0.
Every element a has an additive inverse −a.
Addition is commutative:
a+b=b+a.
Multiplication
Multiplication must satisfy:
Closure: ab∈R whenever a,b∈R.
Associativity:
(ab)c=a(bc).Multiplicative identity: There is an element 1∈R such that
1a=a1=a.
Multiplication does not necessarily have to be commutative.
Distributive Laws
Multiplication must distribute over addition:
and
A ring is called a commutative ring if multiplication is also commutative:
In a ring, addition always forms an abelian group, while multiplication is associative and distributive over addition but may fail to be commutative or invertible.
Units and the Group of Units
An element u of a ring with identity is a unit if it has a multiplicative inverse in the ring. Thus, there must be some v∈R such that
The set of all units of R is commonly denoted by R×.
The units form a group under multiplication, called the group of units of R. This follows because:
The product of two units is a unit.
Multiplication is associative.
The ring identity 1 is a unit and serves as the group identity.
Every unit has an inverse that is also a unit.
Not every element of a ring must be a unit.
Fields
A field is a commutative ring with identity in which every nonzero element is a unit.
Equivalently:
The field with addition is an abelian group.
The nonzero elements with multiplication form an abelian group.
Multiplication distributes over addition.
Every nonzero element has a multiplicative inverse.
For a field F:
The additive identity is 0.
The multiplicative identity is 1.
The multiplicative group of units is F∖{0}.
A field is a ring in which division by every nonzero element is possible.
Examples of Groups and Related Structures
The Integers Under Addition
The integers are
With ordinary addition, Z forms an infinite abelian group:
Closure: The sum of two integers is an integer.
Associativity: Integer addition is associative.
Identity: The identity is 0:
0+a=a+0=a.Inverses: The inverse of a is −a:
a+(−a)=0.Commutativity:
a+b=b+a.
For example, the inverse of 3 is −3.
The Integers Under Multiplication
The integers with ordinary multiplication do not form a group.
They satisfy:
Closure.
Associativity.
Commutativity.
A multiplicative identity, 1.
However, they do not satisfy the inverse property. For example, the multiplicative inverse of 3 would need to be 31, but 31∈/Z.
Therefore,
is not a group.
Nevertheless, Z with addition and multiplication is a commutative ring with identity.
The Real Numbers
The real numbers with addition form an infinite abelian group:
The identity is 0.
The inverse of a is −a.
The real numbers with multiplication do not form a group because 0 has no multiplicative inverse. Every nonzero real number does have an inverse.
Therefore, the nonzero real numbers form an abelian group under multiplication:
Its identity is 1, and the inverse of a=0 is a1.
The real numbers form a field because:
R under addition is an abelian group.
R∖{0} under multiplication is an abelian group.
Multiplication distributes over addition.
Other Fields
Rational Numbers
The rational numbers are real numbers that can be expressed as
where a,b∈Z and b=0.
The rational numbers form a field:
Addition gives an abelian group.
The nonzero rational numbers form an abelian group under multiplication.
The additive identity is 0.
The multiplicative identity is 1.
The inverse of a nonzero rational number ba is ab, provided a=0.
Complex Numbers
A complex number has the form
where a,b∈R and i satisfies
The complex numbers form a field. Their arithmetic obeys the same fundamental structural laws as real-number arithmetic, including associativity, commutativity, distributivity, and the existence of inverses for all nonzero elements.
Integers Modulo n
Let n be a positive integer. The integers modulo n are written as
They can be represented by the set
Thus,
The operations are addition and multiplication modulo n. To calculate modulo n:
Perform the usual addition or multiplication.
Divide the result by n.
Use the remainder, which is one of 0,1,…,n−1.
Example
In Z/5Z,
so the result is represented by 2.
Also,
With these operations, Z/nZ is a commutative ring with identity:
Additive identity: 0.
Multiplicative identity: 1.
Addition is an abelian group operation.
Multiplication is associative and commutative.
Multiplication distributes over addition.
Therefore, the additive structure
is an abelian group of order n.
Cyclic Structure of Z/nZ
The additive group Z/nZ is generated by 1:
Continuing to add 1 eventually returns to 0 because
$$ \underbrace{1+1+\cdots+1}_{n\text{ terms}}=0
modulo n.
A group generated by one element is called a cyclic group. Hence, the additive group Z/nZ is cyclic.
Units Modulo n
The group of units of Z/nZ consists exactly of those residue classes relatively prime to n.
An element a is a unit modulo n precisely when
Thus,
These elements form an abelian group under multiplication modulo n.
The number of units is given by Euler’s totient function, denoted φ(n):
The value φ(n) counts the integers from 1 through n−1 that are relatively prime to n.
Matrix Rings and General Linear Groups
Let F be a field and let n be a positive integer. The set of all n×n matrices with entries in F may be denoted by either
or
The phrase “matrices over F” means that every matrix entry belongs to F.
The two operations are matrix addition and matrix multiplication.
Matrix Ring
The set Mn×n(F) forms a ring with identity:
Addition is commutative.
Matrix addition has an additive identity: the n×n zero matrix.
Every matrix has an additive inverse, obtained by negating every entry.
Matrix multiplication is associative.
Matrix multiplication distributes over matrix addition.
The multiplicative identity is the n×n identity matrix.
Matrix multiplication is generally not commutative:
for some matrices A and B.
Therefore, Mn×n(F) is generally a noncommutative ring.
General Linear Group
The general linear group is the group of invertible n×n matrices over F:
The operation is matrix multiplication.
It is a group because invertible matrices have:
Closure under multiplication.
Associative multiplication.
The identity matrix.
Matrix inverses.
Since matrix multiplication is generally noncommutative, GL(n,F) is generally a nonabelian group.
Special Linear Group
The special linear group is
It uses matrix multiplication as its operation.
The group SL(n,F) is a subgroup of GL(n,F). A subgroup is a group whose elements are contained within a larger group and whose operation is the same as the operation of the larger group.
The determinant properties
and
show why the determinant-one matrices form a group:
If det(A)=1 and det(B)=1, then
det(AB)=1.The identity matrix has determinant 1.
If det(A)=1, then
det(A−1)=1.
Symmetry Groups and Dihedral Groups
The symmetries of a geometric object form a group. The operation is composition: perform one symmetry followed by another symmetry.
Consider a regular n-sided polygon, denoted by Pn. A regular polygon has:
All sides of equal length.
All interior angles equal.
Its rigid symmetries are the rotations and reflections that preserve the polygon.
Rotations
There are n rotations:
Rotation by 0 degrees, which is the identity.
Rotation by n2π radians.
Rotation by n4π radians.
Continuing through rotation by n2(n−1)π radians.
Rotating n times by n2π returns the polygon to its original position.
If ρ denotes rotation by n2π, then
For a square, the rotations are:
0∘,
90∘,
180∘,
270∘.
Reflections
There are also n reflections.
If n is even, reflection axes pass either through opposite vertices or through the midpoints of opposite sides.
If n is odd, each reflection axis passes through one vertex and the midpoint of the opposite side.
Thus, the polygon has n rotations and n reflections, for a total of 2n symmetries.
The Dihedral Group D2n
The group of rigid symmetries of a regular n-gon is called the dihedral group of order 2n, written here as
The notation emphasizes that the group contains 2n elements. Some mathematical traditions instead write this group as Dn.
If ρ is a basic rotation and δ is one reflection, then the elements can be written as
The defining relations include
The reflection and rotation do not generally commute. A standard relation is
This expresses the fact that moving a rotation past a reflection changes the direction of the rotation.
For n=4, the group is the symmetry group of a square and has order 8:
Permutation Groups
Let Ω be any set. A permutation of Ω is a bijection from Ω to itself. In other words, it is a function that is both:
One-to-one, or injective.
Onto, or surjective.
The set of all bijections from Ω to itself is denoted by
The operation is function composition.
If f and g are permutations, then
Composition is associative, the identity function is the identity element, and every bijection has an inverse bijection. Therefore, permutations form a group.
The Symmetric Group
Let
The set of all permutations of [n] is called the symmetric group of degree n, written
Its elements are all bijections from [n] to itself.
The number of elements in Sn is
because there are n choices for the image of the first element, n−1 choices for the image of the second, and so on.
Examples:
S3 has 3!=6 elements.
S4 has 4!=24 elements.
For n≥3, the symmetric group Sn is nonabelian. In general,
Continuous Real-Valued Functions
Let
denote the set of continuous functions from R to R. It may also be written as C0(−∞,∞).
Examples include:
f(x)=ex,
f(x)=x3−2x,
f(x)=sin2(x).
The function f(x)=x1 is not in this set because it is undefined at x=0, so its domain is not all of R.
Pointwise Addition
For f,g∈C0(R), define their sum pointwise by
The sum of two continuous functions is continuous, so the operation is closed.
Under pointwise addition, C0(R) is an abelian group:
Closure follows from continuity of sums.
Addition is associative.
Addition is commutative.
The identity is the zero function:
0(x)=0.The additive inverse of f is the function −f, defined by
(−f)(x)=−f(x).
For example, adding ex and sin(x) produces the continuous function
Function Composition as Multiplication
A second operation can be defined using composition:
The composition of continuous functions from R to R is continuous, so composition is closed on C0(R).
With pointwise addition and composition as the two operations, C0(R) forms a ring with identity:
Addition forms an abelian group.
Composition is associative.
Composition distributes over pointwise addition in the appropriate way.
The multiplicative identity is the function
id(x)=x.
Composing any function with the identity function leaves it unchanged:
Function composition is generally not commutative:
The order matters because one function is applied before the other.
Units of the Function Ring
The units under composition are the functions that have compositional inverses. These are the continuous bijections from R to R.
These functions form a group under composition and constitute a subgroup of
the group of all bijections from R to itself.
Central Questions in Group Theory
Once many examples of groups are known, the focus shifts to determining what can be proved about every group using only the group axioms.
Two important guiding questions are:
Determining Whether a Group Is Abelian
Given a group, one would naively need to test whether
for every pair of elements a,b. Group theory develops general results that can often establish commutativity without checking every pair individually.
Counting Groups of a Given Order
For a positive integer n, one can ask how many essentially different groups have order n.
Examples of such questions include:
How many groups of order 5 exist?
How many groups of order 6 exist?
How many groups of order 8 exist?
Answering these questions requires deciding what it means for two groups to be considered the same, which leads to the concept of group isomorphism and the classification of finite groups.
The value of abstract group theory lies in proving results that apply simultaneously to integers, modular arithmetic, matrices, symmetries, permutations, and function spaces.
The common structure among all these examples is a nonempty set equipped with one closed, associative operation, an identity element, and inverses for all elements.

Ask anything
We've read this whole study set, so questions about it get the best answers.