The Class Equation

How large must a group be before it is forced to have a nontrivial center? This question sounds specific. But it opens onto one of the most useful counting arguments in all of group theory. A finite group acts on itself by conjugation. The orbits of this action — the conjugacy classes — partition the group into pieces. These pieces have sizes tightly constrained by divisibility. Tallying up these pieces produces the class equation. This is a single arithmetic identity. It encodes deep structural information about the group. The class equation matters because it converts a structural question into an arithmetic one. The structural question asks: "does this group have a nontrivial center?" The arithmetic question asks: "can these numbers add up correctly?" This is a recurring theme in group theory. Group actions produce orbit-counting formulas. Divisibility constraints on those formulas force algebraic conclusions. These conclusions would be hard to see directly. The class equation is the first serious payoff of the Orbit-Stabilizer Theorem applied to a group acting on itself. It is the engine behind the theorem that every nontrivial finite pp-group has nontrivial center. The big picture is this: conjugation is the natural action. It measures how "twisted" or "symmetric" a group's internal structure is. Elements in the same conjugacy class are, in a precise sense, indistinguishable. This is true from the group's own point of view. They have identical algebraic roles up to relabeling by an automorphism. The center consists exactly of the elements that are alone in their conjugacy class. These are the elements with no algebraic "partners." The class equation quantifies exactly how much of the group escapes the center. It forces that escape to be small when the group's order is a prime power. This article gives the precise definitions of conjugacy classes and centralizers in this context. It proves the class equation rigorously via the Orbit-Stabilizer Theorem. Then it proves the flagship consequence: a nontrivial finite pp-group has a nontrivial center. Along the way we build the intuition. We work two fully computed non-symmetric examples. We show exactly why the "pp-group" hypothesis cannot be weakened. This sets up later results such as Cauchy's Theorem and the broader theory of p-Groups and Their Properties.

Key takeaways
  • Conjugation is a group action of GG on itself; its orbits are the conjugacy classes.
  • The stabilizer of gg under conjugation is exactly its centralizer CG(g)C_G(g).
  • Orbit-Stabilizer gives ∣conjugacy class of g∣=[G:CG(g)]|\text{conjugacy class of } g| = [G : C_G(g)].
  • Summing over one representative per class gives the class equation: ∣G∣=∣Z(G)∣+∑[G:CG(gi)]|G| = |Z(G)| + \sum [G:C_G(g_i)].
  • If ∣G∣=pn|G| = p^n (pp prime, n≥1n \geq 1), every term [G:CG(gi)][G:C_G(g_i)] in the noncentral sum is divisible by pp, forcing p∣∣Z(G)∣p \mid |Z(G)|.
  • Consequently every nontrivial finite pp-group has a nontrivial center — a cornerstone fact used to build up the structure theory of pp-groups.
  • Key idea: partitioning a group by conjugacy and applying orbit-stabilizer turns a structural question about centers into a divisibility argument.

Where this lives today

The class equation is the entry point to the structure theory of finite pp-groups, which in turn underlies the Sylow Theorems (though those are typically proved via slightly different orbit-counting arguments on cosets rather than conjugacy alone, the philosophy is identical). It is the direct ancestor of the proof that every group of order p2p^2 is abelian, and of induction arguments showing pp-groups are nilpotent. In representation theory, the number of conjugacy classes of a finite group equals the number of irreducible complex representations, so understanding conjugacy class sizes (exactly what the class equation tracks) is foundational to character theory. In chemistry and physics, conjugacy classes of point groups and crystallographic space groups classify physically indistinguishable symmetry operations, directly generalizing the group-theoretic notion here. In computational group theory and cryptography, algorithms for computing conjugacy classes and centralizers (e.g. in GAP or Magma) are basic primitives, and centralizer computations feature in some group-based cryptographic protocols. Finally, the technique of "counting an orbit decomposition and extracting divisibility" recurs throughout combinatorics (Burnside's lemma/orbit-counting), making the class equation a template argument students see again and again.

:::quiz[In the class equation ∣G∣=∣Z(G)∣+∑[G:CG(gi)]|G| = |Z(G)| + \sum [G:C_G(g_i)], what does each term [G:CG(gi)][G:C_G(g_i)] represent?]

  • The order of the centralizer of gig_i
  • The size of the conjugacy class of gig_i ✓
  • The number of conjugacy classes in GG
  • The order of GG divided by ∣Z(G)∣|Z(G)|

Ask the tutor: Can you show why every group of order p2p^2 must be abelian, using the nontrivial-center result as a starting point?

DefinitionConjugacy Class, Centralizer, and the Class Equation

Let GG be a group. For g,x∈Gg, x \in G, the conjugate of gg by xx is xgx−1xgx^{-1}. The conjugation action of GG on itself is the map G×G→GG \times G \to G given by (x,g)↦xgx−1(x, g) \mapsto xgx^{-1}. This is a genuine group action: e⋅g=ege−1=ge \cdot g = ege^{-1} = g, and (xy)⋅g=(xy)g(xy)−1=x(ygy−1)x−1=x⋅(y⋅g)(xy)\cdot g = (xy)g(xy)^{-1} = x(ygy^{-1})x^{-1} = x \cdot (y \cdot g). For g∈Gg \in G, the conjugacy class of gg is its orbit under this action,

cl(g)={xgx−1:x∈G}.\mathrm{cl}(g) = \{ xgx^{-1} : x \in G \}.

Since orbits of a group action partition the underlying set, the conjugacy classes partition GG. The centralizer of gg in GG is

CG(g)={x∈G:xg=gx}={x∈G:xgx−1=g},C_G(g) = \{ x \in G : xg = gx \} = \{x \in G : xgx^{-1} = g\},

which is exactly the stabilizer of gg under the conjugation action, and is a subgroup of GG. The center of GG is

Z(G)={z∈G:zg=gz for all g∈G},Z(G) = \{ z \in G : zg = gz \text{ for all } g \in G \},

i.e. the set of elements whose conjugacy class is a singleton: z∈Z(G)  ⟺  cl(z)={z}  ⟺  CG(z)=Gz \in Z(G) \iff \mathrm{cl}(z) = \{z\} \iff C_G(z) = G. Now suppose GG is finite. Choose representatives g1,…,gkg_1, \dots, g_k, one from each conjugacy class of size greater than 11 (i.e. each non-central conjugacy class). Since the classes partition GG, and the singleton classes are exactly the elements of Z(G)Z(G), we obtain the class equation:

∣G∣=∣Z(G)∣+∑i=1k[G:CG(gi)].|G| = |Z(G)| + \sum_{i=1}^{k} [G : C_G(g_i)].

Intuition

Picture a finite group as a room full of objects, and imagine two objects as "the same shape" if one can be rotated (conjugated) into the other. Conjugacy classes are the shape-equivalence classes: all elements in one class are algebraically interchangeable from the group's internal perspective, related by an inner automorphism. An element sits alone in its class exactly when nothing in the group can "rotate" it into something different — that is precisely the defining property of the center. The size of a conjugacy class is governed by the Orbit-Stabilizer Theorem: the class of gg has size [G:CG(g)][G:C_G(g)], the index of its centralizer. Elements with large centralizers (lots of commuting partners) have small conjugacy classes; elements with small centralizers (few commuting partners) get flung around into large classes. Central elements are the extreme case: centralizer equal to the whole group, class size 11. The class equation is simply bookkeeping: add up ∣Z(G)∣|Z(G)| (the size-1 classes) and the sizes of all the bigger classes, and the total must be ∣G∣|G|. The magic happens when ∣G∣|G| is a prime power. Each noncentral class size [G:CG(gi)][G:C_G(g_i)] is a proper divisor of pnp^n greater than 11, hence is itself divisible by pp. That means ∣G∣−∑[G:CG(gi)]|G| - \sum[G:C_G(g_i)] is divisible by pp — and that quantity is exactly ∣Z(G)∣|Z(G)|. Since ∣Z(G)∣≥1|Z(G)| \geq 1 (it always contains ee) and is divisible by pp, it must be at least pp, so it cannot be trivial.

Figure
Conjugacy classes of a group of order 12 partitioning GG, with the center as the union of singleton classes
G, |G| = 12 : partition into conjugacy classes e size 1 z size 1 Z(G) = {e, z}, |Z(G)| = 2 class size 3 : [G:C_G(g_1)] = 3 class size 4 : [G:C_G(g_2)] = 4 12 = 2 + 3 + 3 + 4 (three noncentral classes of sizes 3, 3, 4)
TheoremThe Class Equation and Nontrivial Centers of pp-Groups

Part 1 (Class Equation). Let GG be a finite group. Let g1,…,gkg_1, \dots, g_k be representatives of the distinct conjugacy classes of GG containing more than one element. Then

∣G∣=∣Z(G)∣+∑i=1k[G:CG(gi)].|G| = |Z(G)| + \sum_{i=1}^{k} [G : C_G(g_i)].

Part 2 (Nontrivial center of a pp-group). Let pp be a prime and let GG be a finite group with ∣G∣=pn|G| = p^n for some integer n≥1n \geq 1. Then

∣Z(G)∣>1,|Z(G)| > 1,

i.e. Z(G)Z(G) is nontrivial. In fact p∣∣Z(G)∣p \mid |Z(G)|.

Proof

Proof of Part 1. We use the technique of orbit counting under a group action. Consider the conjugation action of GG on itself, (x,g)↦xgx−1(x,g) \mapsto xgx^{-1}, verified to be a group action in the Conjugacy Class, Centralizer, and the Class Equation definition above. Orbits of any group action on a set partition that set (this is a general fact: the relation "a∼ba \sim b iff b=x⋅ab = x\cdot a for some xx" is an equivalence relation, since the action axioms give reflexivity via ee, symmetry via inverses, and transitivity via composition of group elements). Here the orbits are exactly the conjugacy classes, so

G=⨆classes CC,G = \bigsqcup_{\text{classes } C} C,

a disjoint union, and therefore

∣G∣=∑classes C∣C∣.|G| = \sum_{\text{classes } C} |C|.

By the Orbit-Stabilizer Theorem applied to this action, for each g∈Gg \in G the orbit of gg (its conjugacy class cl(g)\mathrm{cl}(g)) satisfies

∣cl(g)∣=[G:Stab(g)].|\mathrm{cl}(g)| = [G : \mathrm{Stab}(g)].

We must identify the stabilizer of gg under conjugation. By definition,

Stab(g)={x∈G:x⋅g=g}={x∈G:xgx−1=g}={x∈G:xg=gx}=CG(g).\mathrm{Stab}(g) = \{ x \in G : x \cdot g = g \} = \{ x \in G : xgx^{-1} = g \} = \{x \in G : xg = gx\} = C_G(g).

Hence ∣cl(g)∣=[G:CG(g)]|\mathrm{cl}(g)| = [G : C_G(g)] for every g∈Gg \in G. Now separate the classes into singletons and non-singletons. A class cl(g)\mathrm{cl}(g) has size 11 if and only if cl(g)={g}\mathrm{cl}(g) = \{g\}, i.e. xgx−1=gxgx^{-1} = g for all x∈Gx \in G, i.e. xg=gxxg = gx for all x∈Gx \in G, i.e. g∈Z(G)g \in Z(G). So the singleton classes are precisely {z}\{z\} for z∈Z(G)z \in Z(G), and there are ∣Z(G)∣|Z(G)| of them, contributing a total of ∣Z(G)∣|Z(G)| elements to GG (each contributing 11). Every other class has size [G:CG(gi)]≥2[G:C_G(g_i)] \geq 2 for a representative gig_i not in Z(G)Z(G); choose one representative g1,…,gkg_1,\dots,g_k from each such class (there are finitely many since GG is finite, and classes are disjoint so this list has no repeats up to the chosen classes). Summing all class sizes:

∣G∣=∑classes∣C∣=∑z∈Z(G)1⏟=∣Z(G)∣+∑i=1k[G:CG(gi)]=∣Z(G)∣+∑i=1k[G:CG(gi)].|G| = \sum_{\text{classes}} |C| = \underbrace{\sum_{z \in Z(G)} 1}_{= |Z(G)|} + \sum_{i=1}^{k} [G : C_G(g_i)] = |Z(G)| + \sum_{i=1}^{k} [G:C_G(g_i)].

This proves Part 1. ■\blacksquare

Proof of Part 2. We use the class equation from Part 1, together with basic divisibility (Lagrange's theorem for index and order in a finite group, which is prerequisite material used freely). Let ∣G∣=pn|G| = p^n, n≥1n \geq 1. Apply Part 1:

∣G∣=∣Z(G)∣+∑i=1k[G:CG(gi)],|G| = |Z(G)| + \sum_{i=1}^{k} [G:C_G(g_i)],

where g1,…,gkg_1, \dots, g_k are representatives of the noncentral conjugacy classes (so gi∉Z(G)g_i \notin Z(G) for each ii, meaning CG(gi)≠GC_G(g_i) \neq G). Fix i∈{1,…,k}i \in \{1,\dots,k\}. Since CG(gi)C_G(g_i) is a subgroup of GG, Lagrange's theorem gives

∣G∣=[G:CG(gi)]⋅∣CG(gi)∣,|G| = [G:C_G(g_i)] \cdot |C_G(g_i)|,

so [G:CG(gi)][G:C_G(g_i)] divides ∣G∣=pn|G| = p^n. Since pp is prime, every divisor of pnp^n is of the form pmp^m for some 0≤m≤n0 \le m \le n. Thus [G:CG(gi)]=pmi[G:C_G(g_i)] = p^{m_i} for some integer 0≤mi≤n0 \le m_i \le n. We claim mi≥1m_i \geq 1, i.e. [G:CG(gi)]≠1[G:C_G(g_i)] \neq 1. Indeed [G:CG(gi)]=1[G:C_G(g_i)] = 1 would mean CG(gi)=GC_G(g_i) = G, i.e. gi∈Z(G)g_i \in Z(G), contradicting the choice of gig_i as a representative of a noncentral class. Hence mi≥1m_i \geq 1, so p∣[G:CG(gi)]=pmip \mid [G:C_G(g_i)] = p^{m_i}. This holds for every i=1,…,ki = 1, \dots, k, so pp divides each term of the sum ∑i=1k[G:CG(gi)]\sum_{i=1}^k [G:C_G(g_i)], and therefore pp divides the entire sum:

p ∣ ∑i=1k[G:CG(gi)].p \ \Big|\ \sum_{i=1}^{k} [G:C_G(g_i)].

Also p∣∣G∣p \mid |G| since ∣G∣=pn|G| = p^n with n≥1n \geq 1. Rearranging the class equation,

∣Z(G)∣=∣G∣−∑i=1k[G:CG(gi)].|Z(G)| = |G| - \sum_{i=1}^{k}[G:C_G(g_i)].

The right side is a difference of two integers each divisible by pp, hence is itself divisible by pp:

p∣∣Z(G)∣.p \mid |Z(G)|.

Finally, Z(G)Z(G) is nonempty (it always contains the identity ee, since ex=xeex = xe for all x∈Gx \in G), so ∣Z(G)∣≥1|Z(G)| \geq 1. A positive integer divisible by p≥2p \geq 2 must be at least pp, so ∣Z(G)∣≥p≥2>1|Z(G)| \geq p \geq 2 > 1. In particular Z(G)≠{e}Z(G) \neq \{e\}, i.e. Z(G)Z(G) is nontrivial. ■\blacksquare

∎

Worked examples

Example 1: The dihedral group D5D_5 of order 10. Let D5=⟨r,s∣r5=s2=e, srs=r−1⟩D_5 = \langle r, s \mid r^5 = s^2 = e,\ srs = r^{-1} \rangle, the symmetries of a regular pentagon, with ∣D5∣=10|D_5| = 10. Note 10=2⋅510 = 2 \cdot 5 is not a prime power, so this example tests the class equation itself (Part 1) without expecting the pp-group conclusion (Part 2) to apply. We compute conjugacy classes directly. The elements are {e,r,r2,r3,r4,s,sr,sr2,sr3,sr4}\{e, r, r^2, r^3, r^4, s, sr, sr^2, sr^3, sr^4\}. Center: Suppose rk∈Z(D5)r^k \in Z(D_5) for 1≤k≤41 \le k \le 4. Then srks−1=rks r^k s^{-1} = r^k is required, but srs−1=r−1srs^{-1} = r^{-1}, so srks−1=r−ksr^ks^{-1} = r^{-k}. This equals rkr^k iff r2k=er^{2k} = e iff 5∣2k5 \mid 2k iff 5∣k5 \mid k (since gcd⁡(2,5)=1\gcd(2,5)=1), impossible for 1≤k≤41 \le k \le 4. So no nontrivial rotation is central. No reflection is central either, since reflections don't commute with rr (as just shown, rr and ss don't commute: rs≠srrs \ne sr because that would force r=r−1r=r^{-1}, i.e. r2=er^2=e, false since rr has order 5). Hence Z(D5)={e}Z(D_5) = \{e\}, so ∣Z(D5)∣=1|Z(D_5)| = 1. Conjugacy class of rr: Conjugates of rr by rotations: rjrr−j=rr^j r r^{-j} = r. Conjugates by reflections: srj⋅r⋅(srj)−1=srs−1=r−1sr^j \cdot r \cdot (sr^j)^{-1} = s r s^{-1} = r^{-1} (using that all reflections conjugate rr the same way, since D5D_5's rotation subgroup is abelian and normal — a direct computation confirms (srj)r(srj)−1=srjrr−js−1=srs−1=r−1=r4(sr^j) r (sr^j)^{-1} = s r^j r r^{-j} s^{-1} = srs^{-1} = r^{-1} = r^4). So cl(r)={r,r4}\mathrm{cl}(r) = \{r, r^4\}, size 22. Centralizer: CG(r)C_G(r) has index 22 by orbit-stabilizer, so ∣CG(r)∣=5|C_G(r)| = 5; indeed CG(r)=⟨r⟩C_G(r) = \langle r \rangle since rotations commute with rr but no reflection does. Conjugacy class of r2r^2: By the same computation, conjugating r2r^2 by a reflection gives r−2=r3r^{-2} = r^3. So cl(r2)={r2,r3}\mathrm{cl}(r^2) = \{r^2, r^3\}, size 22, centralizer also ⟨r⟩\langle r \rangle of order 55. Conjugacy class of ss: Conjugates of ss: by rjr^j, rjsr−j=rjsr−jr^j s r^{-j} = r^j s r^{-j}. Using sr=r−1ssr = r^{-1}s repeatedly (equivalently rs=sr−1rs = sr^{-1}), one computes rjsr−j=r2jsr^j s r^{-j} = r^{2j} s. As jj ranges over 0,1,2,3,40,1,2,3,4, r2j  r5r^{2j} \bmod r^5 takes all values r0,r2,r4,r1,r3r^0, r^2, r^4, r^1, r^3 (since gcd⁡(2,5)=1\gcd(2,5)=1), so {r2js}={s,r2s,r4s,rs,r3s}\{r^{2j}s\} = \{s, r^2s, r^4s, rs, r^3s\} — all five reflections. Conjugating by reflections stays inside this set as well (conjugation by an element of the class of ss times a rotation reduces to the same orbit by transitivity of the orbit already computed). So cl(s)={s,rs,r2s,r3s,r4s}\mathrm{cl}(s) = \{s, rs, r^2s, r^3s, r^4s\}, all five reflections in one class of size 55. Centralizer of ss has index 55, so ∣CG(s)∣=2|C_G(s)| = 2; indeed CG(s)={e,s}C_G(s) = \{e, s\} since ss commutes with itself and ee, but not with any rotation or other reflection (a short direct check: rjs(rj)−1=r2js≠sr^j s (r^j)^{-1}=r^{2j}s \ne s for j≠0j\neq 0). Class equation check:

∣D5∣=∣Z(D5)∣+∣cl(r)∣+∣cl(r2)∣+∣cl(s)∣=1+2+2+5=10.✓|D_5| = |Z(D_5)| + |\mathrm{cl}(r)| + |\mathrm{cl}(r^2)| + |\mathrm{cl}(s)| = 1 + 2 + 2 + 5 = 10. \checkmark

This matches ∣D5∣=10|D_5| = 10 exactly, confirming the class equation. Note ∣Z(D5)∣=1|Z(D_5)| = 1: since 1010 is not a prime power, Part 2 of the theorem simply does not apply, and indeed the center is trivial here — illustrating that the pp-group hypothesis is doing real work.

Example 2: A group of order p3=27p^3 = 27 — the Heisenberg group mod 3. Let p=3p = 3 and let

G={(1ab01c001):a,b,c∈F3},G = \left\{ \begin{pmatrix} 1 & a & b \\ 0 & 1 & c \\ 0 & 0 & 1 \end{pmatrix} : a,b,c \in \mathbb{F}_3 \right\},

the group of upper unitriangular 3×33\times 3 matrices over the field F3={0,1,2}\mathbb{F}_3 = \{0,1,2\}, under matrix multiplication. This is a standard nonabelian group of order 27=3327 = 3^3. Write M(a,b,c)M(a,b,c) for the matrix above. Direct matrix multiplication gives

M(a,b,c) M(a′,b′,c′)=M(a+a′, b+b′+ac′, c+c′),M(a,b,c)\,M(a',b',c') = M(a+a',\, b+b'+ac',\, c+c'),

with all entries reduced mod 33. Center: We seek M(a,b,c)M(a,b,c) commuting with every M(a′,b′,c′)M(a',b',c'). Compute both products:

M(a,b,c)M(a′,b′,c′)=M(a+a′,b+b′+ac′,c+c′),M(a′,b′,c′)M(a,b,c)=M(a+a′,b+b′+a′c,c+c′).M(a,b,c)M(a',b',c') = M(a+a', b+b'+ac', c+c'), \qquad M(a',b',c')M(a,b,c) = M(a+a', b+b'+a'c, c+c').

These agree for all a′,c′a',c' iff ac′=a′cac' = a'c for all a′,c′∈F3a', c' \in \mathbb{F}_3. Taking a′=1,c′=0a'=1,c'=0 forces 0=c⋅1⋅00 = c \cdot 1 \cdot 0 (automatically true) and taking a′=0,c′=1a'=0,c'=1 forces a⋅1=0a \cdot 1 = 0; more carefully, setting c′=1,a′=0c'=1,a'=0: a⋅1=0⋅ca\cdot 1 = 0 \cdot c, i.e. a=0a=0; setting a′=1,c′=0a'=1,c'=0: a⋅0=1⋅ca\cdot 0 = 1\cdot c, i.e. c=0c=0. So a=c=0a=c=0 is required (and clearly sufficient, since then ac′=a′c=0ac'=a'c=0 always). Hence

Z(G)={M(0,b,0):b∈F3}={(10b010001):b∈F3},Z(G) = \{ M(0,b,0) : b \in \mathbb{F}_3 \} = \left\{ \begin{pmatrix}1&0&b\\0&1&0\\0&0&1\end{pmatrix} : b \in \mathbb{F}_3 \right\},

which has order 33. This confirms Part 2's guarantee (3∣∣Z(G)∣3 \mid |Z(G)|, and indeed ∣Z(G)∣=3>1|Z(G)| = 3 > 1): the center is nontrivial, exactly as the theorem forces for any group of order 333^3. A conjugacy class and its centralizer (illustrating the class equation numerically): take g=M(1,0,0)g = M(1,0,0) (so a=1,b=0,c=0a=1,b=0,c=0), a noncentral element since a≠0a \ne 0. We compute CG(g)C_G(g): we need M(a′,b′,c′)M(a',b',c') with M(1,0,0)M(a′,b′,c′)=M(a′,b′,c′)M(1,0,0)M(1,0,0)M(a',b',c') = M(a',b',c')M(1,0,0). Using the multiplication rule with (a,b,c)=(1,0,0)(a,b,c)=(1,0,0):

M(1,0,0)M(a′,b′,c′)=M(1+a′, b′+c′, c′),M(a′,b′,c′)M(1,0,0)=M(1+a′, b′, c′).M(1,0,0)M(a',b',c') = M(1+a',\, b'+ c',\, c'), \qquad M(a',b',c')M(1,0,0) = M(1+a',\, b',\, c').

These agree iff b′+c′=b′b' + c' = b', i.e. c′=0c' = 0. So

CG(g)={M(a′,b′,0):a′,b′∈F3},C_G(g) = \{ M(a',b',0) : a', b' \in \mathbb{F}_3 \},

which has order 99 (free choice of a′,b′∈F3a', b' \in \mathbb{F}_3, each with 33 choices). By the Orbit-Stabilizer Theorem,

∣cl(g)∣=[G:CG(g)]=279=3,|\mathrm{cl}(g)| = [G:C_G(g)] = \frac{27}{9} = 3,

consistent with Part 2's guarantee that noncentral class sizes are divisible by p=3p=3 (here the class size is exactly 33, i.e. p1p^1). One can carry out the analogous computation for representatives of all conjugacy classes; the full class equation for this group reads

27=3⏟∣Z(G)∣+3+3+3+3+3+3+3+3⏟eight noncentral classes of size 3,27 = \underbrace{3}_{|Z(G)|} + \underbrace{3+3+3+3+3+3+3+3}_{\text{eight noncentral classes of size }3},

since 27−3=24=8×327 - 3 = 24 = 8 \times 3, and one checks (by an argument parallel to the one above, varying gg over noncentral representatives) that all noncentral classes here indeed have size exactly 33. This is consistent with, and a concrete instance of, Part 1 and Part 2 of the theorem simultaneously.

CounterexampleWhy "∣G∣=pn|G| = p^n" cannot be weakened to "∣G∣|G| merely divisible by pp"

The pp-group hypothesis in Part 2 is not a technical convenience — it is essential. Consider S3S_3, the symmetric group on 3 letters, with ∣S3∣=6=2⋅3|S_3| = 6 = 2 \cdot 3. Here 22 and 33 both divide ∣S3∣|S_3|, so if the conclusion of Part 2 only required "some prime pp divides ∣G∣|G|," we might hope Z(S3)Z(S_3) is forced to be nontrivial. It is not. Compute directly: S3={e,(12),(13),(23),(123),(132)}S_3 = \{e, (12), (13), (23), (123), (132)\}. Take any transposition, say (12)(12). Conjugating by (123)(123): (123)(12)(123)−1=(23)≠(12)(123)(12)(123)^{-1} = (23) \ne (12). So (12)∉Z(S3)(12) \notin Z(S_3). Since every non-identity element of S3S_3 is either a transposition or a 3-cycle, and a similar computation shows (123)(123) is not central either (conjugating (123)(123) by (12)(12) gives (12)(123)(12)−1=(132)≠(123)(12)(123)(12)^{-1} = (132) \ne (123)), we conclude directly that Z(S3)={e}Z(S_3) = \{e\}, trivial. The class equation for S3S_3 reads 6=∣Z(S3)∣+2+3=1+2+36 = |Z(S_3)| + 2 + 3 = 1 + 2 + 3 (conjugacy classes: {e}\{e\}, the two 3-cycles {(123),(132)}\{(123),(132)\}, and the three transpositions {(12),(13),(23)}\{(12),(13),(23)\}). The point of failure relative to Part 2's proof: ∣S3∣=6|S_3| = 6 is not a prime power, so it is false that every noncentral class size divides 66 in a way forced to be divisible by a single fixed prime pp for all terms simultaneously — the class of size 22 is divisible by 22 but not 33, while the class of size 33 is divisible by 33 but not 22. There is no single prime dividing every term of ∑[G:CG(gi)]\sum [G:C_G(g_i)], so the subtraction argument that pinned down p∣∣Z(G)∣p \mid |Z(G)| breaks down entirely, and indeed ∣Z(S3)∣=1|Z(S_3)|=1. This shows precisely why Part 2 needs ∣G∣|G| to be a power of a single prime pp: only then does Lagrange's theorem force every proper subgroup index to be a power of that same pp, making every noncentral term in the class equation simultaneously divisible by pp.

Scope, edge cases & common traps

SituationWhat holdsWhat can fail
GG any finite groupClass equation (Part 1) always holdsNontrivial center is not guaranteed (e.g. S3S_3, SnS_n for n≥3n\ge 3)
∣G∣=pn|G| = p^n, n≥1n \ge 1Z(G)Z(G) nontrivial, in fact p∣∣Z(G)∣p \mid |Z(G)|Does not say Z(G)=GZ(G) = G (that's a stronger, false-in-general statement — e.g. D4D_4 has order 8=238=2^3 but Z(D4)≠D4Z(D_4)\ne D_4)
n=0n = 0, i.e. ∣G∣=1|G|=1G={e}=Z(G)G = \{e\} = Z(G) trivially, but "nontrivial center" claim is vacuous/false as statedThe theorem explicitly requires n≥1n \ge 1 to avoid this degenerate case
GG infiniteClass equation as a finite sum does not directly applyNeed care with infinite conjugacy classes; orbit-stabilizer still applies but sums may be infinite
GG abelianEvery class is a singleton, class equation is ∣G∣=∣G∣|G| = |G|Not a counterexample to anything, just degenerates trivially since Z(G)=GZ(G) = G

The mathematician behind it

Origins · 1 minAugustin-Louis Cauchy and how this was discovered
AC
Augustin-Louis Cauchy
1789–1857 · Early 19th-century France, foundational work in permutation groups and analysis

Cauchy was one of the earliest mathematicians to systematically study permutations and what we now call conjugation, in the context of the theory of substitutions that predates the modern axiomatic definition of a group. His 1845 memoir on permutations laid groundwork later refined by Galois, Cayley, and Jordan into the abstract theory of finite groups, including the notion of conjugate elements and — via later generalization — theorems bearing his name about subgroups of prime order, a close cousin of the class-equation circle of ideas.

History
- 1770s–1830s: Lagrange, and later Galois, study permutations of roots of polynomials, implicitly using conjugation-like ideas.
- 1845: Cauchy's memoir on the theory of substitutions formalizes permutation conjugacy and proves what is now called Cauchy's theorem on elements of prime order.
- 1870s–1880s: Jordan and Netto systematize group theory, including class equations for permutation groups, in early textbooks on substitution theory.
- Late 19th century: Sylow's theorems (1872) build directly on class-equation-style counting arguments for pp-subgroups.
- 20th century: The class equation becomes a standard foundational tool in every treatment of finite group theory, underlying the structure theory of pp-groups and nilpotent groups.
Is the class equation the same as Burnside's counting lemma?

No, though they are close relatives. The class equation decomposes a single group GG under its own conjugation action into orbits (conjugacy classes) and sums their sizes to recover ∣G∣|G|. Burnside's lemma (more properly due to Cauchy and Frobenius) counts the number of orbits of a group action on a possibly different set XX, via averaging fixed-point counts: ∣X/G∣=1∣G∣∑g∣Xg∣|X/G| = \frac{1}{|G|}\sum_{g} |X^g|. Both rest on the Orbit-Stabilizer Theorem and the general fact that orbits partition a set, but the class equation is a specific instance with X=GX = G and the action being conjugation, aimed at extracting ∣Z(G)∣|Z(G)| rather than counting orbits.

Does the class equation work for infinite groups?

The partition of GG into conjugacy classes still holds for any group, finite or infinite, since orbits of any group action always partition the underlying set. However, the "class equation" as an equation of finite cardinalities summing to ∣G∣|G| requires GG to be finite so that the sum over noncentral classes is a finite sum of finite numbers. For infinite groups one can still use orbit-stabilizer to compute individual conjugacy class sizes as indices [G:CG(g)][G:C_G(g)], but the tidy arithmetic consequence (Part 2) genuinely needs finiteness, since it relies on Lagrange's theorem and on manipulating a finite sum of positive integers.

Why is the trivial subgroup case n=0n=0 excluded from Part 2?

If n=0n=0 then ∣G∣=p0=1|G|=p^0=1, so G={e}G=\{e\} is the trivial group. Then Z(G)=G={e}Z(G) = G = \{e\} is itself trivial by definition — there is no nontrivial center to find, and the statement "Z(G)Z(G) is nontrivial" would be simply false. The hypothesis n≥1n \ge 1 guarantees GG has more than one element, which is exactly the hypothesis needed to make "nontrivial center" a meaningful and true conclusion; excluding n=0n=0 avoids a vacuous counterexample rather than pointing to any gap in the proof technique itself.

Can ∣Z(G)∣|Z(G)| equal exactly pp and not more, for a group of order pnp^n?

Yes, this happens often and is not excluded by the theorem, which only guarantees ∣Z(G)∣≥p|Z(G)| \geq p, not equality to any specific value beyond that lower bound. The Heisenberg-type example above with ∣G∣=27=33|G|=27=3^3 has ∣Z(G)∣=3=p1|Z(G)|=3=p^1 exactly, strictly smaller than ∣G∣=p3|G|=p^3. In general ∣Z(G)∣|Z(G)| can be any power pmp^m with 1≤m≤n1 \le m \le n depending on the specific group; only groups with m=nm=n are abelian (center equal to the whole group), while pp-groups with smaller centers exist in abundance, such as this Heisenberg example and all nonabelian pp-groups.

How does this theorem connect to Cauchy's theorem?

They share the technique of orbit-counting under group actions but prove different things. The class equation theorem shows finite pp-groups have nontrivial center by analyzing the conjugation action of GG on itself. Cauchy's Theorem shows that if a prime pp divides ∣G∣|G| for any finite group GG (not necessarily a pp-group), then GG has an element of order pp; its standard proof (due to McKay) uses a cleverly constructed group action on tuples of elements whose product is the identity, a different but philosophically similar orbit-counting argument. Both results exemplify how divisibility constraints on orbit sizes under a group action can force strong algebraic conclusions.

Why must every noncentral conjugacy class in a pp-group have size divisible by pp, rather than just size greater than 1?

Because the class size equals [G:CG(gi)][G:C_G(g_i)], an index of a subgroup of GG, and by Lagrange's theorem this index must divide ∣G∣=pn|G|=p^n. Since pp is prime, the only divisors of pnp^n are 1,p,p2,…,pn1, p, p^2, \dots, p^n — there are no divisors like 22 or 66 that are not themselves powers of pp. Combined with the fact that the class size is strictly greater than 11 for a noncentral element (since its centralizer is a proper subgroup), the only possibilities are p,p2,…,pnp, p^2,\dots,p^n, all of which are divisible by pp. This is precisely where the "prime power order" hypothesis is used, and it fails for orders like 6=2⋅36=2\cdot3 where divisors such as 22 and 33 coexist without a common prime factor.

Before this

Where this leads