Interactive · 1 question
The goal of this essay is to introduce the beautiful Farey sequences, and to prove a result about them using an ingenious geometric interpretation. (This is based on Essay 5 from Ross Honsberger's Ingenuity in Mathematics.)
The -th Farey sequence is defined as the sequence of rational numbers in with denominator (written in reduced form). For example,
We write the terms of a Farey sequence in reduced form because we have no reason to do otherwise. In the second line, I highlighted the new terms.
Some person who might or might have not been called Farey made the remarkable discovery any term in other than and can be composed by adding its two neighbors incorrectly (if you want to feel official, this is called the mediant of the two fractions). To be more exact, if three consecutive terms of are (in reduced form), then . (This is very obvious for the red terms, but it holds for the rest as well.)
This appears very wondrous and hard to prove. It is. Problem-solving instinct tells us to multiply this out; we get . Let's now try grouping onto one side the terms corresponding to consecutive fractions in the sequence, like . So we want to prove that for any pair of consecutive terms and , the number is the same. Some calculations motivate us to conjecture that it is in fact always !
Nice conjecture! Unfortunately, though, we're stumped here and need some heavier machinery. We had a spoiler, however, that we will use geometric interpretation.
To do so, let's take perpendicular axes and...
Ugh, the title spoils it all. Let's take the points both of whose coordinates are integers. (Such points are called lattice points, and they form a lattice.) Namely, represent in reduced form with point .
I’ll graph this for :
How could this help? Well, we were looking at consecutive terms in the Farey sequence , namely and . If you recall the coordinate area formula of a triangle, you will find that the signed area of the triangle with vertices , and is half of and note that this signed area is positive because we chose the orientation so. Thus, if we prove that the (not signed, everyday) area of this triangle is , we are done.
This is where the lattice comes into the picture. If we consider a triangle with its vertices at lattice points, then the shoelace formula tells us that its area is half of a positive integer. Hence, we are in fact trying to show that has minimal area. Let’s try to find some properties of which could lead us to prove this.
Well, couldn’t have minimal area if it could be split into smaller triangles. For example, if there is a lattice point on the perimeter of or inside (other than the vertices), we could connect that point with the vertices, splitting into at least lattice triangles, both with area . It turns out that the converse holds as well: if has no extra lattice points on its perimeter or inside it (in this case, is called a primitive triangle), then as area .
So, the remaining proof consists of two steps: show that is primitive, show that primitive triangles have area .
Proof of (1). First of all, note that there is no lattice point inside the segment connecting with (or ). This is easy: if there were another lattice point , then we would have , or . But as and are relatively prime, implies , giving , which contradicts being inside the segment. (Alternatively, just recall that was in reduced form.)
Furthermore, triangle lies within the triangle formed by lines , , and , so if there were a lattice point in strictly inside the angle , then it also would lie in this square. In other words, we’d have ( because this point cannot lie on ). Also, considering the slopes of the appropriate lines, we’d find
Hence, we have found a term of the Farey sequence between and . Contradiction!
Proof of (2). This is interesting in its own right. We will provide an area formula in lattice geometry, as a corollary of the following idea.
Consider a simple (i.e. not self-intersecting) lattice polygon with lattice points on the inside and on the perimeter. Then any partition of into primitive triangles contains the same number of triangles.
The key idea is a double-counting of angles. Let there be primitive triangles, then the sum of their angles is . Each of the lattice points will be vertices of these primitive triangles, by definition of the primitive triangle. Hence, the or or whatever angle around these lattice points will be divided among these primitive triangles. This establishes
because the sum of the internal angles of a simple -gon is (it may seem a bit unorthodox, but we may feel free to have collinear vertices!). Therefore,
This proves our claim.
What next?
We already know the area of a primitive triangle is . We can prove it is exactly by surrounding an by some polygon and taking two different partitions into primitive triangles. First, we look at a partition containing - there, each triangle has area . Second, we look at a partition into triangles where every triangle has area exactly (and hence is primitive). Now due to there being equally many triangles in both partitions, we find that the total area can be equal only if each triangle had area in the first partition as well. Consequently, must have area .
This idea can be quickly implemented using a rectangle surrounding . For the first partition, we draw a rectangle around as shown in the diagram below, and then keep splitting up non-primitive triangles by connecting an inner lattice point with the vertices until we can’t split up any more (this stops because the area of primitive triangles is ). And for the second partition, it suffices to divide a rectangle into triangles, which is easy.
This establishes that primitive triangles have area and completes our proof of the property of Farey sequences. Let’s celebrate by noting a corollary, called Pick’s theorem:
Pick’s theorem. The area of a simple lattice polygon with lattice points on the inside and on the perimeter is