14

Let $\mathbb{Z}_p^*$ be the group of integers $\{1,2,3,\dots,p-1\}$ under multiplication mod $p$, where $p$ is a prime.

Given the following two facts:

  1. If $d$ divides $p-1$, then there are exactly $d$ elements in $\mathbb{Z}_p^*$ such that $a^d\equiv 1$.

  2. For all positive integer $n$, we have $\sum_{d | n} \phi(d) = n$. That is, the sum of Euler-Phi functions over divisors is $n$. (A proof can be found here https://proofwiki.org/wiki/Sum_of_Euler_Phi_Function_over_Divisors).

Given the above facts, how may we prove that the group $\{1,2,3,\dots,p-1\}$ under multiplication mod $p$ is cyclic?

  • 1
    https://math.stackexchange.com/questions/1044747/proving-existence-of-primitive-root-pmodp-using-group-theory – qwr Oct 12 '23 at 03:22

2 Answers2

9

Let $\psi(d)$ denote the number of elements of order $d$ in $\mathbb Z_p^*$.

Note that if $a\in\mathbb Z_p^*$ has order $d$, then $a^r$ has order $d$ if and only if $\gcd(r,d)=1$.

Thus are precisely $\phi(d)$ elements of the form of $a^r$ which have order $d$.

It follows that $\phi(d)$ divides $\psi(d)$ for all $d$.

Using (1) we want to show that $\psi(d)$ is either $0$ or equal to $\phi(d)$ for all $d|(p-1)$.

Assume on the contrary that there is some $d$ dividing $p-1$ such that $\psi(d)>\phi(d)$.

Let $a$ be an element of order $d$.

Out of the $d$ elements $a,a^2,\ldots,a^d$, precisely $\phi(d)$ have order $d$.

By our assumption, there is an element $b$ of order $d$ which is not equal to any of the $a^i$'s.

But note that $b$ and each $a^i$ satisfies $x^d\equiv 1\pmod{p}$.

This means that the congruence $x^d\equiv 1\pmod{p}$ has more than $d$ solutions, contrary to (1).

So we have $\psi(d)=0$ or $\phi(d)$.

Now note that $\sum_{d|(p-1)}\psi(d)=p-1$.

This is because each element of $\mathbb Z_p^*$ has order $d$ for some $d|p-1$.

From our earlier inference we also have $\sum_{d|p-1}\psi(d)\leq \sum_{d|p-1}\phi(d)$.

The RHS is equal $p-1$ by (2).

Therefore we cannot have $\psi(d)=0$ for any $d|p-1$ and hence $\psi(p-1)>0$, proving there is an element of order $p-1$ (and hence precisely $\phi(p-1)$ such elements).

0

Easy. Let $G=\mathbb{U}_p$ be this group.

Each element in this group must have an order. So there must be a special element $a\in G$, such that $\text{ord}_G(a)$ is the maximum order. Let this maximum order be $k$.

Given any $x\in G$, we claim that $x^k=1$.

Suppose not, then we would have $$\text{ord}_G(x)\nmid k.$$ So let $\text{ord}_G(x)=l$. We have $l\nmid k$, so $\text{lcm}(k,l)>k$. Consider the element $$x^{\gcd(k,l)}\in G.$$ The order of this number is $\frac{l}{\text{gcd}(k,l)}$, which is coprime to $k$. So, \begin{align*} \text{ord}_G(a\times x^{\gcd(k,l)}) &=\text{lcm}\left(k,\frac{l}{\text{gcd}(k,l)}\right)\\ &=k\cdot\frac{l}{\text{gcd}(k,l)}\tag{because they're coprime}\\ &=\frac{kl}{\text{gcd}(k,l)}\\ &=\text{lcm}(k,l) &>k. \end{align*}

So, this is a contradiction to our assumption that $k$ is the maximum order among elements of $G$. Claim is proven.

Now, we claim $k=p-1$.

Now, we know that the equation $x^k-1$ in $G$ has $p-1$ distinct roots. Because for all $x\in G$, $x^k=1$. So $k$ must be at least $p-1$ is not more.

But $k$ can't be more than $p-1$, because we have $p-1$ elements in $G$. So $k=p-1$.

MathMinded
  • 1,318