Groups: definition, axioms, examples

At a Glance

Why This Chapter Matters

Group questions in UPSC Section A divide cleanly into two types: constructing composition tables for order-4 groups (2015, 5 marks) and the Bézout/well-ordering argument for the GCD (2021, 10 marks). Both are self-contained and fast: the table question rewards knowing the two groups of order 4 cold, and the Bézout question has a single 4-step proof. Once you know the axioms precisely and the well-ordering trick, both archetypes are solved in under 6 minutes.

Minimum Theory

Group axioms. A group (G,⋅)(G,\cdot) is a set GG with a binary operation ⋅\cdot satisfying: (G1) closure: a,b∈G⇒ab∈Ga,b\in G\Rightarrow ab\in G; (G2) associativity: (ab)c=a(bc)(ab)c=a(bc); (G3) identity: ∃ e∈G\exists\, e\in G with ae=ea=aae=ea=a; (G4) inverses: ∀a∈G, ∃ a−1\forall a\in G,\,\exists\, a^{-1} with aa−1=a−1a=eaa^{-1}=a^{-1}a=e.

Order. The order of a group ∣G∣|G| is its cardinality. The order of an element a∈Ga\in G is the smallest n≥1n\ge1 with an=ea^n=e, or ∞\infty if none exists. A group is cyclic if some element generates all of GG: G=⟨a⟩={ak:k∈Z}G=\langle a\rangle=\{a^k:k\in\mathbb Z\}.

Groups of order 4. Up to isomorphism there are exactly two: the cyclic group Z4={e,a,a2,a3}\mathbb Z_4=\{e,a,a^2,a^3\} (has an element of order 4) and the Klein four-group V4=Z2×Z2V_4=\mathbb Z_2\times\mathbb Z_2 (every non-identity element has order 2). Any group of order 4 constructed from {e,a,b,c}\{e,a,b,c\} is isomorphic to one of these.

The dihedral group DnD_n, and presentations. DnD_n is the group of order 2n2n with

Dn=⟨r,s∣rn=s2=e, srs−1=r−1⟩={rk, rks:0≤k≤n−1}.D_n=\langle r,s \mid r^n=s^2=e,\ srs^{-1}=r^{-1}\rangle=\{r^k,\,r^ks : 0\le k\le n-1\}.

Concretely it is Zn⋊Z2\mathbb{Z}_n\rtimes\mathbb{Z}_2, with product (k,ε)(l,δ)=(k+(−1)εl, ε+δ)(k,\varepsilon)(l,\delta)=(k+(-1)^\varepsilon l,\ \varepsilon+\delta); for n≥3n\ge3 it is the symmetry group of the regular nn-gon (nn rotations rkr^k, nn reflections rksr^ks). Two conventions that must be stated when they are used: D1≅Z2D_1\cong\mathbb{Z}_2 and D2≅Z2×Z2D_2\cong\mathbb{Z}_2\times\mathbb{Z}_2 (abelian — “dihedral of order 4” is the Klein group, not a polygon group). GG is abelian   ⟺  n≤2\iff n\le2.

The working form of the relation is obtained by iterating srs−1=r−1srs^{-1}=r^{-1} and using s−1=ss^{-1}=s:

s rk=r−k sfor every k∈Z,s\,r^k=r^{-k}\,s\qquad\text{for every }k\in\mathbb{Z},

which lets every ss be pushed to the right past any power of rr — that is what produces the normal form rkr^k or rksr^ks and hence the bound ∣G∣≤2n|G|\le2n.

Bézout / well-ordering principle. For positive integers m1,…,mkm_1,\ldots,m_k with gcd⁡=d\gcd = d, the set S={a1m1+⋯+akmk:ai∈Z}∩Z+S=\{a_1m_1+\cdots+a_km_k : a_i\in\mathbb Z\}\cap\mathbb Z^+ is non-empty and has a minimum δ\delta by the well-ordering of Z+\mathbb Z^+. One shows δ=d\delta = d, giving integers x1,…,xkx_1,\ldots,x_k with d=x1m1+⋯+xkmkd=x_1m_1+\cdots+x_km_k.

Group axioms: closure, associativity, identity, inverse

Question Archetypes

ArchetypeRecognition
construct-group-tables”Construct composition tables” for a group of small order; show one cyclic, one not
bezout-gcd”Show gcd⁡\gcd can be expressed as integer linear combination”; well-ordering proof
dihedral-from-involutionsGG generated by two elements of order 2; identify GG as DnD_n with n=O(uv)n=O(uv)

construct-group-tables (1 question(s); 2015)

Recognition Cues — asked to exhibit two distinct group structures on {e,a,b,c}\{e,a,b,c\}, one cyclic and one not; or equivalently, to write out Cayley tables for the two groups of order 4.

Solution Template

  1. Identify the two groups of order 4: Z4\mathbb Z_4 (cyclic) and V4V_4 (Klein, non-cyclic).
  2. Write the cyclic table: powers of a generator fill each row/column.
  3. Write the Klein table: every non-identity element is its own inverse; product of any two distinct non-identity elements is the third.
  4. Verify both tables are Latin squares (each element appears exactly once per row and column).
  5. Show cyclicity: point to an element of order 4 (cyclic case); show all non-identity orders are 2 (Klein case, hence no generator, not cyclic).

Worked Example

2015 Paper 2, 2015-P2-Q1a-ii (5 marks)

Taking a group {e,a,b,c}\{e,a,b,c\} of order 4, where ee is the identity, construct composition tables showing that one is cyclic while the other is not.

Cyclic group Z4\mathbb Z_4. Relabel: b=a2b=a^2, c=a3c=a^3.

⋅\cdoteeaabbcc
eeeeaabbcc
aaaabbccee
bbbbcceeaa
cccceeaabb

Element orders: ∣e∣=1|e|=1, ∣a∣=4|a|=4, ∣b∣=2|b|=2, ∣c∣=4|c|=4. Since aa has order 4, ⟨a⟩={e,a,b,c}=G\langle a\rangle = \{e,a,b,c\}=G. Cyclic. ✓\checkmark

Klein four-group V4V_4. Each non-identity element is its own inverse; product of any two distinct non-identity elements gives the third.

⋅\cdoteeaabbcc
eeeeaabbcc
aaaaeeccbb
bbbbcceeaa
ccccbbaaee

Element orders: ∣e∣=1|e|=1, ∣a∣=∣b∣=∣c∣=2|a|=|b|=|c|=2. No element generates GG. Not cyclic. ✓\checkmark

Two groups of order 4: cyclic Z4 (order-4 generator) and Klein V4 (all non-identity elements of order 2).\boxed{\text{Two groups of order 4: cyclic }\mathbb Z_4\text{ (order-4 generator) and Klein }V_4\text{ (all non-identity elements of order 2).}}

Common Traps

bezout-gcd (1 question(s); 2021)

Recognition Cues — “Show there exist integers x1,…,xkx_1,\ldots,x_k with d=x1m1+⋯+xkmkd = x_1m_1+\cdots+x_km_k”; “GCD as integer linear combination”; “well-ordering principle applied to a set of linear combinations.”

Solution Template

  1. Let S={a1m1+⋯+akmk:ai∈Z}∩Z+S = \{a_1m_1+\cdots+a_km_k : a_i\in\mathbb Z\}\cap\mathbb Z^+. Show S≠∅S\ne\emptyset (take a1=1a_1=1, rest 00).
  2. By well-ordering, SS has a minimum element δ=x1m1+⋯+xkmk\delta = x_1m_1+\cdots+x_km_k.
  3. Show δ∣mi\delta\mid m_i for each ii: divide mi=qiδ+rim_i = q_i\delta + r_i; if ri>0r_i>0 then ri∈Sr_i\in S with ri<δr_i<\delta — contradiction. So ri=0r_i=0.
  4. Any common divisor dd of all mim_i divides every linear combination, so d∣δd\mid\delta. Since δ\delta divides each mim_i, δ≤d\delta\le d. Combined with d≤δd\le\delta, conclude δ=d\delta=d.

Worked Example

2021 Paper 2, 2021-P2-Q1a (10 marks)

Let m1,…,mkm_1,\ldots,m_k be positive integers, d>0=gcd⁡(m1,…,mk)d>0 = \gcd(m_1,\ldots,m_k). Show there exist integers x1,…,xkx_1,\ldots,x_k with d=x1m1+⋯+xkmkd = x_1m_1+\cdots+x_km_k.

Step 1 — Set-up. Let S={a1m1+⋯+akmk:ai∈Z}∩Z+S = \{a_1m_1+\cdots+a_km_k : a_i\in\mathbb Z\}\cap\mathbb Z^+. Taking a1=1a_1=1, a2=⋯=ak=0a_2=\cdots=a_k=0 gives m1∈Sm_1\in S, so S≠∅S\ne\emptyset.

Step 2 — Well-ordering. By the well-ordering principle, SS has a minimum element δ=x1m1+⋯+xkmk>0\delta = x_1m_1+\cdots+x_km_k > 0.

Step 3 — δ\delta divides each mim_i. Apply the division algorithm: mi=qiδ+rim_i = q_i\delta + r_i, 0≤ri<δ0\le r_i<\delta. Then

ri=mi−qiδ=mi−qi(x1m1+⋯+xkmk),r_i = m_i - q_i\delta = m_i - q_i(x_1m_1+\cdots+x_km_k),

which is an integer linear combination of m1,…,mkm_1,\ldots,m_k. If ri>0r_i>0 then ri∈Sr_i\in S with ri<δr_i<\delta, contradicting minimality. Hence ri=0r_i=0, so δ∣mi\delta\mid m_i for all ii.

Step 4 — δ=d\delta = d. Since δ\delta is a common divisor of all mim_i, δ≤d\delta\le d (the gcd is the largest common divisor). Conversely, d∣mid\mid m_i for all ii, so dd divides every integer linear combination, in particular d∣δd\mid\delta, giving d≤δd\le\delta. Hence δ=d\delta = d.

d=x1m1+⋯+xkmk for some integers xi.  ■\boxed{d = x_1m_1+\cdots+x_km_k \text{ for some integers } x_i.}\;\blacksquare

Common Traps

dihedral-from-involutions (1 question(s); 2026)

Two involutions is the trigger. The instant a group is generated by two elements of order 2, set r=uvr=uv and s=us=u: the pair (r,s)(r,s) satisfies the defining dihedral relations, and the question becomes a counting problem.

Recognition Cues

Solution Template

  1. Fix a model of DnD_n first, one already known to have order 2n2n — otherwise the counting argument at the end is circular.
  2. Change generators: r=uvr=uv, s=us=u. Then v=srv=sr (since u2=eu^2=e), so ⟨r,s⟩=⟨u,v⟩=G\langle r,s\rangle=\langle u,v\rangle=G.
  3. Verify the three relations: rn=er^n=e by definition of n=O(r)n=O(r); s2=u2=es^2=u^2=e; and, using u−1=uu^{-1}=u, v−1=vv^{-1}=v, srs−1=u(uv)u=vu=(uv)−1=r−1.srs^{-1}=u(uv)u=vu=(uv)^{-1}=r^{-1}.
  4. Normal form: show H={rk}∪{rks}H=\{r^k\}\cup\{r^ks\} is closed under products and inverses using srk=r−kssr^k=r^{-k}s, contains uu and vv, hence equals GG. This gives ∣G∣≤2n|G|\le 2n.
  5. Prove s∉⟨r⟩s\notin\langle r\rangle — this is where the marks are. If s∈⟨r⟩s\in\langle r\rangle then G=⟨r⟩G=\langle r\rangle is cyclic, hence abelian, so u,vu,v commute and r2=(uv)2=u2v2=er^2=(uv)^2=u^2v^2=e, forcing n≤2n\le2; both n=1n=1 and n=2n=2 then contradict O(u)=O(v)=2O(u)=O(v)=2.
  6. Distinctness, three checks: rotations distinct (order of rr); reflections distinct (cancel ss); no rotation equals a reflection (else s∈⟨r⟩s\in\langle r\rangle). Hence ∣G∣=2n|G|=2n.
  7. Exhibit the isomorphism φ(rk)=ak\varphi(r^k)=a^k, φ(rks)=akb\varphi(r^ks)=a^kb and check it respects the four product types — do not merely assert it.

Worked Example

2026 Paper 2, 2026-P2-Q2a (15 marks)

Let GG be a finite group generated by two elements uu and vv of order 2 each. Show that GG is isomorphic to the dihedral group of order 2n2n, where O(uv)=nO(uv)=n.

Source: analysis/solutions/2026-P2-Q2a.md

Generators. Put r=uvr=uv, s=us=u, n=O(r)n=O(r) (finite because GG is). Then sr=u(uv)=u2v=vsr=u(uv)=u^2v=v, so u,v∈⟨r,s⟩u,v\in\langle r,s\rangle and G=⟨r,s⟩G=\langle r,s\rangle.

Relations. rn=er^n=e; s2=u2=es^2=u^2=e with s≠es\ne e; and srs−1=u(uv)u−1=vu=(uv)−1=r−1srs^{-1}=u(uv)u^{-1}=vu=(uv)^{-1}=r^{-1}. Iterating, srk=r−kssr^k=r^{-k}s.

Normal form. With H={rk}k=0n−1∪{rks}k=0n−1H=\{r^k\}_{k=0}^{n-1}\cup\{r^ks\}_{k=0}^{n-1}, the four products are

rirj=ri+j,ri(rjs)=ri+js,(ris)rj=ri−js,(ris)(rjs)=ri−j,r^ir^j=r^{i+j},\quad r^i(r^js)=r^{i+j}s,\quad (r^is)r^j=r^{i-j}s,\quad (r^is)(r^js)=r^{i-j},

so HH is closed; (rks)2=e(r^ks)^2=e gives closure under inverses. Since u=s∈Hu=s\in H and v=r−1s∈Hv=r^{-1}s\in H and G=⟨u,v⟩G=\langle u,v\rangle is the smallest such subgroup, G=HG=H and ∣G∣≤2n|G|\le2n.

The key lemma. If s∈⟨r⟩s\in\langle r\rangle then G=⟨r⟩G=\langle r\rangle is cyclic, hence abelian, so r2=(uv)(uv)=u(vu)v=u(uv)v=u2v2=er^2=(uv)(uv)=u(vu)v=u(uv)v=u^2v^2=e and n∈{1,2}n\in\{1,2\}. If n=1n=1 then s=es=e, i.e. u=eu=e — contradicting O(u)=2O(u)=2. If n=2n=2 then ⟨r⟩={e,r}\langle r\rangle=\{e,r\} and s≠es\ne e force s=rs=r, i.e. u=uvu=uv, giving v=ev=e — contradicting O(v)=2O(v)=2. Hence s∉⟨r⟩s\notin\langle r\rangle.

Distinctness. ri=rjr^i=r^j with 0≤i<j<n0\le i<j<n would give rj−i=er^{j-i}=e, impossible; ris=rjsr^is=r^js cancels to ri=rjr^i=r^j; and ri=rjsr^i=r^js would put s=ri−j∈⟨r⟩s=r^{i-j}\in\langle r\rangle. So the 2n2n listed elements are distinct and ∣G∣=2n|G|=2n.

Isomorphism. φ(rk)=ak\varphi(r^k)=a^k, φ(rks)=akb\varphi(r^ks)=a^kb is well defined and bijective (it matches two lists of 2n2n distinct elements term by term), and the four product identities above match the corresponding ones in DnD_n case by case. Hence G≅DnG\cong D_n. ■\blacksquare

The boundary cases, worth 90 seconds. n=1n=1: uv=euv=e so v=uv=u and G=⟨u⟩≅Z2=D1G=\langle u\rangle\cong\mathbb{Z}_2=D_1. n=2n=2: u,vu,v commute and G={e,u,v,uv}G=\{e,u,v,uv\} is the Klein four-group =D2=D_2, which is abelian. For n≥3n\ge3, GG is non-abelian and is the symmetry group of the regular nn-gon.

Common Traps

Marks-Aware Writing

For the 5-mark table question: two complete, correct Cayley tables earn 3 marks; identifying orders and naming which is cyclic earns the remaining 2. Do not just draw a table without verifying the Latin square property (each element once per row/column).

For the 10-mark Bézout proof: a complete proof needs (a) non-emptiness of SS, (b) well-ordering cited by name, (c) the division-algorithm step producing the contradiction, and (d) the two-sided argument δ≤d\delta\le d and d≤δd\le\delta. Any one of these missing costs 2–3 marks. Citing well-ordering without writing “By the well-ordering principle of Z+\mathbb Z^+” is acceptable but explicit citation is safer.

Practice Set

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.