Canonical: https://knowlpedia.com/algebra-groups/p-group-nontrivial-center-corollary/

# Finite p-Group Has Nontrivial Center

The center of a nontrivial finite p-group has order divisible by p.

Let \(p\) be a prime and let \(G\) be a finite [\(p\)-group](https://knowlpedia.com/algebra-groups/p-group/) of order \(p^n\), where \(n\ge 1\). Then the [center](https://knowlpedia.com/algebra-groups/center-of-group/) \(Z(G)\) is nontrivial. More precisely,
\[
p\mid |Z(G)|.
\]

## Examples

- If \(G\) is abelian, then \(Z(G)=G\).
- For \(D_8=\langle r,s\mid r^4=s^2=e,\ srs=r^{-1}\rangle\), one has \(Z(D_8)=\{e,r^2\}\).

## Remarks

This follows from the [class equation](https://knowlpedia.com/algebra-groups/class-equation/): every noncentral [conjugacy class](https://knowlpedia.com/algebra-groups/conjugacy-class/) has cardinality divisible by \(p\), so \(|Z(G)|\equiv |G|\equiv 0\pmod p\).
