Finding the number of distinct common roots of unity

60 Views Asked by At

Consider equations:

$${x}^{p} = 1\\ {x}^{q} = 1$$

Then the number of common roots is equal to the $\gcd(p,q).$

But, how can I prove this statement?

1

There are 1 best solutions below

2
On

WLOG, assume that $p > q$.
From the division algorithm, we know that $p = aq+b$. Then,

$$x^p = x^{aq+b} = (x^q)^ax^b = x^b = x^{p\text{ mod }q}.$$

Here, we have condensed the problem from common roots of $x^p$ and $x^q$ to the common roots of $x^p$ and $x^{p\text{ mod }q}$.

Can you see a correspondence to the Euclidean algorithm?