Let $A$ and $B$ be two positive semidefinite $n \times n$ matrices. Does the following quadratic matrix equation have a solution in the set of real symmetric matrices?
$$XAX=B$$
It's a special case of the Riccati equation. I want just to prove the existence of such real matrix $X$.