For an odd prime number , a nonzero class is a quadratic residue if for some integer not divisible by . The Legendre symbol isWhen discussing solvability of without a coprimality assumption, zero is also a square. This convention matters in the final local characterization of integer squares.
The Euler criterion states that for an odd prime number and ,The same modular congruence remains true when , with both sides zero.
If divides or , both sides of the claimed multiplicativity identity are zero. Otherwise the Euler criterion givesEach side is or . Since is odd, these two integers represent different residue classes. Hence the modular congruence gives equality:
For odd ,is even. Induction over the prime factors of , repeated according to multiplicity, therefore givesUsing the supplementary law for each Legendre symbol in the definition of the Jacobi symbol,For , the empty product and the displayed expression are both .
If , both Jacobi symbols vanish, so the formula holds. Otherwise write and , retaining repeated factors. Multiplicativity of the Jacobi symbol and quadratic reciprocity giveThe exponent isby the parity identity from part (i). The product of the reversed Legendre symbols is . Thus the Jacobi reciprocity law isThis also covers or by empty products.
Here is odd and nonzero. Choose . This is a positive odd integer, , and . By multiplicativity of the Jacobi symbol,The coprimality condition ensures that the squared Jacobi symbol is rather than .
Choose a nonzero quadratic nonresidue . There is one because the squaring map on is two-to-one, so exactly half its elements are squares. The moduli are pairwise coprime, so the Chinese remainder theorem gives a positive integer satisfyingWhen , the last condition is vacuous. In particular is odd and coprime to . Since , Jacobi reciprocity givesAs is odd, multiplicativity of the Jacobi symbol now yields
Every integer square remains a square modulo every prime number, including the zero class at its prime divisors. Conversely, let be an odd integer which is not an integer square. If is the negative of a square, part (i) supplies an odd with . In every other case, the prime factorization of has an odd exponent at some odd prime . Write with odd and , and apply part (ii).
In either case, factor the resulting into primes. Since its Jacobi symbol is a product of Legendre symbols and equals , at least one prime factor has . Thus is not a square modulo that prime. This proves an odd integer is an integer square exactly when it is a square modulo every prime. If the phrase quadratic residue is restricted to nonzero residue classes, the final statement must instead say “a square modulo every prime”; for example, reduces to zero modulo .
Articles by others on the same topic
There are currently no matching articles.