Example 1:
We consider the curve E:y2=x3+x+1 over F5 of this example
:Example_4_5_3. Let P=(x1,y1)=(2,4) and Q=(x2,y2)=(4,3). We precompute the multiplicative inverses of 2 and 4. By this proposition
:proposition_4_6_2
, it holds that a−1=ap−2=a5−2=a3 and hence
2−1=23=8=3mod 5
and
4−1=43=64≡4mod 5,
respectively.
It’s x1=x2, hence, by applying the addition formulas (1) of this proposition
:Explicit_formulas_for_addition
, we calculate
x3=(x2−x1y2−y1)2−x1−x2=(y2−y1)2((x2−x1)2)−1−x1−x2=(3−4)2((4−2)2)−1−2−4=(−1)2(22)−1−2−4=1⋅4−1−2−4=1⋅43−2−4=1⋅64−2−4=58≡3mod 5
and
y3=(x2−x1y2−y1)(x1−x3)−y1=(3−4)(4−2)−1(2−3)−4=(−1)(2)−1(−1)−4=(−1)2(2)3−4=1⋅8−4=8−4=4.
Thus, we conclude that P+Q=(2,4)+(4,3)=(3,4).
Example 2
Table shows the addition table for the elliptic curve E : y2=x3+1 over F5 of this example
:Example_4_5_2.
Example 3
Consider the two points (0,1) and (0,4) of Example 2. Since both have the same x-coordinate, it holds that (0,1)+(0,4)=O as we can easily check from Table 1.
Table 1
Addition table for the curve E:y2= x3+1 over F5.