I'm trying to understand why the subset of $GL(n,\mathbb{R})$ formed by the block-matrices of the following type:
$$\begin{pmatrix} A & B \\ 0 & C \end{pmatrix}$$ where
$$A \in GL(k,\mathbb{R}),~ C \in GL(n-k,\mathbb{R}),~ B \in M(k,n-k,\mathbb{R}).$$
is closed in $GL(n,\mathbb{R})$. I first tried to see this subset as inverse image of a closed subset of $\mathbb{R}$ via the determinant function, and then it would be closed (since $\det$ is continuous), but I couldn't do it. Can you help me?