https://file.scirp.org/Html/1-5301366_80983.htm
https://brilliant.org/wiki/cubic-discriminant/
We can compute the discriminant of any power of a polynomial. For example, the quadratic discriminant is given by \Delta_2 = b^2 - 4acΔ2?=b2?4ac. But it gets more complicated for higher-degree polynomials.
The discriminant of a cubic polynomial ax^3 + bx^2 + cx + dax3+bx2+cx+d is given by
\Delta_3 = b^2 c^2 - 4ac^3 - 4b^3 d - 27a^2 d^2 + 18abcd.Δ3?=b2c2?4ac3?4b3d?27a2d2+18abcd.
If \Delta_3 > 0Δ3?>0, then the equation has three distinct real roots.
If \Delta_3 = 0Δ3?=0, then the equation has a repeated root and all its roots are real.
If \Delta_3 < 0Δ3?<0, then the equation has one real root and two non-real complex conjugate roots.
Discriminant, in mathematics, a parameter of an object or system calculated as an aid to its classification or solution. In the case of a quadratic equation ax2 + bx + c = 0, the discriminant is b2 ? 4ac; for a cubic equation x3 + ax2 + bx + c = 0, the discriminant is a2b2 + 18abc ? 4b3 ? 4a3c ? 27c2. The roots of a quadratic or cubic equation with real coefficients are real and distinct if the discriminant is positive, are real with at least two equal if the discriminant is zero, and include a conjugate pair of complex roots if the discriminant is negative. A discriminant can be found for the general quadratic, or conic, equation ax2 + bxy + cy2 + dx + ey + f = 0; it indicates whether the conic represented is an ellipse, a hyperbola, or a parabola.
In this paper we revisit the addition of elliptic curves and give an algebraic proof to the associative law by use of MATHEMATICA. The existing proofs of the associative law are rather complicated and hard to understand for beginners. An ‘‘elementary” proof to it based on algebra has not been given as far as we know. Undergraduates or non-experts can master the addition of elliptic curves through this paper. After mastering it they should challenge the elliptic curve cryptography.
Keywords:
Elliptic Curve, Addition, Associative Law, MATHEMATICA, Elliptic Curve Cryptography
Ciphering is essential for the security of internet. The RSA cryptography [1] [2] [3] is now commonly used. However, in the very near future the RSA cryptography will be replaced by the elliptic curve cryptography because of its efficiency; the RSA system is based on 2048 bits, while the elliptic system is based on 224 bits (2016, [4] ).
The target reader of this note is undergraduates or non-experts. Those who are interested in cryptography are strongly encouraged to master the theory of elliptic curve cryptography as soon as possible. For this purpose they must study an additional structure of elliptic curves. However, it is not so hard except for the associative law.
As far as we know an algebraic proof to it has not yet been given1. Therefore, we give an ‘‘elementary” proof by use of MATHEMATICA for them.
2. Addition of Points of an Elliptic Curve
Let us start by recalling the definition of an elliptic curve [5] [6]
??2=??3+????+??y2=x3+ax+b(1)
where a and b are some real constants. In the following we consider only real category. The discriminant of the cubic equation
??3+????+??=0x3+ax+b=0
is given by
??=?4??3?27??2D=?4a3?27b2(2)
(see for example [5] ) and we assume ??<0D<0 in the following, so the point crossing the real axis is just one.
For the graph of the elliptic curve (1)
??={(??,??)∈??2∣∣??2=??3+????+??}E={(x,y)∈R2?|?y2=x3+ax+b}(3)
we want to introduce an addition, which is essential in the elliptic curve cryptography. For the purpose we must add the infinity point ??=(∞,∞)O=(∞,∞) to (3). As a result, our space is not ??2R2 but a two dimensional sphere ??2∪??=??2R2∪O=S2 . Later it turns out that O is the identity element of the addition, see (10), (11). This justifies the notation O for the infinity point.
Here we note
??=(??,??)∈??????=(??,???)∈??P=(x,y)∈E????P=(x,?y)∈E(4)
where we have adopted the notation ????P for the mirror image of ??P with respect to the real axis, see (11).
Let us introduce the addition in E. For two points ??1,??2∈??P1,P2∈E we associate another point ??3∈??P3∈E . Consider the straight line passing through ??1P1 and ??2P2 . We set R the crossing point of the line and the elliptic curve.
A simple-minded candidate of the addition is
??1⊕??2=??P1⊕P2=R
Unfortunately, this is not good because the associative law does not hold. Instead, we take the reflection point of R
??1⊕??2=???≡??3.P1⊕P2=?R≡P3.(5)
This is correct as shown in the paper. See the following Figure 1.
Next, we want to express the addition above by use of the coordinate system. For the purpose we set
??1=(??1,??1),??2=(??2,??2)and??3=(??3,??3).P1=(x1,y1),?P2=(x2,y2)??and??P3=(x3,y3).
Formula The addition formula
(??1,??1)⊕(??2,??2)=(??3,??3)(x1,y1)⊕(x2,y2)=(x3,y3)
is given by
??3=(??2???1??2???1)2?(??1+??2),x3=(y2?y1x2?x1)2?(x1+x2),
??3=?(??2???1??2???1)3+(??2???1??2???1)(2??1+??2)???1.y3=?(y2?y1x2?x1)3+(y2?y1x2?x1)(2x1+x2)?y1.(6)
Proof To give an elementary proof for undergraduates or non-experts is educational.
First of all we set the coordinate of the point ??=(????,????)R=(xr,yr) and look for ????xr and ????yr . The straight line passing through ??1P1 and ??2P2 is given by
??=??2???1??2???1(?????1)+??1.y=y2?y1x2?x1(x?x1)+y1.
By taking ?????1x?x1 into consideration we have
??2=??3+????+??=(?????1+??1)3+??(?????1+??1)+??=(?????1)3+3(?????1)2??1+3(?????1)??21+??(?????1)+??31+????1+??=(?????1)3+3(?????1)2??1+3(?????1)??21+??(?????1)+??21.y2=x3+ax+b=(x?x1+x1)3+a(x?x1+x1)+b=(x?x1)3+3(x?x1)2x1+3(x?x1)x12+a(x?x1)+x13+ax1+b=(x?x1)3+3(x?x1)2x1+3(x?x1)x12+a(x?x1)+y12.
We substitute the straight line for the equation above
(??2???1??2???1)2(?????1)2+2??2???1??2???1(?????1)??1+??21=(?????1)3+3(?????1)2??1+3(?????1)??21+??(?????1)+??21.(y2?y1x2?x1)2(x?x1)2+2y2?y1x2?x1(x?x1)y1+y12=(x?x1)3+3(x?x1)2x1+3(x?x1)x12+a(x?x1)+y12.
A short calculation gives
(??2???1??2???1)2(?????1)+2??2???1??2???1??1=(?????1)2+3??1(?????1)+3??21+??(y2?y1x2?x1)2(x?x1)+2y2?y1x2?x1y1=(x?x1)2+3x1(x?x1)+3x12+a
and
(?????1)2?{(??2???1??2???1)2?3??1}(?????1)+3??21?2??2???1??2???1??1+??=0.(x?x1)2?{(y2?y1x2?x1)2?3x1}(x?x1)+3x12?2y2?y1x2?x1y1+a=0.
This is a quadratic equation and it is easy to solve
?????1=12{(??2???1??2???1)2?3??1±{(??2???1??2???1)2?3??1}2?4(3??21?2??2???1??2???1??1+??) ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄√}.x?x1=12{(y2?y1x2?x1)2?3x1±{(y2?y1x2?x1)2?3x1}2?4(3x12?2y2?y1x2?x1y1+a)}.
Here we set
(#)={(??2???1??2???1)2?3??1}2?4(3??21?2??2???1??2???1??1+??).(#)={(y2?y1x2?x1)2?3x1}2?4(3x12?2y2?y1x2?x1y1+a).
By expanding and arranging (#)(#) we have
(#)=(??2???1??2???1)4?6??1(??2???1??2???1)2+8??2???1??2???1??1?3??21?4??.(#)=(y2?y1x2?x1)4?6x1(y2?y1x2?x1)2+8y2?y1x2?x1y1?3x12?4a.
Some calculation (this is a key point) gives
(#)=(??2???1??2???1)4?6??1(??2???1??2???1)2?4(??2???1)2??2???1+4(??2???1)2??2???1+8??2???1??2???1??1?3??21?4??=(??2???1??2???1)4?{6??1+4(??2???1)}(??2???1??2???1)2+4(??2???1){(??