Commuting probability

In mathematics and more precisely in group theory, the commuting probability (also called degree of commutativity or commutativity degree) of a finite group is the probability that two randomly chosen elements commute. It can be used to measure how close to abelian a finite group is. It can be generalized to infinite groups equipped with a suitable probability measure, and can also be generalized to other algebraic structures such as rings.

Definition

Let G be a finite group. We define p(G) as the averaged number of pairs of elements of G which commute:

p(G):=1#G2#{(x,y)∈G2∣xy=yx}

where #X denotes the cardinality of a finite set X.

If one considers the uniform distribution on G2, p(G) is the probability that two randomly chosen elements of G commute. That is why p(G) is called the commuting probability of G.

Results

p(G)=k(G)#G
where k(G) is the number of conjugacy classes of G.

Generalizations