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

The closure of {det > 0}

#determinant#singular value decomposition#closure#boundary

Statement

Let U={A∈Mn(R):det⁡A>0}U=\{A\in M_n(\mathbb{R}):\det A>0\}. Show that U‾={det⁡≥0}\overline U=\{\det\ge0\} and ∂U={det⁡=0}\partial U=\{\det=0\}.

Hint

Take a singular matrix AA, write it with a singular value decomposition A=PΣQTA=P\Sigma Q^T, and replace the zero singular values by small non-zero numbers. If the sign of the determinant is wrong, put a minus sign on one of them.

Show solutionHide solution

Solution

Idea. A small perturbation of a singular matrix is invertible, but its determinant could be negative; we must control the *sign*. The SVD makes the sign explicit.

Step 1: UU is open and U‾⊂{det⁡≥0}\overline U\subset\{\det\ge0\}. det⁡\det is continuous, so U=det⁡−1((0,∞))U=\det^{-1}((0,\infty)) is open and {det⁡≥0}=det⁡−1([0,∞))\{\det\ge0\}=\det^{-1}([0,\infty)) is closed. Since U⊂{det⁡≥0}U\subset\{\det\ge0\}, taking closures gives U‾⊂{det⁡≥0}\overline U\subset\{\det\ge0\}.

Step 2: every matrix with det⁡A>0\det A>0 is in UU; remains det⁡A=0\det A=0. Let det⁡A=0\det A=0. Write the SVD A=PΣQTA=P\Sigma Q^T with P,QP,Q orthogonal and Σ=diag⁡(σ1,…,σn)\Sigma=\operatorname{diag}(\sigma_1,\dots,\sigma_n), σi≥0\sigma_i\ge0. Since AA is singular, the set Z={i:σi=0}Z=\{i:\sigma_i=0\} is non-empty. Let δ=det⁡P⋅det⁡Q∈{±1}\delta=\det P\cdot\det Q\in\{\pm1\} and let i0∈Zi_0\in Z.

For ε>0\varepsilon>0 define Σε=diag⁡(σi(ε))\Sigma_\varepsilon=\operatorname{diag}(\sigma^{(\varepsilon)}_i) by
σi(ε)={σii∉Z,εi∈Z, i≠i0,δ εi=i0,\sigma^{(\varepsilon)}_i=\begin{cases}\sigma_i&i\notin Z,\\ \varepsilon&i\in Z,\ i\ne i_0,\\ \delta\,\varepsilon&i=i_0,\end{cases}
and Aε=PΣεQTA_\varepsilon=P\Sigma_\varepsilon Q^T.

Step 3: the sign. det⁡Aε=det⁡P det⁡Q det⁡Σε=δ⋅δ ε∣Z∣∏i∉Zσi=ε∣Z∣∏i∉Zσi>0\det A_\varepsilon=\det P\,\det Q\,\det\Sigma_\varepsilon=\delta\cdot\delta\,\varepsilon^{|Z|}\prod_{i\notin Z}\sigma_i=\varepsilon^{|Z|}\prod_{i\notin Z}\sigma_i>0 because δ2=1\delta^2=1. So Aε∈UA_\varepsilon\in U.

Step 4: closeness. Aε−A=P(Σε−Σ)QTA_\varepsilon-A=P(\Sigma_\varepsilon-\Sigma)Q^T and the operator norm is invariant under orthogonal multiplication, so ∥Aε−A∥=∥Σε−Σ∥=ε→0\|A_\varepsilon-A\|=\|\Sigma_\varepsilon-\Sigma\|=\varepsilon\to0. Therefore A∈U‾A\in\overline U.

Step 5: the boundary. UU is open so ∂U=U‾∖U={det⁡≥0}∖{det⁡>0}={det⁡=0}\partial U=\overline U\setminus U=\{\det\ge0\}\setminus\{\det>0\}=\{\det=0\}.

Numeric check. For A=(1000)A=\begin{pmatrix}1&0\\0&0\end{pmatrix} one may take P=IP=I, Q=IQ=I (δ=1\delta=1) and Aε=diag⁡(1,ε)A_\varepsilon=\operatorname{diag}(1,\varepsilon) with det⁡=ε>0\det=\varepsilon>0. For A=(0100)A=\begin{pmatrix}0&1\\0&0\end{pmatrix}, an SVD has δ=−1\delta=-1, and the sign flip is indeed needed.

Remark.
- Symmetrically {det⁡<0}‾={det⁡≤0}\overline{\{\det<0\}}=\{\det\le0\}, so {det⁡>0}\{\det>0\} and {det⁡<0}\{\det<0\} share the same boundary {det⁡=0}\{\det=0\}. Thus GLn(R)GL_n(\mathbb{R}) is cut by the singular matrices into two open pieces, the first hint at its two connected components (Part 5).
- The naive perturbation A+εIA+\varepsilon I may have negative determinant for both signs of ε\varepsilon: for A=diag⁡(1,−1,0,0)A=\operatorname{diag}(1,-1,0,0) one gets det⁡(A+εI)=ε2(1+ε)(ε−1)<0\det(A+\varepsilon I)=\varepsilon^2(1+\varepsilon)(\varepsilon-1)<0 for all small ε≠0\varepsilon\ne0. The SVD argument avoids this issue altogether.