[Math] Zeros and poles of rational functions over elliptic curve

elliptic-curves

On this page, the author states:

It turns out this definition can be extended to points of order 2, and also the point O (when we homogenize the functions and work over the projective plane). Moreover, every rational function has as many zeroes as poles counting multiplicities, because of the way we extend the definition to the point at infinity.

I'm interested as to why every rational function has as many zeros as poles. That seems to be caused by "homogenization", so how homogenization works and why do we need it?

Why do we need to worry about points of order 2?

Best Answer

Homogenization refers to the process of going from the "affine" to the "projective" plane, by adding "points at infinity". It's easier to work over the projective plane because there aren't any "missing points"; for example, in the projective plane, every 2 distinct lines intersect at one point (instead of having to make an exception for parallel lines, as in the affine case). In effect, for each class of parallel lines, we add a point at infinity to the plane, and 2 parallel lines will intersect at the point at infinity corresponding to their class; the set of all points at infinity from a line at infinity.

For the study of elliptic curves, adding these missing points is necessary because otherwise, the points of the curve will not form a group (you'll have some missing points, like the point $O$ in the article you linked to).

Here's how the process works. I'll just show how it works in the plane; the same thing works in any number of dimensions. In the usual ("affine") plane, a point is given by coordinates $(x,y)$. In the projective planes, the coordinates will be written $(x:y:z)$. However, unlike the affine case, not all sets of coordinates will be distinct points; in the projective plane,

  1. (0:0:0) is not a point.
  2. If 2 coordinates differ by a scalar multiple, we consider them the same point: $(x:y:z) \sim (ax:ay:az)$. Here $a \ne 0$, and $x,y,z$ cannot all be 0, because of condition 1.

Just like in the affine case, we can write equations of curves using the projective coordinates $(x:y:z)$. However, we have to be careful, because of the equivalence condition imposed by condition 2 above. We cannot write a projective equation like $x+y+z=1$, because if we scale everything by a scalar $a$, we would get $ax+ay+az=1$, which is not equivalent to $x+y+z=1$. Indeed, condition 2 limits us to equations of the form $f(x,y,z)=0$ where $f$ is a homogeneous polynomial, meaning all terms of the polynomial have the same degree. For example, $y^2z - x^3 - 2xz^2 - z^3 = 0$ is a legitimate equation for a curve in the projective plane, because if we scale each coordinate by a scalar $a$, all the terms are multiplied by $a^3$, which can then be cancelled out (because $a \ne 0$ and the right-hand side is 0!). You can "homogenize" an affine equation in coordinates $x,y$ by multiplying each term by an appropriate power of $z$. That's what I did to get the equation above; starting with the affine elliptic curve equation $y^2 - x^3 - 2x - 1 = 0$, I homogenized each term to get the projective equation.

Because of condition 2, whenever we have a point $(x:y:z)$ and $z \ne 0$, we can normalize the $z$ coordinate to 1: $(x:y:z) \sim (x/z, y/z, 1)$. So among the points with non-zero $z$ coordinate, we effectively have only 2 coordinates to worry about, and we are back in the affine case. So the affine plane is contained in the projective plane: $(x,y) \mapsto (x:y:1)$. But the projective plane also contains an additional set of points with $z$-coordinate 0. These are the points at infinity.

In the affine plane, the lines $x+y=1$ and $x+y=2$ are parallel. Homogenizing, we get $x+y=z$ and $x+y=2z$ in the projective plane, where they intersect at a point at infinity (1:-1:0). (You can check that any other solution to this pair of equations is equivalent, via condition 2, to (1:-1:0), so there is only one intersection point in the projective plane.) The point (1:-1:0) is the point at infinity corresponding to (affine) lines of slope 1. We added one point an infinity for each possible slope (including $\infty$ for vertical lines); (1:m:0) for lines of slope $m$, and (0:1:0) for vertical lines.

In the elliptic curve case, homogenizing adds the point (0:1:0) to the curve, which is the point $O$ in the article linked in your original post; this point is usually taken to be the identity of the group. As noted above, (0:1:0) is the point at infinity corresponding to vertical lines. If you take an affine elliptic curve such as $y^2 - x^3 - 2x - 1 = 0$ and try to add the 2 points $(x,y)$ and $(x,-y)$, when you draw the line through them, they don't intersect the curve in a third point. But in the projective plane, they do; $(x,y)$ and $(x,-y)$ lie on a vertical line and therefore the line through them contains the point (0:1:0).

The situation with rational functions is similar. I'll switch down to 1 dimension since that illustrates the point more clearly. In the affine line, with a single coordinate $x$, I can define the rational function $1/x$. This has a pole at $x=0$ but no zeroes. However, on the projective line (with projective coordinates $(x:y)$), I homogenize to the function $y/x$. Now there is a pole (0:1) as before but there is also the zero (1:0). There are the same number of zeroes as poles. This is true for every rational function (not identically zero) on the projective line. It is also true for elliptic curves and indeed for every projective curve.

Note: This answer may give the impression that the $z$-coordinate is somehow "special" in the projective plane. This isn't really the case; it's an artifact coming from the way I chose to embed the affine plane into the projective plane, via $(x,y) \mapsto (x:y:1)$. This is convenient for relating the projective plane back to the familiar case of the affine plane, but it's just a choice, sort of like choosing a basis for a vector space; I could also choose either of the other coordinates to be the special one, or even something crazy like $(x,y) \mapsto (x+y+1:2x+3y+4:4x+5y+7)$ (not that one would actually want do something like that, which would be like deliberately choosing a weird basis for a vector space).