Quadratic Reciprocity
Quadratic reciprocity converts a square test modulo one odd prime into a square test modulo another, with a sign determined by their residues modulo four.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 1
- Reading time
- 1 min
For distinct odd primes \(p,q\), the sign is negative exactly when both are \(3\bmod4\). A lattice proof counts the integer points in a rectangle of sides \((p-1)/2,(q-1)/2\) on opposite sides of the line of slope \(q/p\). None lie on the line. Gauss’s lemma identifies the two count parities with the Legendre symbols.
\[\left(\frac pq\right)\left(\frac qp\right)=(-1)^{(p-1)(q-1)/4}.\]
Testing \(11\) modulo \(19\)
Both primes are \(3\bmod4\), so \((11/19)=-(19/11)=-(8/11)\). The nonzero squares modulo \(11\) are \(1,3,4,5,9\), so \((8/11)=-1\) and the answer is \(1\). Such tests govern splitting of primes in quadratic fields.[1]