The commutator[π,π] of two group members π,πβπΊ is a way of describing how far two elements are from commuting with each other.
For any π,πβπΊ the commutator is defined as group
[π,π]=πππβ1πβ1
Thus π and π commute iff [π,π]=π.
The commutators of all elements forms a normal subgroup called the Commutator subgroup.