← Back to section · Foundations of Cryptography
Curve Equations and the Group Law: Understanding Point Addition Through Geometry
First see what an elliptic curve looks like over the real numbers, then follow chords and tangents through point addition, doubling and the point at infinity, and finally understand why associativity holds and where the addition formulas come from.
The overview article already stated the conclusion of the group law: the three intersection points of a line with the curve sum to zero. This article takes that sentence apart and goes back to the real plane, step by step — what the curve looks like, how a line meets it, why an extra “point at infinity” has to be invented, and where the slope in the addition formula actually comes from. The geometric picture is the first key to elliptic curves: over a finite field there is no picture to see, but every operation rule is a direct translation of this one.
First, the shape: elliptic curves over the reals
Write the equation over the real numbers as . The cubic polynomial on the right determines the skeleton of the curve: the number of intersections of with the x-axis decides how many components the curve has. If has three distinct real roots, the curve consists of two components — a closed oval to the left of the roots and an arc extending infinitely to the right, both upward and downward; if it has only one real root, the curve forms a single connected piece. In either case the picture is symmetric about the x-axis: since the equation contains only , the point lies on the curve if and only if does. This symmetry is the entire basis for the “reflection” step that appears later.
The discriminant condition is equally visible in the picture: it exactly excludes the case where has a repeated root. A repeated root means the curve has a cusp or a self-intersection at some point — where the tangent is not unique and the whole construction collapses. Cryptography uses only smooth curves, and this is why.
One common confusion deserves clearing up: elliptic curves have no shape relationship to ellipses. The name comes from the “elliptic integrals” that arise when computing the perimeter of an ellipse; the inverse functions of these integrals satisfy equations of the form above, and the name stuck historically.
Chords and tangents: one geometric rule
Take any two points and on the curve and draw the line through them. How many times does this line meet the curve? By the fundamental theorem of algebra, a line meets a cubic in exactly three points over the complex numbers, counting multiplicity; in the real picture, since the line already passes through and , it must cross the curve a third time, call it . Define to be the reflection of across the x-axis, call it . Why the extra reflection? Because if the third intersection were taken directly as the sum, the bookkeeping rule “three collinear points sum to a special zero element” could not be kept in a consistent algebraic form; after reflecting, the formulas for the group operation can be written uniformly. Put differently: first define the sum of three collinear points to be a special zero element; then from it follows that must be the “negative” of , and the negative of a point on the curve is exactly its mirror image across the x-axis — the reflection step is forced by algebraic consistency, not an aesthetic choice.
When , the connecting line degenerates into the tangent at that point, and the rule is unchanged: reflect the tangent’s other intersection with the curve to obtain the doubling . When the line happens to be vertical, it meets the curve in only two points (mirror images of each other), and the third intersection “escapes” — this is where the point at infinity enters.
The point at infinity: filling the gap
A vertical line meets the curve at and , and by the bookkeeping rule these two points should sum to the zero element, but the zero element is at no finite position on the curve. Projective geometry supplies the fix: add a “line at infinity” to the plane, declare that all vertical parallel lines meet at a single point on it, and declare to be a member of the curve. Now the vertical line has its full three intersections — , , and — the bookkeeping is consistent again, and naturally plays the role of the group identity: draw a chord from any point to and the third intersection is the point’s own mirror image, which reflects back to the point itself.
This fix is not wordplay. In finite-field implementations, corresponds to boundary cases that point addition must handle: adding the identity, adding a point to its inverse, a vertical tangent during doubling, and so on — the code must correctly return rather than erroring out or producing garbage. A number of historical implementation vulnerabilities came precisely from sloppy handling of the point at infinity. The geometric picture hands you the implementation checklist directly.
From construction to formula: where the slope comes from
Translate the geometry into coordinates. Let and ; the connecting line has slope . Substituting the line’s equation into the curve’s equation yields a cubic in whose three roots are , , and the x-coordinate of the third intersection; by Vieta’s formulas the sum of the roots equals , so , and reflecting gives the coordinates of the sum:
For doubling, the slope is replaced by the tangent slope, obtained by implicit differentiation as , with the rest of the formula unchanged. These two sets of expressions are the final form of point addition and doubling in every elliptic-curve implementation — the supposedly “advanced” group operation, taken apart, is just the simultaneous solution of a line equation and the root–coefficient relations of a cubic. Note that division appears in the formulas: over a finite field, division means multiplying by a modular inverse, and inversion is the most expensive field operation. This is why implementations switch to projective coordinates (representing a point by ratios instead of single coordinates, deferring the division to one final step), while the geometric picture is entirely unaffected.
Associativity: the least obvious law
Commutativity is obvious from the picture — the line through and is the same as the line through and . The identity and inverses have been arranged by the point at infinity and reflection. Only associativity, , cannot be seen from the picture: the two sides correspond to two completely different sequences of constructions, so why should they end at the same place?
The answer is that associativity does not rest on geometric intuition but on the algebraic structure of the curve equation. The classical proof uses Bézout’s theorem in the projective plane — two cubics meet in nine points, and if eight of the points force the ninth to lie on the curve as well (the Cayley–Bacharach phenomenon), associativity follows; modern textbooks usually give a unified proof in the language of divisors and the Riemann–Roch theorem. The practical meaning of this theorem for cryptography is that because associativity holds unconditionally, “scalar multiplication” is well defined, and scalars can be reduced modulo the order, decomposed into digits, and precomputed — the entire engineering edifice of elliptic-curve cryptography rests on this invisible algebraic fact.
Summary
The group law of an elliptic curve reduces to one picture: a smooth curve in one or two components, a line meeting it in three points, one reflection across the x-axis, and one point at infinity closing off the vertical direction. The addition formulas are this picture transcribed into coordinates, and associativity is the genuine algebraic theorem behind the picture. Once this image is familiar, the point sets over finite fields — scattered with no visible shape at all — become readable: you will know what each operation “originally” is, geometrically. The next article follows this thread: when a single point is added to itself astronomically many times, how do people use doubling to press the cost down to logarithmic?
Tags: Elliptic CurvesGroup LawGeometry