Maths WorkshopMaths problems with full solutions
Exercise 1434Topology › Topology of Mn(ℝ) › Continuity of matrix mapsL3Added 7 Nov 2026

The sign of the determinant under squaring

#squaring#determinant sign#open sets#GL_n^+

Statement

Show that GLn−={A:det⁡A<0}GL_n^-=\{A:\det A<0\} and GLn+={A:det⁡A>0}GL_n^+=\{A:\det A>0\} are open in Mn(R)M_n(\mathbb{R}), and that A↦A2A\mapsto A^2 maps GLn(R)GL_n(\mathbb{R}) into GLn+GL_n^+ but is not onto GLn+GL_n^+ when n=2n=2.

Hint

GLn±=det⁡−1GL_n^\pm=\det^{-1} of an open half-line.

For non-surjectivity, find a 2×22\times2 matrix of determinant 11 which is not a square (see Problem 74).

Show solutionHide solution

Solution

Idea. det⁡\det is continuous, so preimages of open sets are open; multiplicativity of det⁡\det controls the sign of a square.

Step 1: openness. GLn+=det⁡−1((0,∞))GL_n^+=\det^{-1}((0,\infty)) and GLn−=det⁡−1((−∞,0))GL_n^-=\det^{-1}((-\infty,0)) are preimages of open sets by the continuous map det⁡\det.

Step 2: squares have positive determinant. For A∈GLnA\in GL_n, det⁡(A2)=(det⁡A)2>0\det(A^2)=(\det A)^2>0, so A2∈GLn+A^2\in GL_n^+.

Step 3: not onto for n=2n=2. The matrix N=(−110−1)N=\begin{pmatrix}-1&1\\0&-1\end{pmatrix} has det⁡N=1\det N=1, so N∈GL2+N\in GL_2^+. If N=B2N=B^2 with BB real, the eigenvalues of BB are two conjugate non-real numbers ±i\pm i or two real numbers; real μ\mu would have μ2=−1\mu^2=-1, impossible, so they are i,−ii,-i, distinct. Then BB is diagonalisable over C\mathbb{C}, so is B2B^2, with eigenvalues −1,−1-1,-1: B2=−I≠NB^2=-I\neq N. Contradiction.

Remark.
- Combined with Problem 74: the image of squaring in GLnGL_n is a *proper* subset of GLn+GL_n^+ (n≥2n\ge2) it contains the open set of matrices with no negative eigenvalue (which have a real square root by the principal logarithm/power series), but it is not open-and-closed in GLn+GL_n^+ in an obvious way.
- Squaring on GLn+GL_n^+ is far from injective: BB and −B-B have the same square, and for n≥2n\ge2 also diag⁡(1,−1)\operatorname{diag}(1,-1) squares to II.