Invertible Matrices are dense
Solution 1:
Zariski density means that any polynomial identity in the entries of an $n\times n$ matrix which holds on all invertible matrices holds on all matrices.
If we furthermore are considering matrices with entries in $\mathbb R$ of $\mathbb C$, then we can also say that any identity between continuous functions on the space of all $n\times n$ matrices which holds on all invertible matrices holds on all matrices.
The proof for polynomial functions is not hard:
We can work over any infinite field $k$, which we can take to be $\mathbb R$ of $\mathbb C$ if you like.
A polynomial in the entries of an $n\times n$ matrix is just a polynomial in $n^2$ variables.
-
Check that for any non-zero polynomial in $n^2$ variables, there is at least one matrix on which it doesn't vanish. (This is where we use that $k$ is infinite, and it ultimately reduces to the fact that polynomials in one variable have only finitely many zeroes.)
-
The determinant, which I'll denote $\Delta$, is a non-zero polynomial in $n^2$-variable.
-
Suppose that $f$ is a polynomial which vanishes on all invertible matrices. Then the product $f \Delta$ vanishes on all matrices. By the first point, it must be the zero polynomial. Since $\Delta$ is non-zero, we see that $f$ must be the zero polynomial. That is, $f$ vanishes on all matrices.
The proof for continuous functions is similar, but involves some topology as well algebra: you have to check that any non-empty open subset of $n\times n$ matrices contains an invertible matrix. This is standard, but may not be clear to you if you're not used to making arguments in topology or manifold theory.
Added: Actually, Georges's comment below gives a nice proof of the statement in the preceding comment. The same argument can also be found in Pete Clark's answer here. (This is an answer to the question linked to by Jonas Meyer a comment above.)
Solution 2:
A Zariski topology is a particular topology defined on $\mathbb{R}^n$ (or in more general space but it is not important here). Let $\mathbb{R}[X_1,\dots,X_n]$ be the ring of polinomials in $n$ variable. The closed sets of the Zariski topology of $\mathbb{R}^n$ are of the form $V(S) = \{a \in \mathbb{R}^n\mid \forall f\in S,\ f(a) = 0\}$ where $S$ is a subset of $\mathbb{R}[X_1,\dots,X_n]$.
The set of square matrices of dimension $n$ are, as a vector space, isomorphic to $\mathbb{R}^{n^2}$. Now, we can equip $\mathcal{M}(\mathbb{R}, n)$ with the Zariski topology using this isomorphism.
The determinat can be seen as a polynomial in $n^2$ variables (one for any the matrix entries) so the set of the non-invertible matrices is a closed set in the Zariski topology. And obviously the set of the invertible matrices are an open set.
The Zariski topology is studied a lot by algebraic geometer and, from a topological point of view, is a very bad topology. It is not hausdorff for example.
Anyway it has a very strange characteristic: it is an irreducible space. That means that:
- No two open set are disjoint
- the space cannot be written as the union of two closed sets.
- every nonempty open set is dense
- the interior of every closed set in empty