Rational Right Triangles of a Given Area
Stephanie Chan

TL;DR
This paper explores the generation of infinitely many rational right triangles with the same area, using a novel geometric approach, and shows that these sets are finitely generated, contributing new insights into the classical congruent number problem.
Contribution
It introduces a geometric method to generate all rational right triangles of a given area and demonstrates that these sets are finitely generated, a novel approach in this area.
Findings
Infinitely many rational right triangles of a given area can be generated geometrically.
The set of all such triangles is finitely generated under the proposed construction.
The approach offers a new perspective on the classical congruent number problem.
Abstract
Starting from any given rational-sided, right triangle, for example the -triangle with area , we use Euclidean geometry to show that there are infinitely many other rational-sided, right triangles of the same area. We show further that the set of all such triangles of a given area is finitely generated under our geometric construction. Such areas are known as "congruent numbers" and have a rich history in which all the results in this article have been proved and far more. Yet, as far as we can tell, this seems to be the first exploration using this kind of geometric technique.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Rational Right Triangles of a Given Area
Stephanie Chan
Department of Mathematics, University College London, Gower Street, London, WC1E 6BT, United Kingdom
Abstract.
Starting from any given rational-sided, right triangle, for example the -triangle with area , we use Euclidean geometry to show that there are infinitely many other rational-sided, right triangles of the same area. We show further that the set of all such triangles of a given area is finitely generated under our geometric construction. Such areas are known as “congruent numbers” and have a rich history in which all the results in this article have been proved and far more. Yet, as far as we can tell, this seems to be the first exploration using this kind of geometric technique.
1. Introduction
Book 10, Proposition 29 of Euclid’s Elements [2] gives the familiar formula for finding right triangles with integer sides: For any integers we have the right triangle shown in Figure 1.
Every integer-sided right triangle can be found from this formula and subsequently multiplying through by an integer scalar (for example, we obtain the -triangle by taking and tripling each side). Moreover all rational-sided right triangles can be obtained by scaling these triangles by rational multiples.
Five hundred years after Euclid, Diophantus noted that is an integer-sided right triangle of (integer) area if and only if and are both squares [1, Chapter XVI]. Viewed like this, it is of interest to determine whether there are any solutions for a given integer , and if so, to find all the triples with a given area . This was one of the earliest questions in mathematical research, worked on not only by the ancient Greeks, but also by Arab mathematicians of the tenth century (including al-Karaji), by Leonardo Fibonacci in thirteenth century Pisa, and by many others ever since.
The -triangle is the only integer-sided right triangle of area . Multiplying through by we obtain the -triangle which has the same area as the -triangle. This begs the question as to whether there are areas for which there are arbitrarily many integer-sided right triangles of area . To attack this question it is easiest to work with rational-sided right triangles, so that the -triangle also has area . We say that is a congruent number if it is the area of a rational-sided right triangle. Fibonacci’s first work on this question was to answer John of Palermo’s 1220 challenge, namely to find a rational square such that and are both squares; he found which corresponds to the triangle of area , and this scales up to the familiar right triangle of area .
The first few Pythagorean triples give rise to the congruent numbers
[TABLE]
It is known that are also congruent, and each number involves triangles with surprisingly large numerators and denominators in their side lengths. For example, the smallest numbers in a rational right triangle of area are .
Given a congruent number, like , we might ask to find all integer right triangles that have area of the form . We already saw and , and the next example is , followed by an even larger triangle . Maybe we can keep finding more and more such triples, but are there infinitely many of them? The integers involved seem to get larger rapidly, so that a brute force search is likely to become very inefficient. Is there a better way of generating such triples?
There is a simple connection between congruent numbers and the theory of elliptic curves: Suppose that the -triangle, scaled by a factor , has area . Then
[TABLE]
where and are rationals. That is, we have obtained a rational point on this elliptic curve, the set of points on , which we denote by . Modern research into congruent numbers typically studies this congruent number curve with many of the tools of arithmetic geometry (see, e.g., [3]). This connection with elliptic curves gives answers to our questions, beautifully but indirectly. We will obtain some of the results with Greek geometry, in particular given a rational-sided triangle of area , we will construct a different rational-sided triangle of the same area, with bigger numerator and denominator. This process can be iterated to give an infinite sequence of such triangles, and we can show that the triangles are all nonsimilar. We will follow up later by relating this process to the theory of elliptic curves.
Elliptic curve theory implies that right-angled triangles must exist with many of the properties that we determine in this article, and even gives their side lengths. The theory does not indicate how to construct these new triangles from the old, however. Our more direct approach constructs these triangles explicitly. This allows us to visualise the proofs through these triangles, giving an alternative view, which we hope has the potential to make the relevant concepts more tractable.
Acknowledgement
The author would like to thank her Ph.D. advisor, Andrew Granville, for his guidance and inspiring discussions in the development of this paper. She is also grateful to Jennifer Balakrishnan, John Coates and Henri Darmon for their helpful comments and suggestions.
2. Geometric development of the parameterisation of a right triangle
Given a right triangle with rational sides and angle opposite the side of length , we rescale the triangle by setting and , so that the hypotenuse has length , and and are rational numbers. We embed the triangle inside a circle of radius , so that the vertex with angle lies at the origin, and the hypotenuse is a radius of the circle, as in Figure 2.
We extend the line on the -axis to the end of the circle and then by classic Greek geometry this vertex subtends an angle of . The number is the slope of the line from to , and so
[TABLE]
and is therefore also a rational number. The double angle formulae express trigonometric functions at as rational functions of :
[TABLE]
Therefore we get the natural parameterisation,
[TABLE]
Note that we can obtain the same parameterisation entirely algebraically, without referencing the trigonometric functions. Writing the rational number as where and are coprime positive integers, and scaling up the triangle by a factor yields Euclid’s parametrization given in Figure 1.
If we switch the roles of and , then the triangle would be parametrized with the value of replaced by . Since the map is its own inverse, there are exactly two parameters in the range for each triangle. However, there is a primitive choice for each triangle, which is the unique parameter with numerator and denominator of different parities. Indeed, given a triangle, write the two parameters as and with . The only possible common factor of and is . If and are of different parities, then is even. If and are both odd, then is odd. Therefore, in exactly one of and , the numerator and denominator have different parities. Such parameters correspond to primitive triangles in Figure 1 (otherwise all three sides are divisible by ).
3. Obtaining a new triangle geometrically
Given a rational right triangle of given area , our aim is to geometrically construct a genuinely different rational right triangle with area for some rational .
As above, let be the acute angle of , so that and are all rational numbers. The perpendicular bisector of the hypotenuse must intersect the longer leg of the triangle at some point as shown in Figure 3.
The geometry implies that , and that the angle is double the angle , and so equals . Moreover , and are all rational expressions of and so are themselves rational. Since is rational we deduce that the triangle has rational sides, and so is rational.
We next translate the side to , keeping it perpendicular to , and let denote the angle (See Figure 4).
Therefore,
[TABLE]
which we have already noted is rational.
Since , we see that is the longer leg of the right triangle . Therefore, the perpendicular bisector of the hypotenuse must intersect the longer leg of the triangle, , at some point as illustrated in Figure 5.
Now has angle , by Euclidean geometry. As is rational, we deduce that and are all rational by the double angle formulae. Moreover, since is rational, we deduce that all the sides of the triangle are rational.
The legs of the right triangle , and of , have equal length, and so the ratio of the areas of the triangles and is
[TABLE]
a rational square, as claimed.
In Section 3 we saw that the parameter for the triangle is ; and therefore the parameter of the new triangle , is
[TABLE]
by the double angle formulae. If we replace by its associated parameter in this formula, we obtain the same value of .
4. A little algebra
4.1. Iterating the construction
For a given rational right triangle of area , we determine the associated parameter , as in Section 2. Write , and then construct a new rational right triangle of area for some rational with parameter by the method of Section 3. Then repeat this construction and create an infinite sequence of rational numbers where is the parameter for a rational right triangle of area for some rational , and .
If we start with the triple , then the next triple is , followed by . The numbers involved grow quickly. Motivated by this observation, we will show that the parameters of the triangles have strictly increasing denominators, and therefore iterating the construction cannot produce any similar triangles.
We write the rational number , where and are coprime positive integers. To establish that the are all distinct, and therefore give rise to different triangles, we will prove that .
Now given with where and have different parities, then where and are coprime, and is even and is odd. This implies that, for all , and so (as since ). We have therefore proved the result we were aiming for:
Theorem 1**.**
If there is one rational-sided right triangle of area then there are infinitely many.
4.2. Descent
The integer-sided triangles constructed from the -triangle, by the method given in Section 3, have legs and , and then and , respectively. In each example one leg is a square, the other is times a square. This always happens in this construction, for if we began with a right triangle with coprime integer sides , then the new triangle with coprime integer sides constructed in Section 3, has legs of length
[TABLE]
These expressions equal and , respectively, so that is a square, and even more is true:
[TABLE]
are both squares of rational numbers. So the new triangle, constructed in Section 3, has a very particular arithmetic form, which suggests that perhaps this is the only way such a triangle can arise.
Theorem 2** (Descent).**
Given a right triangle with sides for which and are both rational squares, there exists a right triangle with sides such that , where and are both rational. The ratio of their areas is the square of a rational number.
We call this a descent since the numerator and denominators in the -triangle are smaller than those in the first triangle, as we proved in the previous subsection.
Proof.
Write and , where and are rational. Then let and , so that and , as desired.
Given the -triangle we can reconstruct the original triangle by the method of Section 3, and so the ratio of their areas is a square. ∎
In every newly constructed triangle of this sort, we see the corresponding integer-side right triangle has a square leg: Write , and then one leg has length which is a square by Theorem 2. However, there are integer-side right triangles that do not arise in this way, but which have a square leg, for example : Here so that although , we have and , neither of which is a square, so Theorem 2 does not apply.
5. The group law on an elliptic curve
Any equation of the form , for which defines an elliptic curve, which we denote by . The rational points together with , the point at infinity, are denoted by . Poincaré showed that the complex points on form a group, and that is a subgroup. The group law, a construction that was discovered much earlier, is quite extraordinary [6, Chapter 1]: Given we draw the line between them, whose equation must have rational coefficients, as the points and are rational. Any line intersects a cubic curve in three points, so suppose the third point is and the line has equation . Then the -coordinates of and must all satisfy the equation
[TABLE]
There are three roots to this equation, and , and their sum is , and so is rational. Finally as lies on the line , we deduce that . The point is then given by reflecting in the -axis, as in Figure 6.
There is one special case to consider more carefully: If , then we let our line be the tangent at (which is what would happen if we brought close in towards ). It is still true that the line intersects the curve at three points, but now we must make sure to count those points with multiplicity, so we say that the line intersects the curve twice at . We construct by again taking the third point of intersection , and reflecting it in the -axis.
For example, the tangent line at to the curve is so that and therefore . Thus and therefore .
5.1. Using the congruent number curve to find our new triangle
The set of rational right triangles with area can be represented, as we saw in Section 2, by the set
[TABLE]
We define a map by . This map is easily inverted since . We can make sense of any negative elements in this set by identifying each with . In this way the negative part can be viewed as merely a copy of .
One way to find a new triangle in from a given is to first determine , then compute , and finally let ; see Figure 7.
For example, starting with the triangle, we have and then . At the end of the last subsection we found that , and so , the same -value we obtained from our geometric construction!
In general we have and then , so that . This explains in terms of arithmetic geometry the results we obtained above.
6. Everything in twos
6.1. The two theorems in the context of elliptic curves
For any point with one can obtain and Theorem 1 then implies that the infinite sequence of points are all distinct. Defining , we obtain an infinite sequence of distinct points where , so has infinite order inside the group of rational points . This implies that the only points of finite order on are the point and the three points of order two.
Theorem 2 can be re-interpreted as stating that if and only if and are both squares, where , and shows us how to determine a point for which . Now any solution to must be of the form where , and so , or . These points correspond to taking the four solutions in Theorem 2, but to correspond to an actual triangle we restrict to the one case where and are both positive.
Fermat proved that is not a congruent number using a method called infinite descent, which we can think of as applying Thereom 2 repeatedly to get smaller and smaller triangles, eventually reaching a contradiction. For an exposition on Fermat’s method, see [7, Chapter II, §X]. Inspired by Fermat’s method, Mordell proved that for any elliptic curve , the group is finitely generated (see [4, Chapter 16]). His proof was technically difficult, but this situation was improved a few years later by Weil, who introduced several important ideas to better understand and simplify Mordell’s proof. More about that later.
6.2. Two different maps
The original approach of Diophantus shows that is a rational right triangle of area if and only if
[TABLE]
Multiplying these together and dividing by gives
[TABLE]
This then yields the rational point on the congruent number curve . Call this Diophantus-inspired map that takes to . In Section 5.1, we presented a different map using the parameter , yielding the rational point on . This map is easily inverted giving . So let’s combine these two maps: We start with a triangle with parameter and construct of area . The map yields the rational point on , and inverting the second map yields as before; see Figure 8.
6.3. Two different -values for the same triangle
We saw that every right triangle is parameterised by two possible values in , namely and . Now and so . The map is a special case of the map , which is an isogeny of order two, and commutes with the multiplication-by-2 map.
7. Adding two different points
Adding two different points and on should correspond to somehow combining two rational right-sided triangles of area , to create another rational right-sided triangle of area . We now present a geometric construction to do this directly, as suggested by Figure 9.
We begin with two nonsimilar rational right triangles of the same area. We rescale the initial triangles so that their longer legs have the same length, and then align them as in Figure 10: The two triangles are with angle , and with angle , where . Next we reflect the point through the line to obtain the point , and the angles and . See Figure 10.
As , we deduce that and so , , which are all rational numbers. By the formulae for adding and subtracting angles, we also deduce that the trigonometric functions and , evaluated at and , are rational numbers.
The triangle has area , and the triangle has area . Our hypothesis states that the ratio of these areas is the square of a rational number, and so their product must be a square, which implies that is the square of a rational, say .
We drop a perpendicular from to the lines and , and then focus on the triangles and . The circle centred at with radius intersects the line at , and at ; see Figure 11.
Now and . Moreover,
[TABLE]
so that .
The triangle contains the information we need, specifically, the lengths and . Rotate the side to , so that is perpendicular to ; see Figure 12.
Let be the angle at the corner , so that
[TABLE]
and is therefore a rational number.
The perpendicular bisector of intersects at a point , yielding a new triangle with angle as shown in Figure 13.
This new triangle is rational since it has a rational side , and and , where and are rational functions of and so are themselves rational. The parameter for the triangle is
[TABLE]
where is the parameter for and is the parameter for so, up to a square, they have areas and so that . In both and the numerator and denominator have different parities. It is evident, by writing out the two expressions for , in terms of the numerators and denominators of and , that the numerator and denominator of also have different parities.
The area of the new triangle is
[TABLE]
Therefore, if and , then where
[TABLE]
7.1. Subtraction
We obtain a different triangle if we subtract a point from a different point on . Two different triangles with parameters and will result in a new triangle with parameter
[TABLE]
of area where
[TABLE]
The same parameter is obtained by first adding the triangles with respect to the parameters and , that is, taking to be the other angle of the triangle as in the geometric construction outlined before, then applying to the resulting parameter. This process is also a geometric construction. We call this subtraction because if we are given parameters and that yield under (1), we can recover by applying (2) to and .
8. The set of rational right triangles with area
Let denote the set of all rational right triangles of area . This set is in 1-to-1 correspondence with the set of parameters , where and are coprime positive integers of different parities. We define addition and subtraction on as described geometrically in the previous section so that the new triangles have parameters given by (1) and (2) respectively. One can show that if we begin with parameters with numerator and denominators of different parities, the new parameter obtained from (1) or (2) has the same property. We will henceforth restrict our attention to such parameters in . One has to be a little careful in that when carrying out subtractions on triangles, and are geometrically the same triangle.
8.1. A finite set of generators
We define a map by . Two rational numbers are equal in if their ratio is a rational square. This map is a homomorphism, for if and correspond to parameters and respectively, we obtain from the expression for in (1),
[TABLE]
in . Similarly, we have in .
Theorem 2 implies that is the kernel of ; that is, if and only if . Moreover the equivalence classes are given by for each , the image of under the map .
Now if with , then . The four factors are pairwise coprime. Therefore in where in , and so for some coprime, squarefree integers where is a divisor of . This restricts to a finite set of possibilities and so implies that is finite.
Pick a complete set of representatives of equivalence classes in . Fix any in ; then must be in the same equivalence class with some in . Denote the corresponding triangles of and by and , respectively. Now is in the kernel of , so there exists some with parameter in such that
[TABLE]
Given , and with , the triangle has parameter
[TABLE]
The denominator divides and hence is smaller than . On the other hand, we also know that the parameter of has denominator greater than from Section 4. Combining the two inequalities gives us .
Take to be the maximum of the denominators of all elements in . Then if , we have the inequality . We repeat this process on and inductively obtain a sequence of parameters defining triangles , respectively, so that for each ,
[TABLE]
where has parameter in and has denominator . Provided , the denominators form a strictly decreasing sequence of integers . This must yield a with denominator after a finite number of steps and we obtain a linear relation
[TABLE]
Parameters in with denominators less than form a finite set containing and generate all the triangles in .
We have therefore proved the following result.
Theorem 3**.**
There exist triangles in such that for any triangle , there exists integers for which
[TABLE]
What we have shown is essentially Mordell’s theorem, but in the setting of our geometrically constructed set of triangles. The original version of Mordell’s theorem states that is a finitely generated abelian group of rank , say. That is, there is a basis for , and this must correspond to some basis of triangles for . Our map is a special case of the Weil map on , which is the homomorphism
[TABLE]
and is well known to have kernel (see [5, Chapter X.1]). The Weil map is inspired by Fermat’s method of descent. It plays a role analogous to our map in performing descent in the proof of Mordell’s theorem.
It is an open question as to how we might find the set . Although there is a finite explicit set of possibilities for and thus for , one does not know, after a failed finite search for an example in a given coset, whether one has failed because there is no example, or because one has not searched far enough. This is an example of one of the outstanding problems in computational arithmetic geometry, determining the rank of the group of a given elliptic curve . In practice, it is usually possible to compute the rank of a given explicit example, but no known algorithm is guaranteed to work in general.
8.2. Partitioning in terms of parameter
We note that since are independent, this implies that
[TABLE]
gives a complete set of representatives of and .
A proportion of of the triangles have that both and are squares, and so at least of the triangles have equal to a square. This corresponds, in Figure 1, to being a square. That is, at least of the primitive triangles have one leg having square length.
8.3. First example
We first look at the case when . Now is generated by , which corresponds to the triangle with sides and parameter . The even multiples of have and the odd multiples of have . The set is , so . There are only possible fractions with denominator less than : and is the only triangle from these parameters that is in .
8.4. Second example
The area is the smallest integer such that . The group has , generated by the points and , which corresponds to the triangles and , respectively. The triangles in can be partitioned into four sets with their representatives tabulated in the following table.
[TABLE]
The set is and . By checking all possible fractions, we find that , , are the only triangles in which have parameters with denominators less than .
9. Futher thoughts
There are other scenarios in which our geometric approach can be applied.
Adding a number in the quadratic field to its conjugate gives a rational number. Similarly, adding a point on to its conjugate gives a point on . This gives rise to a rational right triangle as long as the new point is nontrivial. Our geometric construction allows us to construct this new triangle directly. In this way we can establish the following.
Theorem 4**.**
If there exists a right triangle with side lengths in of rational area such that the rational part of its hypotenuse is nonzero, then there is a rational-sided right triangle of area .
Subtracting a point on from its conjugate gives a new point on with conjugate . This can be reinterpreted as a point on giving rise to a rational-sided triangle of area . Again, this new triangle can be constructed using our geometric construction, giving the following result.
Theorem 5**.**
If there exists a right triangle with side lengths in and irrational hypotenuse of rational area , then there is a rational-sided right triangle of area .
Are there other applications of our geometric method in understanding ideas related to the congruent number problem? Can it give an alternative insight into some of the other intriguing theorems and conjectures discussed in [3]? We hope the interested reader will join us on this voyage of discovery.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] L. E. Dickson, History of the Theory of Numbers . Vol. II, Diophantine Analysis, Chelsea Publishing Co., New York, 1966.
- 2[2] Euclid, Euclid’s Elements: All Thirteen Books Complete in One Volume . Trans. by T. L. Heath. Ed. by D. Densmore. Green Lion Press, Santa Fe, NM, 2002.
- 3[3] N. Koblitz, Introduction to Elliptic Curves and Modular Forms . Graduate Texts in Mathematics, Vol. 97, Springer-Verlag, New York, 1984.
- 4[4] L. J. Mordell, Diophantine Equations . Pure and Applied Mathematics, Vol. 30, Academic Press, London-New York, 1969.
- 5[5] J. H. Silverman, The Arithmetic of Elliptic Curves . Second edition. Graduate Texts in Mathematics, Vol. 106, Springer, Dordrecht, 2009.
- 6[6] J. H. Silverman, J. T. Tate, Rational Points on Elliptic Curves . Second edition. Undergraduate Texts in Mathematics, Springer, Cham, 2015.
- 7[7] A. Weil, Number Theory: An Approach through History from Hammurapi to Legendre . Reprint of the 1984 edition. Modern Birkhäuser Classics, Birkhäuser Boston, Inc., Boston, MA, 2007.
