In one of my exams I'm asked to prove the following
Suppose $A,B\in \mathbb R^{n\times n}$, and $AB=BA$, then $A,B$ share the same eigenvectors.
My attempt is let $\xi$ be an eigenvector corresponding to $\lambda$ of $A$, then $A\xi=\lambda\xi$, then I want to show $\xi$ is also some eigenvector of $B$ but I get stuck.
Best Answer
The answer is in the book Linear Algebra and its Application by Gilbert Strang. I'll just write down what he said in the book.
There's another proof using diagonalization in the book.