2.6 Commutators

We have seen that we some operators it matters which order we apply them in. For example, if we apply x^ then p^, we may get a different result to if we apply p^ then x^. We can measure the degree to which two operators fail to commute using a simple expression called the commutator, denoted with square brackets.

Definition 2.3.

The commutator of two operators A^ and B^ is defined as

[A^,B^]=A^B^B^A^. (2.120)

If [A^,B^]=0, then A^ and B^ commute, that is changing their order of application does not change the result.

Example 2.2.

What is the commutator of position x^=x and momentum p^=ix?

To calculate this commutator, we need to act it on an arbitrary state |ψ as if it was an operator, since p^ contains a derivative.

[x^,p^]|ψ =x^p^|ψp^x^|ψ (2.121)
=x(ix)|ψ(ix)(x|ψ) (2.122)
=ix|ψx+ix(x|ψ) (2.123)
=ix|ψx+ix|ψ+i|ψ (2.124)
=i|ψ. (2.125)

This implies that

[x^,p^]=i, (2.126)

so x^ and p^ do not commute.

Going back to products of two operators briefly, when is the product of two Hermitian operators itself Hermitian? In section 2.5.1, we showed that

(A^B^)=B^A^. (2.127)

Where A^ and B^ are Hermitian, we have

(A^B^) =B^A^ (2.128)
=B^A^A^B^+A^B^ (2.129)
=A^B^[A^,B^]. (2.130)

So the product of two Hermitian operators is Hermitian only if they commute, i.e. [A^,B^]=0.

Note that for two general operators that do not commute, we can switch their order in an expression by introducing the commutator:

A^B^ =A^B^B^A^+B^A^ (2.131)
=B^A^+[A^,B^]. (2.132)

Also, we have for any commutator that

[A^,B^]=A^B^B^A^=(B^A^A^B^)=[B^,A^], (2.133)

so all commutators are antisymmetric.

You might think that two operators commuting is handy for manipulating expressions with products of operators but not much use beyond that, but actually the value of a the commutator has important implications for measurements. In particular, we can show that two observables commuting is equivalent to them sharing a common basis of eigenfunctions. This means that the two observables can be “measured simultaneously”, which means that we can know exactly which state the particle is in with respect to both observables at the same time.

Let A^ and B^ be Hermitian operators which commute.

[A^,B^]=0. (2.134)

Suppose the kets |i are the basis of A^ with eigenvalues Ai.

A^|i=Ai|ii. (2.135)

Then because the commutator is zero, the order of application does not matter and we have

A^(B^|i)=B^(A^|i)=B^(Ai|i)=Ai(B^|i). (2.136)

Note that the parentheses are not strictly necessary, they are just there for clarity. The first and last parts taken together are an eigenvalue equation. If each eigenstate |i has a distinct eigenvalue, then this implies that B^|i is a scalar multiple of |i. This further implies that |i is an eigenstate of B^, and so we have shown that A^ and B^ share an eigenbasis.

Conversely, suppose that we don’t know what [A^,B^] is but we do know that A^ and B^ share an eigenbasis. So A^|i=Ai|i and B^|i=Bi|i for all values of i. Then we have that

[A^,B^]|i =A^(B^|i)B^(A^|i) (2.137)
=BiA^|iAiB^|i (2.138)
=BiAi|iAiBi|i (2.139)
=0, (2.140)

for all i, hence [A^,B^] must be zero A^ commutes with B^.

Being able to measure two observables simultaneously makes a bit more sense now. Suppose we measure A^ first, then if the particle is not in an eigenstate of A^ already then it will collapse into one. Then, when we measure B^, the particle is already in an eigenstate of B^ and so we will get that eigenvalue and the particle will still be in the state we measured for A^. This would not be the case if A^ and B^ did not commute. Then upon measuring B^, the particle would be in a superposition state with respect to A^ and we would no longer know its state with respect to A^ for certain.

As we stated in section 2.4.4, observables which do not share a set of eigenfunctions, i.e. do not commute, are called incompatible observables. The most famous set of incompatible observables is certainly position and momentum. As we saw in example 2.2, position and momentum do not commute, meaning there do not exist simultaneous eigenfunctions of x^ and p^. There are therefore no quantum states with definite values of both position and momentum.

2.6.1 Uncertainty from Incompatibility

The fact that observables which do not commmute do not share eigenfunctions is directly responsible for the uncertainty principle. It can be shown that for two observables A^ and B^, the product of their uncertainties obeys the relation:

ΔAΔB12|[A^,B^]|. (2.141)

This is known as the general uncertainty relation. The right hand side means we find the commutator of A^ and B^, then calculate the expectation value of the result, then take the modulus of that.

Example 2.3.

Prove the famous Heisenberg uncertainty relation 1.48:

ΔxΔp2. (2.142)

Putting x^ and p^ into equation 2.141 and using 2.126 gives

ΔxΔp 12|[x^,p^]| (2.143)
12|i| (2.144)
=12|i| (2.145)
=2. (2.146)