STRUCTURES Blog > Posts > Triangles with integer side lengths
Triangles with integer side lengths

Triangles are probably the simplest geometric objects in the two dimensional world. Draw three lines, hope they are not parallel (or go all through one point), and you end up with a structure which has so many intriguing properties that it is impossible to count them all. From congruence (which is comparing triangles as geometric objects) to trigonometry (which is comparing the intrinsic values such as angles and side lengths) and the list goes on and on.
The most famous formula related to triangles is without a doubt the Pythagorean Theorem: given a right triangle, we find that

In order to have a chance to build a triangle with integer side lengths, the three corresponding numbers
Another way to analyse this would be via the Cosine Theorem: given the angle

“But wait a minute!” an attentive reader might inject now. “any triple of integers satisfying the triangle inequality makes up a triangle. Just construct it with compass and ruler.” And this would be right! The construction of such triangles is basic and completely understood and our first question from above is hereby answered.
But what about constructability with a given angle? This is another matter. The three integer side lengths do not contain (a priori) information about the angles between them. Can we construct a triangle with integer side lengths for every angle that you are given (e.g. the angle opposite of the longest side). And the answer to that is: no. The reason for this is the Cosine Theorem: if
Things get interesting when we try to find integer solutions to the equation
In this case, it is not only possible to prove the existence of rational solutions, but we can even categorise all of them depending on the angle
results in
which is an equation describing an ellipse.

Now we need to intersect this ellipse with rational straight lines which will eventually give us all possible solutions. In fact we only need one straight line through
which in turn implies
This presents us with all of the possible solutions, which can be verified geometrically: we get every rational point on the ellipse. As with the Pythagorean triples, we have an infinite number of solutions which do not arise by scaling and the solutions can be characterised via the angle . But what is especially beautiful about all of this, is that we connected triangles with ellipses: every point with rational coordinates on the ellipse corresponds to a class of triangles with integer side lengths.
Tags:
Mathematics
Geometry
Algebra