Pythagorean Triples
Pythagorean triples are sets of three integers which satisfy the property that they are the side lengths of a right-angled triangle (with the third number being the hypotenuse).
Introduction
is the most popular example of a Pythagorean triple. If you multiply each of the numbers in this triple by an integer, the result will also be a Pythagorean triple.
Example Problems
If is a Pythagorean triple, what is
Since is a Pythagorean triple, the following must hold:
Since only a positive integer counts, the answer is
Which of the following is not a Pythagorean triple?
We have
Hence, the answer is
If the largest number of a Pythagorean triple is what is the smallest number in that triple?
First, if the second largest number is we need to be a square, which it is not.
Next, if the second largest number is we need to be a square, which it is because Hence, we have
Therefore, the smallest number in the Pythagorean triple is
Does there exist odd integers and such that is a perfect square?
Let be a quadrilateral with , and , as shown above.
If the two diagonals are perpendicular to each other, yielding 4 Pythagorean triples for the 4 right triangles, and , what is the area of quadrilateral
The equation above shows that the sum of the areas of the blue and red squares on the left side is equal to the area of the big square on the right side. In addition, the area of the blue square equals the area of the blue triangle, and the area of the red square equals the combined area of the 3 red triangles. Each of the three squares has an integer side length.
If the 2 vertices of the blue triangle each divide the corresponding sides on which they lie into smaller integer lengths, what is the least possible difference between the red square's area and the blue square's area?
Euclid's Formula
Generating triples has always interested mathematicians, and Euclid came up with a formula for generating Pythagorean triples. Primitive Pythagorean triples are Pythagorean triples and such that and are coprime. Note however that this formula generates all primitive triples but not all non-primitive triples. Euclid gives us the following formula:
where and are any two positive integers that are usually called parameters. If we wanted to generate all the Pythagorean triples, we could then introduce a third parameter to our formula:
Another Formula
You can also generate the triples by using the formula
where
The primitive Pythagorean triple is arguably the most famous and commonly used. Find the parameters and used in Euclid's formula to generate this triple.
Start with If we add equation 1 and 3, we get and substituting we get
The parameters and are thus 2 and 1, respectively.
Another famous but non-primitive Pythagorean triple is . What is the value of the parameter required to generate this triple?
Notice that is just a multiple of . All terms are just multiplied by two. Thus and and are still and respectively.
Let and be non-zero integers satisfying . Denote as the number of different triplets that satisfy these constraints, and denote as the sum of all possible values of . Find .
What are the primitive triples such that the smallest of the triple is
Observe that has two options remembering that
Then if If
Therefore, the triples are and
One might wonder why this parameterization of Pythagorean triples is so useful. One could easily think of infinitely many parameterizations for different number of variables. The answer is because this one allows us to generate primitive Pythagorean triples using only variables. This comes in handy when trying to generate large amounts of triples. One would not have to check every possible integer and to obtain all Pythagorean triples, but instead could check every possible and and then multiply by the triples by required values of .