# Group of Order Prime Squared is Abelian

## Theorem

A group whose order is the square of a prime is abelian.

## Proof

Let $G$ be a group of order $p^2$, where $p$ is prime.

Let $\map Z G$ be the center of $G$.

By Center of Group is Subgroup, $\map Z G$ is a subgroup of $G$.

$\order {\map Z G} \divides \order G$

It follows that $\order {\map Z G} = 1, p$ or $p^2$.

$\order {\map Z G} \ne 1$

Suppose $\order {\map Z G} = p$.

Then:

 $\displaystyle \order {\map Z G}$ $=$ $\displaystyle \index G {\map Z G}$ Definition of Index of Subgroup $\displaystyle$ $=$ $\displaystyle \order G / \order {\map Z G}$ Lagrange's Theorem $\displaystyle$ $=$ $\displaystyle p^2 / p$ $\displaystyle$ $=$ $\displaystyle p$

So $G / \map Z G$ is non-trivial, and of prime order.

From Prime Group is Cyclic, $G / \map Z G$ is a cyclic group.

But by Quotient of Group by Center Cyclic implies Abelian, that cannot be the case.

Therefore $\order {\map Z G} = p^2$ and therefore $\map Z G = G$.

Therefore $G$ is abelian.

$\blacksquare$