I am trying to show that the space of $2\times 2$ matrix with rank equals $1$ is a submanifold of $\mathbb{R}^4 - \{0\}$ whoose the dimension equals $3$. To do this, I have defined $\det : \mathbb{R}^4 \to \mathbb{R}$, then the result will follows from the fact that this submanifold is precisely $\det ^{-1}(0)$. But for this, I have to show that on this set, the derivative of $\det$ has constant rank.
How can I do this?