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

Closed or open? Three classical subspaces

#subspaces#symmetric matrices#trace#triangular matrices

Statement

Let n≥2n\ge2. Which of these sets are closed, open, or neither in Mn(R)M_n(\mathbb{R}): the symmetric matrices, the trace-zero matrices, the upper triangular matrices?

Hint

Each is a linear subspace. Is it a proper subspace? (Give a matrix outside each one.) Then apply the previous problem.

Show solutionHide solution

Solution

Idea. Show each set is a *proper* linear subspace; then the previous problem says it is closed with empty interior, in particular not open.

Step 1: they are subspaces.
- Symn={A:AT=A}\mathrm{Sym}_n=\{A:A^T=A\} is the kernel of the linear map A↦AT−AA\mapsto A^T-A.
- {tr⁡A=0}\{\operatorname{tr}A=0\} is the kernel of the linear form tr⁡\operatorname{tr}.
- Upper triangular matrices are those with aij=0a_{ij}=0 for i>ji>j: the common kernel of the coordinate functionals A↦aijA\mapsto a_{ij} with i>ji>j.

Step 2: they are proper (here n≥2n\ge2 is used).
- E12=(0100)⊕0E_{12}=\begin{pmatrix}0&1\\0&0\end{pmatrix}\oplus0 is not symmetric (its transpose is E21≠E12E_{21}\ne E_{12}).
- InI_n has trace n≠0n\neq0.
- E21E_{21} is not upper triangular.

Step 3: conclusion. By the previous problem each of the three sets is closed, has empty interior, and is therefore not open (a non-empty open set has non-empty interior; each set contains 00, so it is non-empty).

Remark.
- For n=1n=1 the situation is different: M1(R)=RM_1(\mathbb{R})=\mathbb{R}, symmetric and upper triangular matrices are *everything* (hence open and closed), while {tr⁡=0}={0}\{\operatorname{tr}=0\}=\{0\} is closed and not open.
- Dimensions: dim⁡Symn=n(n+1)2\dim\mathrm{Sym}_n=\frac{n(n+1)}2, dim⁡{tr⁡=0}=n2−1\dim\{\operatorname{tr}=0\}=n^2-1, dim⁡{upper triangular}=n(n+1)2\dim\{\text{upper triangular}\}=\frac{n(n+1)}2, all <n2<n^2.