A curve is a cubic
An elliptic curve over the rationals is the set of solutions to a cubic in Weierstrass form. It is not an ellipse; the name is a historical accident inherited from the integrals that measure an ellipse's arc length.
Fix a and b so the curve is smooth — no cusps, no self-crossings — and you get the graceful looping shape below. What makes it cryptographically interesting is not the shape but a hidden operation living on it: you can add two points and land on a third.
The group law, drawn by hand
Here is the whole secret. To add points P and Q: draw the line through them, find the third place it meets the curve, and reflect that point across the x-axis. That reflection is P + Q. Tap two points and watch the construction draw itself.
Continue into the working mathematics: Elliptic Curves over ℝ takes this same group law and draws it by hand, and Finite Fields shows the smooth curve shattering into the scatter cryptography actually uses. Real primitive, no simulated math: point coordinates are computed from the actual group law over the reals and projected to the canvas.
Why the addition is a fortress
Over a finite field instead of a smooth drawing, that same addition scatters unpredictably. Add a point to itself k times and you reach a new point Q = kP. Recovering k from P and Q is the elliptic-curve discrete logarithm problem — easy to compute forward, believed infeasible to reverse.
That asymmetry is the entire basis of ECDH key exchange and ECDSA signatures. But why should such curves behave so regularly, so reliably, across every prime you might build a key on? To answer that, number theorists had to look at the curve from an entirely different direction.
The second face: modular forms
Every elliptic curve over ℚ carries a Hasse–Weil zeta function — a bookkeeping of how many points the curve has modulo each prime. Separately, in complex analysis, live modular forms: wildly symmetric functions on the upper half-plane, unrelated on their face to any cubic.
The Modularity Theorem says these two faces are one. Every elliptic curve over ℚ is modular: its zeta function matches a modular form exactly. This is the bridge — proved for semistable curves by Wiles, completed by Taylor–Wiles, and in full by 2001.
The rungs to Fermat
Modularity is where Fermat's Last Theorem falls. Not by attacking aⁿ + bⁿ = cⁿ directly, but by showing a hypothetical counterexample would build an elliptic curve too strange to exist.
- Frey · 1985the trap A counterexample to Fermat yields a curve y² = x(x + aⁿ)(x − bⁿ) with impossible properties.
- Serre · Ribetthe tightening Made precise: such a curve, if modular, forces a modular form that plainly cannot exist.
- Wiles · 1994the keystone Proved semistable curves are modular — so the Frey curve would be modular — so it cannot exist — so Fermat holds.
The proof runs 109 pages plus a 20-page companion. Its engine is an equality between a deformation ring and a Hecke ring — "R = T" — reached through commutative algebra, not through the curves themselves.
Foundations, not primitives
No cipher calls Fermat's Last Theorem. What ECC inherits is the structural certainty the modularity world provides: the theory of Galois representations attached to elliptic curves, the control over how points behave modulo each prime, and the confidence that these objects are as rigid and well-understood as any in mathematics. When you generate an ECDSA key, you are standing on ground that this 100-page proof helped survey — even though you never touch the theorem itself.
This exhibit is reference and education. For the deployable primitives — ECDH, ECDSA, and post-quantum successors — see Modern Cryptography.