A pair of commuting operators that are Hermitian can have a common complete set of eigenfunctions.

Let
and
be two different operators, with observables
and
respectively.
=\hat{O}_1(\Omega_2\psi)=\Omega_2\hat{O}_1\psi=\Omega_2\Omega_1\psi)
=\hat{O}_2(\Omega_1\psi)=\Omega_1\hat{O}_2\psi=\Omega_1\Omega_2\psi)
So,
. If this is so, we say that the two operators commute. The short notation for
is
, where in the case of two commuting operators,
.
When the effect of two operators depends on their order, we say that they do not commute, i.e.
. If this is the case, we say that the observables
and
are complementary.
One important concept in quantum mechanics is that we can select a common complete set of eigenfunctions for a pair of commuting Hermitian operators. The proof is as follows:
Let
and
be the complete sets of eigenfunctions of
and
respectively, such that
and
. If the two operators have a common complete set of eigenfunctions, we can express
as a linear combination of
:

For example, the eigenfunction is:

Since some of the eigenfunctions
may describe degenerate states (i.e. some
are associated with the same eigenvalue
), we can rewrite
as:
&space;b_i\rangle\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;7)
where
and
represents distinct eigenvalues of the complete set of eigenfunctions of
.
For example, if the linear combination of
in eq6 has
and
describing the same eigenstate with eigenvalue
, and
and
describing another common eigenstate with eigenvalue
,
&space;b_1\rangle+\vert(a_1)&space;b_2\rangle+\vert(a_1)&space;b_3\rangle+\cdots+\vert(a_1)&space;b_j\rangle)
where
,
,
and so on.
In other words, eq7 is a sum of eigenfunctions with distinct eigenvalues of
. Since a linear combination of eigenfunctions describing a degenerate eigenstate is an eigenfunction of
, we have
b_i\rangle=b_i\vert(a_n)b_i\rangle\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;8)
i.e.
is an eigenfunction of
. Furthermore, the set
is complete, which is deduced from eq7, where the set
is complete.
From
, we have:
\vert&space;a_n\rangle=0)
Substituting eq7 in the above equation, we have
\vert&space;a_n\rangle=\sum_{i=1}^{j}(\hat{A}-a_n)&space;\vert&space;(a_n)b_i\rangle=0\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;9)
By operating on the 1st term of the summation in the above equation with
, and using the fact that
commute with
,
\vert&space;(a_n)b_1\rangle=(\hat{A}-a_n)\hat{B}&space;\vert&space;(a_n)b_1\rangle\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;10)
Substituting eq8, where
in the above equation,
\vert&space;(a_n)b_1\rangle=b_1(\hat{A}-a_n)&space;\vert&space;(a_n)b_1\rangle\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;\;&space;11)
Repeating the operation of
on the remaining terms of the summation in eq9, we obtain equations similar to eq11 and we can write:
\vert&space;(a_n)b_i\rangle=b_i(\hat{A}-a_n)&space;\vert&space;(a_n)b_i\rangle)
i.e.
is an eigenfunction of
with distinct eigenvalues
. Since
is Hermitian and
are associated with distinct eigenvalues, the eigenfunctions
are orthogonal and therefore linearly independent. Consequently, each term in the summation in eq9 must be equal to zero:
\vert&space;(a_n)b_i\rangle=0\;&space;\;&space;\;&space;\Rightarrow&space;\;&space;\;&space;\;\hat{A}\vert&space;(a_n)b_i\rangle=a_n\vert&space;(a_n)b_i\rangle)
This implies that
, which is a complete set as mentioned earlier, is also an eigenfunction of
. Therefore, we can select a common complete set of eigenfunctions
for a pair of commuting Hermitian operators. Conversely, if two Hermitian operators do not commute, eq10 is no longer valid and we cannot select a common complete set of eigenfunctions for them.