← Exercise library← All exercises for this theme
Theme 2 — Hilbert Spaces and Dirac Notation

Commutation and common eigenvectors in two dimensions

Keywords: commutator · common eigenvectors · nondegenerate spectrum · compatible observables · incompatible observables · Pauli matrices

Exercise 1 : Commutation and common eigenvectors in two dimensions

We work in C2\C^2, with the Pauli matrices

σx=(0110),σz=(100−1).\begin{aligned} \sigma_x=\begin{pmatrix}0&1\\1&0\end{pmatrix},\qquad \sigma_z=\begin{pmatrix}1&0\\0&-1\end{pmatrix}. \end{aligned}
Question 1
Determine all 2×22\times2 matrices that commute with σz\sigma_z. Answer the same question for σx\sigma_x.

Solution
Write M=(pqrs)M=\begin{pmatrix}p&q\\r&s\end{pmatrix}. We calculate

σzM=(pq−r−s),Mσz=(p−qr−s).\begin{aligned} \sigma_zM=\begin{pmatrix}p&q\\-r&-s\end{pmatrix},\qquad M\sigma_z=\begin{pmatrix}p&-q\\r&-s\end{pmatrix}. \end{aligned}

Equality requires q=−qq=-q and r=−rr=-r, hence q=r=0q=r=0: the matrices that commute with σz\sigma_z are the diagonal matrices. Similarly,

σxM=(rspq),Mσx=(qpsr),\begin{aligned} \sigma_xM=\begin{pmatrix}r&s\\p&q\end{pmatrix},\qquad M\sigma_x=\begin{pmatrix}q&p\\s&r\end{pmatrix}, \end{aligned}

and equality requires r=qr=q and s=ps=p: the matrices that commute with σx\sigma_x have the form (pqqp)=p 1+q σx\begin{pmatrix}p&q\\q&p\end{pmatrix}=p\,\mathbf{1}+q\,\sigma_x. In both cases, they are the linear combinations of the identity and the matrix itself.

Question 2
Let A^\hat A be a self-adjoint operator on an nn-dimensional space, whose nn eigenvalues a1,...,ana_1,...,a_n are distinct, with eigenvectors ∣ai⟩\ket{a_i}. Show that every operator B^\hat B that commutes with A^\hat A is diagonal in the basis (∣ai⟩)(\ket{a_i}).

Solution
Apply A^\hat A to the vector B^∣ai⟩\hat B\ket{a_i}, using A^B^=B^A^\hat A\hat B=\hat B\hat A:

A^(B^∣ai⟩)=B^A^∣ai⟩=ai B^∣ai⟩.\hat A\bigl(\hat B\ket{a_i}\bigr)=\hat B\hat A\ket{a_i}=a_i\,\hat B\ket{a_i}.

The vector B^∣ai⟩\hat B\ket{a_i} is therefore either zero or an eigenvector of A^\hat A with eigenvalue aia_i. In either case, it belongs to the eigenspace associated with aia_i, which is the line spanned by ∣ai⟩\ket{a_i} because the eigenvalue is simple. There is therefore a number bib_i such that B^∣ai⟩=bi∣ai⟩\hat B\ket{a_i}=b_i\ket{a_i}: each ∣ai⟩\ket{a_i} is also an eigenvector of B^\hat B, and the matrix of B^\hat B in this basis is diagonal. This is what we found in the first question: σz\sigma_z has two distinct eigenvalues, and the matrices that commute with it are diagonal in its eigenbasis.

Question 3
Calculate [σx,σz][\sigma_x,\sigma_z]. Do the matrices σx\sigma_x and σz\sigma_z have a common eigenvector? What is the consequence for successive measurements of these two observables?

Solution
We have σxσz=(0−110)\sigma_x\sigma_z=\begin{pmatrix}0&-1\\1&0\end{pmatrix} and σzσx=(01−10)\sigma_z\sigma_x=\begin{pmatrix}0&1\\-1&0\end{pmatrix}, hence [σx,σz]=(0−220)=−2iσy≠0[\sigma_x,\sigma_z]=\begin{pmatrix}0&-2\\2&0\end{pmatrix}=-2i\sigma_y\neq0. The eigenvectors of σz\sigma_z are, up to a factor, the basis vectors (1,0)(1,0) and (0,1)(0,1), since its two eigenvalues are distinct. But σx(1,0)=(0,1)\sigma_x(1,0)=(0,1) and σx(0,1)=(1,0)\sigma_x(0,1)=(1,0): neither is an eigenvector of σx\sigma_x. There is therefore no common eigenvector. Physically, there is no state in which both observables simultaneously have a definite value: after a measurement of σz\sigma_z, the state is an eigenvector of σz\sigma_z, and a measurement of σx\sigma_x then gives either result with probability 1/21/2. These are incompatible observables, like the zz and xx components of spin in the Stern—Gerlach experiment.

Question 4
Does the result of the second question remain true if A^\hat A has a degenerate eigenvalue? Discuss the example A^=1\hat A=\mathbf{1} and B^=σx\hat B=\sigma_x.

Solution
No. The identity commutes with every matrix, in particular with σx\sigma_x. Every vector is an eigenvector of 1\mathbf{1}, and the canonical basis (1,0)(1,0), (0,1)(0,1) is therefore an eigenbasis of A^\hat A; but σx\sigma_x is not diagonal in this basis. When A^\hat A has a degenerate eigenvalue, the argument of the second question shows only that B^\hat B leaves each eigenspace of A^\hat A invariant, without necessarily being diagonal in an arbitrary eigenbasis of A^\hat A. There is nevertheless an eigenbasis of A^\hat A in which B^\hat B is diagonal: here, the basis 12(1,±1)\frac{1}{\sqrt2}(1,\pm1) of eigenvectors of σx\sigma_x. This is the simultaneous diagonalisation theorem, studied in the next exercise.