Part 2: Elliptic curve over finite fields
In a previous post in our series on elliptic curves (Part 1: What Are Elliptic Curves) we introduced elliptic curves and showed what they look like in the Cartesian plane when defined over the real numbers. Its is mandatory to have read the Part 1 of the series to understand this one. As explained, there are multiple algebraic equations that can define an elliptic curve. In this article, we will focus on the reduced Weierstrass equation when discussing elliptic curves.
Why integers and not real numbers ?
In modern cryptography, we prefer working with integers, mainly because they can easily represent real-world data such as text, and because they include prime numbers, which are the foundation of many hard mathematical problems essential to ensuring computational security. Furthermore, integers are straightforward to represent in computers using bits unlike real numbers, which are more complex to handle in digital systems.
In this article, we will explain how elliptic curves can be defined over finite fields of integers, and what operations can be performed on them.
From real numbers to integers fields
When we speak of elliptic curves over the real numbers, we mean that the coordinates of each point (x,y) on the curve are real-valued. To work in the integer setting, we restrict these coordinates to a finite set of integers, namely, those in a finite field.
Finite fields
We define where :
is the set of all integers
a prime number
is the set of integers modulo , i.e.,
This set of numbers have some properties listed below:
contains exactly p elements.
Every non-zero element has a multiplicative inverse in . In other words, for every , there exists an element such that .
Arithmetic operations — addition, subtraction, multiplication, and division — are all performed modulo p.For example if , this actually means:
In practice, we often omit the notation, but it's always understood to be applied.
is a field, meaning it satisfies all the properties of a mathematical field: it has no zero-divisors, and every non-zero element has an inverse. This ensures that all basic arithmetic operations are well-defined and can be reversed (except for division by zero, which is never allowed).
Elliptic curves over
It is quite straightforward to adapt elliptic curves to the setting of finite fields, specifically . Here's how we proceed:
Define the finite field , where is a prime number.
Take the coefficients and use the reduced Weierstrass :
Ensure that the discriminant .
Consider the set of all pairs that satisfy this equation.
We can now state the formal definition:
Let with a prime number. An elliptic curve over is defined by the equation:
where , and This ensures that the curve is non-singular.
The set of all solutions is completed by adding a special point called the point at infinity, usually denoted by , which acts as the identity element in the group of points on the curve.
The image below show how different curve representations are depending on the field.

Final thougths
As you've seen, moving from the real numbers to finite fields changes the visual and mathematical nature of elliptic curves. We go from smooth, continuous curves to sets of discrete points scattered in a bounded space. The number of points on such a curve is finite. In fact, it's always less than or equal to .
The key idea is that we can define a group structure over the set of points on an elliptic curve defined over ​. This group supports:
Addition of points,
Scalar multiplication (repeated addition),
And the ability to find inverses (with respect to the group operation).
These operations form the basis of elliptic curve cryptography. In the next part of this series, we'll explore exactly how these operations work and how they lead to hard problems that form the backbone of ECC, such as the Elliptic Curve Discrete Logarithm Problem (ECDLP).
Last updated