[step:Compare two primitive representatives by a reduced rational scalar]
Let $b := (b_1,\dots,b_n) \in \mathbb Z^n$ be another nonzero tuple such that
\begin{align*}
[b_1:\dots:b_n] = [a_1:\dots:a_n]
\end{align*}
and $\gcd(b_1,\dots,b_n)=1$. By equality in projective space over $\mathbb Q$, there exists $\lambda \in \mathbb Q^\times$ such that
\begin{align*}
b_i = \lambda a_i
\end{align*}
for every $i \in \{1,\dots,n\}$. Write $\lambda = m/\ell$ with $m \in \mathbb Z$, $\ell \in \mathbb N$, $\ell>0$, and $\gcd(m,\ell)=1$. Then
\begin{align*}
\ell b_i = m a_i
\end{align*}
for every $i \in \{1,\dots,n\}$.
Since $\gcd(m,\ell)=1$, the divisibility relation $\ell \mid m a_i$ implies $\ell \mid a_i$ for every $i$. Thus $\ell$ is a positive common divisor of $a_1,\dots,a_n$. Because $\gcd(a_1,\dots,a_n)=1$, we get $\ell=1$.
With $\ell=1$, the relation becomes
\begin{align*}
b_i = m a_i
\end{align*}
for every $i \in \{1,\dots,n\}$. Hence $m$ divides every coordinate $b_i$. Since $\gcd(b_1,\dots,b_n)=1$, this forces $|m|=1$. Therefore $m \in \{-1,1\}$, and setting $\varepsilon := m$ gives
\begin{align*}
b_i = \varepsilon a_i
\end{align*}
for every $i \in \{1,\dots,n\}$. This proves uniqueness up to multiplication by $-1$.
[/step]