Point addition is the group operation for elliptic curves. This lesson computes one non-doubling add.
highlighted = computed this step
Why point addition has rows
Adding two curve points is modular arithmetic, not drawing by eye. The table recomputes the slope and the resulting coordinates.
P+Q=R
Pin P and Q
Use P=(5,1) and Q=(6,3).
P+Q
Compute the slope
The slope is s=2 modulo p.
s=2
Read R
The result is R=(10,6).
R=(10,6)
Summary
Point addition lands on (10,6). NOTE: toy-modulus; no-side-channel; no-production; never-roll-your-own. Exact point arithmetic over a deliberately tiny prime field; real ECC uses about 256-bit curves such as Curve25519 in reviewed protocols.