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

Matrices with a real eigenvalue: closed set, interior for n = 2

#real eigenvalues#closed sets#discriminant#2x2 matrices

Statement

Let R\mathcal R be the set of real n×nn\times n matrices having at least one real eigenvalue. Show that R\mathcal R is closed. For n=2n=2, find its interior.

Hint

A real eigenvalue is bounded by the norm, so a sequence of eigenvalues has a convergent subsequence. For n=2n=2, A∈RA\in\mathcal R iff (tr⁡A)2−4det⁡A≥0(\operatorname{tr}A)^2-4\det A\ge0.

Show solutionHide solution

Solution

Idea. Closedness is a compactness argument (eigenvalues cannot escape to infinity). For n=2n=2 the condition becomes a single inequality on (tr⁡,det⁡)(\operatorname{tr},\det).

Step 1: R\mathcal R is closed. Let Ak→AA_k\to A with Ak∈RA_k\in\mathcal R and real eigenvalues λk\lambda_k. If Akv=λkvA_kv=\lambda_kv with ∣v∣=1|v|=1, then ∣λk∣≤∥Ak∥|\lambda_k|\le\|A_k\|. As (Ak)(A_k) converges, ∥Ak∥\|A_k\| is bounded, so (λk)(\lambda_k) is bounded and has a convergent subsequence λkj→λ∈R\lambda_{k_j}\to\lambda\in\mathbb{R}. By continuity of det⁡\det,
det⁡(A−λI)=lim⁡jdet⁡(Akj−λkjI)=0,\det(A-\lambda I)=\lim_j\det(A_{k_j}-\lambda_{k_j}I)=0,
so λ\lambda is a real eigenvalue of AA and A∈RA\in\mathcal R.

Step 2: the case n=2n=2. The characteristic polynomial is t2−(tr⁡A)t+det⁡At^2-(\operatorname{tr}A)t+\det A, with discriminant Δ(A)=(tr⁡A)2−4det⁡A\Delta(A)=(\operatorname{tr}A)^2-4\det A. It has a real root iff Δ≥0\Delta\ge0:
R={Δ≥0}.\mathcal R=\{\Delta\ge0\}.

Step 3: interior. We claim int⁡R={Δ>0}\operatorname{int}\mathcal R=\{\Delta>0\}.
- {Δ>0}\{\Delta>0\} is open (as Δ\Delta is continuous) and contained in R\mathcal R.
- Let Δ(A)=0\Delta(A)=0 with A=(abcd)A=\begin{pmatrix}a&b\\c&d\end{pmatrix} and let J=(0−110)J=\begin{pmatrix}0&-1\\1&0\end{pmatrix}. Then A+εJ=(ab−εc+εd)A+\varepsilon J=\begin{pmatrix}a&b-\varepsilon\\c+\varepsilon&d\end{pmatrix} has the same trace and det⁡(A+εJ)=det⁡A−ε(b−c)+ε2\det(A+\varepsilon J)=\det A-\varepsilon(b-c)+\varepsilon^2, so
Δ(A+εJ)=Δ(A)+4ε(b−c)−4ε2=4ε(b−c)−4ε2.\Delta(A+\varepsilon J)=\Delta(A)+4\varepsilon(b-c)-4\varepsilon^2=4\varepsilon(b-c)-4\varepsilon^2.
If b=cb=c this is −4ε2<0-4\varepsilon^2<0 for any ε≠0\varepsilon\neq0; if b≠cb\neq c choose the sign of ε\varepsilon so that ε(b−c)<0\varepsilon(b-c)<0. In both cases Δ(A+εJ)<0\Delta(A+\varepsilon J)<0 for small ε≠0\varepsilon\ne0, so A+εJ∉RA+\varepsilon J\notin\mathcal R and A∉int⁡RA\notin\operatorname{int}\mathcal R.

Check. A=(1101)A=\begin{pmatrix}1&1\\0&1\end{pmatrix} (Δ=0\Delta=0). For ε=−0.01\varepsilon=-0.01 the eigenvalues of A+εJA+\varepsilon J are 1±0.1005 i1\pm0.1005\,i (non-real), while for ε=+0.01\varepsilon=+0.01 they are 1±0.09951\pm0.0995 (real). So AA is a boundary point.

Remark.
- For odd nn the characteristic polynomial has odd degree, so every real matrix has a real eigenvalue and R=Mn(R)\mathcal R=M_n(\mathbb{R}) trivially.
- For n=2n=2 the boundary of R\mathcal R is {Δ=0}\{\Delta=0\}: matrices with a double real eigenvalue. These are the places where a pair of real eigenvalues collides and leaves the real line.