The Class Equation

We note that by the Orbit Stabilizer Theorem then |Ox|=|G:CG(x)| (see Conjugacy Classes and Index (Groups) for more info). An element x is in the Center of G exactly when Ox={x} when x is a fixed point:

|Ox|=1⟺Ox={x}⟺gxg−1=x∀g∈G⟺xg=gx∀g∈G⟺x∈Z(G)

Since G is a disjoint union of its distinct conjugacy classes (ie: its orbits), the Order (Groups) of G equals the sum of the sizes of the distinct conjugacy classes.

The Class Equation

Let g1,..,gr∈G be representatives of the distinct conjugacy classes of G not contained in the center of G. Then:

|G|=|Z(G)|+∑i=1r|G:CG(gi)|