Classification of groups of order p squared Created 2026-10-07 Updated 2026-10-14
The nontrivial center of a finite p-group theorem implies that the center of a group of order has order or . If it has order , the quotient by the center has prime order and is cyclic; a cyclic quotient by the center forces the whole group to be abelian, contradicting the assumed size of its center. Thus the group is abelian. An element of order makes it cyclic. Otherwise choose and ; their order- cyclic subgroups intersect trivially and generate the direct product of groups . The two possibilities are nonisomorphic because only the cyclic one has an element of order .
For a finite group , write for its number of conjugacy classes. Exactly the elements of the center of a group have singleton conjugacy classes; every other conjugacy class has at least two elements. Since the conjugacy classes form a partition of a set , . If is a nonabelian group, the cyclic quotient by the center criterion and the fact that every group of group order at most three is a cyclic group give , hence . The quaternion group attains this bound, with five conjugacy classes among eight elements.
Use the class equation for the action of on itself by conjugation:
where the sum runs over noncentral conjugacy classes. By Lagrange's theorem, each noncentral class has size a positive power of greater than one. Thus . Since the identity element belongs to the center of a group,
For , the possible orders of the center of a group are . Order would make an abelian group. Order would make the quotient group have prime order and hence be a cyclic group. But a cyclic quotient by the center forces to be Abelian: if generates the quotient, any two elements are and with , and their products commute. Both larger orders contradict the hypothesis. Consequently
Suppose is generated by . Every element of can then be written with . Hence
Thus the cyclic quotient by the center condition forces to be abelian.
If , the quotient has prime order and is therefore cyclic. The result just proved would make abelian, so and the quotient would have order one, a contradiction. Therefore
Suppose the quotient group is a cyclic group, generated by . For any , there are integers and such that
Since lie in the center of a group, they commute with every element, in particular with each other and with the integer powers of a group element . Therefore
As were arbitrary, is an abelian group. This is the cyclic quotient by the center.
Let . The allowed center of a group theorem gives . By Lagrange's theorem its order is or . In the first case has order and is a cyclic group. A cyclic quotient by the center forces to be Abelian: if , write arbitrary elements as with , and commute them directly. Hence in every case
For two examples at prime-cube order, take the dihedral group of a square, , and the quaternion group . Both have order . They are nonabelian because and , respectively. They are distinct examples even up to group isomorphism: the dihedral group has five elements of order two and the quaternion group has only one. The request asks for two examples; it does not require the prime to be arbitrary.