← 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.

Published 22 November 2026 · 6 min read · PQ Frontier

Curve Equations and the Group Law: Understanding Point Addition Through Geometry
AI-generated site artwork
Video explainer · Elliptic curve cryptography: points and groups

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 y2=x3+ax+by^2 = x^3 + ax + b. The cubic polynomial on the right determines the skeleton of the curve: the number of intersections of f(x)=x3+ax+bf(x) = x^3 + ax + b with the x-axis decides how many components the curve has. If ff 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 y2y^2, the point (x,y)(x, y) lies on the curve if and only if (x,−y)(x, -y) does. This symmetry is the entire basis for the “reflection” step that appears later.

The discriminant condition 4a3+27b2≠04a^3 + 27b^2 \neq 0 is equally visible in the picture: it exactly excludes the case where ff 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 PP and QQ 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 PP and QQ, it must cross the curve a third time, call it R′R'. Define P+QP + Q to be the reflection of R′R' across the x-axis, call it RR. 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 (P+Q)+R′=zero element(P + Q) + R' = \text{zero element} it follows that P+QP + Q must be the “negative” of R′R', 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 P=QP = Q, 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 2P2P. 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 x=cx = c meets the curve at (c,y)(c, y) and (c,−y)(c, -y), 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 O\mathcal{O} on it, and declare O\mathcal{O} to be a member of the curve. Now the vertical line has its full three intersections — PP, −P-P, and O\mathcal{O} — the bookkeeping is consistent again, and O\mathcal{O} naturally plays the role of the group identity: draw a chord from any point to O\mathcal{O} 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, O\mathcal{O} 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 O\mathcal{O} 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 P=(x1,y1)P = (x_1, y_1) and Q=(x2,y2)Q = (x_2, y_2); the connecting line has slope λ=(y2−y1)/(x2−x1)\lambda = (y_2 - y_1)/(x_2 - x_1). Substituting the line’s equation into the curve’s equation yields a cubic in xx whose three roots are x1x_1, x2x_2, and the x-coordinate x′x' of the third intersection; by Vieta’s formulas the sum of the roots equals λ2\lambda^2, so x′=λ2−x1−x2x' = \lambda^2 - x_1 - x_2, and reflecting gives the coordinates of the sum:

xP+Q=λ2−x1−x2,yP+Q=λ(x1−xP+Q)−y1.x_{P+Q} = \lambda^2 - x_1 - x_2, \qquad y_{P+Q} = \lambda(x_1 - x_{P+Q}) - y_1.

For doubling, the slope is replaced by the tangent slope, obtained by implicit differentiation as λ=(3x12+a)/(2y1)\lambda = (3x_1^2 + a)/(2y_1), 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 PP and QQ is the same as the line through QQ and PP. The identity and inverses have been arranged by the point at infinity and reflection. Only associativity, (P+Q)+R=P+(Q+R)(P + Q) + R = P + (Q + R), 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” kPkP 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