Let $A$ and $B$ be two matrices with the same set of eigenvectors, they are not supposed to be diagonalizable, how can I prove that $AB=BA$?
I guess this could be proved using some similitude argument, for example Jordan form. Thank you all for the help.
Hint: No, the set of upper triangular matrices is not commutative, for $n>1$.