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.

Key takeaways
  • A binary operation on a set SS is a function S×S→SS \times S \to S; 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 abcabc without parentheses; without it, even (ab)c(ab)c vs a(bc)a(bc) 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 (G,∗)(G, *), 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 (Z/pZ)×(\mathbb{Z}/p\mathbb{Z})^\times 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?

DefinitionBinary Operation and Group

Let SS be a nonempty set. A binary operation on SS is a function

∗:S×S→S.* : S \times S \to S.

For a,b∈Sa, b \in S we write a∗ba * b instead of ∗(a,b)*(a,b). Because the codomain of ∗* is SS itself, every binary operation is automatically closed: for all a,b∈Sa, b \in S, a∗b∈Sa * b \in S. A group is a pair (G,∗)(G, *), where GG is a nonempty set and ∗* is a binary operation on GG, satisfying: 1. (Associativity) For all a,b,c∈Ga, b, c \in G,

(a∗b)∗c=a∗(b∗c).(a * b) * c = a * (b * c).

2. (Identity) There exists an element e∈Ge \in G such that for all a∈Ga \in G,

e∗a=a∗e=a.e * a = a * e = a.

3. (Inverses) For every a∈Ga \in G, there exists an element a−1∈Ga^{-1} \in G such that

a∗a−1=a−1∗a=e,a * a^{-1} = a^{-1} * a = e,

where ee is an identity element as in Axiom 2. If in addition a∗b=b∗aa * b = b * a for all a,b∈Ga, b \in G, the group is called abelian (or commutative).

Intuition

Think of a binary operation as a machine: feed it two inputs from SS, and it outputs one element, also required to lie in SS. 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 SS." If someone hands you a rule that sometimes produces an output outside SS, that rule is simply not a binary operation on SS in the first place. Associativity is the axiom that makes long expressions meaningful. Without it, a string like a∗b∗c∗da * b * c * d 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 abcdabcd 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 a∗x=ba * x = b, having an inverse for aa lets us solve for xx by combining both sides with a−1a^{-1}. 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.

Figure
Cayley table for the group of symmetries of a non-square rectangle, V4={e,r,s,rs}V_4 = \{e, r, s, rs\}
Cayley table: (V₄, *) e r s e r s e r s r e rs s rs e Each row/column is a permutation of {e, r, s, rs} — a visible fingerprint of inverses and closure.

The central theorem

TheoremUniqueness of the Identity and of Inverses

Let (G,∗)(G, *) be a group as defined above (nonempty set, binary operation, associativity, identity axiom, inverse axiom). Then: (a) The identity element ee satisfying Axiom 2 is unique. (b) For each a∈Ga \in G, the element a−1a^{-1} satisfying Axiom 3 is unique. (c) For each a∈Ga \in G, (a−1)−1=a(a^{-1})^{-1} = a. (d) For all a,b∈Ga, b \in G, (a∗b)−1=b−1∗a−1(a*b)^{-1} = b^{-1} * a^{-1}.

Proof

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 ee and e′e' are both identity elements of GG; that is, suppose

e∗a=a∗e=afor all a∈G,e * a = a * e = a \quad \text{for all } a \in G,
e′∗a=a∗e′=afor all a∈G.e' * a = a * e' = a \quad \text{for all } a \in G.

Apply the first statement with a=e′a = e': this gives e∗e′=e′e * e' = e'. Apply the second statement with a=ea = e: this gives e′∗e=ee' * e = e. Since ∗* applied to the elements ee and e′e' (in either order) has been shown to equal both e′e' and ee, and e∗e′=e′∗ee * e' = e' * e trivially (both sides denote the same single product e∗e′e * e', computed via the first identity equation reading left-to-right and via the second reading right-to-left — concretely e=e′∗e=e∗e′=e′e = e'*e = e*e' = e'), we conclude

e=e′.e = e' .

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 eGe_G, or simply ee when GG is clear from context.

(b) Uniqueness of inverses. Fix a∈Ga \in G. Suppose b,c∈Gb, c \in G both satisfy the inverse axiom for aa:

a∗b=b∗a=e,a∗c=c∗a=e.a * b = b * a = e, \qquad a * c = c * a = e.

Then, using associativity (Axiom 1) and the identity property of ee (Axiom 2):

b=b∗e=b∗(a∗c)=(b∗a)∗c=e∗c=c.b = b * e = b * (a * c) = (b * a) * c = e * c = c.

Each equality is justified as follows: b=b∗eb = b*e by the identity axiom applied to bb; b∗e=b∗(a∗c)b*e = b*(a*c) by substituting e=a∗ce = a * c from the hypothesis on cc; b∗(a∗c)=(b∗a)∗cb*(a*c) = (b*a)*c by associativity; (b∗a)∗c=e∗c(b*a)*c = e * c by substituting b∗a=eb * a = e from the hypothesis on bb; and e∗c=ce * c = c by the identity axiom applied to cc. Chaining these gives b=cb = c, so the inverse of aa is unique. We denote it a−1a^{-1}.

(c) (a−1)−1=a(a^{-1})^{-1} = a. By definition of a−1a^{-1} (Axiom 3 applied to aa), we have

a−1∗a=a∗a−1=e.a^{-1} * a = a * a^{-1} = e.

This equation exhibits aa itself as an element satisfying the defining property of "the inverse of a−1a^{-1}": combining a−1a^{-1} with aa on either side yields ee. By part (b) applied to the element a−1a^{-1} (uniqueness of its inverse), the unique inverse of a−1a^{-1} must therefore equal aa. That is,

(a−1)−1=a.(a^{-1})^{-1} = a.

(d) (a∗b)−1=b−1∗a−1(a*b)^{-1} = b^{-1} * a^{-1}. It suffices, by the uniqueness statement in part (b) applied to the element a∗ba * b, to check that b−1∗a−1b^{-1} * a^{-1} satisfies the defining property of an inverse of a∗ba*b, namely

(a∗b)∗(b−1∗a−1)=eand(b−1∗a−1)∗(a∗b)=e.(a*b) * (b^{-1} * a^{-1}) = e \quad \text{and} \quad (b^{-1} * a^{-1}) * (a * b) = e.

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):

(a∗b)∗(b−1∗a−1)=a∗(b∗(b−1∗a−1))=a∗((b∗b−1)∗a−1)=a∗(e∗a−1)=a∗a−1=e.(a*b)*(b^{-1}*a^{-1}) = a*\big(b*(b^{-1}*a^{-1})\big) = a*\big((b*b^{-1})*a^{-1}\big) = a*(e*a^{-1}) = a * a^{-1} = e.

Each step uses Axiom 1 to reassociate, then the defining property b∗b−1=eb * b^{-1} = e (Axiom 3 for bb), then the identity axiom (Axiom 2) to simplify e∗a−1=a−1e * a^{-1} = a^{-1}, then finally a∗a−1=ea * a^{-1} = e (Axiom 3 for aa). The mirror computation for (b−1∗a−1)∗(a∗b)=e(b^{-1}*a^{-1})*(a*b) = e proceeds identically with the roles of the two products reversed. By part (b)'s uniqueness statement, since b−1∗a−1b^{-1} * a^{-1} satisfies the inverse property for a∗ba * b and inverses are unique, we conclude

(a∗b)−1=b−1∗a−1.(a*b)^{-1} = b^{-1} * a^{-1}.

This completes the proof of all four parts. ■\blacksquare

∎
CorollaryLeft and right cancellation

Let (G,∗)(G,*) be a group and let a,b,c∈Ga,b,c \in G. If a∗b=a∗ca * b = a * c, then b=cb = c. Likewise if b∗a=c∗ab*a = c*a then b=cb=c.

Proof

Suppose a∗b=a∗ca*b = a*c. Combine both sides on the left with a−1a^{-1} (which exists by Axiom 3 and is well-defined by part (b) of the theorem above):

a−1∗(a∗b)=a−1∗(a∗c).a^{-1}*(a*b) = a^{-1}*(a*c).

By associativity (Axiom 1), the left side equals (a−1∗a)∗b=e∗b=b(a^{-1}*a)*b = e * b = b, and the right side equals (a−1∗a)∗c=e∗c=c(a^{-1}*a)*c = e*c = c. Hence b=cb = c. The right-cancellation case is identical, combining on the right with a−1a^{-1} instead. ■\blacksquare

∎

Worked examples

Example 1: The nonzero rationals under multiplication. Let G=Q×=Q∖{0}G = \mathbb{Q}^{\times} = \mathbb{Q} \setminus \{0\}, and let ∗* be ordinary multiplication of rational numbers. We verify every axiom explicitly. Binary operation / closure. If a=p/qa = p/q and b=r/sb = r/s are nonzero rationals (with p,q,r,sp,q,r,s integers, q,s≠0q,s \neq 0, and p,r≠0p,r\neq 0 since a,b≠0a,b \neq 0), then

a⋅b=prqs.a \cdot b = \frac{pr}{qs}.

Since p,r≠0p, r \neq 0 we have pr≠0pr \neq 0, so a⋅b≠0a \cdot b \neq 0; and qs≠0qs \neq 0 since q,s≠0q, s \neq 0. Hence a⋅b∈Q×a \cdot b \in \mathbb{Q}^\times. So ⋅:Q××Q×→Q×\cdot : \mathbb{Q}^\times \times \mathbb{Q}^\times \to \mathbb{Q}^\times is genuinely a binary operation on Q×\mathbb{Q}^\times — note this required checking ab≠0ab \ne 0, which is why we excluded 00 from GG in the first place: 0⋅1=0∉Q×0 \cdot 1 = 0 \notin \mathbb{Q}^\times would have broken closure had we included 00. Associativity. For rationals a=p/qa = p/q, b=r/sb=r/s, c=t/uc=t/u,

(a⋅b)⋅c=prqs⋅tu=prtqsu,a⋅(b⋅c)=pq⋅rtsu=prtqsu.(a\cdot b)\cdot c = \frac{pr}{qs}\cdot \frac{t}{u} = \frac{prt}{qsu}, \qquad a \cdot (b \cdot c) = \frac{p}{q}\cdot\frac{rt}{su} = \frac{prt}{qsu}.

Both equal prtqsu\frac{prt}{qsu} (using associativity and commutativity of multiplication of integers, which we take as known arithmetic), so (a⋅b)⋅c=a⋅(b⋅c)(a\cdot b)\cdot c = a\cdot(b\cdot c). Identity. Take e=1e = 1. For any a=p/q∈Q×a = p/q \in \mathbb{Q}^\times, 1⋅a=a⋅1=p/q=a1 \cdot a = a \cdot 1 = p/q = a. So 11 is a two-sided identity. Inverses. For a=p/qa = p/q with p≠0p \neq 0, set a−1=q/pa^{-1} = q/p. This is a nonzero rational since q≠0q \neq 0. Check:

a⋅a−1=pq⋅qp=pqqp=1,a−1⋅a=qp⋅pq=1.a \cdot a^{-1} = \frac{p}{q}\cdot\frac{q}{p} = \frac{pq}{qp} = 1, \qquad a^{-1}\cdot a = \frac{q}{p}\cdot\frac{p}{q} = 1.

So every element has a two-sided inverse in GG. All four axioms hold, so (Q×,⋅)(\mathbb{Q}^\times, \cdot) is a group. It is abelian, since rational multiplication commutes. Note that Q\mathbb{Q} itself under multiplication is not a group (Axiom 3 fails: 00 has no multiplicative inverse), which is exactly why 00 was excluded.

Example 2: Invertible 2×22\times 2 matrices over R\mathbb{R} — a genuinely non-abelian group. Let G=GL2(R)G = GL_2(\mathbb{R}), the set of 2×22\times 2 real matrices AA with det⁡A≠0\det A \neq 0, and let ∗* be matrix multiplication. We check the axioms with a specific asymmetric pair to make the non-commutativity concrete. Closure. If A,B∈GL2(R)A, B \in GL_2(\mathbb{R}) then det⁡(AB)=det⁡(A)det⁡(B)≠0\det(AB) = \det(A)\det(B) \neq 0 (a standard fact about determinants), so AB∈GL2(R)AB \in GL_2(\mathbb{R}). Thus matrix multiplication is a binary operation on GG. Associativity. Matrix multiplication is associative: for any three 2×22\times2 matrices A,B,CA,B,C (invertible or not), entrywise expansion of (AB)C(AB)C and A(BC)A(BC) both give the same sum ∑k∑jAikBkjCjl\sum_k \sum_j A_{ik}B_{kj}C_{jl} for each entry, by the distributive law in R\mathbb{R}; 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 e=I=(1001)e = I = \begin{pmatrix}1&0\\0&1\end{pmatrix}, which is invertible (det⁡I=1≠0\det I = 1 \neq 0) and satisfies IA=AI=AIA = AI = A for all 2×22\times2 matrices AA. Inverses. By definition of GL2(R)GL_2(\mathbb{R}), every A∈GA \in G has det⁡A≠0\det A \neq 0, and the classical adjugate formula

A−1=1det⁡A(d−b−ca),A=(abcd),A^{-1} = \frac{1}{\det A}\begin{pmatrix} d & -b \\ -c & a\end{pmatrix}, \qquad A = \begin{pmatrix} a & b \\ c & d\end{pmatrix},

gives a matrix in GG (since det⁡(A−1)=1/det⁡A≠0\det(A^{-1}) = 1/\det A \neq 0) satisfying AA−1=A−1A=IA A^{-1} = A^{-1}A = I; this can be checked by direct entrywise multiplication. So (GL2(R),⋅)(GL_2(\mathbb{R}), \cdot) is a group. Now take the concrete, deliberately asymmetric elements

A=(1201),B=(1031).A = \begin{pmatrix}1 & 2\\ 0 & 1\end{pmatrix}, \qquad B = \begin{pmatrix}1 & 0\\ 3 & 1\end{pmatrix}.

Both have determinant 1≠01 \neq 0, so both lie in GG. Compute:

AB=(1201)(1031)=(1⋅1+2⋅31⋅0+2⋅10⋅1+1⋅30⋅0+1⋅1)=(7231).AB = \begin{pmatrix}1&2\\0&1\end{pmatrix}\begin{pmatrix}1&0\\3&1\end{pmatrix} = \begin{pmatrix}1\cdot1+2\cdot3 & 1\cdot0+2\cdot1\\ 0\cdot1+1\cdot3 & 0\cdot0+1\cdot1\end{pmatrix} = \begin{pmatrix}7&2\\3&1\end{pmatrix}.
BA=(1031)(1201)=(1⋅1+0⋅01⋅2+0⋅13⋅1+1⋅03⋅2+1⋅1)=(1237).BA = \begin{pmatrix}1&0\\3&1\end{pmatrix}\begin{pmatrix}1&2\\0&1\end{pmatrix} = \begin{pmatrix}1\cdot1+0\cdot0 & 1\cdot2+0\cdot1\\3\cdot1+1\cdot0 & 3\cdot2+1\cdot1\end{pmatrix} = \begin{pmatrix}1&2\\3&7\end{pmatrix}.

Since AB=(7231)≠(1237)=BAAB = \begin{pmatrix}7&2\\3&1\end{pmatrix} \neq \begin{pmatrix}1&2\\3&7\end{pmatrix} = BA, 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

CounterexampleDropping associativity: a binary operation with identity and inverses, but no group

Let G={e,a,b}G = \{e, a, b\} and define ∗* by the table:

∗*eeaabb
eeeeaabb
aaaaeeaa
bbbbaaee

This is a genuine binary operation on GG: every entry of the table is an element of GG, so closure holds trivially by construction. Note ee acts as a two-sided identity by inspection of its row and column, both of which just reproduce e,a,be, a, b. Also every element has a two-sided inverse: e∗e=ee * e = e, a∗a=ea * a = e, b∗b=eb * b = e, so each element is its own inverse. Now test associativity on the specific triple (a,a,b)(a,a,b):

(a∗a)∗b=e∗b=b,a∗(a∗b)=a∗a=e.(a * a) * b = e * b = b, \qquad a * (a * b) = a * a = e.

Since b≠eb \neq e (they are distinct elements of GG by construction), we get

(a∗a)∗b=b≠e=a∗(a∗b).(a*a)*b = b \neq e = a*(a*b).

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 a∗x=ba * x = b, 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

SituationWhat can go wrongCorrect statement
Forgetting to check closureAssuming a subset of a group automatically inherits a valid operationMust verify a∗b∈Sa * b \in S for the restricted set SS before calling (S,∗)(S,*) anything
One-sided identity/inverseFinding ee with e∗a=ae*a=a only (or an a−1a^{-1} with only a∗a−1=ea*a^{-1}=e)Group axioms require two-sided identity and inverses; one-sided versions can fail to be unique in non-associative or infinite settings
Assuming commutativityWriting ab=baab = ba by habit from arithmeticCommutativity is extra; groups need not be abelian (Example 2)
Confusing "GG" with "(G,∗)(G,*)"Saying "Z\mathbb{Z} is a group" without specifying the operationThe same set can be a group under one operation (++) and fail to be one under another (×\times, since 00 has no inverse)
Non-associative "operations"Treating any table satisfying closure+identity+inverses as a groupMust 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
ÉG
Évariste Galois
1811–1832 · Early 19th-century France, theory of equations

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.

History
- 1770 — Lagrange studies permutations of roots of polynomials, an early precursor to group-theoretic thinking, without a group concept.
- 1830–1832 — Galois develops what we now call Galois theory, using groups of permutations to characterize solvability of polynomial equations by radicals.
- 1854 — Cayley gives an early abstract definition of a finite group via a multiplication table, independent of any particular representation.
- 1870 — Jordan's treatise systematizes permutation groups and substitution theory, influencing the next generation.
- 1882 — Weber and, soon after, the emerging axiomatic tradition state the group axioms in essentially their modern closure/associativity/identity/inverse form, later canonized in van der Waerden's 1930 textbook Moderne Algebra.
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 SS is by definition a function S×S→SS \times S \to S, so its outputs automatically lie in SS. 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 (e∗a=ae*a = a for all aa) and left inverses (a−1∗a=ea^{-1}*a = e), 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 Z>0\mathbb{Z}_{>0} under addition: this is a perfectly good binary operation (closed, associative), but there is no element e∈Z>0e \in \mathbb{Z}_{>0} with e+n=ne + n = n for all nn, since that would force e=0∉Z>0e = 0 \notin \mathbb{Z}_{>0}. So (Z>0,+)(\mathbb{Z}_{>0}, +) 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. (N,+)(\mathbb{N}, +) with identity 00, or (Z,×)(\mathbb{Z}, \times) with identity 11, 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 HH is a subset of a group (G,∗)(G,*), one does not need to reverify associativity — it is inherited automatically, since the equation (a∗b)∗c=a∗(b∗c)(a*b)*c = a*(b*c) holds for all elements of GG, hence in particular for all elements of H⊆GH \subseteq G. What must be checked is: closure (a,b∈H⇒a∗b∈Ha,b \in H \Rightarrow a*b \in H), that the identity ee of GG lies in HH, and that HH 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 Z\mathbb{Z} is a group under addition (identity 00, inverse of nn is −n-n), but (Z,×)(\mathbb{Z}, \times) is not a group at all (only 11 and −1-1 have multiplicative inverses in Z\mathbb{Z}). The set {1,−1,i,−i}\{1,-1,i,-i\} of fourth roots of unity forms a group under multiplication that is structurally identical (isomorphic) to Z/4Z\mathbb{Z}/4\mathbb{Z} 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.

Where this leads