{
  "id": "operator-commutator",
  "title": "Operator Commutator",
  "lang": "en",
  "source_lang": "en",
  "summary": "An operator commutator measures the failure of two operators to commute and connects noncommutative algebra, Lie theory, differential equations, and quantum mechanics.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Commutator of operators",
    "additive commutator"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/operator-commutator/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/operator-commutator/",
      "json": "https://aiwiki.page/zh/operator-commutator.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The operator commutator of two operators \\(A\\) and \\(B\\) is the operator\n\n\\[[A,B]=AB-BA,\\]\n\nprovided both products and their difference are defined. It measures the failure of the operators to commute: \\([A,B]=0\\) precisely when \\(AB=BA\\). For linear operators on a vector space, multiplication denotes composition, with the rightmost operator acting first. Commutators are fundamental in linear algebra, Lie algebra theory, functional analysis, and quantum mechanics. For unbounded operators, domains are an essential part of the definition."
    },
    {
      "heading": "Definition and scope",
      "text": "Let \\(V\\) be a vector space over a field \\(K\\), and let \\(A,B:V\\to V\\) be linear operators. Their commutator acts on \\(v\\in V\\) as\n\n\\[[A,B]v=A(Bv)-B(Av).\\]\n\nThus, the commutator compares the results of applying the same two operations in opposite orders.\n\nThe same definition applies to elements of any associative algebra, including square matrices and algebras of bounded operators on a Hilbert space. A nonzero commutator is evidence that the underlying multiplication is noncommutative.\n\nThe additive commutator differs from a group commutator, commonly defined as \\(ghg^{-1}h^{-1}\\), with other conventions also in use. The group commutator uses multiplication and inverses rather than subtraction. The two notions are related through the local connection between Lie groups and Lie algebras."
    },
    {
      "heading": "Algebraic identities",
      "text": "Commutators satisfy identities that follow directly from associativity and distributivity.\n\nBilinearity and antisymmetry\n\nFor scalars \\(\\alpha,\\beta\\),\n\n\\[[\\alpha A+\\beta B,C] =\\alpha[A,C]+\\beta[B,C],\\]\n\nand similarly in the second argument. They also satisfy\n\n\\[[A,B]=-[B,A], \\qquad [A,A]=0.\\]\n\nAny scalar multiple of the identity commutes with every operator:\n\n\\[[A,\\lambda I]=0.\\]\n\nThe converse depends on the ambient algebra. In the full algebra of \\(n\\times n\\) matrices over a field, the matrices that commute with every matrix are exactly the scalar matrices.\n\nProduct rules\n\nA commutator acts on products according to\n\n\\[[A,BC]=[A,B]C+B[A,C],\\]\n\nand\n\n\\[[AB,C]=A[B,C]+[A,C]B.\\]\n\nThese resemble the product rule for a derivative. Iteration gives, for a positive integer \\(n\\),\n\n\\[[A,B^n] =\\sum_{k=0}^{n-1}B^k[A,B]B^{n-1-k}.\\]\n\nIf \\([A,B]\\) commutes with \\(B\\), this reduces to\n\n\\[[A,B^n]=n[A,B]B^{n-1}.\\]\n\nJacobi identity\n\nCommutators obey\n\n\\[[A,[B,C]]+[B,[C,A]]+[C,[A,B]]=0.\\]\n\nThis is the Jacobi identity. Together with bilinearity and the alternating property \\([A,A]=0\\), it makes any associative algebra into a Lie algebra when the commutator is used as its bracket.\n\nFor a fixed operator \\(A\\), the map\n\n\\[\\operatorname{ad}_A(B)=[A,B]\\]\n\nis called an inner derivation. The Jacobi identity implies\n\n\\[[\\operatorname{ad}_A,\\operatorname{ad}_B] =\\operatorname{ad}_{[A,B]},\\]\n\nwhere the commutator on the left is taken between linear maps on the algebra."
    },
    {
      "heading": "Elementary examples",
      "text": "Matrices\n\nConsider\n\n\\[A= \\begin{pmatrix} 1&0\\\\ 0&0 \\end{pmatrix}, \\qquad B= \\begin{pmatrix} 0&1\\\\ 0&0 \\end{pmatrix}.\\]\n\nThen \\(AB=B\\), while \\(BA=0\\), so\n\n\\[[A,B]=B.\\]\n\nThus, matrix multiplication can depend on the order even for very small matrices.\n\nFor finite square matrices, cyclicity of the trace gives\n\n\\[\\operatorname{tr}[A,B] =\\operatorname{tr}(AB)-\\operatorname{tr}(BA)=0.\\]\n\nConsequently, over the real or complex numbers, a finite-dimensional commutator cannot equal a nonzero scalar multiple of the identity.\n\nDifferentiation and multiplication\n\nLet \\(D\\) denote differentiation and \\(M_x\\) multiplication by the coordinate \\(x\\):\n\n\\[Df=f', \\qquad (M_xf)(x)=xf(x).\\]\n\nOn a common domain of sufficiently differentiable functions,\n\n\\[[D,M_x]f =\\frac{d}{dx}(xf)-x\\frac{df}{dx} =f,\\]\n\nso\n\n\\[[D,M_x]=I.\\]\n\nMore generally, if \\(M_g\\) denotes multiplication by a differentiable function \\(g\\),\n\n\\[[D,M_g]=M_{g'}.\\]\n\nThis identity expresses the product rule in operator form.\n\nVector fields\n\nSmooth vector fields act on smooth functions as directional differentiation operators. Their commutator is again a vector field. In local coordinates, if\n\n\\[X=\\sum_jX^j\\partial_j, \\qquad Y=\\sum_jY^j\\partial_j,\\]\n\nthen\n\n\\[[X,Y] =\\sum_i\\left( \\sum_jX^j\\partial_jY^i-Y^j\\partial_jX^i \\right)\\partial_i.\\]\n\nThis bracket describes the infinitesimal failure of the flows generated by \\(X\\) and \\(Y\\) to commute."
    },
    {
      "heading": "Spectral implications",
      "text": "Commutation places restrictions on eigenvalues and eigenvectors. If \\(A\\) and \\(B\\) commute and \\(v\\) belongs to the eigenspace of \\(A\\) with eigenvalue \\(\\lambda\\), then\n\n\\[A(Bv)=B(Av)=\\lambda Bv.\\]\n\nHence \\(B\\) preserves each eigenspace of \\(A\\).\n\nIf \\(A\\) has distinct eigenvalues in finite dimensions, every operator commuting with \\(A\\) is diagonal in an eigenbasis of \\(A\\). More generally, commuting diagonalizable operators over the same field admit a common eigenbasis.\n\nFor complex normal matrices, pairwise commutation is equivalent to simultaneous diagonalization by a unitary matrix. In particular, this applies to finite-dimensional self-adjoint operators, as part of the spectral theorem.\n\nThe existence of a common eigenvector alone does not imply that two operators commute. Noncommuting operators may share some eigenvectors without admitting a complete common eigenbasis."
    },
    {
      "heading": "Exponentials and infinitesimal transformations",
      "text": "Commutators describe how one operator changes under conjugation by the exponential of another. For finite matrices, or bounded operators with the relevant norm-convergent series,\n\n\\[e^{tA}Be^{-tA} = B+t[A,B]+\\frac{t^2}{2!}[A,[A,B]]+\\cdots.\\]\n\nEquivalently,\n\n\\[\\frac{d}{dt}\\left(e^{tA}Be^{-tA}\\right) =e^{tA}[A,B]e^{-tA}.\\]\n\nThe matrix exponential therefore translates commutators into infinitesimal changes of coordinates or transformations.\n\nIf \\([A,B]=0\\), then\n\n\\[e^{A+B}=e^Ae^B.\\]\n\nIn general, the correction terms are described by the Baker–Campbell–Hausdorff formula:\n\n\\[\\log(e^Ae^B) =A+B+\\frac12[A,B] +\\frac1{12}[A,[A,B]] +\\frac1{12}[B,[B,A]]+\\cdots.\\]\n\nThis can be interpreted as a formal series; analytic use requires suitable convergence conditions.\n\nLikewise, for small \\(t\\),\n\n\\[e^{tA}e^{tB}e^{-tA}e^{-tB} =I+t^2[A,B]+O(t^3).\\]\n\nThis displays the relation between additive operator commutators and group commutators."
    },
    {
      "heading": "Quantum mechanics",
      "text": "In quantum mechanics, observables are represented by self-adjoint operators. Their commutators describe compatibility, uncertainty relations, and time evolution.\n\nCanonical commutation relation\n\nIn the position representation on the real line, the position and momentum operators are formally\n\n\\[(Q\\psi)(x)=x\\psi(x), \\qquad (P\\psi)(x)=-i\\hbar\\frac{d\\psi}{dx},\\]\n\nwhere \\(\\hbar\\) is the reduced Planck constant. On an appropriate common invariant domain, such as the Schwartz space,\n\n\\[[Q,P]=i\\hbar I.\\]\n\nThis relation cannot hold for finite-dimensional complex matrices, because the left side has trace zero while the right side does not. Nor can it hold for two bounded operators on a nonzero Hilbert space. Its standard realization therefore requires unbounded operators.\n\nUncertainty relations\n\nFor a normalized state \\(\\psi\\) with suitable domain and finiteness properties, the Robertson uncertainty relation is\n\n\\[\\Delta_\\psi A\\,\\Delta_\\psi B \\geq \\frac12 \\left|\\langle\\psi,[A,B]\\psi\\rangle\\right|,\\]\n\nwhere\n\n\\[\\Delta_\\psi A = \\left\\| \\left(A-\\langle\\psi,A\\psi\\rangle I\\right)\\psi \\right\\|.\\]\n\nIt follows from the Cauchy–Schwarz inequality. For position and momentum, it yields\n\n\\[\\Delta_\\psi Q\\,\\Delta_\\psi P\\geq\\frac{\\hbar}{2}.\\]\n\nA nonzero commutator need not give a strictly positive bound in every state: its expectation can vanish in a particular state. These spreads are properties of the state and should not automatically be identified with measurement error or disturbance.\n\nDynamics and classical correspondence\n\nIn the Heisenberg picture, an observable \\(A\\) evolves according to\n\n\\[\\frac{dA}{dt} =\\frac{i}{\\hbar}[H,A] +\\frac{\\partial A}{\\partial t},\\]\n\nwhere \\(H\\) is the Hamiltonian. A time-independent observable commuting with \\(H\\) is conserved, subject to the relevant operator-domain conditions.\n\nIn the correspondence with classical mechanics, the scaled commutator\n\n\\[\\frac{1}{i\\hbar}[\\widehat f,\\widehat g]\\]\n\ncorresponds, at leading semiclassical order under suitable quantization assumptions, to the Poisson bracket \\(\\{f,g\\}\\). This is not an exact identity for arbitrary observables and quantization procedures."
    },
    {
      "heading": "Unbounded operators and domain issues",
      "text": "For unbounded operators, the expression \\(AB-BA\\) is not specified by an algebraic formula alone. The product \\(AB\\) has domain\n\n\\[D(AB)=\\{\\psi\\in D(B):B\\psi\\in D(A)\\},\\]\n\nand the natural domain of the commutator is\n\n\\[D([A,B])=D(AB)\\cap D(BA).\\]\n\nThis intersection need not be dense and can be very small.\n\nFormal identities are therefore often established on a specified common invariant domain. Equality there does not automatically imply equality of closed operators or commutation of their spectral projections.\n\nFor unbounded self-adjoint operators, strong commutation means that every spectral projection of one commutes with every spectral projection of the other. It is equivalent to commutation of their unitary groups:\n\n\\[e^{itA}e^{isB}=e^{isB}e^{itA} \\qquad(s,t\\in\\mathbb R).\\]\n\nVanishing of a commutator on a dense common domain, without further hypotheses, does not guarantee strong commutation."
    },
    {
      "heading": "Further uses and related constructions",
      "text": "In partial differential equations, commutators measure the error produced by exchanging differentiation with multiplication, localization, or other operators. Such errors are central to regularity and energy estimates.\n\nIn numerical analysis, nested commutators govern leading errors in splitting methods that approximate evolution under \\(A+B\\) by successive evolutions under \\(A\\) and \\(B\\).\n\nThe anticommutator\n\n\\[\\{A,B\\}=AB+BA\\]\n\nis a different operation. It is symmetric rather than antisymmetric and appears, for example, in algebraic descriptions of fermionic systems.\n\nThe graded commutator is\n\n\\[[A,B]_{\\mathrm{gr}} =AB-(-1)^{|A||B|}BA\\]\n\nfor homogeneous elements with parities \\(|A|\\) and \\(|B|\\). It becomes an ordinary commutator unless both elements are odd, in which case it becomes an anticommutator.\n\nHistorically, commutator brackets developed within the study of infinitesimal transformations and differential operators. They acquired a central physical role in the matrix mechanics developed in 1925, where noncommuting observables became part of the mathematical structure of quantum theory."
    }
  ],
  "links": [
    "linear-map",
    "vector-space",
    "linear-algebra",
    "lie-algebra",
    "functional-analysis",
    "quantum-mechanics",
    "field-mathematics",
    "matrix",
    "hilbert-space",
    "lie-group",
    "derivative",
    "matrix-trace",
    "vector-field",
    "eigenvalues-and-eigenvectors",
    "unitary-matrix",
    "self-adjoint-operator",
    "spectral-theorem",
    "matrix-exponential",
    "baker-campbell-hausdorff-formula",
    "planck-constant",
    "cauchy-schwarz-inequality",
    "classical-mechanics",
    "partial-differential-equation",
    "numerical-analysis"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}