eigenvalues of the sum of a diagonal matrix and a skew-symmetric matrix Suppose $A$ is a  skew-symmetric matrix (i.e., $A+A^{\top}=0$) and $D$ is a diagonal matrix. Under what conditions, $A+D$ is a Hurwitz stable matrix? 

For any $x\in\mathbb{R}^n$, $x^T(A+D)x=x^TDx$. If $x^T(A+D)x<0$ for all nonzero $x$, all eigenvalues of $A+D$ have negative real parts. Consequently, if the diagonal of $D$ is negative, $A+D$ is Hurwitz stable.

To see that for a real matrix $B$, $x^TBx<0$ for all nonzero $x$ implies the negativity of the real part of the spectrum of $B$, consider an eigenvalue $\lambda=\alpha+i\beta$ and the associated eigenvector $x=u+iv$, where $\alpha,\beta\in\mathbb{R}$ and $u,v\in\mathbb{R}^n$. We have
$$
Bx=\lambda x\quad\Leftrightarrow\quad B(u+iv)=(\alpha+i\beta)(u+iv)\quad\Leftrightarrow\quad Bu=\alpha u-\beta v, \quad Bv=\beta u+\alpha v.
$$
Hence
$$
u^TBu+v^TBv=\alpha u^Tu-\beta u^Tv+\beta v^Tu+\alpha v^Tv=\alpha (u^Tu+v^Tv)=\alpha\|x\|_2^2.
$$
Since $u^TBu+v^TBv$ is negative (at least one of the vectors $u$ or $v$ is nonzero), we have that $\alpha<0$.
