What is a group? Start with calculations we know
Why study groups?
Start with an ordinary problem: an integer plus 3 gives 7. What was the integer? Write for the number we do not yet know, so the question becomes . Add to both sides. The right side becomes 4; on the left, adding 3 and then adding cancel. This gives . Here only stands for the unknown number.
Why can we do that? Adding integers keeps us among the integers. In a string of additions, we can change the brackets while keeping the numbers in the same order. Adding 0 changes nothing. Every integer has an opposite that adds to it to give 0. These rules usually sit quietly inside a few lines of working. We are going to make each of them explicit.
Could similar rules hold when our objects are not integers, but operations that can be undone? For example, doing two operations one after the other can count as one combined operation. Doing nothing is an operation that keeps things as they are. And an operation may have another operation that undoes it. This question is worth asking. If two different-looking kinds of object follow the same rules, some reasoning can be shared. We need not invent a new method for each kind.
Group theory studies a set of objects together with a way of combining them, where the combining follows certain rules. It makes clear when calculations can be regrouped, how to undo something and how to find a missing piece. It also shows which orders can be swapped and which cannot. The point is not to give adding and subtracting a new name. It is to say exactly which conditions a piece of reasoning depends on. Then the same reasoning can work for numbers, rearrangements and geometric moves. Not every set and operation meet these conditions.
We will first make the definition clear and check it fully for integer addition. Then we will work out a method for finding an unknown element ourselves. Only after that do we apply the same rules to a labelled square. So even without a later lesson on abstract algebra, we can already solve a complete problem with the rules of a group. You only need integer addition and subtraction, and how to read an equation. Every new symbol is explained before it is used.
Sets and operations
Before discussing a calculation, we must say which objects are allowed. A collection of objects considered together is a set, and each object in it is an element. For example, the integers include zero, positive integers and negative integers: . The braces put the objects into a set, and the dots mean that the integers continue in both directions. is the usual symbol for this set.
But saying “the integers” does not tell us how to calculate. With the same 2 and 3, addition gives 5 and multiplication gives 6. So we must also choose an operation. A binary operation is a rule that takes two inputs and gives one definite output. “Binary” refers to the two inputs, not to binary numbers. We also keep the first input apart from the second. We must not assume that swapping them gives the same output.
From now on, is our chosen set, and stand for any elements of that set. We write for “ is an element of ”. We write for “combine the first input with the second input by the chosen rule”. The star only holds the place of that operation; it does not mean ordinary multiplication. In the integer-addition example, it is the plus sign.
For addition: first input 2, second input 3, rule +, result 5. The operation is the rule +; 5 is its result for this pair.
The standard definition
Here is the standard definition. Take a nonempty set and a binary operation on . If they satisfy the conditions below, together they are called a group, written . Nonempty means that the set has at least one element. Writing them as a pair reminds us that a group depends on both the set and the operation. The same set with another operation may not be a group.
1. Closure: stay in the chosen set
Take any two elements of . The rule must give one definite result for them, and that result must still be in . Only then can the result be used in another calculation of the same kind. Strictly, “a binary operation on ” already includes this requirement. We list it separately so that we do not miss it when checking an example.
2. Associativity: brackets can change
This must hold for every three elements of . The brackets on the left group with , and that result is combined with . The brackets on the right group with , and is combined with that result. The order is on both sides; only the grouping changes. This does not allow us to swap and .
3. Identity: one element changes nothing
There must be an element, written , that leaves every element unchanged when combined with it. It must work on the left and on the right, and the same must work for every . In addition, 0 plays this role. The name “identity” does not mean that the element must be the number 1.
4. Inverses: each element can be cancelled to the identity
For each , there must be an element in the same set , written , that combines with to give in either order. Different elements usually have different inverses. Here the small means “the inverse under the chosen operation”. It does not automatically mean the fraction . Under addition, the inverse of is .
The definition of a group does not require . That extra condition is called commutativity. It swaps the order of two elements, which is different from associativity, where only the brackets change. A group that is also commutative is called a commutative group, or an abelian group. Integer addition is commutative. Later, the reflections and rotations of a square will show us a case that is not.
These are the conditions that define the word “group”. They are not laws of nature read off a picture. To decide whether a particular set and operation form a group, we must show that each condition holds. An example can help us understand a condition. But a claim about every element needs a reason that works for every element.
Check integer addition
Now choose and let . Our set contains all integers, and our operation is ordinary addition. Keep both choices in mind: the claim is that is a group.
First look at addition on a number line. Start at 0. Each step right adds 1, and each step left subtracts 1. Adding a positive integer moves right by that many steps. Adding a negative integer moves left. Adding 0 stays put. The two tracks below use the same number-line scale. The first track keeps the first part of the walk, and the second keeps the next part. They are drawn one above the other only to keep the steps apart; this is not an extra direction of motion.
The scale extends to keep the chosen positions visible; one interval always means one unit. The sliders choose examples from −6 to 6. The group itself contains every integer, with no upper or lower limit.
Closure: each integer stands for a whole number of unit steps, to the right or to the left. Put two such walks together, and the net number of steps is still a whole number. No half step appears from nowhere. So is an integer for any integers . For example, , and 1 is still an integer. The picture shows only a short piece of the line. The whole set has no left or right end.
Associativity: with integer addition, we can group the same string of signed unit steps in different ways. The total distance moved does not change. Hence . This uses a basic property of integer addition itself. A few slider values do not prove it. For a worked example, , while . The numbers stay in the order 3, , 4.
Identity: 0 means no increase or decrease. For any integer , , so the identity is 0. Inverses: every integer has an integer opposite . Equal numbers of steps in opposite directions cancel, so . This includes , whose inverse is itself. All four conditions hold, so is a group.
When a condition fails
Does addition still give a group if we keep only nonnegative integers?
The nonnegative integers are . Adding them stays in the set, associativity still holds, and 0 is still there. But an inverse of 1 would have to satisfy , so . And is not in the set. The inverse condition fails, so this is not a group. One counterexample is enough to show that “every element has an inverse” is false.
What if we keep all integers but use multiplication?
A product of integers is still an integer, multiplication is associative, and its identity is 1. But an inverse of 2 under multiplication would need , so , which is not an integer. And 0 times any integer can never give 1. So is not a group. The same set with a different operation gives a different answer.
Why does integer subtraction fail too?
The difference is still an integer, but associativity fails: , whereas . The same 5, 3 and 1 appear in the same order; changing only the brackets changes the result. Also, works only with 0 on the right. On the left, generally differs from , so 0 is not a two-sided identity.
Use the rules to solve an equation
Now we can see what this is good for. Instead of only integer addition, suppose is any group. We know two elements, and . We want an element such that . In words: we know the first input and the result, and we want the second input.
We cannot just say “move to the other side and change its sign”, because our operation may not be addition. What we do have is the inverse that the definition promises: . We want it next to the on the left. So we combine both sides with , on the left. Doing the same operation to two equal things keeps them equal.
Keep the original equation above. Reveal a line to see the exact rule used; earlier lines remain available.
Begin with the equation we want to satisfy.
So far we have shown that any solution must equal . We still need to check two things: that this candidate is in the set, and that it really solves the equation. Closure gives . Now substitute it: . This uses associativity, then the inverse condition, then the identity condition. So it is a solution. And because every solution must equal it, there is exactly one.
For integer addition, take . The inverse of is , so . Substituting gives , which is true. Our opening example was written , and it also gives 4, because integer addition lets us swap the order. A general group does not promise that. If the unknown is on the left, , we must combine with on the right. That gives . The side matters.
Here is the right-side calculation in full. First, . Associativity gives . The inverse condition gives . The identity condition gives . Substitution gives . This equation also has exactly one solution.
Now we can study the square
We now know exactly what a group is: a set and an operation, with four conditions that hold for all its elements. The conditions are closure, associativity, identity and inverses. We have also used them to find a way of solving for an unknown element. Next we change the objects and see whether the same definition really works.
In the square model below, the elements are moves of a labelled square: turns or flips that leave it exactly over its original outline. Combining two elements means doing one move and then another. The elements are not the colours, and not the four corners. Why label the square? Without labels, a turned square may look unchanged, and we could not track what the move did. The model shows the start, the middle and the end for you to compare. Then it checks the definition one condition at a time.
Definition reference: MIT 18.703 · Groups
