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?
Let $\pi(x):=x^p+x^{p-1}+\dots+x+1$; as the roots of $\pi(x)(x-1)=x^{p+1}-1$ are the $(p+1)$-th roots of unity with $(p+1)$ odd ; we know that set apart $x=1$, as $x=-1$ cannot be a root in this case, all its roots, i.e., all the roots of $\pi(x)$, are non real. Thus, the curve $y=\pi(x)$ doesn't intersect the $x$ axis ; thus, as $p(0)=1>0$, this curve remains above the $x$-axis, meaning that all values of $\pi(x)$ are $>0.$
Let $Q_X=X^p+X^{p-1}+\dots+X+I_p.$
Writing $X=PDP^{-1}$ with $D$ diagonal matrix of eigenvalues, we have:
$$Q_X=PD^pP^{-1}+PD^{p-1}P^{-1}+\dots+PDP^{-1}+PIP^{-1}=P\underbrace{(D^p+D^{p-1}+\dots+D+I)}_R P^{-1}.$$
Thus
$$\tag{1}det(Q_X)=\det(R)=\prod_{k=1}^p \pi(\lambda_k).$$
Whence $\det(Q_X)>0$ because of the positivity of polynomial $\pi(x)$ established above.