Let $A$ be a real $n \times n$ symmetric matrix with distinct eigenvalues. Let $B$ be a real $n \times n$ matrix that commutes with $A$. Then show that the eigenvalues of $B$ are all real.
Akshit Bhardwaj, AIR 12, 2025
Given: $A = A^T$ & $AB = BA$
$\Rightarrow (AB)^T = (BA)^T$
$\Rightarrow B^TA^T = A^TB^T$
$B^TA = AB^T$