Conjugacy and the Class Equation

Study Sheet

Conjugacy and the Class Equation

Conjugacy classes, the class equation, and why p-groups have a center

Conjugacy Classes

Concept
Conjugate elements, conjugacy classes, and the centralizer

For a,b∈Ga, b \in G, bb is a conjugate of aa if b=gag−1b = gag^{-1} for some g∈Gg \in G. Being conjugate is an equivalence relation, so GG splits into disjoint conjugacy classes cl⁡(a)={gag−1:g∈G}\operatorname{cl}(a) = \{gag^{-1} : g \in G\}, one class per element. The centralizer CG(a)={g∈G:ga=ag}C_G(a) = \{g \in G : ga = ag\} is the subgroup of elements that commute with aa — equivalently, that fix aa under conjugation.

Conjugation by gg reads aa from gg's point of view: gag−1gag^{-1} first undoes gg, then does aa, then redoes gg, so it is "the same action as aa, relative to a different vantage point." Two elements are conjugate exactly when some change of vantage point turns one into the other, which is why conjugate elements always share every property that does not depend on labeling — order, whether the element is the identity, and (Section 2) cycle structure in a symmetric group. Equivalence follows straight from the group axioms: reflexive with g=eg=e, symmetric by conjugating back with g−1g^{-1}, transitive by composing two conjugators — so, exactly like cosets (Topic 5), conjugacy classes partition GG with nothing left out and nothing counted twice. CG(a)C_G(a) is always a subgroup (the same closure argument as Topic 3's subgroup tests), and Section 3 shows it controls the SIZE of cl⁡(a)\operatorname{cl}(a) completely.

Example
A conjugate in D4D_4
D_4*err2r3srsr2sr3seerr2r3srsr2sr3srrr2r3ersr2sr3ssr2r2r3err2sr3ssrsr3r3err2r3ssrsr2sssr3sr2srser3r2rrsrssr3sr2srer3r2r2sr2srssr3sr2rer3r3sr3sr2srssr3r2re
Row s, column r gives sr = r3s = r⁻¹s, the relation behind every conjugation by s.

Let D4={e,r,r2,r3,s,rs,r2s,r3s}D_4 = \{e, r, r^2, r^3, s, rs, r^2s, r^3s\} be the symmetries of a square, with rr a 90∘90^\circ rotation and ss a reflection, satisfying sr=r−1ssr = r^{-1}s and s2=es^2 = e. Compute srs−1srs^{-1}: since s−1=ss^{-1} = s, srs−1=(sr)s=(r−1s)s=r−1(s2)=r−1=r3srs^{-1} = (sr)s = (r^{-1}s)s = r^{-1}(s^2) = r^{-1} = r^3. So rr and r3r^3 are conjugate — reflecting the square turns a rotation into its reverse.

Example
The conjugacy class of rr

Conjugate rr by every element of D4D_4. Rotations commute with rr (the rotation subgroup {e,r,r2,r3}\{e,r,r^2,r^3\} is abelian), so grg−1=rgrg^{-1}=r whenever gg is a rotation. By the previous example, conjugating by the reflection ss gives r−1=r3r^{-1}=r^3 instead, and the identical relation shows every other reflection does too. So cl⁡(r)={r,r3}\operatorname{cl}(r) = \{r, r^3\} and CD4(r)={e,r,r2,r3}C_{D_4}(r) = \{e,r,r^2,r^3\}, the rotation subgroup, of order 44. Already [D4:CD4(r)]=8/4=2=∣cl⁡(r)∣[D_4:C_{D_4}(r)] = 8/4 = 2 = |\operatorname{cl}(r)| — a preview of Section 3's main theorem.

Example
Find all conjugacy classes of D4D_4
er²rr³sr²srsr³s
D4's 8 elements split into 5 conjugacy classes: e, r², r,r³, s,r²s, rs,r³s.

Conjugating every element of D4D_4 by every other element (the same table lookups as above) sorts the 88 elements into exactly 55 classes: {e}\{e\}, {r2}\{r^2\}, {r,r3}\{r,r^3\}, {s,r2s}\{s,r^2s\}, {rs,r3s}\{rs,r^3s\}. The identity is always alone, since geg−1=egeg^{-1}=e for every gg; and r2r^2 is alone too, since r2r^2 commutes with every rotation and sr2s−1=r−2=r2sr^2s^{-1}=r^{-2}=r^2 as well — r2r^2 is a genuinely central element. The sizes 1,1,2,2,21,1,2,2,2 already add to ∣D4∣=8|D_4|=8, which Section 3 turns into a general counting law.

Side note
Where it goes wrong

A class with more than one element does not mean every class has that size. In D4D_4, the five classes have sizes 1,1,2,2,21,1,2,2,2, not a uniform size — only in an ABELIAN group (where gag−1=agag^{-1}=a always, so every class is a singleton) does every class collapse to size 11. Guessing uniform class sizes here would wrongly predict 8/58/5 elements per class, not even an integer.

Try it
Try it: a conjugacy class in D4D_4

Find the conjugacy class and the centralizer of rsrs in D4D_4.

Show the answer

Conjugating rsrs by ss: s(rs)s−1=(sr)(ss−1)=(r−1s)e=r−1s=r3ss(rs)s^{-1} = (sr)(ss^{-1}) = (r^{-1}s)e = r^{-1}s = r^3s. Conjugating rsrs by rr: using sr−1=rssr^{-1}=rs (the relation sr=r−1ssr=r^{-1}s with rr replaced by r−1r^{-1}), r(rs)r−1=r2(sr−1)=r2(rs)=r3sr(rs)r^{-1} = r^2(sr^{-1}) = r^2(rs) = r^3s. Every other element gives either rsrs or r3sr^3s again, so cl⁡(rs)={rs,r3s}\operatorname{cl}(rs) = \mathbf{\{rs, r^3s\}}, and CD4(rs)={e,r2,rs,r3s}C_{D_4}(rs) = \{e, r^2, rs, r^3s\}, of order 44, matching [D4:CD4(rs)]=8/4=2=∣cl⁡(rs)∣[D_4:C_{D_4}(rs)]=8/4=2=|\operatorname{cl}(rs)|.

Conjugacy in Symmetric Groups

Concept
Conjugate permutations have the same cycle type — and vice versa

For σ,τ∈Sn\sigma,\tau \in S_n, στσ−1\sigma\tau\sigma^{-1} is obtained from τ\tau's disjoint cycle decomposition by applying σ\sigma to every entry: if τ=(a1 ⋯ ak)(b1 ⋯ bl)⋯\tau = (a_1\,\cdots\,a_k)(b_1\,\cdots\,b_l)\cdots, then στσ−1=(σ(a1) ⋯ σ(ak))(σ(b1) ⋯ σ(bl))⋯\sigma\tau\sigma^{-1} = (\sigma(a_1)\,\cdots\,\sigma(a_k))(\sigma(b_1)\,\cdots\,\sigma(b_l))\cdots. Consequently two permutations of SnS_n are conjugate if and only if they have the same cycle type (Topic 4): the same multiset of cycle lengths.

Conjugation by σ\sigma is literally relabeling: everywhere τ\tau moved the point xx, στσ−1\sigma\tau\sigma^{-1} moves the point σ(x)\sigma(x) instead, so the pattern of the motion — how many cycles, how long each one is — survives untouched while only the names attached to it change. This is the cleanest illustration yet of Section 1's "change of vantage point" idea: σ\sigma IS the relabeling, and στσ−1\sigma\tau\sigma^{-1} is τ\tau seen through it. The "if" direction (same cycle type ⇒\Rightarrow conjugate) is just as constructive: line the two cycle decompositions up side by side and read off a valid σ\sigma directly, as the examples below do.

Example
Conjugation relabels the cycles
1122334455
στσ⁻¹ = (1 5)(2 4 3): the same shape as τ = (1 3 5)(2 4), relabeled by σ.

Let τ=(1 3 5)(2 4)∈S5\tau = (1\,3\,5)(2\,4) \in S_5 and σ=(1 2)(3 4 5)\sigma=(1\,2)(3\,4\,5). Relabel every entry of τ\tau by σ\sigma: 1↦σ(1)=21\mapsto\sigma(1)=2, 3↦σ(3)=43\mapsto\sigma(3)=4, 5↦σ(5)=35\mapsto\sigma(5)=3, and 2↦σ(2)=12\mapsto\sigma(2)=1, 4↦σ(4)=54\mapsto\sigma(4)=5. So στσ−1=(2 4 3)(1 5)\sigma\tau\sigma^{-1} = (2\,4\,3)(1\,5). Composing σ\sigma, τ\tau, σ−1\sigma^{-1} directly as two-row permutations, with no relabeling shortcut, confirms the same answer, (1 5)(2 4 3)(1\,5)(2\,4\,3).

Example
Are these two permutations conjugate in S5S_5?

Are (1 2 3)(4 5)(1\,2\,3)(4\,5) and (1 4 5)(2 3)(1\,4\,5)(2\,3) conjugate in S5S_5? Both have cycle type (3,2)(3,2), so yes — and matching the cycles entry by entry names a σ\sigma explicitly: send 1,2,3↦1,4,51,2,3 \mapsto 1,4,5 and 4,5↦2,34,5\mapsto2,3, giving one-line σ=1,4,5,2,3\sigma = 1,4,5,2,3. Checking: relabeling (1 2 3)(4 5)(1\,2\,3)(4\,5) by this σ\sigma gives (1 4 5)(2 3)(1\,4\,5)(2\,3) exactly, and direct composition confirms σ(1 2 3)(4 5)σ−1=(1 4 5)(2 3)\sigma(1\,2\,3)(4\,5)\sigma^{-1} = (1\,4\,5)(2\,3).

Example
How many permutations share a cycle type?

How many elements of S6S_6 have the same cycle type as (1 2)(3 4 5)(1\,2)(3\,4\,5) — one transposition, one 33-cycle, one fixed point? Choose which 22 of the 66 points form the transposition, then which 33 of the remaining 44 form the 33-cycle (in one of (3−1)!=2(3-1)!=2 cyclic orders), leaving 11 point fixed: (62)(43)⋅2=15⋅4⋅2=120\binom{6}{2}\binom{4}{3}\cdot2 = 15\cdot4\cdot2 = 120. Equivalently, the general class-size formula divides n!n! by the symmetries of the cycle picture itself — 22 ways to write the 22-cycle, 33 ways to write the 33-cycle — giving 6!/(2⋅3)=720/6=1206!/(2\cdot3) = 720/6 = 120, the same count.

Side note
Where it goes wrong

Moving the same NUMBER of points is not the same as sharing a cycle type. (1 2 3 4)∈S4(1\,2\,3\,4) \in S_4 and (1 2)(3 4)∈S4(1\,2)(3\,4) \in S_4 both move all 44 points, but one is a single 44-cycle and the other is two 22-cycles — different cycle types, so NOT conjugate. Centralizers confirm it: CS4((1 2 3 4))C_{S_4}((1\,2\,3\,4)) has order 44 (class size 66), while CS4((1 2)(3 4))C_{S_4}((1\,2)(3\,4)) has order 88 (class size 33) — different class sizes, so the two permutations cannot be conjugate to each other.

Try it
Try it: are they conjugate?

Are (1 2 3 4 5)(1\,2\,3\,4\,5) and (1 3 5 2 4)(1\,3\,5\,2\,4) conjugate in S5S_5? If so, give a σ\sigma.

Show the answer

Both are 55-cycles, so yes. Matching entries in order, 1,2,3,4,5↦1,3,5,2,41,2,3,4,5 \mapsto 1,3,5,2,4, gives σ(1)=1,σ(2)=3,σ(3)=5,σ(4)=2,σ(5)=4\sigma(1)=1,\sigma(2)=3,\sigma(3)=5,\sigma(4)=2,\sigma(5)=4, i.e. σ=(2 3 5 4)\sigma = \mathbf{(2\,3\,5\,4)} (with 11 fixed). Relabeling (1 2 3 4 5)(1\,2\,3\,4\,5) by this σ\sigma gives (1 3 5 2 4)(1\,3\,5\,2\,4) exactly, confirmed by direct composition.

The Class Equation

Concept
The size of a conjugacy class, and the class equation

∣cl⁡(a)∣=[G:CG(a)]|\operatorname{cl}(a)| = [G:C_G(a)]: the size of a conjugacy class equals the index of its centralizer (proved in Section 5). Summing over one representative xix_i from each class,

∣G∣=∑i[G:CG(xi)],|G| = \sum_i [G:C_G(x_i)],

the class equation. The center Z(G)={a∈G:ga=ag for all g∈G}Z(G) = \{a \in G : ga=ag \text{ for all } g \in G\} collects exactly the elements with CG(a)=GC_G(a)=G, i.e. the classes of size 11, so the equation is usually split as

∣G∣=∣Z(G)∣+∑noncentral xi[G:CG(xi)].|G| = |Z(G)| + \sum_{\text{noncentral }x_i} [G:C_G(x_i)].

This is Lagrange's theorem (Topic 5) applied once per conjugacy class: each class is in bijection with the cosets of its own centralizer (Section 5), so its size is automatically a divisor of ∣G∣|G|, and the classes — being a partition of GG — must add up to all of ∣G∣|G| with nothing left over. Splitting off Z(G)Z(G) matters because every remaining term is STRICTLY bigger than 11 (a noncentral element's centralizer is a proper subgroup), which is exactly the lever Section 4 uses to pin down ∣Z(G)∣|Z(G)| from ∣G∣|G| alone, without finding a single actual element.

Example
The class equation for D4D_4

From Section 1, D4D_4's five conjugacy classes have sizes 1,1,2,2,21,1,2,2,2, so the class equation reads 8=1+1+2+2+28 = 1+1+2+2+2. The two size-11 classes are exactly Z(D4)={e,r2}Z(D_4) = \{e, r^2\}, so ∣Z(D4)∣=2|Z(D_4)|=2, and the remaining 2+2+2=62+2+2=6 elements split into three classes of noncentral elements.

Example
The class equation for S4S_4

In S4S_4 (∣S4∣=24|S_4|=24), cycle types sort the elements into counts of 11 identity, 66 transpositions, 88 three-cycles, 33 double-transpositions, and 66 four-cycles, matching 1+6+8+3+6=241+6+8+3+6=24 (Topic 4). Each count is also a centralizer index: the identity's centralizer is all of S4S_4 (order 2424, class size 11); a transposition's centralizer has order 44 (class size 66); a 33-cycle's has order 33 (class size 88); a double-transposition's has order 88 (class size 33); a 44-cycle's has order 44 (class size 66). Only the identity has class size 11, so Z(S4)={e}Z(S_4)=\{e\} — like every SnS_n with n≥3n\ge3, S4S_4 has a trivial center.

Example
A class equation that cannot occur

Could a group of order 88 have conjugacy classes of sizes 1,1,3,31,1,3,3? Every class size is a centralizer index, hence a divisor of ∣G∣|G| by Lagrange — but 3∤83 \nmid 8. So no group of order 88 can have a conjugacy class of size 33 at all, and 1+1+3+3=81+1+3+3=8 is impossible as a class equation, regardless of which group of order 88 is checked.

Side note
Where it goes wrong

The terms of the class equation are INDICES, [G:CG(xi)][G:C_G(x_i)], not sizes of subgroups sitting inside GG — a conjugacy class is almost never a subgroup itself. S4S_4's 66 transpositions are not even closed: (1 2)(1 3)=(1 3 2)(1\,2)(1\,3) = (1\,3\,2), a 33-cycle, not a transposition, and the set of transpositions does not even contain the identity.

Try it
Try it: the class equation for S3S_3

Find the class equation for S3S_3 and identify Z(S3)Z(S_3).

Show the answer

By cycle type: 11 identity, 22 three-cycles, 33 transpositions, so the classes have sizes 1,2,31,2,3 and 6=1+2+36=1+2+3. Only the identity has class size 11, so Z(S3)={e}Z(S_3) = \mathbf{\{e\}} — like every SnS_n with n≥3n\ge3, S3S_3 has a trivial center.

p-Groups and Their Centers

Concept
Every pp-group has a nontrivial center

If ∣G∣=pn|G|=p^n for a prime pp and n≥1n\ge1, then Z(G)≠{e}Z(G) \ne \{e\}; in fact pp divides ∣Z(G)∣|Z(G)|. A pp-group is any group whose order is a power of a single prime.

Every noncentral class size [G:CG(xi)][G:C_G(x_i)] divides ∣G∣=pn|G|=p^n (Lagrange) and is bigger than 11, so it is some pkp^k with k≥1k\ge1 — hence a multiple of pp. The class equation ∣G∣=∣Z(G)∣+∑[G:CG(xi)]|G| = |Z(G)| + \sum[G:C_G(x_i)] then reduces modulo pp to 0≡∣Z(G)∣(modp)0 \equiv |Z(G)| \pmod p, since ∣G∣|G| and every term in the sum are multiples of pp. Z(G)Z(G) always contains ee, so ∣Z(G)∣≥1|Z(G)|\ge1; being also a multiple of pp forces ∣Z(G)∣≥p|Z(G)|\ge p. The whole proof is a counting argument — it never needs to exhibit an actual central element.

Example
Checking the theorem against D4D_4

∣D4∣=23|D_4|=2^3, a 22-group with n=3n=3. From Section 3, ∣Z(D4)∣=2|Z(D_4)|=2, and indeed 2∣22 \mid 2 — consistent with the theorem, and about as small as a nontrivial center can be.

Example
Must a group of order 125125 have a nontrivial center?

Does every group of order 125125 have more than one element commuting with everything? Since 125=53125=5^3, the theorem applies with p=5p=5: 55 divides ∣Z(G)∣|Z(G)|, so ∣Z(G)∣∈{5,25,125}|Z(G)| \in \{5,25,125\} — in particular ∣Z(G)∣≥5>1|Z(G)|\ge5>1. Yes, every group of order 125125 has a nontrivial center, with no need to construct the group at all.

Example
Must a group of order 121121 be abelian?

Does every group of order 121=112121=11^2 have to be abelian? By the theorem, 1111 divides ∣Z(G)∣|Z(G)|, so ∣Z(G)∣∈{11,121}|Z(G)| \in \{11,121\}. If ∣Z(G)∣=11|Z(G)|=11, pick any x∉Z(G)x \notin Z(G): then Z(G)⊊CG(x)⊆GZ(G) \subsetneq C_G(x) \subseteq G (strict since x∈CG(x)∖Z(G)x \in C_G(x)\setminus Z(G)), so ∣CG(x)∣|C_G(x)| is a divisor of 121121 strictly bigger than 1111 — forcing ∣CG(x)∣=121|C_G(x)|=121, i.e. xx commutes with everything after all, contradicting x∉Z(G)x \notin Z(G). So ∣Z(G)∣=11|Z(G)|=11 is impossible, ∣Z(G)∣=121=∣G∣|Z(G)|=121=|G|, and every group of order 121121 is abelian (full proof in Section 5).

Side note
Where it goes wrong

A nontrivial center does not mean abelian — only Z(G)=GZ(G)=G does. D4D_4 has a nontrivial center {e,r2}\{e,r^2\}, yet D4D_4 itself is not abelian: from the table in Section 1, r∗s=rsr*s = rs while s∗r=r3ss*r = r^3s, and rs≠r3srs \ne r^3s. A nontrivial center is a strong structural clue, not a proof of commutativity.

Try it
Try it: a pp-group's center

Must every group of order 2727 have a nontrivial center?

Show the answer

27=3327=3^3, so p=3p=3 divides ∣Z(G)∣|Z(G)| by the theorem, giving ∣Z(G)∣∈{3,9,27}|Z(G)| \in \{3,9,27\} — in every case ∣Z(G)∣≥3>1|Z(G)|\ge\mathbf{3}>1. Yes, every group of order 2727 has a nontrivial center.

Why It Works

Reflexive: a=eae−1a=eae^{-1}. Symmetric: if b=gag−1b=gag^{-1} then a=g−1bg=g−1b(g−1)−1a=g^{-1}bg=g^{-1}b(g^{-1})^{-1}, so aa is a conjugate of bb via g−1g^{-1}. Transitive: if b=gag−1b=gag^{-1} and c=hbh−1c=hbh^{-1}, then c=h(gag−1)h−1=(hg)a(hg)−1c=h(gag^{-1})h^{-1}=(hg)a(hg)^{-1}, using (hg)−1=g−1h−1(hg)^{-1}=g^{-1}h^{-1} (Topic 1), so cc is a conjugate of aa via hghg. An equivalence relation always partitions its set into disjoint classes, so the conjugacy classes partition GG.

Let C=CG(a)C=C_G(a). Map the left cosets of CC to cl⁡(a)\operatorname{cl}(a) by gC↦gag−1gC \mapsto gag^{-1}. This is well defined and injective in one stroke: for g,h∈Gg,h\in G, gag−1=hah−1gag^{-1}=hah^{-1}   ⟺  \iff (h−1g)a(h−1g)−1=a(h^{-1}g)a(h^{-1}g)^{-1}=a   ⟺  \iff h−1g∈Ch^{-1}g \in C (the elements fixing aa under conjugation are exactly CC, by definition)   ⟺  \iff gC=hCgC=hC (Topic 5). So distinct cosets give distinct conjugates and equal cosets give equal conjugates, and the map is onto cl⁡(a)\operatorname{cl}(a) by definition of the class — a bijection between the cosets of CG(a)C_G(a) and cl⁡(a)\operatorname{cl}(a), giving ∣cl⁡(a)∣=[G:CG(a)]|\operatorname{cl}(a)|=[G:C_G(a)]. Since the conjugacy classes partition GG, summing ∣cl⁡(xi)∣|\operatorname{cl}(x_i)| over one representative xix_i per class recovers ∣G∣|G| exactly once each — the class equation.

Let τ,σ∈Sn\tau,\sigma\in S_n. For any xx, (στσ−1)(σ(x))=σ(τ(x))(\sigma\tau\sigma^{-1})(\sigma(x)) = \sigma(\tau(x)): applying στσ−1\sigma\tau\sigma^{-1} to σ(x)\sigma(x) gives exactly σ\sigma of whatever τ\tau does to xx. So the arrow x→τ(x)x \to \tau(x) becomes the arrow σ(x)→σ(τ(x))\sigma(x) \to \sigma(\tau(x)). Applying this to every arrow of a cycle (a1 a2 ⋯ ak)(a_1\,a_2\,\cdots\,a_k) of τ\tau turns it into the cycle (σ(a1) σ(a2) ⋯ σ(ak))(\sigma(a_1)\,\sigma(a_2)\,\cdots\,\sigma(a_k)) of στσ−1\sigma\tau\sigma^{-1}, of the same length kk, and since σ\sigma is a bijection, distinct cycles of τ\tau stay disjoint after relabeling. So στσ−1\sigma\tau\sigma^{-1} has exactly τ\tau's cycle type — conjugate permutations share a cycle type. Conversely, suppose τ\tau and ρ\rho have the same cycle type: write τ=(a1⋯ak)(b1⋯bl)⋯\tau=(a_1\cdots a_k)(b_1\cdots b_l)\cdots and ρ=(c1⋯ck)(d1⋯dl)⋯\rho=(c_1\cdots c_k)(d_1\cdots d_l)\cdots, with matching lengths listed in the same order, padding with 11-cycles for fixed points so every point of {1,…,n}\{1,\ldots,n\} appears exactly once in each decomposition. Define σ\sigma by σ(ai)=ci\sigma(a_i)=c_i, σ(bi)=di\sigma(b_i)=d_i, and so on — a well-defined bijection of {1,…,n}\{1,\ldots,n\}, since both decompositions list every point exactly once. By the forward direction, στσ−1\sigma\tau\sigma^{-1} relabels τ\tau's cycles by σ\sigma, turning (a1⋯ak)(a_1\cdots a_k) into (c1⋯ck)(c_1\cdots c_k) and so on — exactly ρ\rho. So τ\tau and ρ\rho are conjugate.

Let ∣G∣=pn|G|=p^n. For each noncentral xx (i.e. x∉Z(G)x \notin Z(G)), CG(x)C_G(x) is a proper subgroup of GG (proper since some element fails to commute with xx), so by Lagrange [G:CG(x)][G:C_G(x)] is a divisor of pnp^n bigger than 11 — hence pkp^k for some k≥1k\ge1, and in particular a multiple of pp. The class equation groups the noncentral elements into classes and reads

∣G∣=∣Z(G)∣+∑noncentral xi[G:CG(xi)].|G| = |Z(G)| + \sum_{\text{noncentral }x_i} [G:C_G(x_i)].

Every term on the right of the sum is a multiple of pp, and ∣G∣=pn|G|=p^n is too, so ∣Z(G)∣=∣G∣−∑[G:CG(xi)]|Z(G)| = |G| - \sum[G:C_G(x_i)] is a difference of multiples of pp, hence itself a multiple of pp. Since e∈Z(G)e \in Z(G) always, ∣Z(G)∣≥1|Z(G)|\ge1; combined with p∣∣Z(G)∣p \mid |Z(G)|, this forces ∣Z(G)∣≥p|Z(G)|\ge p, so Z(G)≠{e}Z(G) \ne \{e\}.

Let ∣G∣=p2|G|=p^2. By the previous proof, ∣Z(G)∣|Z(G)| is a multiple of pp dividing p2p^2 (Lagrange), so ∣Z(G)∣∈{p,p2}|Z(G)| \in \{p,p^2\}. Suppose toward a contradiction that ∣Z(G)∣=p|Z(G)|=p, and pick any x∈G∖Z(G)x \in G\setminus Z(G) (nonempty, since ∣Z(G)∣=p<p2=∣G∣|Z(G)|=p<p^2=|G|). The centralizer CG(x)C_G(x) contains Z(G)Z(G) (central elements commute with everything, including xx) and also contains xx itself, which is not in Z(G)Z(G) — so CG(x)⊋Z(G)C_G(x) \supsetneq Z(G) strictly, giving ∣CG(x)∣>p|C_G(x)|>p. But ∣CG(x)∣|C_G(x)| also divides ∣G∣=p2|G|=p^2 by Lagrange, and the only divisor of p2p^2 exceeding pp is p2p^2 itself, so CG(x)=GC_G(x)=G. That makes xx commute with every element of GG, i.e. x∈Z(G)x \in Z(G) — contradicting the choice of xx. The contradiction rules out ∣Z(G)∣=p|Z(G)|=p, so ∣Z(G)∣=p2=∣G∣|Z(G)|=p^2=|G|, i.e. Z(G)=GZ(G)=G: every element commutes with every other, and GG is abelian.