0

For any $a,b\in\mathbb{Z}$, show that at least one of the following values is a square in $\mathbb{Z}_p$ with $p$ prime

Those values are:

$a^2 -b^2$, $2(b-a)$, $2(-a-b)$.

I tried multiplying, adding and substracting those values but I can't conclude anything.

edit: I forgot to mention that the numbers must be squares mod $p$

Bill Dubuque
  • 272,048

2 Answers2

4

Hint: $$a^2-b^2=(b-a)(-a-b)$$

Now, assume $a^2-b^2$ is not a square in $\mathbb Z_p.$


More generally, if $u,v,w$ are integers, then at least one of $uv,uw,vw$ is a square modulo $p.$ In your case, $u=b-a, v=-a-b, w=2.$


Even more generally, if $xyz$ is a square modulo $p,$ then so is at least one of $x,y,z.$

Thomas Andrews
  • 177,126
0

Thanks for all of your comments. Let $p$ odd. Since $x\mapsto x^2$ induces a multiplicative endomorphism of $\mathbb{Z}_p^*$, and its image is the subgroup $F$ of square numbers, ir follows that the index $[\mathbb{Z}_p^* : F] =2$. Hence if $x,y,z$ are nonsquares in $\mathbb{Z}_p^*$,

$$(xF)(yF)(zF) = zF$$

Hence the product of three nonsquares is a nonsquare and we have proved the Thomas assertion