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

Orthogonal projections: compact with empty interior in Sym_n

#projections#compactness#symmetric matrices#nowhere dense

Statement

Show that the set P\mathcal P of orthogonal projections (P=PT=P2P=P^T=P^2) is compact, and that it has empty interior in Symn\mathrm{Sym}_n.

Hint

Eigenvalues of a projection are 00 and 11, so ∥P∥≤1\|P\|\le1. For the interior, scale PP slightly.

Show solutionHide solution

Solution

Idea. The defining equations make P\mathcal P closed; boundedness comes from the norm of a projection. For the empty interior one finds symmetric matrices arbitrarily near PP whose eigenvalues are not in {0,1}\{0,1\}.

Step 1: closed. P={P:PT−P=0}∩{P:P2−P=0}\mathcal P=\{P:P^T-P=0\}\cap\{P:P^2-P=0\}, an intersection of zero sets of continuous maps.

Step 2: bounded. If P=PT=P2P=P^T=P^2 and ∣x∣=1|x|=1, then
∣Px∣2=xTPTPx=xTP2x=xTPx=⟨Px,x⟩≤∣Px∣∣x∣,|Px|^2=x^TP^TPx=x^TP^2x=x^TPx=\langle Px,x\rangle\le|Px||x|,
so ∣Px∣≤1|Px|\le1. Thus ∥P∥≤1\|P\|\le1 and P\mathcal P lies in the closed ball of radius 11.

Step 3: compact. By the Heine-Borel theorem in Mn(R)≅Rn2M_n(\mathbb{R})\cong\mathbb{R}^{n^2}, a closed and bounded set is compact.

Step 4: empty interior in Symn\mathrm{Sym}_n. Let P∈PP\in\mathcal P and ε>0\varepsilon>0 small.
- If P≠0P\neq0: (1+ε)P(1+\varepsilon)P is symmetric, and PP has eigenvalue 11, so (1+ε)P(1+\varepsilon)P has eigenvalue 1+ε∉{0,1}1+\varepsilon\notin\{0,1\}. A projection has all eigenvalues in {0,1}\{0,1\} (from P2=PP^2=P), so (1+ε)P∉P(1+\varepsilon)P\notin\mathcal P.
- If P=0P=0: εI\varepsilon I is symmetric, has eigenvalue ε∉{0,1}\varepsilon\notin\{0,1\}, so is not a projection.
In both cases there are symmetric matrices at distance ε∥P∥\varepsilon\|P\| (resp. ε\varepsilon) from PP outside P\mathcal P. So PP is not an interior point (relative to Symn\mathrm{Sym}_n).

Remark.
- P\mathcal P is the disjoint union ⨆r=0nPr\bigsqcup_{r=0}^n\mathcal P_r where Pr\mathcal P_r is the set of rank-rr projections, each compact and connected (a Grassmannian). So P\mathcal P has n+1n+1 connected components, and the trace tr⁡P=rank⁡P\operatorname{tr}P=\operatorname{rank}P is locally constant on it.
- For n=1n=1, P={0,1}⊂R\mathcal P=\{0,1\}\subset\mathbb{R}, which is finite and nowhere dense.