Subsection 3.4.1 Definition
There are a lot of other interesting questions that one can ask about pure integers, and polynomial equations they might satisfy (so-called Diophantine equations). However,
answering many of those questions will prove challenging without additional tools, so we will have to take a detour soon. But one such question is truly ancient, and worth exploring more in this chapter, as a representative of questions involving quadratic terms.
The question we will examine is also quite geometric. We just used the Pythagorean Theorem above, but youβll note that we didnβt really care whether the hypotenuse was an integer there. Well, when is it? More precisely:
Question 3.4.1.
When are all three sides of a right triangle integers?
Definition 3.4.2.
We call a triple of integers
such that
a
Pythagorean triple.
There isnβt necessarily evidence that Pythagoras thought this way about them. However,
Euclid certainly did, and so will we. For that matter, we should also think of them as
that fit on the quadratic curve
given
ahead of time.
Letβs try this out for a little bit β on paper or with this applet. When do we get a triple? (Keep in mind that we will always expect the triple
and
where
but thatβs not really what we are interested in.)
Subsection 3.4.3 Areas of Pythagorean triangles
Subsubsection 3.4.3.1 Which areas are possible?
Historically, one of the big questions one could ask about such Pythagorean integer triangles was about its
area. For
primitive ones, the legs must have opposite parity (do you remember why?), so the areas will be integers. (For ones which are not primitive, the sides are multiples of sides with opposite parity, so they are certainly also going to have an integer area.)
So what integers work? You all know one such triangle with area 6, and it should be clear that ones with area 1 and 2 canβt work (because the sides would be too small and because
doesnβt lead to a triple); can you find ones with other areas?
It is worth asking why there are no odd numbers in the list so far. In fact, we can prove quite a bit about these things.
Remember that in a primitive triple,
and
can be written as
while
for relatively prime opposite parity
Then the area
must be
So can the area be odd? The following proposition helps answer this (
Exercise 3.6.15) and many other questions.
Proposition 3.4.9.
In a primitive Pythagorean triple given by the formula in
Theorem 3.4.6, the area of the corresponding triangle is
In addition, the four factors of the area
must all be relatively prime to each other.
Proof.
We already know that and are coprime, and that this is the correct formula for the area.
The factors and must also share no factors, since any factor they share is shared by but The same argument will work in showing that and are, as well as and either sum.
If
and
share a factor, since they are odd it must be odd,
and it must be a factor of their sum and difference
and
Since the putative factor is odd, it is coprime to
and so we can use
Proposition 2.4.10 to say that it is a factor of both
and
which is impossible unless said factor is
So one could analyze a number to see if it is possible to write as a product of four relatively prime integers as a starting point. For example, the only way to write
in such a way (assuming no more than one of them is 1) is
Since
must be the biggest, we must set
Quickly one can see that
works with this, so there is such a triangle. (A quick exercise is to determine the sides of this triangle.) See
Exercise 3.6.16.
Trying to see if an integer is the area of a Pythagorean triangle turns out to be a
very deep unsolved problem.
This linked news update from the American Institute of Mathematics gives some background on the
congruent number problem, which asks the related question of which Pythagorean triangles with
rational side lengths give integer areas.
This linked page in particular is interesting from our present point of view.
Subsubsection 3.4.3.2 Which areas are square?
But we can ask another question, which led Fermat (see
Historical remark 13.0.4) to some of his initial investigations into this theory.
Question 3.4.10.
When is the area of a Pythagorean triple triangle a perfect square?
Youβll notice by the empty output that we donβt seem to be getting a lot of these. In fact, none. What would we need to do to investigate this?
In the previous section, we noted that each of the factors in the area,
are relatively prime to each other. So if the area is
also a perfect square, then since the factors are coprime, we use
Proposition 3.7.2 again to see they themselves are all perfect squares!
Now we will do something very clever. It is a proof strategy, similar to something the Greeks used occasionally, which Fermat used for many of his proofs, called
infinite descent. We are going to take that (hypothetical) triangle, and produce a triangle with strictly smaller sides but otherwise with the same properties β including integer sides and square area! That means we could apply the same argument to our new triangle, and then the next one β¦ But the Well-Ordering Principle (
Axiom 1.2.1) wonβt allow infinite sets of positive integers less than a certain number β which yields the name of the proof technique! Then (by way of contradiction) the original triangle was impossible to begin with.
So letβs make that smaller triangle!
Proposition 3.4.11.
If a primitive Pythagorean triangle with sides
where the hypotenuse is
has area a perfect square, we can create another one of strictly smaller hypotenuse length.
Proof.
We use the same notation as in
Proposition 3.4.9. We know that
and
are (odd) squares. Call them
and
Note we can write
and
as
and
(the terms of which are integers since
and
have the same parity).
Letting and we have that and Then a little algebra (do it slowly if you donβt see it right away) shows that and These are both squares, so (!), which defines a triangle with area another perfect square (do you see why?).
Now letβs compare and We have so that unless is strictly less than But doesnβt give a triangle at all! So we have our strictly smaller triangle satisfying the same properties.
Corollary 3.4.12.
No Pythagorean triangles can have area a perfect square.
Proof.
If so, we can use the previous proposition infinitely often and violate
Axiom 1.2.1, a contradiction.
Corollary 3.4.13.
No nonzero difference of nonzero perfect fourth powers can be a perfect square. That is,
cannot be solved in positive integers.
Proof.
It suffices to consider coprime. In the previous proposition and corollary, we really showed that if are all perfect squares (coming from the area of the triangle) then this leads to a strictly smaller (and hence impossible, by infinite descent) set with the same property, since the area of the smaller triangle is a product of coprime squares of the same form. If we let and then we are in precisely this situation, as long as are coprime.
The only difference is that here even if
are coprime, itβs possible that both are odd, so that
only have the same (even) parity. However (viz.
[E.2.16, Lemma 7.7.3]),
is the only divisor they can share without passing a common divisor on to
so that we still have
and
where
themselves coprime. Then some quick algebra shows
and
so that the set
are all perfect squares, an impossibility.