Projective Short Weierstrass form

Let FF be a finite field of order qq and characteristic >3> 3, let a,bFa, b ∈ F be two field elements such that 4a3+27b2modq04a^3 + 27b^2 \mod q \neq 0 and let FP2FP^2 be the projective plane over FF. Then a projective Short Weierstrass elliptic curve over FF is the set of all points [X:Y:Z]FP2[X : Y : Z] ∈ FP^2 from the projective plane that satisfy the cubic equation Y2Z=X3+aXZ2+bZ3Y^2 · Z = X^3 + a · X · Z^2 + b · Z^3:

E(FP2)={[X:Y:Z]FP2Y2Z=X3+aXZ2+bZ3}.E(FP^2) = \{[X : Y : Z] \in FP^2 | Y^2 · Z = X^3 + a · X · Z^2 + b · Z^3\}.

In projective geometry, points at infinity are given by projective coordinates [X:Y:0][X : Y : 0]. Inserting representatives (x1,y1,0)[X:Y:0](x_1, y_1, 0) ∈ [X : Y : 0] from those coordinates into the defining cubic equation results in the following identity:

y120=x13+ax102+b030=x13.y_1^2 · 0 = x_1^3 + a · x_1 · 0^2 + b · 0^3 ⇔ 0 = x_1^3.

This implies X=0X = 0, and shows that the only projective point at infinity that is also a point on a projective Short Weierstrass curve is the class [0,1,0]={(0,y,0)yF}[0, 1, 0] = \{(0, y, 0) | y ∈ F\}. The point [0:1:0][0 : 1 : 0] is the projective representation of the point at infinity OO in the affine representation. The projective representation of a Short Weierstrass curve, therefore, has the advantage that it does not need a special symbol to represent the point at infinity from the affine definition.

Coordinate Transformations

From a mathematical point of view, projective and affine Short Weierstrass curves describe the same thing, as there is a one-to-one correspondence (an isomorphism) between both representations for any parameters aa and bb.

Let E(F)E(F) and E(FP2)E(FP^2) be an affine and a projective Short Weierstrass curve defined for the same parameters aa and bb. Then, the function that maps points from the affine representation to points from the projective representation of a Short Weierstrass curve is defined as follows:

I:E(F)E(FP2):{(x,y)[x:y:1]O[0:1:0].I : E(F) → E(FP^2) : \begin{cases} (x, y) \to [x : y : 1] \\ O \to [0 : 1 : 0] \end{cases}.

This map is a 1:11 : 1 correspondence, which means that it maps exactly one point from the affine representation onto one point from the projective representation. It is therefore possible to invert this map in order to map points from the projective representation to points from the affine representation of a Short Weierstrass curve. The inverse is given by the following map:

I1:E(FP2)E(F):{[X:Y:Z](X/Z,Y/Z) if Z0O if Z=0.I^{−1} : E(FP^2) → E(F) : \begin{cases} [X : Y : Z] \to (X/Z, Y/Z) \text{ if }Z \neq 0 \\ O \text{ if }Z = 0 \end{cases}.

A key feature of II and its inverse is that both maps respect the group structure, which means that the neutral element is mapped to the neutral element I(O)=[0:1:0]I(O) = [0 : 1 : 0], and that I((x1,y1)(x2,y2))I((x_1, y_1) ⊕ (x_2, y_2)) is equal to I(x1,y1)I(x2,y2)I(x_1, y_1) ⊕ I(x_2, y_2). The same holds true for the inverse map I1I^{−1}. Maps with these properties are called group isomorphisms, and, from a mathematical point of view, the existence of function II implies that the affine and the projective definition of Short Weierstrass elliptic curves are equivalent, and represent the same mathematical thing in just two different views. Implementations can therefore choose freely between these two representations.

The description above is the one type of projective representations called homogeneous projective coordinates. There are also other types of projective representations:

References:

Last updated