Skip to content

Commutators

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.

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. Domain issues are not decoration: without a common domain, the formal difference AB−BAAB-BA does not define an operator.

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 Hermitian matrices or suitably defined self-adjoint operators. Then

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

Consequently, ABAB is Hermitian exactly when AA and BB commute, subject to the usual domain qualifications. 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.

Suppose AA has 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;
  • BB can have nonzero matrix elements only within degenerate eigenspaces of AA;
  • if AA is nondegenerate and [A,B]=0[A,B]=0, then BB is diagonal in the AA-eigenbasis.

A matrix element of B in the A eigenbasis is multiplied by the corresponding eigenvalue difference to give the commutator matrix element

In an AA eigenbasis, the commutator weights BmnB_{mn} by am−ana_m-a_n. If the commutator vanishes, BB cannot connect eigenspaces with different AA eigenvalues, although it may still act inside degenerate blocks.

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) \\ &\quad+(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 observables AA and BB in a 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 self-adjoint generator GG define the one-parameter unitary family

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

Using 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]]+⋯ .\begin{aligned} U^{\dagger}AU &=A + \frac{i\epsilon}{\hbar}[G,A] \\ &\quad+ \frac1{2!} \left( \frac{i\epsilon}{\hbar} \right)^2 [G,[G,A]] +\cdots. \end{aligned}

This is the adjoint form of the exponential map. Its detailed symmetry interpretation belongs to Generators, and the exponential algebra belongs to Matrix Functions and Exponentials.

Momentum generates translations. Let

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

Using

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

the first commutator in the conjugation series gives

iaℏ[p,x]=aI.\frac{ia}{\hbar}[p,x]=aI.

All higher nested commutators vanish because [p,I]=0[p,I]=0. Hence

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

The canonical commutator therefore states not only that xx and pp are incompatible, but also that momentum shifts the position observable by the translation parameter.

For a time-independent 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. 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).\begin{aligned} &e^{\epsilon X} e^{\epsilon Y} e^{-\epsilon X} e^{-\epsilon Y} \\ &\qquad = I+\epsilon^2[X,Y]+O(\epsilon^3). \end{aligned}

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 suitable test function ψ(x)\psi(x), 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) \\ &\quad+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”

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 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.

  1. Preserve operator order from the start; do not rearrange factors unless a commutation relation justifies it.
  2. For unbounded operators, declare a common invariant domain before expanding products.
  3. Use bilinearity to separate sums and scalar factors.
  4. Use the product rule to reduce composite operators to known basic commutators.
  5. Exploit central commutators early; if [A,B][A,B] is proportional to II, nested commutators often terminate.
  6. Check dimensions and Hermiticity. For Hermitian AA and BB, [A,B][A,B] must be anti-Hermitian.
  7. Distinguish an operator identity from its action or expectation in one state.
  8. Test the result in a convenient representation when possible.
  • Treating ABAB and BABA as interchangeable because ordinary numbers commute.
  • Reading [A,B][A,B] as a scalar “amount” without choosing a norm or state.
  • Concluding [A,B]=0[A,B]=0 from one vanishing expectation value.
  • Assuming noncommuting operators cannot share any eigenvector; they may share some without possessing a complete common basis.
  • Treating ABAB as the universal probability rule for measuring BB then AA.
  • Forgetting that the commutator of Hermitian operators is anti-Hermitian.
  • Dropping the factors of ii or ℏ\hbar in generator and dynamics formulas.
  • Using [A,Bn]=n[A,B]Bn−1[A,B^n]=n[A,B]B^{n-1} without checking that [A,B][A,B] commutes with BB.
  • Assuming eA+B=eAeBe^{A+B}=e^Ae^B when [A,B]≠0[A,B]\ne0.
  • Ignoring domains for position, momentum, Hamiltonians, and other unbounded operators.
  • Seeking exact finite matrices satisfying [X,P]=iℏI[X,P]=i\hbar I.

This page owns the physical interpretation and central uses of the commutator. Nearby pages own specialized developments:

  • The commutator [A,B]=AB−BA[A,B]=AB-BA is the operator difference between two orderings.
  • Operator vanishing, vanishing on one state, and a vanishing expectation value are different statements.
  • For Hermitian AA and BB, the commutator is anti-Hermitian and its expectation value is purely imaginary.
  • In an AA eigenbasis, [A,B]mn=(am−an)Bmn[A,B]_{mn}=(a_m-a_n)B_{mn}, so commutation means that BB preserves eigenspaces of AA.
  • Product rules make ad⁡A(B)=[A,B]\operatorname{ad}_A(B)=[A,B] a derivation, while the Jacobi identity gives a Lie bracket.
  • Commutators test sharp-observable compatibility and enter uncertainty bounds, but sequential measurement probabilities require projectors and instruments.
  • Commutators with generators control infinitesimal transformations; commutators with the Hamiltonian control time evolution.
  • The trace of every finite matrix commutator vanishes, forbidding exact finite-dimensional canonical commutation relations.
  • Unbounded operators require explicit domain control, and a formal vanishing commutator is weaker than strong spectral commutativity.
  • P. A. M. Dirac, The Principles of Quantum Mechanics, 4th ed., Oxford University Press, 1958.
  • J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
  • A. Messiah, Quantum Mechanics, Dover, 1999.
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
  • C. Cohen-Tannoudji, B. Diu, and F. Laloë, Quantum Mechanics, Wiley, 1977.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, rev. ed., Academic Press, 1980.

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) \\ &\quad+(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} \\ &\quad+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 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}

and assume [x,p]=iℏI[x,p]=i\hbar I. Use the conjugation series to compute U†(a)xU(a)U^{\dagger}(a)xU(a).

Solution

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.

Given

[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).