Common eigenvalues

Diagonalizable matrices case

Proposition
Two matrices which commute and are also diagonalizable are simultaneously diagonalizable, i.e there exists a common basis of eigenvectors, not necessarily with the same eigenvalues.
◼
The proof is particularly simple if at least one of the two matrices has distinct eigenvalues. The proof of both cases is in this video.

Proof
(Here)
Suppose that A and B are n×n matrices, with complex entries say, that commute.
Then we decompose Cn as a direct sum of eigenspaces of A, say
Cn=Eλ1⊕⋯⊕Eλm, where λ1,…,λm are the eigenvalues of A, and Eλi is the eigenspace for λi.
(Here m≤n, but some eigenspaces could be of dimension bigger than one, so we need not have m=n.)

Now one sees that since B commutes with A, B preserves each of the Eλi:
If $A v = \lambda_i v, $ then A(Bv)=(AB)v=(BA)v=B(Av)=B(λiv)=λiBv.

Now we consider B restricted to each Eλi separately, and decompose
each Eλi into a sum of eigenspaces for B. Putting all these decompositions together, we get a decomposition of Cn into a direct sum of spaces, each of which is a simultaneous eigenspace for A and B.
◼

General case, including operators

Proposition
If two operators commute, they share a common eigenvector.
◼
Proof
Check it here for matrices.
See this video for operators.
◼