If $A,B$ are positive semidefinite matrices show that all eigen values of $AB$ are non-negative.
Since $A,B$ are positive semidefinite then $x^TAx,x^TBx\ge 0\forall x.$ Also all eigen values of both $A,B$ are non-negative.
How to show from here that $AB$ has all eigen values non-negative?
Please help.
Recall for any $n\times n$ matrices $X,Y$, the products $XY$ and $YX$ have same characteristic polynomial. i.e.
$$\det(\lambda I_n - XY) = \det(\lambda I_n - YX)$$ This means $XY$ and $YX$ share same set of eigenvalues (with same multiplicity).
Since $B$ is positive semi-definite, it has a positive semi-definite square root $\sqrt{B}$. A consequence of this is $AB = A\sqrt{B}^2$ and $\sqrt{B}A\sqrt{B}$ share same set of eigenvalues. Notice for any $x \in \mathbb{R}^n$, $$x^T \sqrt{B}A\sqrt{B} x = x^T \sqrt{B}^T A \sqrt{B} x = (\sqrt{B} x)^T A \sqrt{B}x \ge 0$$
This implies $\sqrt{B}A\sqrt{B}$ is positive semi-definite. As a result all eigenvalues of $\sqrt{B}A\sqrt{B}$ and hence all eigenvalues of $AB$ are non-negative.