Show that $x^4 \equiv -1 \pmod p $ is solvable $\iff $ $p \equiv 1 \pmod 8$
My attempt : $p$ must satisfy $(-1)^{(p-1)/d}\equiv 1 \pmod p$, where $d = \gcd(4,p-1)$ but I still don't see how this condition implies $p\equiv 1\pmod 8$. Can I get some help thanks!
$x^4=-1$ is solvable if and only if the group $(\mathbb Z/p\mathbb Z)^*$ has an element of order $8$. Since $(\mathbb Z/p\mathbb Z)^*$ is a cyclic group of order $p-1$, the assertion follows immediately.