Consider $M(n,\mathbb R)$, the space of all $ n\times n$ matrices over $\mathbb R$.Which of the following are compact? a.$O(n)$ the set of all orthogonal matrices
b.$GL(n,\mathbb R)$ set of all non-singular matrices over $\mathbb R$
c.$SL(n,\mathbb R)$ set of all non-singular matrices over $\mathbb R$ with determinant equals one.
d.set of all nilpotent matrices.
Answer:since the determinant map is continuous and continuous image of a compact set is compact using them I have concluded (b) is not compact since image set of (b) is $(-\infty,0) \cup (0,\infty)$. Is it correct?But how to approach the others ?