Elliptic-curve addition formula
ID: elliptic-curve-addition-formula
Let be a smooth Weierstrass equation of an elliptic curve over a field of characteristic different from two, with identity at infinity. For affine points with , putFor with , use the tangent slope . In either case,Substitute the secant or tangent equation into the cubic: the sum of its three intersection -coordinates is . Reflecting the third intersection in gives the sum.[ref]
The omitted cases belong to the elliptic curve group law on the full projective curve: and , where . In particular, a point with satisfies ; its vertical tangent cannot be handled by dividing by .
New to topics? Read the docs here!