[guided]Every automorphism $\phi \in \operatorname{Gal}(\mathbb{Q}(\zeta_n)/\mathbb{Q})$ is a $\mathbb{Q}$-automorphism of $\mathbb{Q}(\zeta_n)$. Since $\phi$ fixes $\mathbb{Q}$ pointwise, it must send $\zeta_n$ to another root of its minimal polynomial over $\mathbb{Q}$. In particular, $\phi(\zeta_n)$ is a root of $t^n - 1$, so $\phi(\zeta_n) = \zeta_n^i$ for some integer $i$. Moreover, $\phi(\zeta_n)$ must itself be a primitive $n$-th root of unity (since $\phi$ is an automorphism and $\zeta_n$ has multiplicative order $n$ in $\mathbb{Q}(\zeta_n)^\times$, the image $\phi(\zeta_n)$ must also have order $n$). The element $\zeta_n^i$ is a primitive $n$-th root of unity if and only if $\gcd(i, n) = 1$, i.e., $\bar{i} \in (\mathbb{Z}/n\mathbb{Z})^\times$.
The [Galois Group of Cyclotomic Extensions](/theorems/1278) (Theorem 1278) verifies that the resulting map $\chi: \phi \mapsto \bar{i}$ is a well-defined injective group homomorphism. The key points are:
**Well-definedness:** If $\phi(\zeta_n) = \zeta_n^i = \zeta_n^j$, then $\zeta_n^{i-j} = 1$, so $n \mid (i - j)$, so $\bar{i} = \bar{j}$ in $\mathbb{Z}/n\mathbb{Z}$. Hence the class $\bar{i}$ is uniquely determined by $\phi$.
**Homomorphism property:** If $\phi(\zeta_n) = \zeta_n^i$ and $\psi(\zeta_n) = \zeta_n^j$, then $(\phi \circ \psi)(\zeta_n) = \phi(\zeta_n^j) = \phi(\zeta_n)^j = \zeta_n^{ij}$, so $\chi(\phi \circ \psi) = \overline{ij} = \bar{i} \cdot \bar{j} = \chi(\phi) \cdot \chi(\psi)$.
**Injectivity:** If $\chi(\phi) = \bar{1}$, then $\phi(\zeta_n) = \zeta_n$. Since $\zeta_n$ generates $\mathbb{Q}(\zeta_n)$ over $\mathbb{Q}$ and $\phi$ fixes both $\mathbb{Q}$ and $\zeta_n$, the automorphism $\phi$ fixes every element of $\mathbb{Q}(\zeta_n) = \mathbb{Q}(\zeta_n)$, so $\phi = \operatorname{id}$. Therefore $\ker(\chi) = \{\operatorname{id}\}$.
The fact that $\chi$ is only an injection, not a priori a surjection, reflects that Theorem 1278 holds for any base field $K$ with $\operatorname{Char} K \nmid n$. Over a general field, $\chi$ need not be surjective — for instance, $\mathbb{F}_p(\zeta_n)/\mathbb{F}_p$ has cyclic Galois group generated by Frobenius, which is typically a proper subgroup of $(\mathbb{Z}/n\mathbb{Z})^\times$. To upgrade the injection to an isomorphism over $\mathbb{Q}$, we need a fact specific to $\mathbb{Q}$: the irreducibility of the cyclotomic polynomial.[/guided]