 Generalizing this group structure to the hyperelliptic case is not straightforward.We cannot define the same group law on the set of points lying on a hyperelliptic curve, instead a group structure can be defined on the so-called Jacobian of a hyperelliptic curve.The computations differ depending on the number of points at infinity.