I am currently struggling on some linear algebra exercise. It says:
Proof that for any real $n \times n$-matrices $A,B$: $$\exists S\in GL_n(\mathbb C): SAS^{-1} =B \iff \exists T \in GL_n(\mathbb R): TAT^{-1}=B$$ Hint: Use the map $\phi :\mathbb C \to \mathbb C, z \mapsto \det(P+ zQ)$, while $S=P+iQ$ is the canonical decomposition into real- and imaginary part of $S$.
First i observed that the implication $"\implies"$ is rather trivial. So while thinking about the other direction i tried to use the hint. Since determinant is a polynomial function, the map $\phi$ is clearly continuous, hence defines a (compact) path from the real number $\det(P)$ to $\det(S)$. While the latter is $\neq 0$ i can find an environment of $i$, where $P+zQ$ is invertible, but what now? I still don't know how this matrix conjugates $A$ and the matrix is most likely not strictly real. I was thinking about using $P-Q$ instead because it kind of seemed possible to me, that the determinant could be equal to $\det (S)$. But even if that would be true i still don't know how this could lead the final result of "same conjugation". To be honest i don't understand the hint. This is some linear algebra class and i kind of doubt that they want us to use some analytic/approximation arguments with compactness, continuity etc.
I would be glad to hear any thoughts on this topic/any help so solve this exercise. Thanks in advance!