Elliptic curve basics

Singular points

Let’s have an elliptic curve:

E:y2=x3+ax+bE: y^2 = x^3 + a x + b

Let’s define:

F(x,y)=y2x3axbF(x, y) = y^2 - x^3 - a x - b

The singular points are the points on the curve where both partial derivatives of ff vanish:

Fx=Fx=0\frac{\partial F}{\partial x} = \frac{\partial F}{\partial x} = 0

Let’s observe the following two elliptic curves:

E1:y3=x3+xE_1: y^3 = x^3 + x

E2:y3=x3+x2E_2: y^3 = x^3 + x^2

The corresponding images would be (all images by Desmos (opens new window))

y^2 = x^3 + x
and



y^2 = x^3 + x^2

And the corresponding functions would be:

F1:y3x3xF_1: y^3 - x^3 - x

y^2 = x^3 + x

and

F1:y3x3x2F_1: y^3 - x^3 - x^2

y^2 = x^3 + x^2

For E2E_2 at point (0,0)(0, 0) we get: Fx=Fx=0\frac{\partial F}{\partial x} = \frac{\partial F}{\partial x} = 0. So this is a singular point.

I wanted to at least intuitively understand why the singular points are problematic. We have F2x=0\frac{\partial F_2}{\partial x} = 0 at (0,0)(0, 0). If we fix y=0y = 0 and observe how FF changes when xx changes, we see that F2F_2 has a local extremum at x=0x = 0.

Similarly, observing that F2y=0\frac{\partial F_2}{\partial y} = 0, we see that F2F_2 has a local extremum at y=0y = 0. However, when we move along the xx-axis, we are below 00, and when we move along the yy-axis we are above 00. So, it’s clear that these cases are special.

Points of order 2

Is there something special about the points of order 22?

Yes, the point of order 22 are the points that have a vertical tangent. Why is this so?

Let’s have an elliptic curve in short Weierstrass form (both curves mentioned above are in this form):

E:y2=x3+ax+bE: y^2 = x^3 + a x + b

Note that when we have a field of characteric greater than 33, we can transform the generalized Weierstrass form

E:y2+a1xy+a3y=x3+a2x2+a4x+a6E: y^2 + a_1 x y + a_3 y = x^3 + a_2 x^2 + a_4 x + a_6

into a short form.

In short Weierstrass form, if (x,y)E(x, y) \in E, then (x,y)E(x, -y) \in E.

From the definition of the operation on the elliptic curve, it holds:

(x,y)=(x,y)-(x, y) = (x, -y)

So we see that the points of form P=(x,0)P = (x, 0) are special—their negation is the same point:

P=PP = -P

2P=02P = 0

Thus, points of the form P=(x,0)P = (x, 0) are the ones that have order 22. But why is there a vertical tangent?

I am sure there are better way to see it, but I looked at it this way: let’s consider a point P=(x,0)P = (x, 0) of order 22. For any RE,R \in E, R+RR + R is defined by taking the tangent at RR and finding the intersection of the tangent with EE. So, if we take the tangent at P=(x,0)P = (x, 0) of order 22, and if the tangent is not vertical, it will intersect some point QEQ \in E. This would mean that

2P=Q02P = Q \neq 0

which would contradict the order of the point PP.

Why is there no intersection of the vertical tangent at a point of order 22 with an elliptic curve EE?

Let’s observe the image below. We have E:y2=x3+ax+bE: y^2 = x^3 + a x + b. Let’s fix x=2x = 2 (since in the example on the image P=(2,0)P = (2, 0)) and observe

y2x3axby^2 - x^3 - a x - b

as a function of yy at x=2x = 2 (one would need to rotate their head for 90 degrees when observing the image), the derivative is 2y2 y. This derivative only has one zero, so there is only one local extremum, Therefore, the image is clearly incorrect as there are two local extremums.

y^2 = x^3 + x

How do we find the points of order 2?2? We need to find the roots of the equation x3axb.x^3 - a x - b.

Note that that the points of order at most 22 (which includes the point at infinity 00) form either the Klein-4 group or a cyclic group of order 22, depending on whether all roots are real or not. However, I won’t go into it now.

General Weierstrass form

Negate the point

Let’s consider an elliptic curve in the generalized Weierstrass form:

E:y2+a1xy+a3y=x3+a2x2+a4x+a6E: y^2 + a_1 x y + a_3 y = x^3 + a_2 x^2 + a_4 x + a_6

If we have P=(x,y)EP = (x, y) \in E, then

P=(x,ya1xa3)-P = (x, -y - a_1 x - a_3)

We can see this from observing:

y(y+a1x+a3)=x3+a2x2+a4x+a6y(y + a_1 x + a_3) = x^3 + a_2 x^2 + a_4 x + a_6

If we replace yy with ya1xa3-y - a_1 x - a_3 we obtain

(ya1xa3)(y)=x3+a2x2+a4x+a6(-y - a_1 x - a_3) (-y) = x^3 + a_2 x^2 + a_4 x + a_6

which is still true.

Point of order 2

The point P=(x,y)P = (x, y) is of order 22 if and only if P=PP = -P. Thus:

(x,y)=(x,ya1xa3)(x, y) = (x, -y - a_1 x - a_3)

y=ya1xa3y = -y - a_1 x - a_3

2y+a1x+a3=02 y + a_1 x + a_3 = 0

To view this from another perspective, let’s say the point P=(x,y)P = (x, y) is a point of order 22. We know that the tangent at PP is vertical. Now, let’s fix xx and observe FF as a function of yy at xx. We again consider FF with our head rotated by 90 degrees. The derivative of the observed function is 2y+a1x+a3.2y + a_1 x + a_3. We need

2y+a1x+a3=02y + a_1 x + a_3 = 0

to have a local extremum, which is where the point with the vertical tangent is.