Suppose $(a,b) \in \mathbb{Z}_n \times \mathbb{Z}_n$ has order $n$.
Prove that there exist $r, s \in \mathbb{Z}$ such that det $\begin{pmatrix} a & b \\ r & s \end{pmatrix} \in \mathbb{Z}_n^{\times}$
I took linear algebra a long time ago and don't really remember any of it. Am I right that what I what to show is that $as - rb \neq 0$, which I can rephrase as $as \not\equiv rb \pmod{n}$?
Is it valid just to let $s = a$ and $r = b$, then for it to fail $a\cdot a \equiv b \cdot b \pmod{p}$, which can't be true because in a previous part of this problem I showed $\gcd(a,b,n) = 1$
$\mathbb Z_{n}^{\times}$ is not the non-zero elements of $\mathbb Z_n$, it is the units of $\mathbb Z_n.$
Part 1: Show that $(a+n\mathbb Z,b+n\mathbb Z)$ has order $n$ if and only if $\gcd(a,b,n)=1.$
Part 2: Now, if $\gcd(a,b,n)=1$ then we can find $x,y,z$ so that $ax+by+nz=1$. So you can chose $(r,s)=(x,-y)$ then $ar-bs = 1-nz.$