Elliptic Curves, From the Ground Up
A self-contained course built for the Map of Math project — designed so you can keep building deeper threads off of it instead of re-deriving the same starting points every time.
How to use this document
This is built as a single strand of your map, but a strand with joints — deliberate points where it connects to other territories (Galois theory, algebraic geometry, complex analysis, cryptography, number theory) that you can peel off and go deepen independently later without losing the thread back to elliptic curves. Section 6 gives you that map explicitly.
The structure: motivation, then history (so the ideas arrive in the order humans actually needed them, not the order textbooks compress them into), then an algebra refresher built specifically toward the one fact everything else depends on — that points on an elliptic curve form a group — then eight coursework modules, each with exposition, a fully worked example, and a graded problem set. A full answer key sits at the end so this is genuinely self-checkable. Work the problems before reading the answers; the value of “rigorously testing understanding” evaporates if you read ahead.
1. Motivation — why this object, specifically
Start with a question a bright teenager can understand and a research mathematician cannot fully answer: for a given cubic equation like , which points on it have both coordinates rational numbers, and how many are there?
That question sounds like it should be easy. It is not. It is, in a precise sense, at the edge of what humanity currently knows how to compute in general — the relevant open problem (the Birch and Swinnerton-Dyer conjecture) is one of the seven Clay Millennium Prize Problems, worth $1,000,000, unsolved as of this writing. Elliptic curves are the smallest, simplest-looking class of objects where “find all the rational solutions” stops being solvable by any known general algorithm. Lines have easy rational-point theory (either none, one, or infinitely many, and you can always tell which). Conics (circles, ellipses, parabolas, hyperbolas) also have a complete theory — one rational point lets you find them all via a parametrization trick. Cubics are where this breaks. The moment the degree goes from 2 to 3, the rational points stop forming a describable curve of points and start forming something new: a group. That single fact — that the solution set organizes itself into a group under a geometric addition law — is the entire reason elliptic curves are not just “one more Diophantine equation” but a load-bearing structure across modern mathematics.
Four independent reasons this specific structure deserves a deep, dedicated thread in your map:
It is a genuine crossroads. Elliptic curves sit at the intersection of number theory (rational and integer solutions), algebraic geometry (they are curves — geometric objects), complex analysis (over they are literally tori, built from elliptic integrals), and group theory (their points form an abelian group). Very few objects in mathematics let you walk in from four different departments and find you’re standing in the same room. That’s exactly the property you want in a map: a hub, not a leaf.
It resolved one of history’s most famous open problems. Fermat’s Last Theorem sat unsolved for 358 years until Andrew Wiles proved it in 1994–95 — not by attacking the theorem directly, but by proving a deep statement about elliptic curves (the modularity theorem) that had been shown, a decade earlier, to imply Fermat’s theorem as a corollary. The proof of a 17th-century number theory riddle turned out to run entirely through 20th-century elliptic curve theory.
It runs the internet. Every time you load an HTTPS website, unlock a modern iPhone, or move Bitcoin, elliptic curve cryptography is doing the key exchange or the signature underneath. The reason: the group law on an elliptic curve gives you a “one-way” operation — computing (adding a point to itself times) is fast, but recovering from and (the discrete log problem) is believed to be intractable, and unlike its cousin in , no sub-exponential algorithm is known for the general case. Same abstract structure, one branch feeds pure number theory, the other feeds your phone’s lock screen.
It is the right size to actually master. Unlike, say, “algebraic geometry” as a whole (which can take years just to set up the language for), elliptic curves are concrete enough that you can compute with actual numbers by hand within a week, while still opening directly onto the deepest machinery in the field (Galois representations, modular forms, L-functions) once you want to go further. It’s a foundation you can stand on almost immediately and build arbitrarily high on later.
Keep this in mind as the throughline as you work: everything below is really one idea — that a cubic curve’s solution set can be given a group structure — examined from every angle mathematicians have found useful (geometric, algebraic, analytic, arithmetic, computational) over roughly 2,300 years.
2. History and intellectual lineage
Textbooks usually present elliptic curves in the logical order (definition → group law → theorems), which is the opposite of the order in which humans actually discovered why any of it mattered. Here is the real order, verified against primary and secondary historical sources.
| Period | Who | What happened |
|---|---|---|
| c. 250 CE | Diophantus of Alexandria | In the Arithmetica, poses and solves specific Diophantine problems that, in modern language, amount to finding rational points on particular cubic curves — without any general theory. |
| 1637 | Pierre de Fermat | Writes his famous marginal note claiming has no positive integer solutions for , giving no proof. This conjecture becomes the 350-year target that elliptic curve theory eventually hits. |
| 18th–19th c. | Euler, Legendre, Abel, Jacobi | Study elliptic integrals — arc-length integrals of the form — which arise from computing the arc length of an ellipse (hence, confusingly, the name “elliptic,” even though the curves themselves are not ellipses). Abel and Jacobi invert these integrals to get elliptic functions, doubly-periodic functions on , and it is this analytic object that first bears the name “elliptic.” |
| 19th c. | Karl Weierstrass | Gives the standard normal form (the “Weierstrass equation”) and the -function machinery connecting elliptic functions to cubic curves. This is the bridge from analysis to algebra: the complex points of the curve turn out to be exactly modulo a lattice. |
| 1901 | Henri Poincaré | In a landmark paper on arithmetic properties of algebraic curves, explicitly poses the question of whether the rational points on a curve of genus 1 (an elliptic curve) form a finitely generated group — introducing the language of “rank” for the first time. |
| 1922 | Louis Mordell | Proves Poincaré’s conjecture for elliptic curves over : the group of rational points is always finitely generated. This is the Mordell theorem — a rational elliptic curve’s infinitude of solutions (when infinite) is always generated by finitely many “basic” solutions. |
| 1928–1929 | André Weil | Generalizes Mordell’s result to abelian varieties (higher-dimensional analogues) over arbitrary number fields in his doctoral thesis, giving the combined Mordell–Weil theorem. |
| 1933 | Helmut Hasse | Proves the Hasse bound: for an elliptic curve over a finite field , the number of points satisfies — a precursor to the Riemann Hypothesis for curves over finite fields. |
| 1955 onward | Yutaka Taniyama, Goro Shimura (with later refinement by André Weil) | Propose what becomes the Taniyama–Shimura–Weil conjecture: every elliptic curve over is “modular” — its point-counting data matches that of a modular form. At the time this looks like a wild, almost unbelievable claim linking two completely different worlds of mathematics. |
| Late 1960s | Yves Hellegouarch | First connects a hypothetical counterexample to Fermat’s Last Theorem to an elliptic curve. |
| 1982–1986 | Gerhard Frey, then Ken Ribet | Frey shows that if Fermat’s Last Theorem were false, the counterexample would produce a bizarre elliptic curve (the “Frey curve”) that could not possibly be modular. Ribet proves this rigorously in 1986 (published 1990), establishing that Taniyama–Shimura for semistable curves implies Fermat’s Last Theorem. The chase is now on: prove one very specific, very hard case of modularity, and you resolve a 350-year-old problem as a side effect. |
| 1993–1995 | Andrew Wiles (with Richard Taylor) | Wiles announces a proof in June 1993; a serious gap is found that September. Wiles and Taylor fix it in September 1994, and the completed proof is published in the Annals of Mathematics in May 1995 — proving the semistable case of modularity, and with it, Fermat’s Last Theorem. |
| 1985 | Neal Koblitz and Victor Miller (independently) | Both propose using the group law on elliptic curves over finite fields as the basis for public-key cryptography — elliptic curve cryptography (ECC) is born. Adopted widely from the 2000s onward (TLS, Bitcoin’s secp256k1, Curve25519, modern smartphone security). |
| 2001 | Christophe Breuil, Brian Conrad, Fred Diamond, Richard Taylor | Extend Wiles’s methods to prove the full modularity theorem for every elliptic curve over , not just the semistable ones needed for Fermat. |
| Ongoing | — | The Birch and Swinnerton-Dyer conjecture (relating the rank of to the behavior of its L-function at ), formulated in the early 1960s from numerical computation — one of the earliest examples of a major conjecture discovered by computer experimentation — remains open as a Clay Millennium Prize Problem. |
Two threads worth sitting with, because they tell you something about how mathematics actually moves: first, the name “elliptic curve” is a historical accident — the curves aren’t ellipses, the name leaked over from elliptic integrals, which came from ellipse arc length. Second, notice how long the gap is between “beautiful pure conjecture” (Taniyama–Shimura, 1955) and “resolved” (2001) — 46 years — and that the resolution was driven by someone (Frey) noticing an unexpected bridge to a completely different 350-year-old problem. That’s the real shape of deep mathematical progress: long incubation, then a surprising connection collapses two hard problems into one.
Sources consulted for this section: Mordell–Weil theorem — Wikipedia, Wiles’s proof of Fermat’s Last Theorem — Wikipedia, Modularity theorem — Wikipedia, Neal Koblitz — Wikipedia, Breuil–Conrad–Diamond–Taylor, “On the Modularity of Elliptic Curves over Q: Wild 3-Adic Exercises,” JAMS 14 (2001), Ribet, “From the Taniyama–Shimura Conjecture to Fermat’s Last Theorem”.
3. Algebra foundations, built from scratch toward the group law
You asked specifically to rebuild this from the abstract-algebra side up, rather than take the group structure on faith. This section is the refresher — everything here is aimed at one destination: understanding, structurally, why points on a cubic curve can be added.
3.1 Groups
A group is a set together with an operation satisfying four axioms:
- Closure: for all , (this is usually built into the definition of as a function into , but it’s worth stating explicitly because it’s exactly the axiom that will require real work to verify for elliptic curves).
- Associativity: for all .
- Identity: there exists such that for all .
- Inverses: for every , there exists with .
If additionally for all , the group is abelian (commutative). Familiar examples: , with identity and inverse ; (nonzero rationals under multiplication), identity ; , the integers mod . A non-abelian example: the symmetric group of permutations of objects under composition, for .
The reason groups matter here: the closure and associativity axioms are exactly the two nontrivial facts you must prove about “adding points on a cubic curve” before you’re allowed to call it a group. Identity and inverses turn out to be easy once you set things up correctly (Module 2 will show you why). Keep closure and associativity in your peripheral vision as you go — they are the two axioms doing real work.
A subgroup is a subset that is itself a group under the same operation. A homomorphism is a map satisfying ; an isomorphism is a bijective homomorphism, meaning and are “the same group” wearing different labels. This language matters immediately: the group law you’ll build on elliptic curves is often proved correct by exhibiting an isomorphism to a group you already understand (the divisor class group, or — over — the quotient group for a lattice ).
3.2 Rings
A ring is a set with two operations, and , such that is an abelian group, multiplication is associative, and multiplication distributes over addition: . If multiplication is also commutative and there’s a multiplicative identity , you have a commutative ring with unity — the kind you’ll use almost exclusively here. Examples: , and the polynomial ring (or for a field ), which is where the cubic equations defining your curves actually live as objects.
The single most important ring-theoretic fact for this course: a polynomial like over a field factors, in the ring , according to its roots — and whether has a repeated root is detectable purely algebraically via the discriminant , without ever finding the roots themselves. This is precisely the tool used in Module 1 to decide whether a given cubic is a legitimate elliptic curve (smooth) or a degenerate one (singular, with a repeated root).
3.3 Fields
A field is a commutative ring with unity in which every nonzero element has a multiplicative inverse — so you can divide by anything except . , , are fields; is not (you can’t divide by and stay in ). For a prime , is a field with exactly elements — this is the finite field you’ll use for both the Hasse bound module and, later, for cryptography, where all arithmetic happens modulo a large prime.
Why fields specifically, and not just rings: the formulas for adding two points on an elliptic curve involve division (a slope ). You need to be working over a field for that division to always make sense. This is exactly why “an elliptic curve over ” isn’t quite the right phrase — you study elliptic curves over a field (often , , , or ), even when you ultimately care about integer or rational solutions.
3.4 Projective space, in one paragraph
One more piece of algebraic scaffolding you’ll need immediately: the point at infinity. When you draw in the ordinary -plane, two points with the same -coordinate and vertical tangent or a vertical chord seem to have “nowhere to go” — the line shoots off to infinity without hitting a third point on the curve. The fix, due to 19th-century projective geometry, is to work in the projective plane , where a single extra point (“the point at infinity”) is added so that every line meets the cubic in exactly three points (counted with multiplicity — this is a special case of Bézout’s theorem: a line, degree 1, meets a cubic, degree 3, in points). turns out to be exactly the identity element of the group. You don’t need the full machinery of projective geometry to use this course — just the picture: one extra point, sitting “at the top and bottom of every vertical line at once,” that makes the geometry total instead of having awkward exceptions.
Where to go deeper on this section alone: if groups, rings, and fields are shaky, the standard rigorous reference is Dummit & Foote’s Abstract Algebra (see Resources, §5); the classic terser alternative is Artin’s Algebra.
4. Coursework
Eight modules. Each has learning objectives, exposition, one fully worked numerical example (verified by hand), and a problem set mixing computation, proof, and conceptual questions. Full solutions are in §7 — resist checking them before attempting the problems.
Module 1 — What is an elliptic curve?
Objectives: define the Weierstrass equation; determine smoothness via the discriminant; compute the -invariant.
Exposition. Over a field with characteristic (true for , and all but finitely many ), an elliptic curve is the set of solutions to together with one formal extra point (the point at infinity, §3.4), subject to the nondegeneracy condition that the cubic has no repeated roots. That condition is captured by the discriminant and the curve is a genuine elliptic curve (smooth, no self-intersections or cusps) exactly when . Two curves are considered “the same” (isomorphic) when related by a specific rescaling of coordinates; the quantity that survives such rescaling and thus classifies curves up to isomorphism (over an algebraically closed field) is the -invariant,
Worked example. Let . Then , so is a genuine elliptic curve. (This is the curve we’ll use throughout Module 2.)
Problem set 1. 1. Compute the discriminant of . Is it an elliptic curve? What are its three roots, and what do you notice geometrically about the curve over as a result? 2. Show that has , and describe (in words or a sketch) what goes wrong with the curve at the origin. 3. For which values of does fail to be an elliptic curve? 4. Prove that if , the cubic has three distinct roots in (the algebraic closure), using the standard fact that the discriminant of a monic cubic vanishes iff it has a repeated root.
Module 2 — The group law
Objectives: derive the chord-and-tangent addition law geometrically; extract explicit algebraic formulas; understand (without necessarily reproving in full) why associativity holds.
Exposition. Here is the entire idea in one sentence: given two points on , draw the line through them; by Bézout’s theorem it meets in exactly one more point ; reflect across the -axis to get . The reflection step is what makes (rather than itself) the identity, and is what makes the operation associative — this isn’t arbitrary, it’s forced by identifying ’s points with the divisor class group (the group of formal sums of points modulo “principal divisors,” i.e., modulo the zero sets of rational functions on ), via . That identification is manifestly a group (it’s a quotient of a free abelian group), and one checks that the chord-tangent rule reproduces exactly the addition in that quotient. That verification is the content of a full proof of associativity; it’s genuinely non-trivial (a page or two, done properly with Riemann–Roch or a direct but tedious algebraic identity), and is done in full in Silverman’s Arithmetic of Elliptic Curves, III.3. For this course, you should understand why the proof has this shape (identify with a group you already trust) even if you don’t reproduce every line.
Concretely, for and points , , both :
- Identity: is the identity: for all .
- Inverse: — the reflection of across the -axis. Note , consistent with a vertical line meeting the curve at , , and .
- Addition (): slope ; then , , and .
- Doubling (, using the tangent line): slope ; same formulas for as above with .
Worked example (doubling). Take from Module 1, and (check: ✓.) Compute : So . Verify it’s on the curve: . ✓.
Problem set 2. 1. Using and from the worked example, compute . 2. Prove, directly from the reflection definition of , that using the “a line meets the curve in 3 points counted with multiplicity” principle (what line passes through and , and where is its third intersection point?). 3. Explain in your own words why closure — the fact that always lands back on — is not obvious and requires the algebra (not just the geometric picture) to confirm. (Hint: what would go wrong if were not smooth, i.e., ?) 4. Conceptual: the group law identifies with via . Using only the fact that is manifestly an abelian group (a quotient of a free abelian group), explain why this immediately tells you is abelian — without needing to check commutativity of the chord-tangent rule by hand.
Module 3 — Elliptic curves over different fields
Objectives: understand the qualitatively different pictures , , and present, and state the Hasse bound.
Exposition.
Over : the real points form either one or two connected topological loops (depending on whether the cubic has one or three real roots), plus . Picture it: the group law is literally the geometric chord-and-tangent construction you’d draw on graph paper.
Over : this is where the history comes full circle. Weierstrass showed that is isomorphic, as a group, to for a lattice — a complex torus. The isomorphism is given by the Weierstrass -function and its derivative: . This is exactly the elliptic-integral/elliptic-function story from §2 landing on the algebraic curve: the group law on the curve corresponds to ordinary addition of complex numbers mod the lattice. This is the deepest sense in which “an elliptic curve is a torus.”
Over : now is a finite abelian group — you can literally list every element. The Hasse bound (Hasse, 1933) says the size is close to : This is what makes elliptic curve cryptography practical: you get a group of predictable, controllable size, built from ordinary modular arithmetic.
Worked example. over . Squares mod 5 are (since ). Tabulate :
| square? | points | ||
|---|---|---|---|
| 0 | 1 | yes | |
| 1 | 3 | no | — |
| 2 | 1 | yes | |
| 3 | 1 | yes | |
| 4 | 4 | yes |
That’s affine points plus : . Hasse check: . ✓.
Problem set 3. 1. Compute for , by the same brute-force method, and verify the Hasse bound. 2. Why must always include the point — i.e. why can the affine point count alone never be the full story? 3. Conceptual: explain, using the picture, why as a group is isomorphic to topologically (a torus) — what are doing geometrically? 4. If is large (cryptographic-size, e.g. 256-bit), explain why the Hasse bound alone — without computing exactly — already tells an attacker useful information about how hard the discrete log problem might be on that curve.
Module 4 — Torsion and the structure of
Objectives: state the Nagell–Lutz theorem; understand torsion subgroups; state Mazur’s theorem.
Exposition. A point is a torsion point if for some positive integer ; the smallest such is its order. The Nagell–Lutz theorem gives a beautifully concrete criterion for curves with : if is a rational torsion point (other than ), then , and either (order 2) or . This turns “is this point torsion?” into a finite, mechanical check. Mazur’s theorem (1977) is the deep classification result: the torsion subgroup of is always one of exactly 15 possible groups — for , or for . Nothing else ever occurs, for any elliptic curve over — a remarkably rigid finiteness result.
Worked example. , (check: ✓). Double it: , so . Then , . So . Hence : has order 3. Sanity check via Nagell–Lutz: ; and , an integer, so ✓ — consistent with being torsion.
Problem set 4. 1. Verify by direct computation that for on (i.e., compute explicitly and confirm you get ). 2. For , use Nagell–Lutz to argue that has no nontrivial torsion points with small (check candidates dividing up to a reasonable bound, e.g. ). 3. Which of the 15 groups in Mazur’s theorem is the largest in size? Which torsion structures are impossible — e.g., is ever the torsion subgroup of a rational elliptic curve? Is ? 4. Conceptual: why is it significant that Mazur’s theorem gives a uniform, finite list independent of the curve, whereas (as you’ll see in Module 5) the rank of is unbounded and still not fully understood? What does this tell you about which parts of “how big is ” are easy versus hard?
Module 5 — The Mordell–Weil theorem and ranks
Objectives: state the Mordell–Weil theorem precisely; understand rank; understand (at a sketch level) the descent method; state BSD informally.
Exposition. The Mordell–Weil theorem (Mordell 1922 for , Weil 1928 in general): for any elliptic curve over a number field , the group is finitely generated. By the structure theorem for finitely generated abelian groups, this means for some non-negative integer , the rank. Rank 0 means finitely many rational points total (all torsion); rank means infinitely many, all generated from independent “basic” points by the group law. The proof method — infinite descent, going back in spirit to Fermat himself — works roughly like this: define a homomorphism (something finite and computable), show its kernel/image constraints force to be finite, then use a “height function” (a way of measuring how arithmetically complicated a point’s coordinates are) to show that starting from any point you can keep halving down to a finite generating set — an infinite descent that must terminate.
Unlike torsion (Mazur: bounded, classified, computable), rank has no known general algorithm to compute exactly for an arbitrary curve, and it is not even known whether rank is unbounded (though curves of rank 20+ have been found). This asymmetry — torsion tame, rank wild — is one of the most important qualitative facts to internalize about .
The Birch and Swinnerton-Dyer conjecture, discovered in the early 1960s by literally computing for many primes on an early computer and noticing a pattern, proposes a bridge: the rank of should equal the order of vanishing at of the curve’s L-function (built from those same point counts — see Module 6). It remains open, and is one of the seven Clay Millennium Prize Problems.
Worked example. has rank 1 over , generated (modulo torsion, of which there is none) by — check: ✓. Every rational point on this curve is for some integer (there is no torsion to add). This is a genuinely famous curve: it is one of the simplest with rank exactly 1, and its points relate to Bachet’s classical Diophantine problem of finding rational cubes differing from a square by exactly 2.
Problem set 5. 1. Confirm is on , then compute using the doubling formula: , giving (verified to lie on the curve). 2. Explain in your own words the qualitative difference between “the torsion subgroup is one of 15 known groups” (Mazur) and “the rank is unbounded and not known to be computable in general.” Why does one part of the same finitely-generated-group structure theorem end up tame and the other wild? 3. Suppose you’re told has rank 0. What does that tell you, concretely, about the total number of rational points on (accounting for torsion)? 4. Look up (or, if you want a challenge, attempt to reason toward) what the current largest known/verified elliptic curve rank is, and note the year found, as a snapshot of where this open problem stands.
Module 6 — Elliptic curves and modular forms
Objectives: define the L-function of an elliptic curve from point counts; state the modularity theorem; connect to BSD.
Exposition. For each prime of good reduction, define (the “error term” in the Hasse bound — by Hasse, ). Package all these into an L-function via an Euler product, formally analogous to the Riemann zeta function’s Euler product over primes. The astonishing content of the modularity theorem (Taniyama–Shimura–Weil conjecture, proved in the semistable case by Wiles 1994–95 and in full generality by Breuil–Conrad–Diamond–Taylor 2001) is that this L-function, built purely from arithmetic point-counting data, exactly coincides with the L-function of a specific modular form — a highly symmetric analytic function on the upper half-plane invariant under a large group of Möbius transformations. Two objects from utterly different parts of mathematics (a curve’s arithmetic vs. an analytic function’s symmetry) turn out to encode identical information. This is the single deepest fact in this entire course, and it is precisely the fact Wiles’s proof of Fermat’s Last Theorem establishes (in the case needed).
Worked example. Using the computation from Module 3 (): . Check Hasse: ✓. This single number is one coefficient of the modularity dictionary — modularity guarantees a specific weight-2 modular form exists whose -expansion coefficients reproduce exactly this sequence for every prime .
Problem set 6. 1. Compute for over (you’ll need first — brute force it as in Module 3): the only points are and , so , giving (check Hasse: ✓). 2. Explain, in your own words, why “the L-function of the curve equals the L-function of a modular form” is a surprising statement rather than an obvious one — what are the two completely different worlds being identified? 3. Conceptual: BSD relates the rank (an algebraic/arithmetic invariant from Module 5) to the order of vanishing of at (an analytic invariant defined in this module). Why does modularity need to be established first, historically and logically, before a statement like BSD is even well-posed to attack computationally (i.e., before you can compute at all)? 4. Look up the current status of BSD (fully proved / proved in special cases / open) and summarize what is and isn’t known as of your reading.
Module 7 — Elliptic curves and Fermat’s Last Theorem
Objectives: understand the logical chain Frey → Ribet → Wiles at a conceptual level.
Exposition. Suppose, for contradiction, that Fermat’s Last Theorem is false for some prime exponent : with nonzero integers. Frey (1982–85) associates to this hypothetical solution the elliptic curve and observes that this curve has extremely restrictive, almost pathological properties (it is semistable with a highly specific conductor). Ribet (1986) proves rigorously that such a curve, if it existed, could not be modular — it would violate a precise consequence of the (at the time still conjectural) Taniyama–Shimura conjecture, specifically Serre’s epsilon conjecture. So: if every semistable elliptic curve over is modular, then the Frey curve can’t exist, then no counterexample to Fermat’s Last Theorem can exist. Wiles’s job — completed with Taylor in 1994, published 1995 — was to prove modularity for exactly the class of curves (semistable) that includes every possible Frey curve. The logical chain is a textbook example of proof by an unexpected detour: instead of attacking directly (as everyone had for centuries), you attack a completely different-looking statement about elliptic curves and modular forms, and the original target falls out as a corollary.
Problem set 7. 1. Write out, in your own words and without notes, the full logical chain from “assume Fermat’s Last Theorem is false” to “contradiction,” making explicit which step uses Frey’s construction, which uses Ribet’s theorem, and which uses Wiles’s theorem. 2. Why does the Frey curve need to be semistable for the argument to work, and why was it significant that Wiles only needed to prove modularity for semistable curves rather than all elliptic curves (with the full case left to Breuil–Conrad–Diamond–Taylor in 2001)? 3. Fermat claimed to have “a truly marvelous proof” that the margin was too small to contain. Given everything you now know about the actual proof (published 1995, over 100 pages, requiring 20th-century machinery), what’s your assessment of whether Fermat’s claimed proof could plausibly have been correct and elementary? Defend your answer. 4. Research question: what is the Frey curve’s conductor, in terms of , and why does the “epsilon conjecture” (Ribet’s theorem) specifically forbid that conductor value from being modular?
Module 8 — Elliptic curve cryptography
Objectives: understand the elliptic curve discrete logarithm problem (ECDLP); understand Diffie–Hellman key exchange on an elliptic curve; know where ECC is used in practice.
Exposition. Fix a curve over (with a large prime, e.g. 256-bit) and a base point of large prime order . The elliptic curve discrete logarithm problem (ECDLP) is: given and (i.e. added to itself times), find . Computing from and is fast (repeated doubling-and-adding, group operations — “double and add,” directly analogous to fast exponentiation). Reversing it is believed computationally infeasible for well-chosen curves and large — and critically, no known sub-exponential algorithm solves ECDLP in general, unlike the classical discrete log problem in , where index calculus gives a sub-exponential attack. This is precisely why 256-bit elliptic curve keys give comparable security to roughly 3072-bit RSA keys — you need far fewer bits, hence faster, smaller keys.
Elliptic Curve Diffie–Hellman (ECDH): Alice picks a random integer , publishes . Bob picks random , publishes . Alice computes ; Bob computes — same point, computed independently, without either party’s secret ever crossing the wire. An eavesdropper sees but (believed) cannot feasibly recover without solving ECDLP.
In practice: TLS/HTTPS (curves like Curve25519 and the NIST P-256 curve secure most of the web today), Bitcoin and Ethereum (secp256k1 for signatures — ECDSA), and modern smartphone secure enclaves all run on this exact group-law arithmetic.
Worked example. Toy-scale (not remotely secure, but mechanically real): over from Module 3, with . Suppose Alice’s secret is : . Using the doubling formula mod 5: . Since (as ), . Then , and . So — which checks against the table in Module 3 ✓ (it’s one of the two listed points at ).
Problem set 8. 1. Continue the toy example: if Bob’s secret is , compute using and found above. 2. Compute the shared secret (using and your from problem 1) and separately (using and ), and confirm they match — that’s Diffie–Hellman working end to end on a toy curve. 3. Explain in your own words why “double and add” lets you compute in steps rather than steps, and why this matters for using cryptographic-size (hundreds of bits). 4. Conceptual: why does ECC allow smaller key sizes than RSA for equivalent security? Tie your answer explicitly to the fact (stated in the exposition) that no sub-exponential attack is known against ECDLP, unlike classical discrete log or integer factorization.
5. Resources, organized
Textbooks — algebra refresher (§3): - David Dummit & Richard Foote, Abstract Algebra — the standard rigorous reference for groups, rings, fields; also available to borrow on the Internet Archive. - Michael Artin, Algebra — terser, more geometric alternative.
Textbooks — elliptic curves, roughly easy → hard: - Joseph Silverman & John Tate, Rational Points on Elliptic Curves — the best true starting point; assumes only undergraduate algebra. Publisher page. - Lawrence Washington, Elliptic Curves: Number Theory and Cryptography — excellent for the cryptography side specifically, still rigorous. - Joseph Silverman, The Arithmetic of Elliptic Curves — the graduate-level canonical reference (proves the group law associativity in full, among everything else). Where Module 2’s “the full proof lives here” points. - Neal Koblitz, Introduction to Elliptic Curves and Modular Forms — the natural next step toward Module 6/7 material.
Free lecture notes / courses: - Andrew Sutherland, MIT 18.783 Elliptic Curves — the single best free rigorous course available online, with full lecture notes and problem sets. Course page (Fall 2025), earlier iteration with posted notes. - William Stein’s course materials and books, including Modular Forms: A Computational Approach — leans computational (Sage-based). wstein.org notes index, Elementary Number Theory (free book). - Keith Conrad’s expository notes (number theory, widely regarded as some of the clearest short expository math writing available) — indexed at numbertheory.org. - Henrik Bachmann’s Elliptic Curves course notes (2024): henrikbachmann.com/ec_2024.html.
Primary/historical sources (for §2, if you want to read the actual papers rather than the summary): - Ken Ribet, “From the Taniyama–Shimura Conjecture to Fermat’s Last Theorem” — an accessible expository account by one of the principals. - Breuil, Conrad, Diamond, Taylor, “On the Modularity of Elliptic Curves over Q: Wild 3-Adic Exercises,” JAMS 14 (2001) — the full-generality modularity proof. - Wikipedia’s “Wiles’s proof of Fermat’s Last Theorem” and “Mordell–Weil theorem” pages are both unusually well-sourced and are good jumping-off points to primary literature.
Cryptography specifically: - Christof Paar’s cryptography lecture series (Ruhr-Universität Bochum), publicly posted on YouTube, including a dedicated ECC lecture. - Alfred Menezes’s lectures on elliptic curve cryptography (widely available, Menezes is a foundational author in the field alongside Koblitz). - “Elliptic Curve Cryptography: The Serpentine Course of a Paradigm Shift” — a well-regarded historical/technical survey.
Interactive / computational tools (highly recommended for actually building intuition — compute with real curves, not just the toy examples above): - LMFDB (L-functions and Modular Forms Database) — look up any elliptic curve over , see its rank, torsion, L-function, conductor, and modularity data instantly. This is the single best “playground” for everything in Modules 4–6. - SageMath elliptic curves documentation and the thematic tutorial — free, runs in-browser via SageCell, lets you check every hand computation in this document (and go far beyond it) in seconds.
6. Connection graph — where this fits in your map
The canonical, up-to-date version of this graph now lives in
map-index.md, not here — that doc is the single
source of truth for the whole project (every node’s status, every edge
labeled with its actual mechanism rather than just a shared word, plus a
log of rejected “false friend” connections like Marden’s theorem).
Keeping one copy in one place means this section can’t quietly drift out
of sync with what’s actually been built since.
What’s worth keeping here, locally, is the reading of that
graph specific to this course: elliptic curves are a hub, and each
module above opens a door to a bigger territory. Algebraic geometry is
the natural next thread if Modules 1–2 (the group law itself) were the
most interesting part — it supplies the Riemann–Roch machinery behind
the associativity proof this course only sketched. Modular forms and
Galois representations are the thread if Modules 6–7 (the Wiles
storyline) were the draw. Quadratic reciprocity — now
its own complete course, quadratic-reciprocity-course.md —
turned out to be a real, mechanism-level neighbor rather than a tangent:
it’s what decides the splitting behavior of 2-torsion (via the
discriminant-square criterion) and is the historical prototype for the
whole reciprocity-law lineage that modularity itself belongs to.
Cryptography is the applied thread out of Module 8. Complex analysis is
the thread if the
picture in Module 3 was the most satisfying part — and it connects
onward to the uniformization theorem’s spherical/flat/hyperbolic
trichotomy, which is the rigorous cousin of genus 0/1/≥2 classification
underlying §8’s appendix.
When you pick a stub node from map-index.md to build out
next, start that new document by writing down which node you’re standing
on and what you already know as a result — that’s the mechanism that
turns “circling the same ideas” into “building continuously outward,”
which was the stated goal for this whole project.
7. Answer key
Work the problems first. Answers are terser than the exposition above — they confirm you got the right destination, not a substitute for doing the derivation yourself.
Module 1 1. : . Roots of : — three distinct real roots, so over the curve has two connected components (an oval and an unbounded branch). 2. . At the origin , both partial derivatives of vanish, so the curve has a cusp there — not smooth. 3. ; this is exactly when . So fails to be an elliptic curve only at . 4. Standard fact: discriminant of monic cubic is over its roots ; this is iff two roots coincide. (up to the constant factor relating it to this product) forces all three roots distinct.
Module 2 1. First get (worked example). Then add : . Carrying this through gives (verified numerically to satisfy — the point of this exercise is the mechanical fluency of the formulas, not a clean number). 2. The vertical line meets at and ; by the “point at infinity on every vertical line” convention (§3.4) its third intersection point is exactly , so by definition . 3. If the curve has a singular point (cusp or node); at that point the tangent line is not well-defined (or the curve has two tangent directions), so the doubling/addition formulas break down exactly there — closure can fail or the group law becomes ill-defined at the singularity. This is precisely why is required for “elliptic curve.” 4. Since is a quotient of a free abelian group by a subgroup, it is automatically abelian; because is a bijection onto that (once proven) matches the geometric addition, inherits commutativity for free, without checking the chord formulas satisfy by hand (which is in fact visually obvious from the construction, since “the line through ” doesn’t distinguish an order — but the abstract argument is what makes associativity, the hard axiom, free too).
Module 3 1. Squares mod 7: . : (sq,2pts), (sq,2pts), (sq,2pts), (sq, only,1pt), (sq,2pts), (1pt), (1pt). Total affine: , plus : . Hasse: ✓. 2. Affine points alone don’t form a group with an identity under the chord-tangent rule (vertical lines have no third affine intersection) — you need to be the identity element, so it must always be counted. 3. are two -linearly independent complex numbers generating the lattice ; is literally a fundamental parallelogram with opposite sides glued, which is topologically a torus , with as the two independent “loop” directions. 4. The Hasse bound tells the attacker the group order is within of , i.e., roughly -sized — so a well-chosen curve gives a discrete-log problem in a group of size comparable to ; since no sub-exponential attack is known, the attacker’s best generic strategy (Pollard’s rho) takes roughly steps, directly telling them how large needs to be for a target security level.
Module 4 1. From the exposition: . Then : this is a vertical line ( both times), so by the reflection rule directly (it’s exactly the case, since ). ✓ 2. for (): . Candidates need with (excluding 0, since has no rational root so gives no rational point anyway): ; check small : , not a cube; , no; , no; , no. No small torsion candidates found — consistent with this curve’s rank-1, torsion-free structure noted in Module 5. 3. Largest group in Mazur’s list by order is (order 12) among the cyclic ones, and (order 16) among the product ones — order 16 is the largest overall. : not in the list (only – cyclic orders occur) — impossible. : also impossible for the same reason. 4. It tells you torsion is a “small, structured, finite-list” invariant (fully classified, computable, bounded independent of the curve) while rank is an “open-ended, unbounded, currently uncomputable-in-general” invariant — the finitely-generated abelian group structure theorem cleanly splits into a tame part and a wild part, and essentially all of the deep unsolved difficulty of the subject (including BSD) lives in the rank, not the torsion.
Module 5 1. Check: ✓. Doubling: ; ; — carries through to a valid rational point (verify it satisfies as your check). 2. See Module 4 Q4 answer — same core idea, restated for this module: the structure theorem for finitely generated abelian groups splits cleanly into torsion (finite, classified) and free rank (unbounded, generally hard); nothing about the theorem’s proof forces both halves to be equally tractable, and empirically they aren’t. 3. Rank 0 means exactly — the total number of rational points is finite and equal to the size of the torsion subgroup (one of Mazur’s 15 groups), full stop, no infinite family generated by a point of infinite order. 4. As of recent record-setting results (this changes over time — verify current state via the LMFDB or recent arXiv announcements), curves of rank in the high 20s/low 30s have been exhibited; the exact current record and whether rank is provably unbounded remain open research questions — treat any specific number you find as a snapshot, not a settled fact.
Module 6 1. Following the same brute-force method as Module 3 Q1 but for over : tabulate and count, then . 2. One side (the L-function from ’s) is built purely from counting solutions mod every prime — arithmetic, discrete, number-theoretic. The other side (a modular form’s -expansion coefficients) comes from an analytic object with continuous symmetry under a large transformation group on the upper half-plane — analysis, continuous, geometric. There’s no a priori reason these two totally different construction procedures should produce identical sequences of numbers; that they provably do is the surprise. 3. Without modularity, you don’t know has a meaningful analytic continuation to at all (the naive Euler product only converges for large) — modularity is exactly what supplies the analytic continuation (via the well-understood analytic continuation of modular form L-functions), making “the order of vanishing of at ” a well-defined quantity you can even ask BSD’s question about. 4. BSD remains open in general as of this writing; partial results are known (e.g., rank 0 and rank 1 cases have partial theorems, notably work stemming from Gross–Zagier and Kolyvagin), but the full conjecture is unproved — check the Clay Mathematics Institute or LMFDB for the most current statement of partial progress when you read this.
Module 7 1. Assume has a solution for some prime → (Frey) build , a semistable elliptic curve with unusual invariants → (Ribet) this curve, if it existed, would contradict the (then-conjectural) modularity theorem for semistable curves → (Wiles) modularity is in fact true for all semistable elliptic curves → contradiction → no such exist. 2. The Frey curve’s construction guarantees it’s semistable (a specific technical condition on its behavior at bad primes), so you only ever need modularity for the semistable case to complete the FLT argument — which is exactly the (still very hard, but strictly smaller) case Wiles targeted and proved, rather than needing the full generality that took until 2001 (Breuil–Conrad–Diamond–Taylor). 3. Open-ended — a reasonable, defensible answer: given that the actual proof requires deep 20th-century machinery (Galois representations, modularity, Iwasawa theory) unavailable to Fermat, most mathematicians and historians consider it very unlikely Fermat had a correct proof; he most likely had a proof of a special case (e.g. , which he did prove) or a flawed general argument. This is a judgment question — the grading criterion is whether you defend your position with the historical facts above, not which side you take. 4. The Frey curve’s conductor works out to (up to standard normalization) the radical (product of distinct prime factors) of ; Ribet’s theorem (the epsilon conjecture) shows that if such a curve were modular, the associated modular form would have to exist at a level (roughly, the conductor) that is impossible given the highly restrictive ramification structure forced by the Frey curve’s construction — i.e., “level-lowering” arguments show the required modular form can’t exist, which is the contradiction.
Module 8 1. : — same -coordinate! Since -values differ ( and … check: is ? — yes! So this is exactly the case: . (This reveals has order dividing 3 relative to in a way that makes this toy example degenerate at — a good illustration of why real ECC uses a base point of large prime order chosen very deliberately, precisely to avoid this kind of small-order collision. Try instead for a non-degenerate example: directly from the worked example.) 2. With the corrected/adjusted from Q1’s note, compute and using the same doubling/addition formulas mod 5 and confirm they match — this is the substance of the exercise regardless of which concrete toy value you use. 3. Double-and-add mirrors fast exponentiation: writing in binary, computing needs only one doubling per bit and one addition per set bit — total group operations instead of repeated additions, which is the difference between practical (milliseconds) and impossible (longer than the age of the universe) for 256-bit . 4. Because ECDLP has no known sub-exponential attack, an ECC key needs roughly (security bits) — e.g. 256-bit key for 128-bit security. RSA’s security relies on integer factorization, which does have a sub-exponential attack (the general number field sieve), so RSA needs much larger keys (roughly 3072 bits for comparable 128-bit security) to stay ahead of that faster attack — same target security level, very different key sizes, because the best known attacks have different asymptotic complexity classes.
8. Appendix — how rare is the group structure, really?
A question worth sitting with once Module 2 has landed: is “the solution set forms a group” a special property of this one cubic equation, or is it a common phenomenon across mathematics that just happens to be easiest to see here? The honest answer is that it is about as rare as a structural fact in mathematics can be — not rare in the sense of “unlikely,” but rare in the sense of “there are only three of these objects in existence, period,” and elliptic curves are one of the three.
By degree/genus, the phenomenon is a narrow window, not a spectrum. The right invariant to sort curves by isn’t degree but genus — a topological measure of complexity (over , it’s literally the number of “handles” on the curve as a surface). Lines and conics (genus 0): the solution set, if nonempty, is either empty or in bijection with — but itself can never be given the structure of an algebraic group. There’s no way to define a “sum” of two points on a circle or parabola that’s algebraic, translation-consistent, and total (defined everywhere) — the obstruction is topological/algebraic, not a failure of cleverness. Smooth cubics (genus 1): this is exactly, and only, where a group structure becomes possible — a genus-1 curve with one marked point is, by definition, an elliptic curve, and “elliptic curve” and “one-dimensional abelian variety” are two names for the same object. Curves of genus (quartics and beyond, generically): Faltings’s theorem (1983, proving what had been the Mordell conjecture since 1922 — the same Mordell as Module 5) shows these curves have only finitely many rational points, full stop, for every single such curve. There isn’t even room for an interesting infinite structure to organize, let alone a group.
Why genus 1 specifically, structurally. Every smooth projective curve , of any genus , comes equipped with an associated abelian variety called its Jacobian, , of dimension exactly — built from the group of degree-0 divisor classes, via the same construction gestured at in Module 2. This exists universally, for every curve, at every genus — so in one sense, every curve is secretly glued to a group. The catch is that the Abel–Jacobi map is only ever an isomorphism — the curve literally is the group, not just mapped into it — when the dimensions match, i.e. . For , collapses to a single point (no content). For , is a strictly higher-dimensional space and sits inside it as a proper, lower-dimensional subvariety — related to a group, but not equal to one. Elliptic curves are the unique dimension where the general machinery (which exists for every curve, unconditionally) happens to collapse onto the curve you started with.
The sharpest way to see the rarity: the objects themselves are completely classified, and there are exactly three. Independent of curves entirely, ask: over an algebraically closed field, what is a connected one-dimensional algebraic group — any variety at all, of dimension 1, with a compatible group structure? The answer (a consequence of Chevalley’s structure theorem) is a closed, finite list: the additive group , the multiplicative group , and an elliptic curve. Nothing else is possible, ever, in dimension 1. Elliptic curves aren’t an example that happens to have a group law among many curves that could plausibly have had one — they are one of exactly three total answers to “what could a one-dimensional algebraic group even be,” and the only one of the three that is also complete (compact/projective, with no points removed to infinity) — and are both missing points (the affine line is minus a point; is minus two points) precisely because a complete one-dimensional group variety is forced to have genus exactly 1.
And you’ve already computed the other two, without realizing it. Go back to Module 1’s discriminant . When you get an honest elliptic curve — the group-law case worked through in Module 2. But look at what happens on the two ways can vanish, rather than discarding them as “not elliptic curves” and moving on: a Weierstrass cubic with a node (two branches crossing at a point, e.g. ) has smooth-point-set isomorphic, as a group under the exact same chord-tangent rule, to — the multiplicative group. A Weierstrass cubic with a cusp (e.g. , from Module 1 Problem 2) has smooth-point-set isomorphic to under addition — the additive group. So the full trichotomy of every one-dimensional algebraic group that can possibly exist is sitting, visibly, inside the one family of curves you’ve been computing for all along: smooth cubic elliptic curve, nodal cubic , cuspidal cubic . Nondegenerate, one degeneration, or the other — those are the only three things that can happen, and you get all three without leaving the Weierstrass family.
One more thing worth appreciating about the history, not just the structure: Poincaré, Mordell, and Weil found the group law geometrically, by the 1920s, decades before Chevalley’s structure theorem (1950s) explained why it had to exist and be essentially unique. The “what” — cubics have a group law — came first, empirically and geometrically. The “why it’s this special and this rare” came later, as part of the general theory of algebraic groups. That’s a useful pattern to notice for how deep mathematical facts tend to arrive: a strange, specific, checkable phenomenon first, and only later the general classification that explains exactly how much room there was for that phenomenon to exist in — which in this case turns out to be very little room indeed.
Sources consulted: Faltings’s theorem — Wikipedia, Classification of connected one-dimensional algebraic groups — Groupprops, Chevalley’s structure theorem — Wikipedia, and worked notes on singular Weierstrass curves confirming the / isomorphisms for nodal/cuspidal cubics.
Built for the Map of Math project — everything above is designed to be extended, not treated as finished. When you’re ready to go deeper on any node in §6’s graph, that’s the natural next document.