In our last lesson, we explored the spectral theorem, which guarantees that every Hermitian operator possesses a complete orthonormal basis of eigenvectors. This decomposition is the cornerstone of how we represent physical observables in quantum mechanics. Today, we address a crucial question that follows directly from this: under what conditions can two different observables be measured simultaneously with arbitrary precision?
This question translates into a mathematical one: when can we find a single basis that simultaneously diagonalizes two distinct Hermitian operators? The answer lies at the heart of quantum compatibility and is the focus of this lesson. We will prove the fundamental theorem stating that two Hermitian operators can be simultaneously diagonalized if and only if they commute. This result is not just a mathematical curiosity; it forms the basis for understanding measurement, uncertainty, and how we uniquely label quantum states.
Commuting Operators and Common Eigenbases
The relationship between commuting operators and a shared eigenbasis is a two-way street. Let's first prove the more straightforward direction: if two operators have a common eigenbasis, they must commute.
Suppose operators and are simultaneously diagonalizable. This means there exists a complete orthonormal basis of vectors that are eigenvectors of both and :
where and are the corresponding eigenvalues.
To check if the operators commute, we can act their commutator, , on an arbitrary basis vector :
\begin{align*}
[A, B]|\psi_n\rangle &= (AB - BA)|\psi_n\rangle \
&= AB|\psi_n\rangle - BA|\psi_n\rangle \
&= A(b_n|\psi_n\rangle) - B(a_n|\psi_n\rangle) \
&= b_n(A|\psi_n\rangle) - a_n(B|\psi_n\rangle) \
&= b_n a_n |\psi_n\rangle - a_n b_n |\psi_n\rangle \
&= (a_n b_n - b_n a_n)|\psi_n\rangle = 0
\end{align*}
Since the commutator annihilates every vector in a complete basis, the operator itself must be the null operator. Therefore, .
The following video segment provides a clear summary of this part of the proof.
Compatible observables in quantum mechanics
The video "Compatible observables in quantum mechanics" demonstrates this direction of the proof with clear, step-by-step logic.
Watch the segment from proving the inverse, which shows how a common basis ket is used to prove that the commutator must be zero.
The Converse: Commutation Implies a Common Eigenbasis
Now we tackle the more intricate direction: if two Hermitian operators and commute, they possess a common eigenbasis. The proof strategy depends on whether the eigenvalues of the operators are degenerate.
The Non-Degenerate Case
Let's start with the simple case where the operator has a non-degenerate spectrum (all its eigenvalues are distinct). Let be an eigenvector of with eigenvalue :
Now, let's consider the vector and see how acts on it. Using the fact that , or :
This shows that the vector is also an eigenvector of with the same eigenvalue . Since we assumed the eigenvalue is non-degenerate, any eigenvector corresponding to it must be a scalar multiple of . Therefore,
for some scalar . This is precisely the eigenvalue equation for ! It shows that is also an eigenvector of . Since this holds for all eigenvectors of , the eigenbasis of is also an eigenbasis of .
The Degenerate Case
The situation becomes more interesting when has degenerate eigenvalues. Let be the eigenspace corresponding to a degenerate eigenvalue , with degeneracy . This means any vector satisfies .
From the argument above, we know that if , then the vector is also an eigenvector of with the same eigenvalue . This has a crucial implication: the eigenspace is an invariant subspace under the action of . That is, maps vectors from to other vectors within .
Because is a Hermitian operator on the full Hilbert space, its restriction to the subspace can be treated as a Hermitian operator on that -dimensional space. By the spectral theorem, this restricted operator can be diagonalized. This means we can find an orthonormal basis of vectors within the subspace that are eigenvectors of .
Let's call this basis for .
- Each is an eigenvector of by construction.
- Each is also an eigenvector of , because every vector in the space is an eigenvector of with eigenvalue .
By repeating this procedure for every eigenspace of , we can construct a complete orthonormal basis for the entire Hilbert space, where every basis vector is a simultaneous eigenvector of both and .
The following document from MIT OpenCourseWare provides a formal proof that walks through these steps with mathematical precision.
[PDF] On common eigenbases of commuting operators
This document rigorously proves that commuting Hermitian operators share a common eigenbasis.
Read the proof of Proposition 2 on page 3. The proof is broken down into the two cases we just discussed: The non-degenerate case, which is a concise version of the argument made above. The degenerate case, which formalizes the idea of diagonalizing the operator B within the degenerate eigenspace of A.
The Block-Diagonal Picture
The argument for the degenerate case has a very clear visual interpretation in terms of matrices. If we choose an eigenbasis of where we group the basis vectors according to their degenerate eigenvalues, the matrix for is diagonal.
Here, is the identity matrix for the eigenspace .
Because , the matrix for in this same basis must be block-diagonal, with blocks corresponding to the degenerate eigenspaces of .

The procedure of "diagonalizing within each eigenspace of " is equivalent to diagonalizing each of these smaller sub-matrices. A unitary transformation that diagonalizes a block only affects the basis vectors within that corresponding subspace. Since all vectors in that subspace are eigenvectors of with the same eigenvalue, this transformation leaves the diagonal form of unchanged. The result is a new basis where both and are fully diagonal.
The following video provides an excellent summary of this block-diagonal approach.
Compatible observables in quantum mechanics
This video offers a clear, visual explanation of the entire proof, with a particular focus on the degenerate case and the block-diagonal structure.
First, get a sketch of the proof, which introduces the idea of the block-diagonal matrix for operator B. Next, review the degenerate case. This section explains why commutation leads to the block-diagonal structure. Finally, see how these blocks are diagonalized to find the common basis.
Complete Set of Commuting Observables (CSCO)
This theorem has a profound physical consequence. If an observable has a degenerate spectrum, measuring the value is not sufficient to uniquely determine the state of the system, as there is a whole subspace of states with that eigenvalue.
To resolve this ambiguity, we need to perform another measurement of an observable that commutes with . If we are lucky, the eigenvalues of will be different for the different states within the degenerate eigenspace of . This "lifts the degeneracy." The pair of eigenvalues, , can now serve as a unique label for the state .
A set of commuting observables whose eigenvalues are sufficient to uniquely specify all basis states of a system is called a Complete Set of Commuting Observables (CSCO). The Hamiltonian , angular momentum operators and , and spin are classic examples from atomic physics that you've encountered. Their eigenvalues—the quantum numbers —form a CSCO for the electron in a hydrogen atom.
Quantum Physics II, Lecture Notes 5
This reading introduces the physical motivation and definition of a CSCO.
Please read the section "Complete Set of Commuting Observables" (p. 18-19), starting from the motivation for finding compatible observables to lift degeneracy, and continuing to the formal definition of a CSCO.
Conclusion
In this lesson, we have established one of the most crucial theorems in the formalism of quantum mechanics.
Key Takeaways:
- Two Hermitian operators and can be simultaneously diagonalized (i.e., they possess a common orthonormal eigenbasis) if and only if they commute, .
- Physically, this means that two observables are compatible—can be measured simultaneously to arbitrary precision—if and only if their corresponding operators commute.
- For an operator with a degenerate spectrum, we can use other commuting operators to lift the degeneracy. A set of such operators that uniquely labels all basis states is known as a Complete Set of Commuting Observables (CSCO).
We now have a clear criterion for when observables can and cannot be known simultaneously. In our next lesson, we will begin to explore the consequences for operators that famously do not commute, namely position () and momentum (). This will lead us to the celebrated Heisenberg uncertainty principle and the deep connection between the position and momentum representations, which are linked via the Fourier transform.