Search

Search papers and lessons

Group (Abstract Algebra)

Level 2 · 12 min read

A group is a set with one operation that can be undone, has an identity element and is associative, and the same small set of rules describes numbers, rotations and symmetries.

On this page

  • Colour = topic mix
  • Discrete math
  • Abstract algebra
  • Sign in to see your progress

TL;DR

A group is a set GG together with an operation ∗\ast that combines two elements into a third. The operation must be associative, there must be an identity element that changes nothing, and every element must have an inverse that undoes it. Nothing else is required, and that short list is enough to get a rich theory.

Groups are the right language for symmetry: the ways you can rotate or reflect a shape and still end up with the same shape, or the ways you can shuffle a deck of cards.

Where you'll see it: in the symmetry groups of crystals and molecules, in the cryptography that uses arithmetic modulo a prime, and in the gauge groups that describe the fundamental forces in physics.

Intuition

Doing things and undoing them

Take a square and rotate it by a quarter turn. Doing that four times brings it back to where it started. Each rotation can be undone by another rotation, and doing nothing is also a legitimate move. Those few facts (you can combine moves, you can undo each one, and there is a move that does nothing) are the whole idea of a group.

Why does the idea exist? Many different systems share the same algebra of combining and undoing. Integers under addition, rotations of a square, and clock arithmetic all behave the same way. A group is the abstraction that keeps only what they share, so a theorem proved once applies to all of them.

The picture below shows the four rotations of a square. Each arrow is one quarter turn, and following the arrows four times returns to the start.

flowchart LR
  R0["0 degrees (identity)"] -->|"quarter turn"| R90["90 degrees"]
  R90 -->|"quarter turn"| R180["180 degrees"]
  R180 -->|"quarter turn"| R270["270 degrees"]
  R270 -->|"quarter turn"| R0

The math

Definition: Group

A group is a pair (G,∗)(G, \ast), where GG is a set and ∗\ast is a binary operation G×G→GG \times G \to G satisfying:

  1. Associativity: (a∗b)∗c=a∗(b∗c)(a \ast b) \ast c = a \ast (b \ast c) for all a,b,c∈Ga, b, c \in G.
  2. Identity: there is an element e∈Ge \in G with e∗a=a∗e=ae \ast a = a \ast e = a for all a∈Ga \in G.
  3. Inverses: for each a∈Ga \in G there is an element a−1∈Ga^{-1} \in G with a∗a−1=a−1∗a=ea \ast a^{-1} = a^{-1} \ast a = e.

Closure is built in: ∗\ast takes values in GG. The group is abelian (or commutative) if also a∗b=b∗aa \ast b = b \ast a for all a,ba, b. The number of elements of GG is its order, written ∣G∣|G|.

Notation: ∈\in means "is an element of", and ×\times is the Cartesian product, the set of all ordered pairs. The operation ∗\ast is a placeholder; for numbers it might be ++ or ×\times, and for rotations it is "do one move and then the other".

Examples and non-examples

The same definition covers very different objects:

  • The integers Z\mathbb{Z} under addition: the identity is 00, and the inverse of aa is −a-a. This group is abelian and infinite.
  • The integers modulo 5, written Z5={0,1,2,3,4}\mathbb{Z}_5 = \{0, 1, 2, 3, 4\}, under addition modulo 5. The identity is 00, and the inverse of aa is 5−a5 - a (with 00 its own inverse).
  • The nonzero residues modulo 5, Z5×={1,2,3,4}\mathbb{Z}_5^{\times} = \{1, 2, 3, 4\}, under multiplication modulo 5. Worked example 2 checks this one.
  • The symmetries of an equilateral triangle, which form a non-abelian group of order 6.

Non-examples are just as useful. The positive integers under addition are not a group, because they have no identity (0 is not positive) and no inverses (there is no positive −3-3). The natural numbers under subtraction are not a group either: subtraction is not associative, since (5−3)−2=0(5 - 3) - 2 = 0 but 5−(3−2)=45 - (3 - 2) = 4.

Order of an element and subgroups

For an element aa of a finite group, the order of aa is the smallest positive nn with an=ea^{n} = e, where ana^{n} means a∗a∗⋯∗aa \ast a \ast \cdots \ast a with nn copies. A subgroup is a subset H⊆GH \subseteq G that is itself a group under the same operation.

A standard fact, Lagrange's theorem, says that the order of every subgroup divides the order of the group, so ∣H∣|H| divides ∣G∣|G| whenever HH is a subgroup of the finite group GG. The proof uses cosets and is not needed to use the result.

Worked examples

Example
1. A small Cayley table

Consider Z4={0,1,2,3}\mathbb{Z}_4 = \{0, 1, 2, 3\} under addition modulo 4. Its Cayley table lists a+b mod 4a + b \bmod 4 for each pair:

++0123
00123
11230
22301
33012
  1. Closure: every entry is in {0,1,2,3}\{0, 1, 2, 3\}.
  2. Identity: the row and column for 00 copy the labels exactly, so 00 is the identity.
  3. Inverses: 1+3=4≡01 + 3 = 4 \equiv 0, so 33 is the inverse of 11; 2+2=4≡02 + 2 = 4 \equiv 0, so 22 is its own inverse.
  4. Associativity holds because addition of integers is associative, and reducing mod 4 does not break it.
  5. The table is symmetric about the diagonal, so the group is abelian.

Interpretation: a clock with four hours is exactly this group. Each hour is a position, and adding hours is the operation.

Example
2. The multiplicative group mod 5

Check that Z5×={1,2,3,4}\mathbb{Z}_5^{\times} = \{1, 2, 3, 4\} under multiplication modulo 5 is a group.

  1. Closure: 2⋅3=6≡12 \cdot 3 = 6 \equiv 1, 2⋅4=8≡32 \cdot 4 = 8 \equiv 3, 3⋅4=12≡23 \cdot 4 = 12 \equiv 2, 4⋅4=16≡14 \cdot 4 = 16 \equiv 1, and each result is in the set.
  2. Identity: 11, since 1⋅a=a1 \cdot a = a for all aa.
  3. Inverses: 2⋅3=6≡12 \cdot 3 = 6 \equiv 1, so 33 is the inverse of 22. 4⋅4=16≡14 \cdot 4 = 16 \equiv 1, so 44 is its own inverse. 11 is its own inverse.
  4. Associativity holds because multiplication of integers is associative.
  5. Order of the element 22: 21=22^1 = 2, 22=42^2 = 4, 23=8≡32^3 = 8 \equiv 3, 24=16≡12^4 = 16 \equiv 1. So 22 has order 4, and the group is generated by 22.
  6. The subgroup {1,4}\{1, 4\} has order 2, which divides 4, as Lagrange's theorem requires.

Interpretation: the same algebra that gives modular arithmetic for cryptography is a group, and the order of an element controls how its powers cycle.

Example
3. A set that fails

Take S={1,2,3}S = \{1, 2, 3\} under multiplication modulo 4.

  1. Compute 2⋅2=4≡02 \cdot 2 = 4 \equiv 0. The result 00 is not in SS.
  2. Closure fails, so SS is not a group, whatever else is true.
  3. The identity 11 is present and the operation is associative, but the first condition is already broken.

Interpretation: when checking a candidate group, test closure first, because a single failure settles the question. Some sets fail for a reason that is easy to miss, like 00 sneaking in from a product.

Tradeoffs and failure modes

Groups capture symmetry and reversibility. They say nothing about addition as a combined structure with multiplication, and that is why ring and field theory exist separately.

SituationProblemBetter choice
The operation is not reversible (like the integers under multiplication, where 0 has no inverse)No inverses, so it is not a groupA monoid or a semigroup
The operation is not associative (like subtraction)Groups need associativity to make powers and products unambiguousA quasigroup or a loop, if the rest of the structure holds
You need two operations that interact, like ++ and ×\timesA group has only one operationA ring or a field
The group is huge but the question is localFull classification is hardLook at subgroups, or at the action on a small set

A common error is to assume a group is commutative. Most interesting groups are not: the symmetries of a triangle do not commute, and matrix multiplication for general matrices does not either. Check the axioms as written, and do not assume extra properties.

History

The idea grew out of the study of polynomial equations. Joseph-Louis Lagrange, in the 1770s, noticed that the way the roots of a polynomial could be permuted controlled whether the equation could be solved by radicals.

Évariste Galois, working around 1830, turned these permutations into a structure. He defined what is now called a group of permutations and showed that the solvability of an equation depends on the properties of that group. He died in 1832 at age 20, and his papers were published later.

The abstract definition, with a single set and an operation and no reference to permutations, was given by Arthur Cayley in 1854. In the 1870s Felix Klein's Erlangen program used groups to classify geometries by the symmetries each one preserves. Since then groups have become a common language across algebra, geometry and physics.

Check yourself

QuestionIs the set of even integers under addition a group? Check all three axioms and name the identity.Show answer

Yes. Closure holds because the sum of two even integers is even. Addition is associative. The identity is 00, which is even. The inverse of an even aa is −a-a, also even. So it is an abelian group with identity 00.

QuestionCompute the order of the element 33 in Z5×\mathbb{Z}_5^{\times} and say which powers of 33 give each element.Show answer

31=33^1 = 3, 32=9≡43^2 = 9 \equiv 4, 33=12≡23^3 = 12 \equiv 2, 34=6≡13^4 = 6 \equiv 1. So 33 has order 4, and its powers run through all of {1,2,3,4}\{1, 2, 3, 4\}. The group is cyclic, generated by 33.

QuestionWhy does the identity element have to be unique in any group? Give the one-line argument.Show answer

Suppose ee and e′e' are both identities. Then e=e∗e′=e′e = e \ast e' = e', since e′e' is an identity acting on ee and ee is an identity acting on e′e'. So they coincide.

QuestionA cryptosystem uses the group Zp×\mathbb{Z}_{p}^{\times} for a prime pp. Why does the order of the group matter to the designer, and what does Lagrange's theorem say about the possible orders of subgroups?Show answer

The order p−1p - 1 determines how many elements the group contains and how the powers of a generator cycle. Lagrange's theorem says every subgroup's order divides p−1p - 1, so the designer can see in advance which subgroup sizes are possible. Choosing pp so that p−1p - 1 has a large prime factor limits the attacks that exploit small subgroups.

QuestionGive an example of a group that is not abelian, and explain in one sentence why its operation fails to commute.Show answer

The symmetries of an equilateral triangle form a non-abelian group. A rotation followed by a reflection is not the same as the reflection followed by the rotation. Conjugating a rotation by a reflection turns it into the rotation in the opposite direction, so the two orders give different symmetries.

Sources