Binary Operations and the Group Axioms
What do the integers under addition, the nonzero rationals under multiplication, and the rotations of a square have in common? Each is a set of objects. Each set is equipped with a way of combining two objects to produce a third. Each combination rule obeys the same handful of structural rules. Abstract algebra begins with an observation. These shared rules — not the specific nature of the objects — drive almost every computation we do with them. Isolating exactly which rules are needed, and no more, is the founding act of group theory. This matters because a single proof about "groups" has wide reach. It instantly becomes a theorem about integers, symmetries, permutations, matrices, and cryptographic key exchanges simultaneously. The efficiency of abstraction is not a philosophical nicety. It is the entire practical payoff of the subject. Once we fix a precise definition, every subsequent argument about groups follows automatically. That argument is automatically an argument about every example satisfying the definition, forever. The big picture is a ladder of increasingly specific structures. These are magmas, semigroups, monoids, and groups. Each is obtained from the previous one by adding exactly one more axiom. This article builds that ladder rung by rung. First a binary operation, then associativity, then an identity element, then inverses. By the top of the ladder we arrive at the definition of a group. This is the single most important algebraic structure in mathematics. This article delivers a fully rigorous definition of a binary operation and of a group. It gives a worked proof that the definition is internally consistent. Uniqueness of identity and inverses does not need to be assumed — it follows. The article also provides two detailed worked examples on genuinely different underlying sets. Finally, it offers a careful discussion of which hypotheses are load-bearing. It also examines which examples fail when a hypothesis is dropped.
- A binary operation on a set is a function ; closure is built into this definition, not a separate axiom.
- The group axioms are exactly four: closure (via the operation itself), associativity, existence of an identity, and existence of inverses.
- Associativity lets us write without parentheses; without it, even vs can differ.
- Identity and inverse elements are not merely assumed to exist for some uses — they are required to work for every element, two-sidedly.
- A group is a pair , not just a set — the same set can carry different group structures (Cyclic Groups and Modular Arithmetic gives one family of examples).
- Key idea: stripping arithmetic down to the bare rules that make solving equations possible is what defines a group.
Where this lives today
Group theory is the mathematical language of symmetry, and binary operations satisfying these four axioms appear everywhere structure is preserved under combination. In physics, the symmetries of physical laws (rotations, Lorentz transformations, gauge symmetries of the Standard Model) form groups, and Noether's theorem ties every continuous symmetry group to a conservation law. In chemistry and crystallography, point groups and space groups classify molecular and crystal symmetries. In cryptography, the difficulty of certain group-theoretic problems (discrete logarithms in or in elliptic curve groups) underlies widely deployed public-key systems such as Diffie–Hellman key exchange and elliptic curve cryptography. In computer science, group-based hashing, error-correcting codes over finite groups, and the structure of permutation groups underlie algorithms for sorting networks and combinatorial search. In pure mathematics, groups are the entry point to ring theory, field theory, and Galois theory (Cyclic Groups and Modular Arithmetic gives the first concrete family beyond the abstract definition), and the basic consequences proved here — cancellation, uniqueness of identity and inverses — are used silently in essentially every subsequent argument about groups, as previewed in Basic Consequences of the Group Axioms.
Ask the tutor: Why does associativity guarantee that any parenthesization of a long product gives the same answer, and how would you prove that rigorously by induction?
Let be a nonempty set. A binary operation on is a function
For we write instead of . Because the codomain of is itself, every binary operation is automatically closed: for all , . A group is a pair , where is a nonempty set and is a binary operation on , satisfying: 1. (Associativity) For all ,
2. (Identity) There exists an element such that for all ,
3. (Inverses) For every , there exists an element such that
where is an identity element as in Axiom 2. If in addition for all , the group is called abelian (or commutative).
Intuition
Think of a binary operation as a machine: feed it two inputs from , and it outputs one element, also required to lie in . This "stay inside the set" requirement is why closure is not listed as a separate group axiom in the definition above — it is baked into the very meaning of "a binary operation on ." If someone hands you a rule that sometimes produces an output outside , that rule is simply not a binary operation on in the first place. Associativity is the axiom that makes long expressions meaningful. Without it, a string like would be ambiguous — you would need to specify a full parenthesization, and different choices could give different answers. With associativity, one proves (by induction, foreshadowed in Basic Consequences of the Group Axioms) that any parenthesization of a fixed sequence of elements, in a fixed order, gives the same result. This is why we can write unambiguously. The identity element is the "do-nothing" element — combining it with anything leaves that thing unchanged, whether the identity sits on the left or the right. Inverses are what make equations solvable: given , having an inverse for lets us solve for by combining both sides with . A convenient way to picture a small group is its Cayley table, a grid recording every product; associativity, identity, and inverses are all visible structural patterns in that grid.
The central theorem
Let be a group as defined above (nonempty set, binary operation, associativity, identity axiom, inverse axiom). Then: (a) The identity element satisfying Axiom 2 is unique. (b) For each , the element satisfying Axiom 3 is unique. (c) For each , . (d) For all , .
We prove each part in turn, using only the group axioms stated above and prior parts of this same proof (no external results are invoked). The technique throughout is direct algebraic manipulation guided by the axioms — a style sometimes called "equational reasoning."
(a) Uniqueness of the identity. Suppose and are both identity elements of ; that is, suppose
Apply the first statement with : this gives . Apply the second statement with : this gives . Since applied to the elements and (in either order) has been shown to equal both and , and trivially (both sides denote the same single product , computed via the first identity equation reading left-to-right and via the second reading right-to-left — concretely ), we conclude
Hence there is at most one identity element, and by Axiom 2 there is at least one; so the identity is unique. We denote it , or simply when is clear from context.
(b) Uniqueness of inverses. Fix . Suppose both satisfy the inverse axiom for :
Then, using associativity (Axiom 1) and the identity property of (Axiom 2):
Each equality is justified as follows: by the identity axiom applied to ; by substituting from the hypothesis on ; by associativity; by substituting from the hypothesis on ; and by the identity axiom applied to . Chaining these gives , so the inverse of is unique. We denote it .
(c) . By definition of (Axiom 3 applied to ), we have
This equation exhibits itself as an element satisfying the defining property of "the inverse of ": combining with on either side yields . By part (b) applied to the element (uniqueness of its inverse), the unique inverse of must therefore equal . That is,
(d) . It suffices, by the uniqueness statement in part (b) applied to the element , to check that satisfies the defining property of an inverse of , namely
We verify the first equation; the second is symmetric. Using associativity repeatedly to regroup (associativity guarantees any regrouping of a fixed sequence gives the same result, which we use freely here and justify by direct repeated application of Axiom 1):
Each step uses Axiom 1 to reassociate, then the defining property (Axiom 3 for ), then the identity axiom (Axiom 2) to simplify , then finally (Axiom 3 for ). The mirror computation for proceeds identically with the roles of the two products reversed. By part (b)'s uniqueness statement, since satisfies the inverse property for and inverses are unique, we conclude
This completes the proof of all four parts.
∎Let be a group and let . If , then . Likewise if then .
Suppose . Combine both sides on the left with (which exists by Axiom 3 and is well-defined by part (b) of the theorem above):
By associativity (Axiom 1), the left side equals , and the right side equals . Hence . The right-cancellation case is identical, combining on the right with instead.
∎Worked examples
Example 1: The nonzero rationals under multiplication. Let , and let be ordinary multiplication of rational numbers. We verify every axiom explicitly. Binary operation / closure. If and are nonzero rationals (with integers, , and since ), then
Since we have , so ; and since . Hence . So is genuinely a binary operation on — note this required checking , which is why we excluded from in the first place: would have broken closure had we included . Associativity. For rationals , , ,
Both equal (using associativity and commutativity of multiplication of integers, which we take as known arithmetic), so . Identity. Take . For any , . So is a two-sided identity. Inverses. For with , set . This is a nonzero rational since . Check:
So every element has a two-sided inverse in . All four axioms hold, so is a group. It is abelian, since rational multiplication commutes. Note that itself under multiplication is not a group (Axiom 3 fails: has no multiplicative inverse), which is exactly why was excluded.
Example 2: Invertible matrices over — a genuinely non-abelian group. Let , the set of real matrices with , and let be matrix multiplication. We check the axioms with a specific asymmetric pair to make the non-commutativity concrete. Closure. If then (a standard fact about determinants), so . Thus matrix multiplication is a binary operation on . Associativity. Matrix multiplication is associative: for any three matrices (invertible or not), entrywise expansion of and both give the same sum for each entry, by the distributive law in ; this is a general fact about matrix multiplication that we use here without reproof, as it holds for all matrices over any field, invertible or not. Identity. Take , which is invertible () and satisfies for all matrices . Inverses. By definition of , every has , and the classical adjugate formula
gives a matrix in (since ) satisfying ; this can be checked by direct entrywise multiplication. So is a group. Now take the concrete, deliberately asymmetric elements
Both have determinant , so both lie in . Compute:
Since , this group is non-abelian: the commutativity axiom is not part of the group definition, and here we exhibit a group where it genuinely fails. This is the first indication that groups are strictly more general than the familiar commutative number systems.
Why we need each hypothesis
Let and define by the table:
This is a genuine binary operation on : every entry of the table is an element of , so closure holds trivially by construction. Note acts as a two-sided identity by inspection of its row and column, both of which just reproduce . Also every element has a two-sided inverse: , , , so each element is its own inverse. Now test associativity on the specific triple :
Since (they are distinct elements of by construction), we get
So associativity fails for this operation, even though closure, the identity axiom, and even the inverse axiom (as literally stated, an existence statement about some inverse element) all hold. This structure is not a group. It shows associativity is not redundant: identity and inverses alone (without insisting the same combination is unambiguous however it's grouped) do not suffice to give the rich consequences of group theory — e.g. cancellation, uniqueness of solutions to , and the ability to write products of three or more elements unambiguously all rely on associativity, and the corollary proven above (cancellation) genuinely uses Axiom 1 in its proof.
Scope, edge cases & common traps
| Situation | What can go wrong | Correct statement |
|---|---|---|
| Forgetting to check closure | Assuming a subset of a group automatically inherits a valid operation | Must verify for the restricted set before calling anything |
| One-sided identity/inverse | Finding with only (or an with only ) | Group axioms require two-sided identity and inverses; one-sided versions can fail to be unique in non-associative or infinite settings |
| Assuming commutativity | Writing by habit from arithmetic | Commutativity is extra; groups need not be abelian (Example 2) |
| Confusing "" with "" | Saying " is a group" without specifying the operation | The same set can be a group under one operation () and fail to be one under another (, since has no inverse) |
| Non-associative "operations" | Treating any table satisfying closure+identity+inverses as a group | Must independently verify associativity — it is not implied by the others, as the counterexample shows |
The mathematician behind it
Origins · 1 minÉvariste Galois and how this was discovered
Galois did not write down the modern group axioms in the clean four-item form used today — that formalization crystallized later through Cayley, Kronecker, and ultimately the axiomatic school of the early 20th century (Weber, and later van der Waerden's textbook). But Galois was the first to isolate the idea that the permutations of the roots of a polynomial, closed under composition, control whether that polynomial is solvable by radicals — the seed from which the abstract notion of a group grew. His insight that structure-preserving symmetry, rather than explicit formulas, is the right object of study reoriented algebra permanently.
Is closure a separate group axiom, or part of the definition of "binary operation"?
In the formulation used here, closure is folded into the definition of a binary operation itself: a binary operation on is by definition a function , so its outputs automatically lie in . Some textbooks list "closure" as a labeled first axiom for pedagogical clarity, especially when checking whether a subset of a known group forms a group under the inherited operation — there, closure is the one axiom that genuinely needs separate verification, since associativity, identity behavior, and inverse behavior are often inherited automatically. Both conventions are logically equivalent; this article follows Dummit–Foote's convention of building closure into the operation's definition, then stating three further axioms.
Why must the identity and inverse conditions be two-sided in the definition?
If we only required a left identity ( for all ) and left inverses (), it is a genuinely subtle theorem (not obvious, and it does use associativity) that these one-sided notions actually force the two-sided versions, provided every element also has a left inverse. Some treatments build groups from one-sided axioms and prove the two-sided versions as a first theorem. This article instead states the two-sided requirement directly in the definition for maximal clarity and to avoid a technical detour, since the one-sided route, while equivalent, requires an extra lemma before anything else can be proved.
Does every set with a binary operation satisfying closure automatically have an identity?
No. Consider the positive integers under addition: this is a perfectly good binary operation (closed, associative), but there is no element with for all , since that would force . So satisfies closure and associativity but fails the identity axiom, and hence fails to be a group; it is an example of a semigroup that is not even a monoid.
If a set has an identity and inverses defined only for some elements, is it still worth studying?
Yes — such structures are common and have their own names. A set with an associative binary operation is a semigroup; if it additionally has a two-sided identity, it is a monoid (e.g. with identity , or with identity , neither of which has inverses for most elements). Groups are the special case of monoids in which every element additionally has an inverse. Studying the weaker structures clarifies exactly which axiom is responsible for which downstream theorem.
How does one check the group axioms efficiently for a subset of a known group?
If is a subset of a group , one does not need to reverify associativity — it is inherited automatically, since the equation holds for all elements of , hence in particular for all elements of . What must be checked is: closure (), that the identity of lies in , and that is closed under taking inverses. This is exactly the content of the subgroup criterion, a natural next topic after the axioms themselves.
Can the same set be a group in more than one way?
Absolutely, and this is a crucial conceptual point. The set is a group under addition (identity , inverse of is ), but is not a group at all (only and have multiplicative inverses in ). The set of fourth roots of unity forms a group under multiplication that is structurally identical (isomorphic) to under addition, even though the underlying sets look completely different — this is exactly the kind of phenomenon explored in Cyclic Groups and Modular Arithmetic.
What's the quickest way to disprove that a proposed structure is a group?
Find a single counterexample to any one axiom, quantified correctly. Since associativity, identity, and inverses are all universally quantified ("for all..."), you only need one bad triple, one missing identity witness, or one element lacking an inverse to break the whole claim — you do not need to check every case, just exhibit one failure, exactly as done in the associativity counterexample table above.