Maths WorkshopMaths problems with full solutions
Exercise 2042Topology › Topology of Mn(ℝ) › Open, closed, interior, boundaryM1Added 7 Nov 2026

The interior of the real-diagonalisable matrices

#diagonalisable#interior#distinct eigenvalues#Jordan blocks

Statement

Let DR\mathcal D_{\mathbb{R}} be the set of R\mathbb{R}-diagonalisable matrices. Show that
int⁡DR={A:A has n distinct real eigenvalues}.\operatorname{int}\mathcal D_{\mathbb{R}}=\{A:A\text{ has }n\text{ distinct real eigenvalues}\}.

Hint

Distinct real eigenvalues is an open condition (use sign changes of the characteristic polynomial). If an eigenvalue is repeated, add a small nilpotent term inside its eigenspace to create a Jordan block.

Show solutionHide solution

Solution

Idea. (⊃\supset) simple real eigenvalues persist under perturbation. (⊂\subset) a diagonalisable matrix with a repeated eigenvalue can be perturbed into a non-diagonalisable one.

Let S\mathcal S be the set of matrices with nn distinct real eigenvalues. Matrices in S\mathcal S are diagonalisable, so S⊂DR\mathcal S\subset\mathcal D_{\mathbb{R}}.

Step 1: S\mathcal S is open. Let A∈SA\in\mathcal S with eigenvalues r1<⋯<rnr_1<\dots<r_n. Choose reals s0<r1<s1<r2<⋯<rn<sns_0<r_1<s_1<r_2<\dots<r_n<s_n. The values χA(s0),…,χA(sn)\chi_A(s_0),\dots,\chi_A(s_n) are non-zero and alternate in sign (a monic polynomial with simple roots changes sign at each root). Each B↦χB(si)B\mapsto\chi_B(s_i) is continuous, so for BB close to AA the signs are the same. By the intermediate value theorem χB\chi_B has a root in each interval (si−1,si)(s_{i-1},s_i), giving nn distinct real roots; as deg⁡χB=n\deg\chi_B=n, these are all of them. So B∈SB\in\mathcal S. Hence S⊂int⁡DR\mathcal S\subset\operatorname{int}\mathcal D_{\mathbb{R}}.

Step 2: a diagonalisable matrix with a repeated eigenvalue is not interior. Let A∈DRA\in\mathcal D_{\mathbb{R}} with A=PDP−1A=PDP^{-1}, D=diag⁡(d1,…,dn)D=\operatorname{diag}(d_1,\dots,d_n), and suppose some value dd occurs m≥2m\ge2 times; reorder so that d1=d2=dd_1=d_2=d. Put
Aε=P(D+εE12)P−1.A_\varepsilon=P(D+\varepsilon E_{12})P^{-1}.
Then Aε→AA_\varepsilon\to A as ε→0\varepsilon\to0 (conjugation is continuous). We show AεA_\varepsilon is not diagonalisable. Let M=D+εE12M=D+\varepsilon E_{12}, so Aε=PMP−1A_\varepsilon=PMP^{-1}. The matrix MM is upper triangular (the extra entry lies above the diagonal) with diagonal d1,…,dnd_1,\dots,d_n, so χM=∏(t−di)\chi_M=\prod(t-d_i) and the eigenvalue dd has algebraic multiplicity mm. The geometric multiplicity is n−rank⁡(M−dI)n-\operatorname{rank}(M-dI). We have rank⁡(D−dI)=n−m\operatorname{rank}(D-dI)=n-m (it has n−mn-m non-zero diagonal entries), and M−dI=(D−dI)+εE12M-dI=(D-dI)+\varepsilon E_{12} where column 22 of D−dID-dI is zero (as d2=dd_2=d) and the new entry ε\varepsilon lies in column 22 and in row 11, a row where D−dID-dI is zero. So the rank increases by 11: rank⁡(M−dI)=n−m+1\operatorname{rank}(M-dI)=n-m+1 and the geometric multiplicity is m−1<mm-1<m. Hence MM, and therefore AεA_\varepsilon, is not diagonalisable.

So A∉int⁡DRA\notin\operatorname{int}\mathcal D_{\mathbb{R}}.

Step 3: conclusion. If A∈int⁡DRA\in\operatorname{int}\mathcal D_{\mathbb{R}} then A∈DRA\in\mathcal D_{\mathbb{R}} has all eigenvalues real, and by Step 2 no repeated eigenvalue, so A∈SA\in\mathcal S. Together with Step 1, int⁡DR=S\operatorname{int}\mathcal D_{\mathbb{R}}=\mathcal S.

Numeric check. D=diag⁡(2,2,2,5)D=\operatorname{diag}(2,2,2,5), M=D+0.1E12M=D+0.1E_{12}: rank⁡(M−2I)=2=n−m+1\operatorname{rank}(M-2I)=2=n-m+1 with n=4n=4, m=3m=3.

Remark.
- Combined with the problem on closures (next), we see DR\mathcal D_{\mathbb{R}} is "squeezed" between an open set S\mathcal S and a closed set DR‾⊋S\overline{\mathcal D_{\mathbb{R}}}\supsetneq\mathcal S.
- Over C\mathbb{C} the analogous interior is the set of matrices with nn distinct complex eigenvalues.