proof of Pythagorean triples
If a,b, and c are positive integers such that
a2+b2=c2 | (1) |
then (a,b,c) is a Pythagorean triple. If a,b, and c are
relatively prime in pairs then (a,b,c) is a primitive
Pythagorean triple. Clearly, if k divides any two of a,b,
and c it divides all three. And if a2+b2=c2 then
k2a2+k2b2=k2c2. That is, for a positive integer k, if
(a,b,c) is a Pythagorean triple then so is (ka,kb,kc).
Hence, to find all Pythagorean triples, it’s sufficient to find
all primitive Pythagorean triples.
Let a,b, and c be relatively prime positive integers such that a2+b2=c2. Set
mn=a+cb |
reduced to lowest terms, That is, gcd(m,n)=1. From the triangle inequality m>n. Then
mnb-a=c. | (2) |
Squaring both sides of (2) and multiplying through by n2 we get
m2b2-2mnab+n2a2=n2a2+n2b2; |
which, after cancelling and rearranging terms, becomes
b(m2-n2)=a(2mn). | (3) |
There are two cases, either m and n are of opposite parity, or
they or both odd. Since gcd(m,n)=1, they can not both be
even.
Case 1. m and n of opposite parity, i.e., m≢. So 2 divides b since is odd. From equation (2), divides . Since then , therefore also divides . And since , divides . Therefore . Then
(4) |
Case 2. and both odd, i.e., . So 2 divides . Then by the same process as in the first case we have
(5) |
The parametric equations in (4) and (5) appear to be different but they generate the same solutions. To show this, let
Then , and . Substituting those values for and into (5) we get
(6) |
where , , and and are of opposite parity. Therefore (6), with a and b interchanged, is identical to (4). Thus since , as in (4), is a primitive Pythagorean triple, we can say that is a primitive pythagorean triple if and only if there exists relatively prime, positive integers and , , such that .
Title | proof of Pythagorean triples |
---|---|
Canonical name | ProofOfPythagoreanTriples |
Date of creation | 2013-03-22 14:28:05 |
Last modified on | 2013-03-22 14:28:05 |
Owner | fredlb (5992) |
Last modified by | fredlb (5992) |
Numerical id | 9 |
Author | fredlb (5992) |
Entry type | Proof |
Classification | msc 11-00 |