Try this
- , gives . Now try , and , , and write down the triples you get.
- Try , , then , . Both times the three numbers have a common factor. What is wrong with and in each case?
- When the slope of the line is rational, both coordinates of the intersection point are rational. Put the coordinates of over a common denominator: which three numbers are the numerators and the denominator?
- Make just below (for example , ): the line is very steep, and the triangle is tall and thin. How much longer is the hypotenuse than the longer leg?
Positive integers with form a Pythagorean triple. When the three numbers have no common factor greater than , it is a primitive Pythagorean triple. Divide both sides by :
So finding Pythagorean triples is the same as finding points on the unit circle whose coordinates are both rational.
Predict first
In a primitive Pythagorean triple , what are the parities of the two legs and ?
Both even: then is even too, and the three numbers share the factor , so the triple is not primitive.
Both odd: an odd square leaves when divided by , so leaves . But a square divided by leaves only or , so cannot leave .
So it has to be one odd and one even, and then is always odd. Check on the workbench: the even leg is always .
Why
One line sweeps out every Pythagorean triple
Step 1 / 6- Start from a point you know
is on the unit circle. Draw a line through with slope .
Remove one condition
Break it
Counterexample lab: remove one condition
Conclusion: if and are coprime, is a primitive Pythagorean triple ← still true?
, : coprime, one even and one odd. This gives , and the gcd of the three numbers is .
, : still coprime, but both odd.
This gives . For two odd numbers, the difference and the sum of their squares are both even, and is even too, so the common factor cannot be avoided. Notice that the point is not wrong: it is . It is just that another pair gives it too (with the two legs swapped, it comes from , ).
A different kind of equation: infinite descent
Change the Pythagorean equation slightly: . Does it have positive integer solutions?
x² + y² = 3z² has no positive integer solutions
Step 1 / 6- Suppose there is a solution
Suppose is a positive integer solution. is some positive integer; to start with, say it is .
The recipe for descent: suppose there is a solution → build a strictly smaller positive integer solution → positive integers cannot keep getting smaller forever → contradiction. You can also say it another way: take the solution with the smallest , then build one with an even smaller .
Practice
Take and . Write down the three numbers the formula gives.
A primitive Pythagorean triple has hypotenuse . What is its shorter leg?
How many right triangles are there whose sides are all positive integers and which have a leg equal to ?
Use infinite descent to prove that has no positive integer solutions. (In other words, is not rational.)