Talk:Pythagorean triple/Archive 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Out of order discussion[edit]

Mr. Parker's reply to my comments was excellent--and instructive. I have tried to summarize his remarks and added that summary to the "Platonic Sequence" section. Bronson Gardner

Thankyou for your kind words but honour enough to have contributed a sentence or two on a topic which is of such great significance in the history of Maths. In the interests of possible further improvements on the page, may I humbly suggest that some careful thought be given to the slight contradiction posed by this contribution: namely that on the one hand the Platonic sequence is said to be a 'special case' of the general formula (m^2-n^2,2mn,m^2+n^2) with n=1 whilst on the other it can be shown that the 'general formula' itself may be derived from the Platonic sequence ([t^2-1]/2;t;[t^2+1]/2) when the parameter t is a rational number m/n. If you feel we are now in the realms of general discussion, please feel free to shift this paragraph to my user page and if needs be, take it from there. Neil Parker 16:08, 5 July 2007 (UTC)[reply]


I removed this statement from the "Properties of Triples Section": "The smallest number of the triple is always the square root of the sum hypotenuse and the other leg." The statement is partly true. There are some triples in which the smallest side is equal to the sqr (hypotenuse + largest side) (examples:3,4,5 and 5,12,13) But, the statement is not generally true, since most triples that do not satisfy this formula. Examples: For the triples 6,8,10 and 8,15,17 , the sqr (8+10) does not equal 6 and the sqr(15+17) does not equal 8. In reviewing a table showing the first 365 triples, 344 triples did not fit this formula, but 21 triples did satisfy the formula.

—The preceding unsigned comment was added by Bronsongardner (talkcontribs) 17:14, 26 March 2007 (UTC).[reply]

Actually - with some conditionals - your statement is always true if we accept that all Pythagorean triples are derivatives of the Platonic sequence (see my note below). Taking (x,y,r) as (6,8,10) and (8,15,17) in your examples, divide through by r-x with t = y/(r-x) = 2 in the first case and 5/3 in the second. Now you have equivalent rational triples which satisfy the Platonic sequence (x,y,z) = ([t^2-1]/2 ; t ; [t^2+1]/2) and therefore the property you have perhaps over hastily removed! The problem is with the somewhat arbitrary definition of Pythagorean triples which insists they must specifically be integers rather than just rationals. So the Platonic equivalent of (6,8,10) which is (3/2; 2, 5/2) is unfortunately 'disqualified' from the realm of Pythagorean triples! We also need to note the condition that if the calculated t-value is less than (1+sqrt2), the middle side (not the smallest side) will be the square root of the sum of the other two. This will be true for the Platonic equivalents of both your given 'counter' examples. Of course we could always swap the legs and write (8,6,10) with t-value 3 and Platonic equivalent (4,3,5) satisfying your statement completely. Also (15,8,17) with t-value 4 and Platonic equivalent (15/2; 4 ; 17/2). Neil Parker 17:42, 17 April 2007 (UTC)[reply]

ALL Pythagorean triples are derivatives of the basic Platonic sequence t, (t^2-1)/2 and (t^2+1)/2. So if we want to generate any triple this is all we need. It follows that every triple has a corresponding rational t value which can be used to generate a similar (ie equiangular) triangle with rational sides in the same proportion as the original. In fact if you replace t with a rational fraction m/n in the sequence , you will arrive at the 'standard' triple generator. 2mn, m^2-n^2 and m^2+n^2. The Platonic sequence itself can be derived by following the steps for 'splitting the square' described in Diophantus II.VIII. Neil Parker 21:06, 13 April 2007 (UTC). Edited 22:29, 14 April 2007[reply]

i dont know if this has been added yet but the diffrence between the lenth of the hypotnuse and a leg times the hypotnuse and leg added tohger is the shorter leg squared (c+b)(c-b)=a2 which when foiled out becomes c2-b2=a2. so when c-b=1 as in the case of a 3 4 5 b+c=a2 —Preceding unsigned comment added by 66.229.198.17 (talk) 17:50, 2 March 2008 (UTC)[reply]

God Created the Integers[edit]

"Given a primitive Pythagorean triple, find another". Beelzebub, October 22, 4004 BC


I am more and more convinced that God created the integers. After all, if He didn’t, who in Hell did? As evidence of His Hand at work, consider the following little game.

Choose 3 integers (a,b,c) and apply the following: Let p be twice their sum, and let ( |p-a|, |p-b|, |p+c| ) = (a’,b’,c’). For instance, if you start with (a,b,c) = (1,1,1) you find that (a’,b’,c’) = (5,5,7). “Ho hum” you were about to say, but change the rules slightly and you get the most spectacular result!!! Suppose the triple you start with is a primitive Pythagorean triple, a “PPT”. Also, change the rules slightly to allow one of a,b,c to be negative. There are four possibilities: (a,b,c) is (+++) or (-++) or (+-+) or (++-). Amazingly, each results in a new PPT !!!.

Draw a simple diagram of this result letting G represent a "given" PPT (a,b,c). To the left of G write the result obtained by using the (++-) case. To the right of G write the results obtained by using (-++), (+++) and (+-+). Connect the 4 triples to G with lines. We now have a tetrad of resultant triples produced as described above. For instance, if G is (3,4,5) we get (1,0,1) on the left, and (5,12,13), (21,20,29),and (15,8,17) on the right. We can identify (++-) as G's "parent", and the other 3 triples as G's "children".


Figure by L. Price, 2006


Clearly, this process can be infinitely extended by replacing G with one of the triples on the right. Doing so confirms the “parent–child” link, and produces 3 new triples to the right. A similar process moving leftward leads (in a finite number of steps) to (3,4,5). This wonderful result can be re-stated more formally as follows.

___________________________________________________________

Pythagorean Transformation Theorem

Let T: (a,b,c) --> (a’,b’,c’) be a transformation of positive integers as described in paragraph # 2 above. [ ie; Let p be twice their sum, and let ( |p-a|, |p-b|, |p+c| ) = (a’,b’,c’).]


-Then if (a,b,c) is a primitive Pythagorean triple, so is (a’,b’,c’).

-Transformation T is still valid when one of a,b,c is negative.

-T applied to a 'given' PPT, G, has four possible outcomes; ALL are PPT’s!!!.**

-Each PPT (except 3,4,5) has a single “parent” PPT, derived by applying T to the (++-) case, and 3 “children” derived from the remaining three cases (-++),(+++), (+-+).

-The “tree-like” structure of PPT’s shown in the figure can be infinitely extended by re-applying T to the triples on each end of the graph.

-Each PPT appears on the “Tree” precisely one time.

-Each PPT (except 3,4,5) has 2 “siblings”.

-Hypotenuses increase in magnitude with each generation. For a given tetrad (4 resultant triples), the largest hypotenuse belongs to the “middle child” (+++).

-All PPT’s descend in a finite number of generations from the same “Ancestor”, [ from PPT (3,4,5) ].

-The n-th generation on the Tree contains 3 n PPT’s.

** note: we exclude the "degenerate" triple (1,0,1). ________________________________________________________________

By means of this transformation we can provide all possible answers to Beelzebub's question, and construct the entire "Tree" given ANY PPT as our starting point. Moreover, we can specify how each PPT is related to any other. [What about Heronic triangles and other triangles with integer sides which are NOT right-angled? Except for the (++-) case, transformation T still applies!!!

--[[User:L.Price] 17:42, 19 May 2006 (UTC)



Do the angles in triangles formed by pythagorean triples follow any pattern or series? If you go to very large integers, can a pythagorean triple be found to form any angle? If not, can one find one to be close to any angle (within a certain precision), or are whole ranges of angles impossible? TomViza 23:21, 18 January 2006 (UTC)[reply]

Since PPT's have rational sides, the trigonmetric functions are also rational, so measured in that way, we might find patterns of sorts, but not much has been done along these lines. The answer to your 2nd question is "no". Take a right triangle with sides equal to the square roots of 2, 3, and 5. If you check the half angle tangents, you'll see that they too are irrational (Obviously, no rational half-angle tangents q/p and q'/p' exist which are also irrational, so no PPT can have these angles.) You can, however, find a PPT which approximates these angles by finding four parameters q,q',p,p' which meet the following requirements; they share no common factors >1, one of q,p is even, p=q'+q , p'=q+p, AND the fractions q/p and q'/p' approximate to the desired degree of accuracy the half-angle tangents of your target triangle- a rather tall order! Your PPT would then have sides equal to: [2qp] , [q'p'], [qp'+q'p]. --User:L.Price 17:42, 19 May 2006 (UTC)[reply]


The smallest Pythagorean triple in which the hypotenuse and the sum of the arms are squares
(e.g. a+b = a square integer and c= a square integer is
a = 4565486027761 b = 1061652293520 c = 4687298610289
proof:
the sum of a+ b = 5,627,138,321,281
the sqrt(a+b)= 2,372,159
the sqrt (c) = 2,165,017
Pythagorean Triangles, by Waclaw Sierpinski, Dover Publications, Inc., 2003, ISBN 0-486-43278-5

Triples can also be parametrized using this less well-known approach: 2xy = , x,y,z > 0 where the following relations hold

x = c-b, y = c-a, z = a+b-c and a = x+z, b = y+z, c = x+y+z
Pythagorean triples can then be generated by choosing any even integer z.

x and y are any two factors of

Example choose z = 6 then =18 = z

the threefactor pairs of 18 are: (18,1) , (2,9), and (6,3) . All three factor pairs will produce triples using the above equations.

z=6 x=18 y=1 produces the triple a=18+6=24 b=1+6=7 c=18+1+6=25
z=6 x=2 y=9 produces the triple a= 2+6=8 b=9+6=15 c= 2+9+6=17
z=6 x=6 y=3 produces the triple a= 6+6=12 b=3+6=9 c= 6+3+6=15

Pythagorean triple[edit]

In reference to your webpage Pythagorean Triple in particular primitve triples, m and n can both be odd if you take the formulas from below(on the same webpage Pythagorean Triple) a=m,b=(m^2-1)/2,c=(m^2+1)/2 and substitute n for 1 to get a=m*n,b=(m^2-n^2)/2,c=(m^2+n^2)/2 where m and n are both odd and relatively prime m being the greater. This contribution is from Joe Mc.207.200.116.12 19:32, 14 October 2006 (UTC)[reply]

mis-wording?[edit]

Ok, I've been scratching my head. What do these three lines mean?

  • For each natural number n, there exist n Pythagorean triples with different hypotenuses and the same area.
  • For each natural number n, there exist at least n different Pythagorean triples with the same leg a, where a is some natural number
  • For each natural number n, there exist at least n different triangles with the same hypotenuse.

Tim

Comment: See the book: "Pythagorean Triangles" by Waclaw Sierpinski (Dover Publications).

Direct quotes from the book:

"It is easy to prove that for each natural number n there exit at least n different pythagorean triangles with the same arm a, where a is some natural number." (page 30)

"For each natural number n there exist at least n different triangles with the same hypotenuse." (page 31)

"For each natural number n there exist n pythagorean triangles with different hypotenuses and the same area." (page 37)

the book explains the math in more detail.

Example,

If n=50, then there are at least 50 different triples with the same arm, a If n=50 then there are at least 50 different triples with the same hypotenuse if n=50 then there at at least 50 different triples with different hypotenuses and the same area etc. for each integer


So is there a difference between a Pythagorean triple, which is a set of three integers, and an integal Pythagorean triangle, which has two legs and an hypotenuse? Should the terminology be fixed in this article? --MathMan64 17:36, 1 November 2006 (UTC)[reply]

Response: A pythagorean triple is not just a set set of three integers. The term "pythagorean triple" means a set of three integers which form a right triangle which by definition has two legs and a hypotenuse. Hence, the term is correctly used so there is no need to fix the terminology in this article. See definitions of pythagorean triples at the following:

http://www.math.rutgers.edu/~erowland/pythagoreantriples.html http://mathworld.wolfram.com/PythagoreanTriple.html http://zimmer.csufresno.edu/~larryc/proofs/proofs.construct.html http://homepage.smc.edu/kennedy_john/PYTHAGT.PDF http://library.thinkquest.org/2647/geometry/glossary.htm http://math.temple.edu/~wds/homepage/diophant.pdf http://math.arizona.edu/~nfrogers/talks/pythagoras.pdf http://www.math.ou.edu/~dmccullough/teaching/pythagoras2.pdf --Bronson Gardner

Prime numbers??[edit]

I wanted to know if the following has been disproven:

In any leg-hypotenuse pythagorean triple, at least one of a, c, a+b, and b-a is prime.

To check, we have:

  • 3, 4, 5
  • 5, 12, 13
  • 7, 24, 25
  • 9, 40, 41
  • 11, 60, 61
  • 13, 84, 85
  • 15, 112, 113
  • 17, 144, 145
  • 19, 180, 181

If we restrict this to a and c, the next triple disproves this variant:

  • 21, 220, 221 (note that neither 21 = 3*7 nor 221 = 13*17 is prime)

However, if we expand the problem to include a+b, 21+220=241, which is prime.

  • 23, 264, 265
  • 25, 312, 313

The next triple after this disproves the variant that includes a, c, and a+b but not b-a

  • 27, 364, 365 (27+364=391 = 17*23)

However, expanding this to include a-b gives 364-27=337 which is prime.

  • 29, 420, 421
  • 31, 480, 481
  • 33, 544, 545 (33+544=577)
  • 35, 612, 613
  • 37, 684, 685
  • 39, 760, 761
  • 41, 840, 841
  • 43, 924, 925
  • 45, 1012, 1013
  • 47, 1104, 1105
  • 49, 1200, 1201
  • 51, 1300, 1301
  • 53, 1404, 1405
  • 55, 1512, 1513 (55+1512=1567)
  • 57, 1624, 1625 (57+1624=1681, = 41*41 but 1624-57=1567)
  • 59, 1740, 1741
  • 61, 1860, 1861
  • 63, 1984, 1985 (63+1984=2047, = 23*89 and 1984-63=1921 = 17*113) and this disproves this variant (specifically the one including a, c, a+b, and b-a.) Any variant for which this is an open problem?? Georgia guy 22:02, 16 April 2007 (UTC)[reply]

A Pythagorean Triple which approximates 30,60,90[edit]

This follows from a contribution in the topic entitled 'God Created the integers'. Somebody asked if you could approximate any right triangle with a Pythagorean triple - well I tried approximating a 60 degree right triangle and came up with the following:

6273,10864,12545

This was found by simply drawing a 30 degree line on graph paper and looking to find the places where the line intersected the corners of 1mm squares. Hence you find candidate m,n pairs for the formula:

2mn, m^2-n^2, m^2+n^2. [with n/m ≈ tan(60/2) = tan(30)]

The pair which generates the above triple is 97,56 and this is the best I could find using the above method. But you can easily use a spreadsheet to find even better approximations. It is quite fun for a school project on PTs since the same technique can be used for other angles.

Neil Parker 18:43, 4 June 2007 (UTC)[reply]

Here are the first twenty Pythagorean triples (ak, bk, hk) such that the hypotenuse and twice the short leg differ by one. Note that all such triples are primitive. Your example is the seventh in the sequence:
(3, 4, 5)
(8, 15, 17)
(33, 56, 65)
(120, 209, 241)
(451, 780, 901)
(1680, 2911, 3361)
(6273, 10864, 12545)
(23408, 40545, 46817)
(87363, 151316, 174725)
(326040, 564719, 652081)
(1216801, 2107560, 2433601)
(4541160, 7865521, 9082321)
(16947843, 29354524, 33895685)
(63250208, 109552575, 126500417)
(236052993, 408855776, 472105985)
(880961760, 1525870529, 1761923521)
(3287794051, 5694626340, 6575588101)
(12270214440, 21252634831, 24540428881)
(45793063713, 79315912984, 91586127425)
(170902040408, 296011017105, 341804080817)
The short leg is given by:
where
.
The the long leg bk is given by:
.
Finally, the hypotenuse hk is given by:
.
Evidently, these triples are successively better approximations to a 30-60-90 triangle. -- Chuck 04:49, 5 June 2007 (UTC)[reply]

Some solutions of this type can be found by solving a Pell equation m² = 3 n² ± 1, with short side m² - n² and hypotenuse is m² - n². —David Eppstein 09:23, 5 June 2007 (UTC)[reply]

You must mean for the hypotenuse to be m² + n². To be more precise, for odd k = 2j - 1, the short leg ak = mj² - nj² and hypotenuse hk = mj² + nj² where (mj,nj) is the j-th solution of the Pell equation m² = 3 n² + 1. The first ten of these solutions (mj, nmj) are:
(2, 1)
(7, 4)
(26, 15)
(97, 56)
(362, 209)
(1351, 780)
(5042, 2911)
(18817, 10864)
(70226, 40545)
(262087, 151316)
Note that nj = bj-1, the long leg of the (j-1)st triple in the sequence given previously.
For even k = 2 j, the long leg bk = mj² - nj² and hypotenuse hk = mj² + nj² where mj = bj and nj = 'bj-1. in this case, the the numbers (mj - 2 nj) and nj satisfy the Pell equation (mj - 2 nj)² = 3 nj² + 1. The first ten of these solutions (mj, nj) are:
(4, 1)
(15, 4)
(56, 15)
(209, 56)
(780, 209)
(2911, 780)
(10864, 2911)
(40545, 10864)
(151316, 40545)
(564719, 151316)
The key to obtaining these explicit solutions is the observation that the numbers nj = bj-1 (in both cases) satisfy the two-term recurrence relation:
.

-- Chuck 15:12, 5 June 2007 (UTC). Addendum and minor corrections -- Chuck 13:57, 6 June 2007 (UTC)[reply]

Pythagoras' Theorem and the Platonic Sequence: A Common Genesis[edit]

Pythagoras' Theorem

Figure 1

In the diagram COD is a diameter with O the centre. Right triangle OAB has sides x,y,r as shown.Let angle AOB = θ and , since this is an external angle of isosceles triangle DOB, angle D is θ/2.

Angle CBD stands on the diameter and is therefore

Angle C is complementary to angle D and to angle ABC making the latter also equal to θ/2.

Triangles ACB and ABD are right triangles with angle D = angle ABC = θ/2. Therefore they are similar. Hence:



The Platonic Sequence.

Figure 2

In the same diagram (Figure 2) let AC = 1 unit. (compared with Figure 1 we are simply scaling everything by a factor r – x). Then:





It can be seen that the scaled right triangle OAB in Figure 2 has sides which fit the Platonic sequence and since Figure 1 and Figure 2 are otherwise identical, it should be clear that the Platonic sequence is in fact a core expression of the Pythagorean identity. In particular rational triples arise if t is a rational number m/n:



To obtain Pythagorean triples with integer sides we simply scale the above by a factor to give:



All Pythagorean triples are therefore scaled versions of similar (ie equi-angular) Platonic sequence triangles which have rational sides. If by definition Platonic sequence triangles must have integer sides, we should rather use the term half angle cot sequence in the above context.

Figure 3

As one would expect there is a corresponding half angle tan sequence: refer to figure 3 and let AD = 1 unit. (compared with Figure 1 we are now scaling everything by a factor r + x). Then:





Once again rational triples arise if t is a rational number m/n where m<n in this instance.

Neil Parker 16:35, 25 June 2007 (UTC).[reply]

Edited to include the half angle tan sequence. Please note that I also made corrections in light of the query below. Neil Parker 10:48, 9 July 2007 (UTC)[reply]

What do yo mean by the last sentence? What are "derivatives" of the Platonic sequence? Are you trying to imply that any Pythagorean triple has the form (a,b,c), where c = m2 + n2 with b and c being m2 - n2 and 2mn in some order? The latter is true of all primitive Pythagorean triples and some but not all other Pythagorean triples. For example (6,8,10) = ( 2mn, m2-n2, m2+n2), where m = 3 and n = 1, but (9,12,15) cannot occur in this fashion for any choice of natural numbers m, n (because 15 cannot be expressed as m2+n2 at all). -- Chuck 18:34, 25 June 2007 (UTC)[reply]

Hope the above ammendment clarifies things! Neil Parker 09:07, 26 June 2007 (UTC)[reply]

"Below is a formula created by Matthew Irvine"[edit]

The following culmination of a sequence of edits by 124.180.159.248 was removed to here.

===Below is a formula created by Matthew Irvine===
This formula returns a Pythagorean triple
Simply choose any natural number greater that two for e. Then choose any natural number for d if e is odd or any even number for d if e is even.
For the primitive triples simply use the lowest possible d (If e is even that will be two and if e is odd that will be one).
For example if e=3 then d=1 meaning a=3, b=4, c=5 or if e=4 then d=2 meaning a=8, b=15, c=17

It is really just a rephrasing of the material in the section "A special case: the Platonic sequence" in the main article. -- Chuck 20:33, 9 July 2007 (UTC)[reply]


Diophantus II.VIII and the Platonic Sequence[edit]

The purpose of the following article is to demonstrate how the Platonic sequence can be derived by following the steps given in Diophantus II.VIII.

Diophantus II.VIII: Intersection of line CB and the circle has rational solutions for x and y

"To divide a square into a sum of two squares
To divide 16 into a sum of two squares


Let the first summand be and thus the second . The latter is to be a square. I form the square of the difference of an arbitrary multiple of x diminished by the root of 16, that is, diminished by 4. I form, for example, the square of 2x-4. It is . I put this expression equal to and subtract 16. In this way I obtain , hence .


Thus one number is 256/25 and the other 144/25. The sum of these numbers is 16 and each summand is a square."


Without in any way detracting from the method described above, we generalize to solve the problem for any given square which we will represent algebraically as . Also since Diophantus refers to an "arbitrary multiple of x" we will use the letter t to represent that coefficient. Then:


"Thus one number is and the other is . The sum of these numbers is and each summand is a square."

Diophantus II.VIII: Generalized solution in which triangle OAB is a rational triple if line CB has a rational gradient t

The specific results obtained by Diophantus may be obtained by substituting a=4 and t=2 in the above algebraic expressions. In effect his solution yields the following rational triple representing the sides of triangle OAB in the diagram (it is assumed a and t are both rationals):



We see that Diophantus' particular solution is in fact a subtly disguised 3,4,5 triple but there is no doubt he could obtain any of an infinity of triples simply by changing the value of that "arbitrary multiple of x".

The algebraic solution needs only one additional algebraic step to arrive at the Platonic sequence and that is to multiply all sides of the above triple by a factor . Notice also that if a=1, (unit circle) the sides (OB,OA,AB) reduce to:



In modern notation this is just written in terms of the half angle cot which in the particular example given by Diophantus has a value of 2, the "arbitrary coefficient of x". Intriguing that this "arbitrary coefficient" has become the cornerstone of the Diophantine triple generator!

References:

Diophantus of Alexandria. Arithmeticorum Lib II Quaestio VIII

Heath, Sir Thomas L. Diophantus of Alexandria: A Study in the History of Greek Algebra. Dover.
Bashmakova, Isabella Grigoryevna. Diophantus and Diophantine Equations . The Mathematical Association of America. USA, 1997.
Both as quoted by Aaron Zerhusen, Chris Rakes, & Shasta Meece.Diophantine Equations

Further Reading:
Fermat's Last Theorem and Diophantus II.VIII

Neil Parker 15:35, 13 July 2007 (UTC)[reply]


The page states properties of primitive Pythagorean triples:

  1. There exist infinitely many Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly one.
  2. There exist infinitely many Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly two.

- These two statements are also true for PRIMITIVE Pythagorean triples!

  1. There exist infinitely many Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly three.

- But there are no PRIMITIVE Pythagorean triples in which the hypotenuse and a leg differ by exactly a prime number greater than 2.
AdrianSavage (talk) 19:43, 25 November 2007 (UTC)[reply]

I'll add that last point you make to the page. It's vastly more interesting than "There are infinitely many -- albeit non-primitive -- triples in which b and c differ by 3", which is just obvious, since once you know there are infinitely many primitive triples in which b and c differ by 1, you can multiply every term of the triple by 3. 91.107.153.28 (talk) 23:48, 21 February 2008 (UTC)[reply]