Maximizing the trace of product of matrices under fixed spectrum

73 Views Asked by At

Is it correct that under fixed spectrum, $\operatorname{tr}(AB)$ is maximized when $A$ and $B$ share the same eigenbasis? If yes, how can this be shown?