The following is my proof of the assertion that the set of diagonalizable matrices is Zariski-dense in $M_n(\mathbb F)$. Is this right ?
Let $\mathbb F$ be an infinite field (not necessarily algebraically closed)and $M_n(\mathbb F)$ the set of all $n \times n$ matrices with entries in $\mathbb F$.
We denote by $D_n(\mathbb F)$ the set of $n \times n$ diagonalizable matrices with entries in $\mathbb F$.
For each $A \in M_n(\mathbb F)$, we denote by $d(A)$ the discriminant of the characteristic polynomial of $A$.
Since $d(A)$ is a polynomial in the entries of $A$ with coefficients in $\mathbb F$, the set $U := \{ X \in M_n(\mathbb F) : d(X) \not = 0 \}$ is Zariski-open. (Here, we are identifying $M_n(\mathbb F)$ with ${\mathbb A}^{n^2}$.)
It follows from the fact that ${\mathbb A}^{n^2}$ is irreducible that $U$ is Zariski-dense in ${\mathbb A}^{n^2}$. As $U$ is contained in $D_n(\mathbb F)$, $D_n(\mathbb F)$ is also Zariski-dense in ${\mathbb A}^{n^2}$.
Thanks in advance.