TITLE: Matrix polynomial
QUESTION [5 upvotes]: Let $p \in \mathbb{N}, p \geq 2$ even. Prove that $$\det(X^{p}+X^{p-1}+\dots+X+I)\geq 0$$
  for all invertible matrices $X$ with real entries.

The solution I found simply uses the fact that the polynomial $x^p+x^{p-1}+\dots+x+1$ doesn't have any real roots. Why is that enough?

REPLY [2 votes]: Case 1: X is diagonal
The determinant is equal to $\prod_i f(d_i)$ where $f$ is the polynomial in the question and $d_i$ are the diagonal entries.
Case 2: X is diagonalizable
In this case, f(X) is also diagonalizable, since $PX^kP^{-1}=(PXP^{-1})^k$, so the statement follows from case 1. 
Case 3: X is arbitrary
I claim the set of diagonalizable matrices is dense in the space of all matrices. From this, the statement follows from case 2. To establish the claim, let DM denote the space of diagonalizable matrices of a given size. Note that a matrix is diagonalizable if it has distinct eigenvalues, i.e., the roots of the characteristic polynomial $\phi_X(t)$ are distinct. This is the case exactly when $gcd(\phi_X, \phi'_X)=1$, which in turn is the case exactly when $Res(\phi_X, \phi'_X)\ne 0$, where $Res$ is a certain universal (i.e. doesn't depend on X) polynomial function of the coefficients of $\phi_X$ and $\phi_X'$, called the Resultant. Define the map $F$ by $F(X)=Res(\phi_X, \phi'_X)$. Summing up, we have $ F^{-1}(\mathbb{R}-\{0\})\subset DM$. Said another way, $DM^c\subset F^{-1}(0)$. But $F(X)$ is a polynomial function of the elements of $X$, which means that $F^{-1}(0)$ is Zariski-closed. Any nonempty Zariski-open set is Zariski dense, so in particular DM contains a Zariski-dense subset. Finally, $Det(X^p+...+I)$ is a polynomial function of the entries of $X$, thus continuous in the Zariski topology.