# Commutator

This article is about the mathematical concept. For the relation between canonical conjugate entities, see Canonical commutation relation. For other uses, see Commutation.

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] = g1h1gh.

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] = ghg1h1.[1][2]

### Identities (group theory)

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

1. and
2. and
3. and

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.[4] Many other group theorists define the conjugate of a by x as xax−1.[5] This is often written . 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,

If the derived subgroup is central, then

## Ring theory

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

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

Sometimes the brackets [ ]+ are also used to denote anticommutators.[6] 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.

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.[7] 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 identities:

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

An additional identity may be found for this last expression, in the form:

If A is a fixed element of a ring R, the first additional identity can be interpreted as a Leibniz rule for the map given by . In other words, the map adA defines a derivation on the ring R. The second and third identities represent Leibniz rules for more than two factors that are valid for any derivation. Identities 4-6 can also be interpreted as Leibniz rules for a certain derivation.

The following useful identity ("Hadamard Lemma") involves nested commutators and underlies the Baker-Campbell–Hausdorff expansion of log (exp A exp B):

This formula is valid in any ring or algebra where the exponential function can be meaningfully defined, for instance in a Banach algebra or in a ring of formal power series.

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), for instance

## Graded rings and algebras

When dealing with graded algebras, the commutator is usually replaced by the graded commutator, defined in homogeneous components as

## Derivations

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

Then ad(x) is a derivation and ad is linear,

and

and, crucially, a Lie algebra homomorphism,

By contrast, it is not always an algebra homomorphism, i.e., a relation does not hold in general.

Examples

### General Leibniz rule

The general Leibniz rule (general product rule) can be written abstractly using the adjoint representation:

By substituting x = ∂ and appending a test function to both sides of the equation, one recovers the general Leibniz rule.