How to Find the Order of a Point on an Elliptic Curve
At a glance
- 1. Identify the group
The curve’s points form a group, with the point at infinity O as the identity.
- 2. Multiply the point
Compute P, 2P, 3P, and so on using the elliptic-curve addition law.
- 3. Find the first identity
The order is the smallest positive n for which nP equals O.
- 4. Use finite-field bounds
Over a finite field, the order divides the curve’s group size, which can speed up the search.
The order of a point on an elliptic curve is a group-theoretic quantity: it tells you how many times you must add the point to itself to reach the identity. The identity is the point at infinity, usually written .
The method depends on the field over which the curve is defined. Over a finite field every point has finite order, so you can search by repeated addition. Over the rationals or reals, a point may have infinite order.
Definition
Let be an elliptic curve and let be one of its points. The order of is the least positive integer such that
If no such positive integer exists, has infinite order. A point with finite order is called a torsion point.
Elliptic-curve addition is not ordinary coordinate-wise addition. It is defined by the curve’s group law, and calculations over a finite field are carried out in that field. For a prime field , this means reducing coordinates modulo ; extension fields require their own field arithmetic.
A direct method over a finite field
For a point on a curve over a finite field, repeatedly add to itself:
- Start with .
- Compute .
- Continue with , , and so on.
- Stop at the first multiple equal to . Its multiplier is the order.
This search always terminates over a finite field because the curve has finitely many points. In practice, you use efficient scalar multiplication—repeated doubling and addition—rather than adding one copy at a time when the multiplier is large.
Worked example: a point of order 4
Consider the curve over the finite field :
and the point . It lies on the curve because .
For a nonsingular short Weierstrass curve over a field of characteristic other than 2, doubling a point with uses the slope
Here . Thus
because . The doubled coordinates are
So . A point with is its own inverse on a short Weierstrass curve, so . Therefore , while neither nor is . The smallest positive multiplier giving is 4, so has order 4.
Making the search faster
If the curve is over , its total number of points, written , is finite. The order of any point divides this group size. Hasse’s bound gives
If you know the group size , you can use its prime factors to reduce the work. Start with . For each prime dividing , test whether . If it is, replace by and test again. When no prime factor can be removed, is the order of .
This works because the order of divides , and the tests remove factors that are not needed. The group size must be known correctly; a bound on the group size alone is not a substitute for knowing a multiple of the point’s order.
What changes over the rationals?
For a curve over , the field is infinite, but the set of rational points on a particular curve may be finite or infinite. A point need not return to . Repeatedly adding a point can suggest that it has infinite order, but failure to reach in a finite number of steps does not prove that. Proving finite or infinite order generally uses additional results about rational torsion or the structure of the curve’s rational points.
Common mistakes
- Stopping at any multiple, rather than the first one: If , the order may be a proper divisor of . Check smaller candidate multiples.
- Forgetting the identity: The identity is , not the coordinate pair . A point such as is usually an ordinary point on the curve.
- Using ordinary real arithmetic over a finite field: Carry out arithmetic in the correct finite field; in , reduce modulo , and interpret division as multiplication by the inverse in that field.
- Assuming every point has finite order over every field: This is guaranteed over finite fields, but not over or .
- Using the wrong curve equation: The formulas shown apply to a short Weierstrass equation ; other curve models have different addition formulas.
For a specific curve and point, the essential calculation is to determine the least positive for which scalar multiplication gives .
References
- The Arithmetic of Elliptic Curves — Joseph H. Silverman
- Elliptic Curves — Dale Husemöller
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.