# Commutator

{{#invoke:Hatnote|hatnote}} In mathematics, the commutator gives an indication of the extent to which a certain binary operation fails to be commutative. There are different definitions used in group theory and ring theory.

## Group theory

The commutator of two elements, g and h, of a group G, is the element

[g, h] = g−1h−1gh.

It is equal to the group's identity if and only if g and h commute (i.e., if and only if gh = hg). The subgroup of G generated by all commutators is called the derived group or the commutator subgroup of G. Note that one must consider the subgroup generated by the set of commutators because in general the set of commutators is not closed under the group operation. Commutators are used to define nilpotent and solvable groups.

The above definition of the commutator is used by some group theorists, as well as throughout this article. However, many other group theorists define the commutator as

[g, h] = ghg−1h−1.

### Identities (group theory)

Commutator identities are an important tool in group theory. The expression ax denotes the conjugate of a by x, defined as x−1a x.

Identity 5 is also known as the Hall–Witt identity. It is a group-theoretic analogue of the Jacobi identity for the ring-theoretic commutator (see next section).

N.B. The above definition of the conjugate of a by x is used by some group theorists. Many other group theorists define the conjugate of a by x as xax−1. This is often written ${}^{x}a$ . Similar identities hold for these conventions.

A wide range of identities are used that are true modulo certain subgroups. These can be particularly useful in the study of solvable groups and nilpotent groups. For instance, in any group second powers behave well

$(xy)^{2}=x^{2}y^{2}[y,x][[y,x],y].\,$ If the derived subgroup is central, then

$(xy)^{n}=x^{n}y^{n}[y,x]^{\binom {n}{2}}.$ ## Ring theory

The commutator of two elements a and b of a ring or an associative algebra is defined by

$[a,b]=ab-ba.$ It is zero if and only if a and b commute. In linear algebra, if two endomorphisms of a space are represented by commuting matrices with respect to one basis, then they are so represented with respect to every basis. By using the commutator as a Lie bracket, every associative algebra can be turned into a Lie algebra.

The anticommutator of two elements a and b of a ring or an associative algebra is defined by

$\{a,b\}=ab+ba.$ Sometimes the brackets [ ]+ are also used. The anticommutator is used less often than the commutator, but can be used for example to define Clifford algebras, Jordan algebras and is utilised to derive the Dirac equation in particle physics.

In physics, this is an important overarching principle in quantum mechanics. The commutator of two operators acting on a Hilbert space is a central concept in quantum mechanics, since it quantifies how well the two observables described by these operators can be measured simultaneously. The uncertainty principle is ultimately a theorem about such commutators, by virtue of the Robertson–Schrödinger relation. In phase space, equivalent commutators of function star-products are called Moyal brackets, and are completely isomorphic to the Hilbert-space commutator structures mentioned.

### Identities (ring theory)

The commutator has the following properties:

Lie-algebra relations:

The second relation is called anticommutativity, while the third is the Jacobi identity.

If A is a fixed element of a ring ℜ, the second additional relation can also be interpreted as a Leibniz rule for the map $D_{A}:R\rightarrow R$ given by B ↦ [A,B]. In other words, the map DA defines a derivation on the ring ℜ.

The following identity ("Hadamard Lemma") involving nested commutators, underlying the Campbell–Baker–Hausdorff expansion of log (exp A exp B), is also useful:

Use of the same expansion expresses the above Lie group commutator in terms of a series of nested Lie bracket (algebra) commutators,

These identities differ slightly for the anticommutator (defined above)

When dealing with graded algebras, the commutator is usually replaced by the graded commutator, defined in homogeneous components as $\ [\omega ,\eta ]_{gr}:=\omega \eta -(-1)^{\deg \omega \deg \eta }\eta \omega .$ ## Derivations

Especially if one deals with multiple commutators, another notation turns out to be useful involving the adjoint representation:

$\operatorname {ad} (x)(y)=[x,y].$ ${\rm {ad}}(x+y)={\rm {ad}}(x)+{\rm {ad}}(y)$ and ${\rm {ad}}(\lambda x)=\lambda \,\operatorname {ad} (x)~,$ ${\rm {ad}}([x,y])=[{\rm {ad}}(x),{\rm {ad}}(y)]~.$ By contrast, it is not always an algebra homomorphism, i.e., a relation $\operatorname {ad} (xy)=\operatorname {ad} (x)\operatorname {ad} (y)$ does not hold in general.