Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2002/paper-1/5/ii/solution

Suppose and . Then
Because the eigenvalues of are distinct, the eigenspace for is one-dimensional. It follows that , including the possibility . Thus an orthonormal eigenbasis of is also an eigenbasis of . The simplicity of both spectra means their eigenvectors coincide as directions, up to ordering, phases and nonzero scalar multiples.
Conversely, if they share a complete eigenbasis, choose the unitary matrix whose columns are these common normalized eigenvectors. Then and are diagonal, so and . Hence
This is simultaneous diagonalization of the two Hermitian matrices.

New to topics? Read the docs here!