Commutator — Definition, Formula & Examples
A commutator measures how much two elements fail to commute. If two elements commute (their order doesn't matter), the commutator equals the identity in a group or zero in a ring/algebra.
In group theory, the commutator of elements and in a group is defined as . In a ring or Lie algebra, the commutator of elements and is . The commutator equals the identity element (or zero, respectively) if and only if and commute.
Key Formula
Where:
- = First element (e.g., a matrix or ring element)
- = Second element
- = The commutator, measuring the failure of A and B to commute
How It Works
To compute a commutator, you apply the appropriate formula depending on your algebraic structure. In group theory, you compose inverses and elements in the order . In linear algebra or ring theory, you simply compute the difference . A zero or identity result tells you the elements commute; a nonzero result quantifies the failure of commutativity. The set of all commutators in a group generates the commutator subgroup, which captures the 'non-abelian part' of the group.
Worked Example
Problem: Compute the commutator [A, B] for the matrices A = [[1, 2], [0, 1]] and B = [[1, 0], [3, 1]].
Step 1: Compute the product AB.
Step 2: Compute the product BA.
Step 3: Subtract to find the commutator.
Answer: The commutator is , which is nonzero, confirming that and do not commute.
Why It Matters
Commutators are central to quantum mechanics, where the commutator encodes the Heisenberg uncertainty principle. In abstract algebra, the commutator subgroup determines whether a group is solvable, which connects directly to Galois theory and the unsolvability of the quintic equation.
Common Mistakes
Mistake: Confusing the group-theoretic commutator with the ring/matrix commutator .
Correction: These are different formulas for different algebraic structures. Always check whether you are working in a group (use inverses and products) or a ring/algebra (use subtraction of products).
