Math 2.0

Number theory Proof

Proof of Eisenstein's lemma

Builds on Legendre symbolEuler's criterionEuclid's lemmaDivision algorithmFloor functionCongruence is compatible with multiplicationCongruence modulo n

Proof

  1. Let pp be an odd prime, aa a positive integer with p∤ap \nmid a, and h=(p−1)/2h = (p-1)/2. Let E={2,4,…,p−1}E = \set{2, 4, \dots, p - 1}, a set of hh even numbers.
  2. For u∈Eu \in E, let r(u)r(u) be the least positive residue of auau modulo pp. By Euclid's lemma, p∤aup \nmid au, so 1≤r(u)≤p−11 \le r(u) \le p - 1.
  3. Let e(u)=r(u)e(u) = r(u) if r(u)r(u) is even, and e(u)=p−r(u)e(u) = p - r(u) if r(u)r(u) is odd. In both cases e(u)e(u) is even with 1≤e(u)≤p−11 \le e(u) \le p - 1, because pp is odd. So e(u)∈Ee(u) \in E.
  4. In both cases r(u)≡(−1)r(u)e(u)(modp)r(u) \equiv (-1)^{r(u)} e(u) \pmod p.
  5. The map u↦e(u)u \mapsto e(u) is injective on EE. Suppose e(u)=e(v)e(u) = e(v). Then r(u)≡±r(v)r(u) \equiv \pm r(v), so au≡±avau \equiv \pm av, and p∣u−vp \mid u - v or p∣u+vp \mid u + v by Euclid's lemma.
  6. Here ∣u−v∣<p\abs{u - v} < p. Also u+vu + v is even with 4≤u+v≤2p−24 \le u + v \le 2p - 2, and the only multiple of pp in this range is the odd number pp. So u−v=0u - v = 0.
  7. Since EE is finite, u↦e(u)u \mapsto e(u) is a bijection of EE. So ∏u∈Ee(u)=∏u∈Eu\prod_{u \in E} e(u) = \prod_{u \in E} u.
  8. By step 4 and products of congruences, ah∏u∈Eu=∏u∈Eau≡∏u∈Er(u)≡(−1)∑ur(u)∏u∈Eu(modp)a^h \prod_{u \in E} u = \prod_{u \in E} au \equiv \prod_{u \in E} r(u) \equiv (-1)^{\sum_u r(u)} \prod_{u \in E} u \pmod p.
  9. Each u∈Eu \in E is less than pp, so p∤∏u∈Eup \nmid \prod_{u \in E} u by Euclid's lemma. Hence ah≡(−1)∑ur(u)(modp)a^h \equiv (-1)^{\sum_u r(u)} \pmod p.
  10. By the division algorithm, au=pq(u)+r(u)au = p q(u) + r(u) with q(u)=⌊au/p⌋q(u) = \lfloor au/p \rfloor, since 0<r(u)<p0 < r(u) < p and the floor function picks the integer part.
  11. Here auau is even and pp is odd. So 0≡q(u)+r(u)(mod2)0 \equiv q(u) + r(u) \pmod 2, and r(u)≡q(u)(mod2)r(u) \equiv q(u) \pmod 2. Thus (−1)∑ur(u)=(−1)∑u⌊au/p⌋(-1)^{\sum_u r(u)} = (-1)^{\sum_u \lfloor au/p \rfloor}.
  12. By Euler's criterion, (ap)≡ah≡(−1)∑u⌊au/p⌋(modp)\left(\frac{a}{p}\right) \equiv a^h \equiv (-1)^{\sum_u \lfloor au/p \rfloor} \pmod p.
  13. Both sides are ±1\pm 1, since p∤ap \nmid a and by the definition of the Legendre symbol. Two signs that agree modulo p≥3p \ge 3 are equal, which proves the lemma.

Idea

Fold each residue r(u)r(u) to an even number by replacing it with p−r(u)p - r(u) when it is odd. The folded numbers are again the even numbers 2,…,p−12, \dots, p - 1, so the sign picked up is (−1)∑r(u)(-1)^{\sum r(u)}. The parity of r(u)r(u) equals the parity of ⌊au/p⌋\lfloor au/p \rfloor, because auau is even and pp is odd.

Reading path

To understand this page from the ground up, read these 112 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of cancellation in an integral domain, Proof of the approximation property of the supremum, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Fermat's little theorem by rearrangement, Proof of Euclid's lemma, Proof that R[x] is an integral domain iff R is, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the degree of a product over an integral domain, Proof of strong induction from ordinary induction, Proof that the integers modulo a prime form a field, Proof that congruence is compatible with addition, Proof of Euler's criterion by counting quadratic residues, Proof that a polynomial over a field has at most as many roots as its degree, Proof of the remainder theorem, Proof that congruence is compatible with multiplication, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof that the reals are Archimedean from the completeness axiom, Proof of the factor theorem, Proof that congruence is compatible with powers.

  1. Construction of the reals from Cauchy sequences concept
  2. Definition by recursion concept
  3. Divisibility definition
  4. Element definition
  5. Group concept
  6. Integers object
  7. Mathematical induction concept
  8. Natural numbers object
  9. Ordered field definition
  10. Peano axioms concept
  11. Proposition concept
  12. Rational numbers object
  13. Real numbers object
  14. Set bounded above definition
  15. Congruence modulo n definition
  16. Greatest common divisor definition
  17. Prime number definition
  18. Set definition
  19. Ring definition
  20. Ring of integers statement
  21. Archimedean ordered field definition
  22. Successor function definition
  23. Implication definition
  24. Predicate definition
  25. The reals form a field statement
  26. Supremum definition
  27. Quadratic residue definition
  28. Residue class definition
  29. Coprime integers definition
  30. Proof that congruence is compatible with addition proof
  31. Proof that congruence is compatible with multiplication proof
  32. Ordered pair definition
  33. Commutative ring definition
  34. Polynomial ring definition
  35. Ring homomorphism definition
  36. Unit of a ring definition
  37. Zero divisor definition
  38. Addition of natural numbers definition
  39. The rationals form a field statement
  40. The successor function is injective statement
  41. Zero is not a successor statement
  42. Universal quantifier definition
  43. Completeness axiom statement
  44. Legendre symbol definition
  45. Congruence is compatible with addition statement
  46. Congruence is compatible with multiplication statement
  47. Cartesian product definition
  48. Divisibility in a commutative ring definition
  49. Degree of a polynomial definition
  50. Polynomial evaluation definition
  51. Subset definition
  52. Field definition
  53. Integral domain definition
  54. Proof of the commutativity of addition by induction proof
  55. Order on the natural numbers definition
  56. The rationals form an ordered field statement
  57. Integers modulo n definition
  58. Proof that congruence is compatible with powers proof
  59. Binary relation definition
  60. Leading coefficient definition
  61. Order on the reals definition
  62. Root of a polynomial definition
  63. Proof of cancellation in an integral domain proof
  64. Evaluation homomorphism definition
  65. Commutativity of addition statement
  66. Proof of strong induction from ordinary induction proof
  67. Congruence is compatible with powers statement
  68. Antisymmetric relation definition
  69. Reflexive relation definition
  70. Transitive relation definition
  71. Monic polynomial definition
  72. Multiplicity of a root definition
  73. Proof of the degree of a product over an integral domain proof
  74. Proof of the remainder theorem proof
  75. Cancellation in an integral domain statement
  76. Strong induction statement
  77. Preorder definition
  78. Division algorithm for polynomials statement
  79. Degree of a product statement
  80. Proof of the well-ordering principle from strong induction proof
  81. Partial order definition
  82. Remainder theorem statement
  83. Proof that R[x] is an integral domain iff R is proof
  84. Well-ordering principle statement
  85. Total order definition
  86. Proof of the division algorithm proof
  87. Proof of the factor theorem proof
  88. R[x] is an integral domain iff R is statement
  89. Division algorithm statement
  90. Factor theorem statement
  91. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  92. Proof of Bézout's identity proof
  93. Proof that a polynomial over a field has at most as many roots as its degree proof
  94. The reals form an ordered field statement
  95. Bézout's identity statement
  96. A polynomial over a field has at most as many roots as its degree statement
  97. Proof of the approximation property of the supremum proof
  98. Proof of the generalized Euclid's lemma proof
  99. Proof that the integers modulo a prime form a field proof
  100. Approximation property of the supremum statement
  101. Integers modulo a prime form a field statement
  102. Generalized Euclid's lemma statement
  103. Proof that the reals are Archimedean from the completeness axiom proof
  104. Proof of Euclid's lemma proof
  105. The reals are Archimedean statement
  106. Euclid's lemma statement
  107. Floor function definition
  108. Proof of Fermat's little theorem by rearrangement proof
  109. Fermat's little theorem statement
  110. Proof of Euler's criterion by counting quadratic residues proof
  111. Euler's criterion statement
  112. Proof of Eisenstein's lemma proof

Where this leads

13 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Proofs_of_quadratic_reciprocity, Proof of Eisenstein's lemma
About this page
Tag3SMMPJ6DVN
URIm2://3SMMPJ6DVN
Kindproof
WritingW0 stub
MSC11A15
ProvesEisenstein's lemma
UsesLegendre symbol, Euler's criterion, Euclid's lemma, Division algorithm, Floor function, Congruence is compatible with multiplication, Congruence modulo n
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.