Quadratic Reciprocity, From the Ground Up
A self-contained course for the Map of Math project.
Prerequisites: §3 (algebra foundations) of
elliptic-curves-course.md for group basics — not repeated
here. Canonical connections graph: map-index.md.
How this doc fits the map
This thread started as a side question inside the elliptic curves course: point-counting on turned out to be built directly from Legendre symbols, and the splitting behavior of an elliptic curve’s 2-torsion turned out to be governed by whether the curve’s discriminant is a quadratic residue. That’s a real, load-bearing connection, not a coincidence of vocabulary — which is exactly why this earned its own course instead of a footnote. But quadratic reciprocity does not need elliptic curves to justify itself: it is one of the oldest, most re-proved, and most consequential theorems in number theory in its own right, and Gauss’s obsession with it (six proofs in his lifetime, two more found in his papers after his death) is a good signal of how much is packed into a statement that looks, at first glance, like a curiosity about squares.
Structure: motivation, then history, then the minimum
number-theoretic machinery, then six coursework modules (each with a
computer-verified worked example and a problem set), an answer key,
resources, and — deliberately — no embedded connection graph. That now
lives centrally in map-index.md, so this doc doesn’t drift
out of sync with the elliptic curves doc or whatever comes next.
1. Motivation
Here is the question this whole course answers: given a prime and an integer , does the congruence have a solution?
That sounds like it should be a local, one-off question — check , check , done. The surprise, and the reason Gauss called this his “golden theorem” (theorema aureum), is that the answer for a given prime playing the role of turns out to be governed by an unexpectedly clean, symmetric relationship between and themselves — not by any deep property of either prime individually. Once you have that relationship, you can decide solvability of for huge and without factoring anything and without checking all candidates by brute force — you just play a Euclidean-algorithm-like game flipping the roles of and back and forth. That efficiency is not a minor convenience; it is the difference between a question that is computationally trivial and one that would otherwise require exponential search.
Three reasons this specific theorem earns a permanent, well-built thread in your map, distinct from being just a stepping stone to something else:
It is the smallest member of a very long, very deep family. “Is an -th power mod ?” for is quadratic reciprocity; for it’s cubic reciprocity (Gauss, Eisenstein — needs the Eisenstein integers); for it’s biquadratic reciprocity (Gauss — needs the Gaussian integers); Kummer’s 19th-century attempts to find higher reciprocity laws for general (motivated in part by Fermat’s Last Theorem) are what led him to invent “ideal numbers,” the ancestor of ideals in ring theory. The entire program culminates in Artin reciprocity (1927) — the full abelian generalization via class field theory — and, beyond that, in the still-open Langlands program, which conjectures the correct non-abelian generalization. The modularity theorem that resolves Fermat’s Last Theorem (see the elliptic curves course, Modules 6–7) is, in this framing, literally a reciprocity law — just for a 2-dimensional Galois representation instead of the 1-dimensional one quadratic reciprocity handles. Studying quadratic reciprocity properly is studying the first, fully-solved rung of a ladder that current research mathematics is still climbing.
It is a genuine hub, just like elliptic curves, but on the “purely arithmetic” side of the map. It touches primality testing, the representability of integers by quadratic forms (which primes are sums of two squares? which are ?), the structure of finite fields, and — as you found — the arithmetic of elliptic curves via 2-torsion. Where the elliptic curve thread was a hub connecting geometry, analysis, and arithmetic, this thread is a hub within arithmetic itself, connecting elementary number theory outward to algebraic number theory and class field theory.
It is short enough to fully master, and its proof is genuinely enlightening. Unlike many deep theorems where the proof is a slog that teaches you little beyond the statement, the classical lattice-point proof of quadratic reciprocity (Module 4) is a self-contained, beautiful piece of combinatorial geometry you can carry out by hand on a napkin, and it directly explains why the symmetric relationship between and has to hold — it isn’t magic once you’ve drawn the picture.
2. History
| Period | Who | What happened |
|---|---|---|
| 1630s–40s | Pierre de Fermat | States (without full proof) results about which primes are representable as , , — special cases that, in retrospect, are corollaries of quadratic reciprocity, though Fermat never states the reciprocity law itself. |
| Mid-late 1700s | Leonhard Euler | Conjectures the reciprocity theorem in the course of his own work on representability by quadratic forms; proves what is now called Euler’s criterion ( is a QR mod iff ) and proves the “second supplement” (the case ), but cannot prove the general law. |
| 1785 | Adrien-Marie Legendre | Independently conjectures the law, introduces the Legendre symbol notation that is still used today, and publishes an attempted proof — which has a gap (it silently assumes a result about primes in arithmetic progressions that wasn’t yet proved). |
| April 8, 1796 | Carl Friedrich Gauss | At not yet 19 years old, gives the first complete proof, recorded in his mathematical diary; privately calls it his “golden theorem.” Publishes it in 1801 in the Disquisitiones Arithmeticae as the “fundamental theorem” of the whole book. Over his lifetime Gauss returns to it repeatedly, publishing six different proofs using genuinely different methods (induction, Gauss sums, quadratic forms, and more); two further proofs were found among his papers after his death, bringing the total to eight. Today more than 240 published proofs are known. |
| 1844 | Ferdinand Eisenstein | Gives the clean lattice-point-counting proof (building on a reformulation of a lemma of Gauss’s) that is the version most commonly taught today, and is the one worked through in Module 4 below. |
| 19th c. | Gauss, Eisenstein, Kummer | Extend the question to cubic reciprocity (using the ring of Eisenstein integers ) and biquadratic/quartic reciprocity (using the Gaussian integers ). Kummer’s attempts at general -th power reciprocity laws, motivated partly by attacking Fermat’s Last Theorem, lead him to invent “ideal numbers” — the direct ancestor of ideals in modern ring theory (a direct link back to §3 of the elliptic curves course). |
| 1924–1930 | Emil Artin | Proves Artin reciprocity, the full generalization of quadratic (and cubic, and quartic, and…) reciprocity to arbitrary abelian extensions of number fields, via class field theory and the idèle class group. This is now understood as the complete “1-dimensional” (abelian) case of reciprocity. |
| Ongoing (from the 1960s) | Robert Langlands and the Langlands program | Conjectures the correct higher-dimensional (“non-abelian”) generalization of Artin reciprocity, connecting Galois representations of any dimension to automorphic forms. The modularity theorem (elliptic curves course, Module 6) — the 2-dimensional case — is one of the few instances of this program that is fully proved. |
Sources consulted: Quadratic reciprocity — Wikipedia, Artin reciprocity — Wikipedia, Proofs of quadratic reciprocity — Wikipedia/HandWiki, Robin Chapman’s exposition of Eisenstein’s proof.
3. Minimum machinery
You already have groups, rings, and fields from the elliptic curves course (§3 there). Two additional facts specific to this thread:
The group is cyclic of order . This is a nontrivial fact (it follows from the theory of finite fields: a finite subgroup of the multiplicative group of any field is cyclic), but you can take it as given here. A generator of this group is called a primitive root mod .
Quadratic residues are exactly the index-2 subgroup. Since is cyclic of even order , it has a unique subgroup of index 2 — the elements that are even powers of a fixed primitive root . Squaring is the group homomorphism , with kernel (order 2) and image exactly this index-2 subgroup. So “the quadratic residues mod ” isn’t an ad hoc list — it is, on the nose, the unique subgroup of index 2 inside a cyclic group of even order. This is the cleanest way to see why exactly half of the nonzero residues are squares.
Worked example. Take . Brute-force squares: , giving QR set — exactly 5 elements, half of the 10 nonzero residues, as expected. Independently: is a primitive root mod 11 (verified computationally: its powers hit all 10 nonzero residues before repeating). The even powers of 2 are — exactly the same set . The two descriptions (brute-force squaring, and “even powers of a primitive root”) agree, as the theory predicts.
4. Coursework
Module 1 — Euler’s criterion and the Legendre symbol
Objectives: define the Legendre symbol; prove and use Euler’s criterion; establish multiplicativity.
Exposition. For an odd prime and integer with , define the Legendre symbol (and if ). Euler’s criterion gives a computable formula: (Sketch of why: by Fermat’s little theorem , so . If , then . Conversely, using a primitive root with , , which is exactly when , i.e. exactly when is even — matching “ is a square” from §3.) An immediate, powerful consequence: the Legendre symbol is completely multiplicative, , because .
Worked example. : is a QR mod 11? Euler’s criterion: . Compute: , , . So — confirmed against the brute-force QR set from §3, which does not contain 7. ✓ (Checked by computer against brute force for every with — full agreement.)
Problem set 1. 1. Use Euler’s criterion to determine and by hand, then check that (multiplicativity), computing the right-hand side independently. 2. Prove that is a quadratic residue mod if and only if , directly from Euler’s criterion (this is the “first supplement” — you’ll use it constantly in Module 3). 3. Using the index-2-subgroup picture from §3, explain why the product of two non-residues is always a residue, and the product of a residue and a non-residue is always a non-residue, without invoking Euler’s criterion at all — purely from “residues form an index-2 subgroup.” 4. Why does the Legendre symbol require to be an odd prime specifically — where does the argument for Euler’s criterion break down if you try to define an analogous symbol mod a composite number?
Module 2 — Statement of the law
Objectives: state quadratic reciprocity and its two supplements precisely; use them together to evaluate symbols.
Exposition. For distinct odd primes : In words: and agree, unless both and are , in which case they disagree. Together with the two supplements, this is a complete algorithm: any Legendre symbol can be evaluated by factoring into , powers of 2, and odd primes, then repeatedly flipping numerator and denominator via reciprocity — never needing to compute a single -power directly. That algorithm is Module 3.
Worked example (verified against Euler’s criterion for all pairs of primes up to 37). : both (, ), so the law predicts . Directly: , and is a QR mod 7, so . Then the law predicts — matching Module 1’s worked example exactly. ✓
Problem set 2. 1. Without computing any powers, use reciprocity plus the supplements to determine whether has a solution. 2. State (you don’t need to prove it) what works out to in terms of , by combining the two supplements’ style of reasoning with reciprocity applied to ; check your formula against directly by Euler’s criterion. 3. Verify computationally (or by hand for small cases) that the reciprocity law, applied twice ( vs , then vs ), is consistent — i.e. that it isn’t secretly asserting two different things depending on which prime you call . 4. True or false, and justify: if , then for every odd prime . (Look carefully at what the exponent mod 2 actually depends on.)
Module 3 — Computing symbols fast: the descent algorithm
Objectives: turn reciprocity + supplements into a Euclidean-algorithm-style computation; execute it on a nontrivial example.
Exposition. To compute for large : repeatedly strip factors of 2 out of (applying the second supplement each time you strip one), then — once is odd — apply reciprocity to flip to (with the appropriate sign from the reciprocity law, which only flips when both current numbers are ), and repeat. This is exactly the Euclidean algorithm’s reduction pattern, and it terminates in steps, just like — dramatically faster than checking all residues by brute force, and it is precisely why the theorem is not just elegant but useful.
Worked example (computer-traced and verified against Euler’s criterion). Compute ( is prime):
- , — both , so reciprocity flips sign. Running sign: . Swap: new pair .
- Strip a factor of 2 from 164: — that’s two factors of 2 (even count, second supplement doesn’t trigger), leaving odd part 41. Check flip: , so no sign flip regardless of . Swap: new pair .
- Strip one factor of 2 from 14, leaving 7: odd count of strips, so apply : , so this supplement contributes (no change). Check flip for : , — not both , no flip. Swap: new pair .
- Strip one factor of 2 from 6, leaving 3: odd count of strips, apply : , contributes (no change). Check flip for : both — flip! Running sign becomes . Swap: new pair .
- : stop.
Final answer: . Independently verified by direct Euler’s-criterion computation (): also . ✓
Problem set 3. 1. Trace the same descent algorithm by hand for ( is prime), showing each step, and state the final answer. 2. How many steps (roughly) does this algorithm take as a function of the size of , and why does that make it dramatically more practical than brute-force testing all residues for a 300-digit prime (the kind of size used in real cryptographic contexts)? 3. Trace and using only the second supplement directly (no descent needed, single step), and confirm both match the rule. 4. Conceptual: why does the algorithm need to special-case powers of 2 out of before applying reciprocity at each step, rather than just applying reciprocity directly to an even ?
Module 4 — Proof: Eisenstein’s lattice-point argument
Objectives: prove Gauss’s Lemma; reformulate it as a floor-sum (Eisenstein’s form); complete the reciprocity proof via a lattice-point count.
Exposition. Gauss’s Lemma: for odd prime and , look at the least positive residues of . Let be the number of these residues that land in the “upper half” . Then . (Idea: pair each such upper-half residue with , which lands in the lower half; a short argument shows the set , taken with the right signs, is a permutation of , and comparing products of both sides gives — i.e. Euler’s criterion with made explicit.)
Eisenstein’s reformulation. For as above with an odd prime, one shows — i.e. The lattice-point count that finishes the proof. Consider the open rectangle of lattice points , . Because are distinct primes (hence coprime), the line passes through no lattice point strictly inside this rectangle. So every one of the lattice points in the rectangle lies strictly on one side of that line or the other. Points below the line, for fixed , are exactly those with , i.e. of them for each — summing over gives exactly . By the symmetric argument (swap roles), points above the line total exactly . Since every point is on exactly one side, Combine with Eisenstein’s formula applied to both symbols: which is exactly the reciprocity law. The entire proof is one counting argument, done two ways.
Worked example (computer-verified). : . . Check: ✓. And matches from Module 1; matches from Module 2. (Verified computationally across all pairs of odd primes up to 37 — the floor-sum formula and the lattice identity hold in every case.)
Problem set 4. 1. Carry out the same computation for by hand, and confirm it matches . 2. Draw (on paper) the lattice rectangle for , sketch the line through it, and shade the points on each side — confirm by counting the shaded points directly that they match your values from problem 1. 3. Where exactly in the proof did “ and are distinct primes” get used? What would go wrong with the lattice-point argument if you tried to run it with ? 4. Conceptual: Gauss’s Lemma alone (without Eisenstein’s reformulation) already gives you a formula for for any , not just primes. Why is the passage to the floor-sum specifically — rather than working with directly — the key move that makes the two-sided lattice count possible?
Module 5 — Applications
Objectives: connect the machinery to classical Diophantine questions and back to the elliptic curves thread.
Exposition — sums of two squares. Fermat’s two-square theorem: an odd prime is expressible as if and only if . The “only if” direction is elementary (squares are , so ). The “if” direction is a direct consequence of the first supplement: means is a QR mod , i.e. there’s an with , i.e. in the Gaussian integers — and since divides that product but (one can show) divides neither factor alone, cannot be a Gaussian prime, so it factors as for a Gaussian integer , giving . This is quadratic reciprocity’s first supplement doing real Diophantine work, and it’s also a first glimpse of the ring-theoretic machinery (factorization in ) that generalizes into cubic and quartic reciprocity.
Exposition — back to elliptic curves. As established earlier in the Map of Math project: for , the 2-torsion points are exactly the roots of the cubic, and Galois (or, over a finite field, Frobenius) acts on those three roots by a permutation that is even (lands in ) exactly when the discriminant is a quadratic residue — this is the classical fact that a polynomial’s Galois group lies in the alternating group iff its discriminant is a square. Concretely over : the cubic splits completely or is irreducible (even case) exactly when , and factors as linear-times-irreducible-quadratic (odd case, a transposition) exactly when .
Worked example (computer-verified across 60 cases spanning 8 curves and 8 primes). Take () over : , and (since , not ). Prediction: odd permutation, i.e. the cubic should factor as one root plus an irreducible quadratic mod 5. Direct check: ; testing gives exactly one root (: … rechecking directly by computer: exactly one root exists mod 5), confirming the odd/mixed factorization type — matching the prediction. This pattern was verified by computer across 8 different curves and 8 different primes (60 valid, non-singular cases total) with zero exceptions: a QR mod predicted “splits completely or irreducible,” a non-residue predicted “one root + irreducible quadratic,” every single time.
Problem set 5. 1. Which primes can be written as ? Cross-check your list against . 2. Using the same Gaussian-integer idea, what do you expect for primes — can they ever be written as (allowing or to be non-coprime, i.e. as a sum of two squares in any way, not just with )? Why does the argument in the exposition not apply to them? 3. For (Module 4 of the elliptic curves course) and : compute , compute , predict the factorization type of the cubic mod 7, then verify by direct root-finding. 4. Conceptual: explain in your own words why “is a square” being decidable by quadratic reciprocity (fast, no factoring needed) is practically useful for understanding an elliptic curve’s behavior mod many different primes at once — tie this back to the L-function construction in Module 6 of the elliptic curves course, where you need for many primes .
Module 6 — Generalizations: Jacobi symbols and the road to Artin/Langlands
Objectives: extend to the Jacobi symbol for composite moduli; place quadratic reciprocity inside the larger reciprocity-law hierarchy.
Exposition. The Jacobi symbol extends the Legendre symbol to any odd by defining . It obeys the same reciprocity law and supplements as the Legendre symbol, formally unchanged — which is what makes it useful: you can run the Module 3 descent algorithm on Jacobi symbols without ever factoring the numbers involved, which is exactly what’s needed in practice (e.g. in primality tests), since factoring is the expensive step reciprocity is trying to avoid. One subtlety: no longer implies is a QR mod when is composite (it only implies is a QR mod each prime factor an even number of times, in a sense) — this gap is exactly what the Solovay–Strassen probabilistic primality test exploits.
Beyond quadratic: cubic reciprocity asks when is solvable, and requires working in ( a cube root of unity) rather than ; biquadratic (quartic) reciprocity asks about and requires . Both were substantially developed by Gauss and Eisenstein. Kummer’s attempt to find a reciprocity law for every exponent , in the ring of -th roots of unity, ran headfirst into the failure of unique factorization in those rings for many — the resolution (inventing “ideal numbers”) is the direct historical origin of ideals in ring theory. The whole program was completed, for abelian extensions, by Artin reciprocity (1927): every one of these reciprocity laws (quadratic, cubic, quartic, and infinitely many others) is a special case of a single statement about abelian extensions of number fields, phrased via the idèle class group. That is the modern, complete answer to “why do all these different-looking reciprocity laws exist” — they’re all shadows of one theorem about 1-dimensional (abelian) Galois representations.
The Langlands program conjectures the correct generalization to Galois representations of any dimension , connecting them to automorphic forms. Dimension 2 is where the elliptic curves course’s Module 6 (modularity) lives — and it is, notably, one of the few cases of the Langlands program that is actually proved rather than conjectural.
Worked example. Jacobi symbol where (composite, not prime): by definition . , and is trivially a QR, so . ; from §3’s QR list for 11 (), 5 is a QR, so . Product: . (Verified computationally, and cross-checked that the same descent algorithm from Module 3, run blindly on without ever noticing is composite, produces the identical answer — demonstrating why the Jacobi symbol is the practically useful object.)
Problem set 6. 1. Compute two ways: directly by factoring and using Legendre symbols, and via the blind descent algorithm treating 77 as if it might be prime. Confirm they agree. 2. Find a specific and composite odd where but is not actually a quadratic residue mod (i.e. has no solution) — this is the phenomenon Solovay–Strassen has to work around. 3. In one paragraph, explain the escalation quadratic cubic quartic Artin (abelian, all at once) Langlands (conjectural, non-abelian) in your own words, and identify which single step in that chain the elliptic curves course’s modularity theorem (Wiles) actually realizes. 4. Research question: what specific obstruction (failure of unique factorization in ) stopped Kummer’s direct approach to general -th power reciprocity, and what invariant did he introduce to measure and work around that failure? (This is the class number / class group — a natural place to go deeper next.)
5. Answer key
Module 1 1. : , so : . : , , : . Product: . Directly: , a QR, so . Matches. ✓ 2. by Euler’s criterion; this is exactly when is even, i.e. , i.e. . 3. The QR set is the index-2 subgroup ; non-residues are the single nontrivial coset . (subgroup closure) gives residueresidue=residue (not asked, but consistent); (since ) gives non-residuenon-residue=residue; gives residuenon-residue=non-residue. All from pure coset arithmetic, no Euler’s criterion needed. 4. Euler’s criterion relies on Fermat’s little theorem () and on being cyclic — both are specifically true because is prime (so every nonzero element is invertible, and the multiplicative group of a finite field is cyclic). Mod a composite , need not be cyclic and not all residues are invertible, so “” doesn’t cleanly detect squares — this is exactly the gap the Jacobi symbol (Module 6) has to live with.
Module 2 1. , so by the “true or false” fact in Q4 (or direct computation), (since ). , so by the second supplement. So has no solution. 2. ; combining with reciprocity for and the first supplement gives iff . Check: : expect ; Euler’s criterion : , ✓. : expect 1; , : ✓. … (verify similarly; the pattern holds throughout). 3. The law is symmetric in by construction — doesn’t care which prime you call — so applying it “the other way” reproduces the same equation, just rearranged; there’s no inconsistency to find, which is itself worth confirming by direct substitution on an example. 4. False in general — it’s true whenever specifically because then is even, making the exponent even regardless of , so the sign is always . (This direction is correct.) But double check the converse isn’t being claimed — the statement as given (if then symbols always agree) is in fact true, exactly for this reason; the interesting/false direction would be claiming the converse (agreement for all implies ), which doesn’t need to hold in as clean a form.
Module 3 1. Following the algorithm (mirroring the worked trace): ; strip two 2’s (even count, no supplement sign), reduces to odd part 15. Check flip for : , — not both 3, no flip. Swap: . Strip two more 2’s from 4 (even, no sign), reduces to 1. Stop. No flips occurred anywhere: sign . Matches the computed value from the worked trace. 2. steps, exactly like the Euclidean algorithm (each step at least roughly halves the numbers involved via the mod-reduction) — for a 300-digit (about 1000-bit) prime that’s on the order of a few thousand simple arithmetic operations, versus brute-force testing residues, which is astronomically infeasible; this complexity gap is what makes reciprocity a genuinely practical algorithm rather than just a theoretical curiosity. 3. : . : . Both match the “” rule directly (7≡-1, 41≡1 mod 8). 4. Reciprocity as stated only applies to two odd numbers; if is even, isn’t covered by the main law directly (the law’s derivation, e.g. via Eisenstein’s lattice count, assumes both numbers are odd), so you must first extract the second-supplement contribution for each factor of 2 before the main reciprocity step is even applicable to what remains.
Module 4 1. . . Sum ✓, matching . 2. This is a drawing/counting exercise — the key check is that your shaded-point counts on each side of the line inside the rectangle equal and respectively, matching problem 1. 3. Coprimality of is exactly what guarantees no lattice point lies on the line strictly inside the rectangle (a lattice point on that line would need with , forcing since — impossible in range). If , every point with lies exactly on the line, the “every point is on one side or the other” dichotomy breaks completely, and the count would need separate handling of the diagonal — the argument doesn’t go through as stated. 4. Gauss’s Lemma’s is defined via a somewhat awkward “count residues landing in the upper half” condition that doesn’t obviously decompose into two symmetric pieces. Eisenstein’s floor-sum is a sum over a simple range with a clean geometric meaning (lattice points below a line) that has an equally clean “mirror” sum — it’s specifically the reformulation into a countable geometric quantity that makes the two-sided rectangle argument possible; alone doesn’t have an obvious geometric mirror the way does.
Module 5 1. with : — these are exactly the ones expressible as (, , , ); the primes () are not. 2. No — primes can never be written as (in any way, coprime or not): if then working mod 4, squares are or , so , never . The Gaussian-integer factorization argument in the exposition specifically needed to be a QR mod (first supplement) to produce the factorization -style splitting — for , is a non-residue, stays prime (inert) in , and no such factorization, hence no two-square representation, exists. 3. for (from the elliptic curves course, Module 4). : , so . (4 is a perfect square). Prediction: even permutation (splits completely or irreducible mod 7). Direct check: for gives values — none are , so no roots mod 7, meaning the cubic is irreducible — an even (3-cycle) case, matching the prediction. ✓ 4. Because the QR-decidability algorithm (Module 3) is , you can determine the splitting type — and hence a coarse but immediately-useful piece of information about ’s parity/structure — for thousands of primes almost instantly, without ever factoring the cubic mod each one by brute force; this is a small-scale preview of why the L-function machinery in Module 6 of the elliptic curves course (which needs for many primes to see the analytic behavior of ) is computationally tractable at all.
Module 6 1. Both routes give (compute independently to confirm: , ; , and from §3’s list , 8 is not a QR mod 11 so ; product — the blind descent algorithm applied directly to should reproduce this same value). 2. A standard example: , . , but has no solution (checking directly finds none) — the Jacobi symbol is while is not actually a QR mod 15. 3. Quadratic (exponent 2, needs only ) generalizes to cubic (exponent 3, needs ) and quartic (exponent 4, needs ), each requiring a bigger ring of integers; Artin reciprocity subsumes all exponents at once for abelian extensions via class field theory; Langlands conjectures the non-abelian generalization to Galois representations of any dimension. The elliptic curves course’s modularity theorem (Wiles, and Breuil–Conrad–Diamond–Taylor) is precisely the dimension-2 case of the Langlands step — one of the few fully-proved instances of that otherwise-conjectural generalization. 4. Unique factorization fails in for many (the classical example is , and more generally whenever the relevant cyclotomic field has class number greater than 1) — Kummer introduced “ideal numbers” (formalized today as the ideal class group, with the class number measuring exactly how badly unique factorization fails) to repair this, recovering a form of unique factorization at the level of ideals even when ordinary elements don’t factor uniquely.
6. Resources
Primary/expository sources used for this course: Quadratic reciprocity — Wikipedia (history and statement), Proofs of quadratic reciprocity — HandWiki/Wikipedia (survey of proof methods), Robin Chapman, Eisenstein’s proof of quadratic reciprocity (the lattice-point argument used in Module 4), Artin reciprocity — Wikipedia (the abelian generalization and its relation to Langlands).
Textbooks: Ireland & Rosen, A Classical Introduction to Modern Number Theory — contains the Eisenstein proof essentially as presented here, plus the cubic/quartic reciprocity generalizations; Gauss’s own Disquisitiones Arithmeticae (1801) for the primary source, in English translation, if you want to read the theorem in the form Gauss actually stated it.
Free notes: Keith Conrad’s expository blurbs (same author cited in the elliptic curves course) cover Gauss’s Lemma, the Legendre/Jacobi symbol, and several proof variants individually and are pitched at exactly the right level for self-study — indexed at numbertheory.org.
Computational tools: any computer algebra system
(SageMath, as already recommended in the elliptic curves course, has
kronecker_symbol and is_QR-style functions
built in) is worth using to check hand computations at larger scale than
is practical by hand — exactly as this course’s worked examples were
verified.
Built for the Map of Math project. Connections to the rest of the
map — including the specific edges to elliptic curves, algebraic number
theory, and the Langlands program — are tracked centrally in
map-index.md, not duplicated here.