I saw a problem that read:
Show that if $A$ is an $n \times n$ integer matrix where $\det(A) = \pm 1$, then $A$ defines an invertible map on the torus $\mathbb{T}^n = \mathbb{R}^n / \mathbb{Z}^n$. That is, show that if $v - w \in \mathbb{Z}^n$, then $A(v) - A(w) \in \mathbb{Z}^n$ for all $v, w \in \mathbb{R}^n$. Show that this is otherwise not true.
Proving the bold if-then statement doesn't look too hard: we do after all have an integer matrix $A$, so $$ Av - Aw = A(v - w) = \begin{pmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{n1} & \cdots & a_{nn} \end{pmatrix} \begin{pmatrix} v_1 - w_1 \\ \vdots \\ v_n - w_n \end{pmatrix} = \begin{pmatrix} \sum \limits_{j = 1}^{n} a_{1j} d_j \\ \vdots \\ \sum \limits_{j = 1}^{n} a_{nj} d_j \end{pmatrix}$$ where $d_j := v_j - w_j$.
Since all the $a_{ij}$'s are integers (given) and all the $d_j$'s are as well (because $v - w \in \mathbb{Z}^n$), then multiplication and addition of integers gives that $A(v - w)$ has integer entries.
My question: where does the $\det(A) = \pm 1$ come into play? How are the two statements (the bold one and the one preceding it) equivalent?
Thanks in advance.