Skip to content

The commutator of two operators AA and BB is

[A,B]=AB−BA.[A,B]=AB-BA.

It records how the two possible orderings differ. Acting on a state,

[A,B]∣ψ⟩=A(B∣ψ⟩)−B(A∣ψ⟩).[A,B]|\psi\rangle = A(B|\psi\rangle)-B(A|\psi\rangle).

The commutator is itself an operator, not a scalar measure of “noncommutativity.” Its action can vanish on one state while remaining nonzero elsewhere, and a scalar size requires an additional choice such as an operator norm or a state-dependent expectation value.

In quantum mechanics, commutators connect several structures:

  • [A,B]=0[A,B]=0 is the finite-dimensional test for compatible sharp observables.
  • [H,A][H,A] controls how AA changes in time.
  • [G,A][G,A] controls how AA transforms under the continuous symmetry generated by GG.
  • ⟨[A,B]⟩\langle[A,B]\rangle enters uncertainty relations.
  • Closed commutator relations define Lie algebras such as angular momentum.

This page develops those physical roles and the identities needed to use them. The reusable algebra catalog is Commutators and Anticommutators, and the compact lookup entry is Commutator Identities.

Helpful background. Operators explains composition and adjoints; expectation values supplies the state averages used below.

Operator products act from right to left:

AB∣ψ⟩=A(B∣ψ⟩).AB|\psi\rangle = A\left(B|\psi\rangle\right).

Therefore ABAB means “apply BB, then apply AA,” whereas BABA reverses that order. The commutator is the difference between the resulting vectors.

For matrices or bounded operators, both products are defined on the entire Hilbert space. For unbounded operators, the natural commutator domain is

D([A,B])=D(AB)∩D(BA),\mathcal D([A,B]) = \mathcal D(AB)\cap\mathcal D(BA),

which may be smaller than either individual operator domain. Both terms must act on the same vector before their difference can be taken. Unless an unbounded example is explicitly introduced, the algebra below is for bounded operators. For unbounded operators, polynomial identities hold on a common subspace preserved by all factors, such as Schwartz functions for position and momentum on the real line.

If AA and BB carry physical units, then [A,B][A,B] carries the product of those units. For example,

[x,p]=iℏI[x,p]=i\hbar I

has the dimensions of action.

The following claims are not equivalent:

[A,B]=0,[A,B]=0, [A,B]∣ψ⟩=0,[A,B]|\psi\rangle=0,

and

⟨ψ∣[A,B]∣ψ⟩=0.\langle\psi|[A,B]|\psi\rangle=0.

The first is an operator identity on the declared space or domain. The second says that the two orderings agree only on one state. The third says only that their difference has zero expectation in that state.

For example,

[σx,σy]=2iσz≠0.[\sigma_x,\sigma_y]=2i\sigma_z\ne0.

Yet in the σx\sigma_x eigenstate ∣+x⟩|+x\rangle,

⟨+x∣[σx,σy]∣+x⟩=2i⟨+x∣σz∣+x⟩=0.\langle+x|[\sigma_x,\sigma_y]|+x\rangle = 2i\langle+x|\sigma_z|+x\rangle =0.

A vanishing expectation value in one state does not establish compatibility.

The commutator and anticommutator split an ordered product into antisymmetric and symmetric parts:

AB=12{A,B}+12[A,B],AB = \frac12\{A,B\} + \frac12[A,B],

where

{A,B}=AB+BA.\{A,B\}=AB+BA.

Reversing the order flips only the commutator term:

BA=12{A,B}−12[A,B].BA = \frac12\{A,B\} - \frac12[A,B].

The symmetric product contributes to covariance, while the antisymmetric product contributes to the commutator part of the uncertainty relation. The separate operator-algebra role of the symmetric bracket is developed in Anticommutators.

Let AA and BB be bounded self-adjoint operators, including Hermitian matrices. Then

(AB)†=BA.(AB)^{\dagger}=BA.

Consequently, ABAB is self-adjoint exactly when AA and BB commute. The commutator satisfies

[A,B]†=[B,A]=−[A,B].[A,B]^{\dagger} = [B,A] = -[A,B].

Thus the commutator of Hermitian operators is anti-Hermitian. Multiplying by 1/i=−i1/i=-i produces a Hermitian operator:

CAB=1i[A,B].C_{AB} = \frac1i[A,B].

For any state in the relevant domain,

⟨[A,B]⟩∗=−⟨[A,B]⟩,\langle[A,B]\rangle^{*} = -\langle[A,B]\rangle,

so ⟨[A,B]⟩\langle[A,B]\rangle is purely imaginary. Equivalently,

Im⁡⟨AB⟩=12i⟨[A,B]⟩,\operatorname{Im}\langle AB\rangle = \frac1{2i} \langle[A,B]\rangle,

while

Re⁡⟨AB⟩=12⟨{A,B}⟩.\operatorname{Re}\langle AB\rangle = \frac12 \langle\{A,B\}\rangle.

These relations explain the factors of ii that accompany commutators in equations for real observable quantities. For unbounded self-adjoint A,BA,B, the same expectation identities hold on the common product domain, but one cannot conclude that [A,B]/i[A,B]/i is self-adjoint: identifying its adjoint requires a separate domain analysis.

For a Hermitian matrix AA, choose an orthonormal eigenbasis:

A∣an⟩=an∣an⟩.A|a_n\rangle=a_n|a_n\rangle.

Take a matrix element of the commutator in this basis:

⟨am∣[A,B]∣an⟩=⟨am∣AB−BA∣an⟩=(am−an)⟨am∣B∣an⟩.\begin{aligned} \langle a_m|[A,B]|a_n\rangle &= \langle a_m|AB-BA|a_n\rangle \\ &= (a_m-a_n) \langle a_m|B|a_n\rangle. \end{aligned}

Writing

Bmn=⟨am∣B∣an⟩,B_{mn}=\langle a_m|B|a_n\rangle,

the result is

[A,B]mn=(am−an)Bmn.[A,B]_{mn} = (a_m-a_n)B_{mn}.

This compact formula contains the simultaneous-diagonalization logic:

  • diagonal entries vanish automatically because am−am=0a_m-a_m=0;
  • if am≠ana_m\ne a_n and [A,B]=0[A,B]=0, then Bmn=0B_{mn}=0;
  • if [A,B]=0[A,B]=0, BB can connect basis vectors only within the same eigenspace of AA;
  • if AA is nondegenerate and [A,B]=0[A,B]=0, then BB is diagonal in the AA-eigenbasis.

The full projector and measurement interpretation belongs to Compatible Observables.

Commutator identities follow from associativity and distributivity of operator multiplication. They do not require AA, BB, and CC to be Hermitian.

For scalars α\alpha and β\beta,

[A,αB+βC]=α[A,B]+β[A,C],[A,\alpha B+\beta C] = \alpha[A,B]+\beta[A,C],

and

[αA+βB,C]=α[A,C]+β[B,C].[\alpha A+\beta B,C] = \alpha[A,C]+\beta[B,C]. [A,B]=−[B,A],[A,A]=0.[A,B]=-[B,A], \qquad [A,A]=0.

The identity operator is central:

[A,I]=0.[A,I]=0.

The commutator acts like a derivative on products:

[A,BC]=[A,B]C+B[A,C],[A,BC] = [A,B]C+B[A,C],

and

[AB,C]=A[B,C]+[A,C]B.[AB,C] = A[B,C]+[A,C]B.

For example,

[A,BC]=ABC−BCA=(ABC−BAC)+(BAC−BCA)=[A,B]C+B[A,C].\begin{aligned} [A,BC] &=ABC-BCA \\ &=(ABC-BAC) +(BAC-BCA) \\ &=[A,B]C+B[A,C]. \end{aligned}

The inserted terms −BAC+BAC-BAC+BAC preserve operator order and make the two commutators visible.

Repeated use of the product rule gives

[A,Bn]=∑r=0n−1Br[A,B]Bn−1−r.[A,B^n] = \sum_{r=0}^{n-1} B^r[A,B]B^{n-1-r}.

If [A,B][A,B] also commutes with BB, this simplifies to

[A,Bn]=n[A,B]Bn−1.[A,B^n] = n[A,B]B^{n-1}.

Without that extra condition, moving [A,B][A,B] through the powers of BB is not valid.

The nested brackets obey

[A,[B,C]]+[B,[C,A]]+[C,[A,B]]=0.[A,[B,C]] + [B,[C,A]] + [C,[A,B]] =0.

This identity is what turns an associative operator algebra into a Lie algebra under the commutator bracket.

The broader set of power, inverse, exponential, and mixed commutator identities is kept in the Mathematical Toolkit rather than duplicated here.

Define the adjoint action

ad⁡A(B)=[A,B].\operatorname{ad}_A(B) = [A,B].

The product rule becomes

ad⁡A(BC)=ad⁡A(B)C+Bad⁡A(C).\operatorname{ad}_A(BC) = \operatorname{ad}_A(B)C + B\operatorname{ad}_A(C).

Thus ad⁡A\operatorname{ad}_A is a derivation of the operator algebra. The Jacobi identity implies

[ad⁡A,ad⁡B](C)=ad⁡[A,B](C).[ \operatorname{ad}_A, \operatorname{ad}_B ](C) = \operatorname{ad}_{[A,B]}(C).

In words, the commutator of two infinitesimal adjoint actions is generated by the commutator of their generators. This closure is central to continuous symmetries and Lie algebras.

For self-adjoint matrices,

[A,B]=0[A,B]=0

is equivalent to simultaneous diagonalizability, commuting spectral projectors, and the existence of a common sharp projective refinement.

If AA is degenerate, BB need not be diagonal in an arbitrary AA eigenbasis. The eigenbasis diagnostic shows exactly what commutation guarantees: BB is block diagonal with respect to the distinct eigenspaces of AA, and it can be diagonalized within each block.

For unbounded self-adjoint operators, a formal commutator that vanishes on a small common domain need not imply compatibility. The robust condition is commutation of the spectral projections, sometimes called strong commutativity.

A nonzero commutator signals that operator order matters somewhere, but ABAB and BABA are not by themselves universal formulas for two sequential measurement probabilities. Actual sequential measurements require spectral projectors and a state-update instrument.

For ideal projective measurements with projectors PaP_a and QbQ_b, the order dependence appears through products such as

QbPaρPaQbQ_bP_a\rho P_aQ_b

and

PaQbρQbPa.P_aQ_b\rho Q_bP_a.

If all PaP_a commute with all QbQ_b, the ideal joint statistics become order independent. Otherwise they can differ. The operational calculation belongs to Sequential Measurements, while the conceptual consequences are developed in Noncommuting Observables.

For bounded observables A,BA,B and a normalized state ∣ψ⟩|\psi\rangle, the Robertson relation is

ΔA ΔB≥12∣⟨[A,B]⟩∣.\Delta A\,\Delta B \ge \frac12 \left| \langle[A,B]\rangle \right|.

The anti-Hermiticity of [A,B][A,B] ensures that the expectation value on the right is purely imaginary before its absolute value is taken.

A nonzero operator commutator can nevertheless have zero expectation in a particular state, as the Pauli example above shows. In that state, the simple Robertson lower bound may be zero even though the observables remain incompatible. The stronger Robertson–Schrödinger relation also contains a symmetric covariance term.

The derivation, equality condition, and interpretation are the subject of General Uncertainty Relations.

Let a bounded self-adjoint generator GG define the one-parameter unitary family

U(ϵ)=exp⁡(−iϵGℏ).U(\epsilon) = \exp\left( -\frac{i\epsilon G}{\hbar} \right).

Choose the parameter so that ϵG\epsilon G has units of action. For bounded AA, use the convention

A(ϵ)=U†(ϵ)AU(ϵ),A(\epsilon) = U^{\dagger}(\epsilon)AU(\epsilon),

differentiation at ϵ=0\epsilon=0 gives

dA(ϵ)dϵ∣ϵ=0=iℏ[G,A].\left. \frac{dA(\epsilon)}{d\epsilon} \right|_{\epsilon=0} = \frac{i}{\hbar}[G,A].

Therefore

A(ϵ)=A+iϵℏ[G,A]+O(ϵ2).A(\epsilon) = A + \frac{i\epsilon}{\hbar}[G,A] + O(\epsilon^2).

The sign changes if one uses UAU†UAU^{\dagger} instead, so the transformation convention must be stated.

More generally, repeated commutators give the conjugation series

U†AU=A+iϵℏ[G,A]+12!(iϵℏ)2[G,[G,A]]+⋯ .U^{\dagger}AU =A + \frac{i\epsilon}{\hbar}[G,A] + \frac1{2!} \left( \frac{i\epsilon}{\hbar} \right)^2 [G,[G,A]] +\cdots.

This series converges in operator norm for bounded G,AG,A. An unbounded generator still defines a unitary group, but differentiation and a nested-commutator series require additional domain and convergence conditions; the existence of the exponential alone does not prove them. Its detailed symmetry interpretation belongs to Generators, and the exponential algebra belongs to Matrix Functions and Exponentials.

On L2(R)L^2(\mathbb R), take the standard self-adjoint momentum p=−iℏ d/dxp=-i\hbar\,d/dx with domain H1(R)H^1(\mathbb R). Its unitary translations act as

(U(a)ψ)(x)=ψ(x−a),U(a)=e−iap/ℏ.(U(a)\psi)(x)=\psi(x-a), \qquad U(a)=e^{-iap/\hbar}.

The multiplication operator xx has domain consisting of wavefunctions for which xψ(x)x\psi(x) is square integrable. Translations preserve this domain, and direct substitution gives

(U†(a)xU(a)ψ)(x)=(x+a)ψ(x),U†(a)xU(a)=x+aI.\begin{aligned} (U^\dagger(a)xU(a)\psi)(x) &=(x+a)\psi(x),\\ U^\dagger(a)xU(a)&=x+aI. \end{aligned}

This also agrees with the formal nested-commutator calculation: (ia/ℏ)[p,x]=aI(ia/\hbar)[p,x]=aI, and all later commutators vanish. The direct translation formula establishes the identity without assuming that a formal commutator relation can always be exponentiated.

For a time-independent bounded self-adjoint Hamiltonian,

U(t)=exp⁡(−iHtℏ).U(t)=\exp\left(-\frac{iHt}{\hbar}\right).

The Heisenberg-picture operator

AH(t)=U†(t)ASU(t)A_H(t)=U^{\dagger}(t)A_SU(t)

satisfies

dAHdt=iℏ[HH,AH]+(∂A∂t)H.\frac{dA_H}{dt} = \frac{i}{\hbar}[H_H,A_H] + \left( \frac{\partial A}{\partial t} \right)_H.

If AA has no explicit time dependence and

[H,A]=0,[H,A]=0,

then AHA_H is constant in time. These derivatives are straightforward for bounded AA; an explicit time dependence adds the displayed partial-derivative term. For unbounded HH or AA, the differential equation needs suitable invariant domains. Strong commutation of their spectral projections guarantees conservation without relying on a merely formal [H,A]=0[H,A]=0. The full dynamical derivation is in Commutator Dynamics, and the expectation-value statement is in Conservation Laws.

For matrices XX and YY and a small dimensionless parameter ϵ\epsilon, the group commutator obeys

eϵXeϵYe−ϵXe−ϵY=I+ϵ2[X,Y]+O(ϵ3).e^{\epsilon X} e^{\epsilon Y} e^{-\epsilon X} e^{-\epsilon Y} = I+\epsilon^2[X,Y]+O(\epsilon^3).

The first-order effects cancel. The leading failure of the two transformations to commute is generated by [X,Y][X,Y]. For rotations, this fact is the local algebraic origin of why rotations about different axes do not commute.

For finite matrices, cyclicity of the trace gives

Tr⁡[A,B]=Tr⁡(AB)−Tr⁡(BA)=0.\operatorname{Tr}[A,B] = \operatorname{Tr}(AB) - \operatorname{Tr}(BA) =0.

The converse is false: most traceless matrices are not zero, and trace zero does not imply that two operators commute.

This identity proves that the canonical commutation relation cannot be represented exactly by finite matrices. If XX and PP were d×dd\times d matrices satisfying

[X,P]=iℏId,[X,P]=i\hbar I_d,

then taking the trace would give

0=iℏd,0=i\hbar d,

which is impossible for d>0d>0. Exact canonical pairs therefore require an infinite-dimensional setting, with the associated domain subtleties. Finite matrix truncations can approximate selected matrix elements but cannot obey the exact relation globally.

Let

A=(a100a2),B=(b11b12b12∗b22).A= \begin{pmatrix} a_1&0\\ 0&a_2 \end{pmatrix}, \qquad B= \begin{pmatrix} b_{11}&b_{12}\\ b_{12}^{*}&b_{22} \end{pmatrix}.

Then

[A,B]=(0(a1−a2)b12(a2−a1)b12∗0).[A,B] = \begin{pmatrix} 0&(a_1-a_2)b_{12}\\ (a_2-a_1)b_{12}^{*}&0 \end{pmatrix}.

If a1≠a2a_1\ne a_2, the operators commute exactly when

b12=0.b_{12}=0.

If a1=a2a_1=a_2, then A=a1IA=a_1I and commutes with every BB. This is the simplest example of degeneracy allowing nontrivial action within an AA eigenspace.

The Pauli product identity is

σiσj=δijI+i∑kϵijkσk.\sigma_i\sigma_j = \delta_{ij}I + i\sum_k\epsilon_{ijk}\sigma_k.

Reversing ii and jj changes the sign of the antisymmetric term, so

[σi,σj]=2i∑kϵijkσk.[\sigma_i,\sigma_j] = 2i\sum_k\epsilon_{ijk}\sigma_k.

In particular,

[σx,σy]=2iσz.[\sigma_x,\sigma_y]=2i\sigma_z.

For spin operators Si=(ℏ/2)σiS_i=(\hbar/2)\sigma_i, this becomes

[Si,Sj]=iℏ∑kϵijkSk.[S_i,S_j] = i\hbar \sum_k\epsilon_{ijk}S_k.

The right-hand side remains inside the span of the spin generators: their commutator algebra closes.

On a Schwartz test function ψ(x)\psi(x) on the real line, take

(xψ)(x)=xψ(x),(pψ)(x)=−iℏdψdx.\begin{aligned} (x\psi)(x) &=x\psi(x), \\ (p\psi)(x) &=-i\hbar\frac{d\psi}{dx}. \end{aligned}

Then

([x,p]ψ)(x)=−iℏxψ′(x)+iℏddx(xψ(x))=iℏψ(x).\begin{aligned} ([x,p]\psi)(x) &=-i\hbar x\psi'(x) +i\hbar\frac{d}{dx} \left(x\psi(x)\right) \\ &=i\hbar\psi(x). \end{aligned}

Thus

[x,p]=iℏI[x,p]=i\hbar I

on the chosen common invariant domain. The multidimensional relations, representation choices, and rigorous qualifications are developed in Canonical Commutation Relations.

Example: Harmonic-Oscillator Ladder Operators

Section titled “Example: Harmonic-Oscillator Ladder Operators”

Work on finite linear combinations of oscillator number states, a common invariant domain. Let

[a,a†]=I,N=a†a.[a,a^{\dagger}]=I, \qquad N=a^{\dagger}a.

The product rule gives

[N,a]=a†[a,a]+[a†,a]a=−a,\begin{aligned} [N,a] &=a^{\dagger}[a,a]+[a^{\dagger},a]a \\ &=-a, \end{aligned}

and

[N,a†]=a†[a,a†]+[a†,a†]a=a†.\begin{aligned} [N,a^{\dagger}] &=a^{\dagger}[a,a^{\dagger}] +[a^{\dagger},a^{\dagger}]a \\ &=a^{\dagger}. \end{aligned}

If N∣n⟩=n∣n⟩N|n\rangle=n|n\rangle, then

N(a†∣n⟩)=(n+1)a†∣n⟩,N(a^{\dagger}|n\rangle) = (n+1)a^{\dagger}|n\rangle,

and

N(a∣n⟩)=(n−1)a∣n⟩.N(a|n\rangle) = (n-1)a|n\rangle.

The commutators reveal the raising and lowering action without first writing wavefunctions. The lowering expression is an eigenvector statement only when a∣n⟩≠0a|n\rangle\ne0; for the vacuum, a∣0⟩=0a|0\rangle=0, so no negative number eigenvalue is produced. The full construction belongs to Ladder-Operator Solution: First Encounter.

Angular momentum satisfies

[Ji,Jj]=iℏ∑kϵijkJk.[J_i,J_j] = i\hbar \sum_k\epsilon_{ijk}J_k.

These relations express both incompatibility of distinct components and the Lie algebra of rotations. The Casimir operator

J2=Jx2+Jy2+Jz2J^2=J_x^2+J_y^2+J_z^2

commutes with every component:

[J2,Ji]=0.[J^2,J_i]=0.

The derivation and representation theory are developed in Angular Momentum Algebra.

Canonical quantization motivates the schematic correspondence

1iℏ[A,B]⟷{a,b}PB.\frac1{i\hbar}[A,B] \longleftrightarrow \{a,b\}_{\mathrm{PB}}.

Both brackets are antisymmetric, satisfy a product rule, and obey the Jacobi identity. This resemblance explains why commutators govern quantum Hamiltonian evolution.

The correspondence is not an exact substitution rule for arbitrary observables. Operator ordering, domain questions, and higher-order quantum corrections obstruct a universal bracket-preserving quantization map. The classical bracket and its geometric meaning belong to Poisson Brackets.

For unbounded operators,

D(AB)={∣ψ⟩∈D(B):B∣ψ⟩∈D(A)},\mathcal D(AB) = \left\lbrace |\psi\rangle\in\mathcal D(B): B|\psi\rangle\in\mathcal D(A) \right\rbrace,

and D(BA)\mathcal D(BA) is generally different. Symbolic manipulation is safest on a declared dense subspace preserved by all operators in the calculation.

Even if

[A,B]∣ψ⟩=0[A,B]|\psi\rangle=0

throughout a common dense domain, the spectral projectors of two unbounded self-adjoint operators need not commute. Measurement compatibility requires the stronger spectral statement. Conversely, a commutator formula such as [x,p]=iℏI[x,p]=i\hbar I should be read together with the domain on which it is verified.

When domains matter, state them, check that each intermediate vector remains in the next operator’s domain, and distinguish a formal identity from an identity of self-adjoint operators.

A zero average is weaker than a zero operator. A commutator expectation can vanish in one state even though the operator is nonzero. Compatibility requires a statement about the observables, not a single expectation value.

Products of observables are not measurement sequences. A sequence of measurement outcomes is described by projectors or an instrument and the associated state changes. The product ABAB alone does not supply those probabilities.

Simplified power rules have an extra hypothesis. The expression [A,Bn]=n[A,B]Bn−1[A,B^n]=n[A,B]B^{n-1} requires [A,B][A,B] to commute with BB. Otherwise the ordered sum is necessary.

An unbounded exponential needs more than a power series. Self-adjointness defines e−itH/ℏe^{-itH/\hbar} by the spectral theorem. It does not justify arbitrary term-by-term derivatives or rearrangements on every state.

For bounded operators A,B,CA,B,C, prove the product rule

[A,BC]=[A,B]C+B[A,C],[A,BC]=[A,B]C+B[A,C],

then use it to prove by induction that

[A,Bn]=∑r=0n−1Br[A,B]Bn−1−r.[A,B^n] = \sum_{r=0}^{n-1} B^r[A,B]B^{n-1-r}.
Solution

Insert and subtract BACBAC:

[A,BC]=ABC−BCA=(ABC−BAC)+(BAC−BCA)=[A,B]C+B[A,C].\begin{aligned} [A,BC] &=ABC-BCA \\ &=(ABC-BAC) +(BAC-BCA) \\ &=[A,B]C+B[A,C]. \end{aligned}

The power formula is true for n=1n=1. Assume it holds for nn. Then

[A,Bn+1]=[A,Bn]B+Bn[A,B]=∑r=0n−1Br[A,B]Bn−r+Bn[A,B]=∑r=0nBr[A,B]Bn−r.\begin{aligned} [A,B^{n+1}] &=[A,B^n]B+B^n[A,B] \\ &=\sum_{r=0}^{n-1} B^r[A,B]B^{n-r} +B^n[A,B] \\ &=\sum_{r=0}^{n} B^r[A,B]B^{n-r}. \end{aligned}

This is the required formula with nn replaced by n+1n+1.

Let AA and BB be Hermitian matrices. Prove that [A,B][A,B] is anti-Hermitian and that ⟨[A,B]⟩\langle[A,B]\rangle is purely imaginary in every state.

Solution

Taking the adjoint reverses product order:

[A,B]†=(AB−BA)†=BA−AB=−[A,B].\begin{aligned} [A,B]^{\dagger} &=(AB-BA)^{\dagger} \\ &=BA-AB \\ &=-[A,B]. \end{aligned}

For any normalized ∣ψ⟩|\psi\rangle,

⟨[A,B]⟩∗=⟨ψ∣[A,B]†∣ψ⟩=−⟨ψ∣[A,B]∣ψ⟩.\begin{aligned} \langle[A,B]\rangle^{*} &=\langle\psi|[A,B]^{\dagger}|\psi\rangle \\ &=-\langle\psi|[A,B]|\psi\rangle. \end{aligned}

A complex number zz satisfying z∗=−zz^{*}=-z is purely imaginary.

Let AA be a Hermitian matrix with orthonormal eigenbasis A∣an⟩=an∣an⟩A|a_n\rangle=a_n|a_n\rangle. Derive

⟨am∣[A,B]∣an⟩=(am−an)Bmn.\langle a_m|[A,B]|a_n\rangle = (a_m-a_n)B_{mn}.

What does [A,B]=0[A,B]=0 imply when AA is nondegenerate? What changes when AA is degenerate?

Solution

Using the eigenvalue equations on the bra and ket sides,

⟨am∣AB∣an⟩=amBmn,⟨am∣BA∣an⟩=anBmn.\begin{aligned} \langle a_m|AB|a_n\rangle &=a_mB_{mn}, \\ \langle a_m|BA|a_n\rangle &=a_nB_{mn}. \end{aligned}

Subtracting gives the stated result. If [A,B]=0[A,B]=0 and am≠ana_m\ne a_n, then Bmn=0B_{mn}=0. For a nondegenerate AA, every off-diagonal matrix element of BB vanishes, so BB is diagonal in the AA eigenbasis.

If AA is degenerate, matrix elements of BB may remain nonzero between states with the same eigenvalue. Thus BB is block diagonal and may be diagonalized inside each degenerate block.

Use [σx,σy]=2iσz[\sigma_x,\sigma_y]=2i\sigma_z to show that the commutator expectation vanishes in ∣+x⟩|+x\rangle, even though the operators do not commute.

Solution

The ∣+x⟩|+x\rangle state has Bloch vector along the xx direction, so

⟨+x∣σz∣+x⟩=0.\langle+x|\sigma_z|+x\rangle=0.

Therefore

⟨+x∣[σx,σy]∣+x⟩=2i⟨+x∣σz∣+x⟩=0.\begin{aligned} \langle+x|[\sigma_x,\sigma_y]|+x\rangle &=2i\langle+x|\sigma_z|+x\rangle \\ &=0. \end{aligned}

But [σx,σy]=2iσz[\sigma_x,\sigma_y]=2i\sigma_z is a nonzero operator. A state-specific expectation cannot replace the operator test.

Exercise 5: Momentum generates translations

Section titled “Exercise 5: Momentum generates translations”

Let

U(a)=e−iap/ℏU(a)=e^{-iap/\hbar}

for the real-line momentum used above. Compute U†(a)xU(a)U^\dagger(a)xU(a) directly from (U(a)ψ)(x)=ψ(x−a)(U(a)\psi)(x)=\psi(x-a), and compare with the formal commutator series.

Solution

Direct substitution gives U†(a)xU(a)ψ=(x+a)ψU^\dagger(a)xU(a)\psi=(x+a)\psi on D(x)\mathcal D(x). In the formal series, the first correction is

iaℏ[p,x]=iaℏ(−iℏI)=aI.\frac{ia}{\hbar}[p,x] = \frac{ia}{\hbar}(-i\hbar I) =aI.

The next nested commutator vanishes:

[p,[p,x]]=−iℏ[p,I]=0.[p,[p,x]] = -i\hbar[p,I] =0.

All later terms also vanish, so

U†(a)xU(a)=x+aI.U^{\dagger}(a)xU(a)=x+aI.

On finite linear combinations of oscillator number states, use

[a,a†]=I,N=a†a,[a,a^{\dagger}]=I, \qquad N=a^{\dagger}a,

derive [N,a]=−a[N,a]=-a and [N,a†]=a†[N,a^{\dagger}]=a^{\dagger}. Then show that a†∣n⟩a^{\dagger}|n\rangle has number eigenvalue n+1n+1 whenever it is nonzero.

Solution

Using the product rule,

[N,a]=a†[a,a]+[a†,a]a=−a,\begin{aligned} [N,a] &=a^{\dagger}[a,a]+[a^{\dagger},a]a \\ &=-a, \end{aligned}

and

[N,a†]=a†[a,a†]+[a†,a†]a=a†.\begin{aligned} [N,a^{\dagger}] &=a^{\dagger}[a,a^{\dagger}] +[a^{\dagger},a^{\dagger}]a \\ &=a^{\dagger}. \end{aligned}

Since [N,a†]=a†[N,a^{\dagger}]=a^{\dagger},

Na†∣n⟩=(a†N+[N,a†])∣n⟩=(n+1)a†∣n⟩.\begin{aligned} N a^{\dagger}|n\rangle &=(a^{\dagger}N+[N,a^{\dagger}])|n\rangle \\ &=(n+1)a^{\dagger}|n\rangle. \end{aligned}

Prove that no finite-dimensional matrices XX and PP can satisfy

[X,P]=iℏI.[X,P]=i\hbar I.
Solution

For finite matrices,

Tr⁡[X,P]=Tr⁡(XP)−Tr⁡(PX)=0\operatorname{Tr}[X,P] = \operatorname{Tr}(XP)-\operatorname{Tr}(PX) =0

by cyclicity. If the canonical relation held in dimension dd, the same trace would be

Tr⁡(iℏId)=iℏd,\operatorname{Tr}(i\hbar I_d) =i\hbar d,

which is nonzero for d>0d>0. This contradiction rules out an exact finite matrix representation.

For finite matrices XX and YY, expand

eϵXeϵYe−ϵXe−ϵYe^{\epsilon X} e^{\epsilon Y} e^{-\epsilon X} e^{-\epsilon Y}

through order ϵ2\epsilon^2 and show that the result is

I+ϵ2[X,Y]+O(ϵ3).I+\epsilon^2[X,Y]+O(\epsilon^3).
Solution

Use

e±ϵX=I±ϵX+ϵ22X2+O(ϵ3),e^{\pm\epsilon X} = I\pm\epsilon X + \frac{\epsilon^2}{2}X^2 +O(\epsilon^3),

and the analogous expansion for YY. Multiplying in the written order while preserving every factor gives cancellation of all first-order terms. The second-order terms combine as

XY−YX=[X,Y].XY-YX=[X,Y].

Let C+=eϵXeϵYC_+=e^{\epsilon X}e^{\epsilon Y} and C−=e−ϵXe−ϵYC_-=e^{-\epsilon X}e^{-\epsilon Y}. Therefore

C+C−=I+ϵ2[X,Y]+O(ϵ3).C_+C_- = I+\epsilon^2[X,Y]+O(\epsilon^3).
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013. Publisher.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.