Matrices with n distinct eigenvalues form an open set
Statement
Show that the set of real matrices having distinct (complex) eigenvalues is open in .
Hint
A polynomial has distinct roots iff its discriminant is non-zero. The discriminant of is a polynomial in the entries of .
Show solutionHide solution
Solution
Idea. "Distinct eigenvalues" is a non-vanishing condition for a polynomial expression in the entries, hence open.
Step 1: the discriminant. For a monic polynomial the discriminant (resultant, the determinant of the Sylvester matrix) is a polynomial in the coefficients , and iff has distinct roots in (equivalently ).
Step 2: it is polynomial in the entries. The coefficients of are polynomials in the entries (sums of principal minors, up to sign). Hence is a polynomial in the entries, thus continuous.
Step 3: conclusion. The set in question is
open as the preimage of an open set under a continuous map.
Example (). , and eigenvalues are distinct iff .
Remark.
- The complementary set (a repeated eigenvalue) is closed with empty interior (see the problem on repeated eigenvalues below), so *generic matrices have distinct eigenvalues* and are therefore diagonalisable over .
- Equivalent proof: roots of a polynomial depend continuously on its coefficients (Part 3), so distinct roots stay distinct under small perturbations.