6

Let $p$ be a prime number, and let $\mathbb{F}_p$ be the field with $p$ elements. How many elements of $\mathbb{F}_p$ have cube roots in $\mathbb{F}_p$?

I had this question on an exam and after reviewing I am still not sure. Any help would be appreciated.

Galois
  • 2,484
  • 4
    Hint: $x \mapsto x^3$ is a homomorphism from the multiplicative group of $\mathbb{F}_p$ to itself. – Chris Eagle Jul 21 '12 at 23:53
  • If $p \equiv 2 ({\rm mod} 3)$, then what is $(p-1) ({\rm mod} 3)$? – David G. Stork Jul 30 '21 at 00:09
  • 2
    The multiplicative group of nonzero elements of a finite field is cyclic. In a cyclic group of order $n$, every element is a $k$th power if $\gcd(k,n)=1$, and in that case there are no nontrivial elements of exponent $k$. – Arturo Magidin Jul 30 '21 at 00:10
  • 2
    @DavidG.Stork: Use \pmod{k} to automatically get the parenthetical version of the modular notation, with proper spacing and typeface: p\equiv 2\pmod{3} produces $p\equiv 2\pmod{3}$. – Arturo Magidin Jul 30 '21 at 00:10

3 Answers3

13

1) If $\,p=3\,$ then $\,a^3=a\,\,\,,\,\forall a\in\Bbb F_p\,$, by Fermat's Little Theorem

2) If $\,3\nmid (p-1)\,$ then $\,f:\Bbb F_p^*\to \Bbb F_p^*\,\,\,,\,f(x):=x^3\,$ is an automorphism (can you see why? Check $\,\ker f\,$...)

3) Finally, if $\,3\mid (p-1)\,$ then the map $\,f\,$ above cannot be an automorphism, and since $\,\Bbb F_p^*\,$ is a cyclic group it then has one single subgroup of any order divinding $\,p-1\,$, so... (optional: add $\,0\,$)

DonAntonio
  • 214,715
3

The multiplicative group of nonzero elements of a finite field is cyclic.

If $G$ is a finite group of order $k$, and $x\in G$, then the order of $x$ must divide $k$. In particular, the only solution to $g^r=e$ when $\gcd(r,k)=1$ is $g=e$.

If both $y$ and $z$ are solutions to $x^3=a$ in $\mathbb{F}_p$, with $a\neq 0$, then $y/z$ is a solution to $x^3=1$.

Arturo Magidin
  • 417,286
3

Consider the $3$-power map $f$ from the multiplicative subgroup $(\mathbb{Z}/p\mathbb{Z})^\times \longrightarrow (\mathbb{Z}/p\mathbb{Z})^\times$, given by $f(x) = x^3 \bmod p$. This is a homomorphism, so to find the size of the image it suffices to find the size of the kernel.

This group is cyclic, so there is some generator $g$ such that $(\mathbb{Z}/p\mathbb{Z})^\times = \langle g \rangle$. The kernel of the map $f$ in terms of $g$ consists of those elements $g^n$ such that $g^{3n} \equiv 1 \bmod p$. This occurs exactly when $3n$ is a multiple of $\varphi(p) = (p-1)$ (Fermat's Little Theorem and Carmichael's Theorem). Thus the kernel of the map $f$ consists of elements $g^n$ such that $3n \equiv 0 \bmod (p-1)$, or $3n = \alpha (p-1)$ for some integer $\alpha$. We may assume $1 \leq n \leq p-1$, as each element of $(\mathbb{Z}/p\mathbb{Z})^\times$ is given by one such $g^n$.

If $\gcd(3, p-1) = 1$, then necessarily $(p-1) \mid n$, which implies that $n = (p-1)$. In this case the only $g^n$ such that $g^{3n} \equiv 1 \bmod p$ is $g^{p-1} \equiv 1 \bmod p$. Thus the size of the kernel is $1$, and so the image has size $p-1$. All numbers mod $p$ are $3$th powers.

More generally, if $\gcd(3, p-1) = d$, then $f(g^{\frac{p-1}{d}}) = 1$, and this is also true of the $d$ powers of $g^{\frac{p-1}{d}}$ up to $g^{p-1}$. The size of the kernel is $d$, and thus the size of the image is $\frac{p-1}{d}$.

Here, this means if $\gcd(3, p-1) = 3$, then $f(g^{\frac{p-1}{3}}) = 1$, and it's precisely the three powers of $g^{\frac{p-1}{3}}$ in the kernel.

(This clearly generalizes to $k$-powers as well).