Remember that when you diagonalize a matrix B, the diagonal values of the resulting diagonalized matrix will be the eigenvalues of B, and that a matrix P such that is diagonal will have as it's columns the eigenvectors corresponding to those eigenvalues. Thus, we require that B have real eigenvectors. As our matrix is real, real eigenvalues are a necessary condition for real eigenvectors.

Note that gives .

This should point you in the right direction.

--Kevin C.