An elliptic curve forms a group iff it has distinct roots; that is, the curve is non-singular.
A curve defined by E:y2=x3+ax+b is non-singular if its determinant ΔE=4a3+27b2≡p0.
Point Addition on E(Fp)
Given points P1,P2∈E(Fp), P1+P2=P3 is defined such that −P3 is the third point of intersection between P1P2 and E(Fp). If P1=P2 then P1P2 is defined to be the tangent line. If the line does not intersect a point on the curve, then P3 is defined to be the point at infinity, O.
Properties:
P+O=O+P=P.
P+−P=O, where −P=(x,−y).
P+(Q+R)=(P+Q)+R.
P+Q=Q+P.
Elliptic Curve Addition Theorem
Let E:y2=x3+ax+b be a non-singular elliptic curve and let P1(x1,y1),P2(x2,y2)∈E.