I'm trying to find conditions on the characteristic polynomial, $p$, of a matrix such that the pre-image of matrices with characteristic polynomial $p$ form a manifold.
More precisely, we can write down a map $\phi: \textrm{Mat}_n(\mathbb{R}) \to \mathbb{R}[x]$ given by $\phi(A) = \textrm{det}(xI-A)$ and so now the question reduces to finding $p \in \mathbb{R}[x]$ such that the derivative of $f$ evaluated at pre-images of $p$ is surjective.
Using the "Jacobi formula" for the derivative of a determinant, namely $T_Af(X) = \mathrm{det}(A)Tr(A^{-1}X)$ where $f(A) = \mathrm{det}(A)$, I think we can deduce that the determinant of $\phi$ is given by:
$$T_A(\phi)(X) = det(xI-A)tr((xI-A)^{-1}X)$$
This is where I first get in to trouble, how do we know in this case that $xI-A$ is even invertible? Surely this is only true in some finite interval (bounded by the norm of $A$)? Is this actually the correct formula for the derivative?
It also seems impossible to determine if this map is surjective or not? How can we understand which polynomials are hit by this map?
Edit: I've made some progress but am still struggling with this. Thanks to Qiaochu Yuan I'm now trying to show this when $p$ has distinct real roots.
To find the derivative we can write $\phi(A+tH) = det(xI - (A+tH))$ and attempt to evaluate $\frac{\phi(A+tH) - \phi(A)}{t}$ as $t \to 0$.
Now the numerator here gives:
$$x^n + ... - tr(A+tH)x + det(A+tH) - det(xI-A)$$
Expanding out the determinants:
$$x^n + ... - tr(A)x - t tr(H)x + det(A+tH) - x^n + ... + tr(A)x - det(A)$$
Now I'm left with the $x^n$ terms cancelling and the constant term will again just be the derivative of $det(A)$ which is $det(A)tr(A^{-1}H)$ and the $x$ term will be $-tr(H)$. The difficulty is, I have no idea what the $1<k<n-1$ terms should be, and these are the important ones because they describe the tangent space of the n monic polynomials!
Remember that if $\operatorname{adj}(A)$ is the adjugate of $A$ (the transpose of the cofactor matrix of $A$), then $A\operatorname{adj}(A) = \det(A)I$, so that if $A$ is invertible then $A^{-1} = \operatorname{adj}(A) / \det(A)$.
So here, $T_A(\phi)(X) = \det(xI-A)\operatorname{tr}((xI-A)^{-1}X) = \operatorname{tr}(\operatorname{adj}(xI-A)X)$. – mercio May 17 '16 at 17:43