WFTV and Pythagorean triple: Difference between pages

From Wikipedia, the free encyclopedia
(Difference between pages)
Content deleted Content added
Wheeler0152 (talk | contribs)
No edit summary
 
{{fact}}→‎VII.
 
Line 1: Line 1:
[[Image:Pythagorean.svg|thumb|The Pythagorean theorem: ''a''<sup>2</sup>&nbsp;+&nbsp;''b''<sup>2</sup>&nbsp;=&nbsp;''c''<sup>2</sup>]]
:''For the defunct television station in [[Duluth, Minnesota]], see '''[[WFTV (Duluth)]]'''.''
A '''Pythagorean triple''' consists of three positive [[integer]]s ''a'', ''b'', and ''c'', such that ''a''<sup>2</sup>&nbsp;+&nbsp;''b''<sup>2</sup>&nbsp;=&nbsp;''c''<sup>2</sup>. Such a triple is commonly written (''a'',&nbsp;''b'',&nbsp;''c''), and a well-known example is (3,&nbsp;4,&nbsp;5). If (''a'',&nbsp;''b'',&nbsp;''c'') is a Pythagorean triple, then so is (''ka'', ''kb'', ''kc'') for any positive integer ''k''. A '''primitive Pythagorean triple''' is one in which ''a'', ''b'' and ''c'' are [[coprime]].
{{Infobox_Broadcast |
call_letters = WFTV|
city = |
station_logo = [[Image:Wftvhd.jpg|260px]]|
station_slogan = Orlando's News Leader<br>Coverage You Can Count On|
station_branding = ''Channel 9'' (general)<br>''Channel 9 Eyewitness News'' (newscasts)|
analog = 9 ([[very high frequency|VHF]])|
digital = 39 ([[ultra high frequency|UHF]])|
other_chs = |
subchannels = 9.1 [[American Broadcasting Company|ABC]]<br/>9.2 Weather radar|
network = |
founded = |
airdate = [[February 1]], [[1958]]|
location = [[Orlando, Florida]]|
callsign_meaning = '''F'''lorida '''T'''ele'''V'''ision|
former_callsigns = WLOF-TV (1958-1963)|
former_channel_numbers = |
owner = [[Cox Enterprises|Cox Enterprises, Inc.]]|
licensee = WFTV, Inc.|
sister_stations = [[WRDQ]]|
former_affiliations = |
effective_radiated_power = 316 [[kilowatt|kW]] (analog)<br>1000 kW (digital)|
HAAT = 479 [[metre|m]] (analog)<br>492 m (digital)|
class = |
facility_id = 72076|
coordinates = {{coor dms|28|36|8.5|N|81|5|36|W|type:landmark_scale:2000}} (analog)<br>
{{coor dms|28|34|8.3|N|81|3|15.6|W|type:landmark_scale:2000}} (digital)|
homepage = [http://www.wftv.com/ www.wftv.com]|
}}
'''WFTV''' channel 9 is a [[television]] station based in [[Orlando, Florida]], affiliated with the [[ABC network]]. It transmits its analog signal on VHF channel 9 from a transmitter located in [[Bithlo, Florida]], and its digital signal on UHF channel 39 from a transmitter located in [[Christmas, Florida]]. It is owned by [[Cox Enterprises]] along with independent station [[WRDQ]] TV 27.


The name is derived from the [[Pythagorean theorem]], of which every Pythagorean triple is a solution. The converse is not true. For instance, the [[triangle]] with sides ''a''&nbsp;=&nbsp;''b''&nbsp;=&nbsp;1 and ''c''&nbsp;=&nbsp;√2 is right, but (1, 1, √2) is not a Pythagorean triple because √2 is not an integer. Moreover, 1 and √2 do not have an integer common multiple because √2 is [[irrational number#History of the theory of irrational numbers|irrational]].
Syndicated programming on the station includes ''[[Who Wants to Be a Millionaire? (US game show)|Who Wants to Be a Millionaire?]]'', ''[[Family Feud]]'', ''[[The Oprah Winfrey Show]]'', ''[[Jeopardy!]]'' and ''[[Wheel of Fortune (US game show)|Wheel of Fortune]]''.
There are 16 primitive Pythagorean triples with ''c''&nbsp;≤&nbsp;100:
{|align="center" cellspacing="0" cellpadding="0"
|- align="right"
|style="padding: 0 1em"| ( 3, 4, 5)
|style="padding: 0 1em"| ( 5, 12, 13)
|style="padding: 0 1em"| ( 7, 24, 25)
|style="padding: 0 1em"| ( 8, 15, 17)
|- align="right"
|style="padding: 0 1em"| ( 9, 40, 41)
|style="padding: 0 1em"| (11, 60, 61)
|style="padding: 0 1em"| (12, 35, 37)
|style="padding: 0 1em"| (13, 84, 85)
|- align="right"
|style="padding: 0 1em"| (16, 63, 65)
|style="padding: 0 1em"| (20, 21, 29)
|style="padding: 0 1em"| (28, 45, 53)
|style="padding: 0 1em"| (33, 56, 65)
|- align="right"
|style="padding: 0 1em"| (36, 77, 85)
|style="padding: 0 1em"| (39, 80, 89)
|style="padding: 0 1em"| (48, 55, 73)
|style="padding: 0 1em"| (65, 72, 97)
|- align="right"
|}
[[Image:Pythagorean triple scatterplot.svg|thumb|A [[scatter plot]] of the legs (''a'',''b'') of the first Pythagorean triples within 4500 covering only integral values.]]


==Generating a triple==
==History==
The station signed on the air on [[February 1]], [[1958]] as '''WLOF-TV''' (for "'''W'''e '''L'''ove '''O'''rlando, '''F'''lorida"). It had been an ABC affiliate since its launch. For years, the station was owned by a consortium of local investors. It changed its call letters to '''WFTV''' in [[1963]]. The [[Pearson Scott Foresman|SFN Companies]] purchased the station in [[1984]]. SFN, in turn, sold the station to Cox Communications in [[1985]].


The following formula will generate all Pythagorean triples (although not uniquely):
Alongside its own "[[Eyewitness News]]" broadcasts, WFTV also produces a nightly 10pm newscast ("Eyewitness News at 10", formerly known as "[[Action News]] at 10") for sister station WRDQ since 2000, and a weekday morning newscast ("Eyewitness News This Morning") for said station since 2007.


:<math> a = k*(2mn) \,:\, b = k*(m^2 - n^2) \,:\, c = k*(m^2 + n^2)</math>
For most of the time since the 1980s, WFTV has been the dominant TV news station in the Central Florida market. Although [[NBC]] affiliate [[WESH]] made some temporary advances in the 1990s, WFTV often enjoys ratings higher than the combined rating of the other network affiliates in the Central Florida market. In some newscasts it has been the highest rated ABC television station in the Southeast US.


where m and n are two positive integers with m > n and k is a positive integer.
==Ocala==
The special case ''k = 1'' reduces to the classic formula given by [[Euclid]] (c. 300 B.C.) in his book [[Euclid's Elements|Elements]] and is often referred to as '''Euclid's formula''':
As of July 2006, WFTV and WFTV-DT is now seen on the co-owned [[Cox Communications|Cox Cable]] system in Ocala (WFTV on cable channel 9 and WFTV-DT on channel 729) in addition to Gainesville's [[WCJB-TV]]. Ocala and Marion County are both part of the Orlando market. Prior to July 2006, Cox in Ocala only offered WCJB, due to contractual obligations, even though Ocala is not in the same television market as Gainesville.


:<math> a = 2mn \,:\, b = m^2 - n^2 \,:\, c = m^2 + n^2 </math>
==Personalities==


The triple generated by Euclid's formula is primitive only if ''m'' and ''n'' are [[coprime]] and exactly one of them is even. If both ''n'' and ''m'' are odd, then ''a'', ''b'', and ''c'' will be even, and so the triple will not be primitive. Every primitive triple (possibly after exchanging ''a'' and ''b'') arises from a ''unique pair'' of coprime numbers ''m'', ''n'', one of which is even. It follows that there are infinitely many primitive Pythagorean triples. This relationship of ''a'' and ''b'' to ''m'' and ''n'' from Euclid's formula is referenced throughout the rest of this article.
====News Anchors====
*'''Bob Opsahl''', weekday evening anchor
*'''Martie Salt''', weekday evening anchor
*'''Darrell Greene''', weekday evening anchor
*'''Barbara West''', weekday Noon and evening anchor
*'''Greg Warmoth''', weekday morning anchor
*'''[[Vanessa Echols]]''', weekday morning and Noon anchor
*'''Elizabeth Artz''', weekend morning and Noon anchor
*'''Robert Maxwell''', weekend evening anchor


An alternative form of Euclid's formula introduces a different pair of positive integer parameters ''p'' and ''q'' to eliminate the need for imposing further conditions on ''m'' and ''n''. Letting ''m'' = ''p'' + 2''q'' - 1 and ''n'' = ''p'', then ''m'' - ''n'' = 2''q'' - 1 is necessarily odd, and Euclid's formula becomes:
====Severe Weather Center 9 Meteorologists====
*'''Tom Terry''', weekday evening chief meteorologist (AMS-CBM)
*'''Brian Shields''', weekday morning meteorologist (AMS/NWA)
*'''Ben Smith''', weekend morning meteorologist (AMS-CBM/NWA)
*'''Matt Makens''' weekend evening meteorologist (AMS-CBM/NWA)


:<math> a = 2p(p+2q-1) \,:\, b = (2q-1)(2p+2q-1) \,:\, c = (p+2q-1)^2 + p^2. </math>
====News Reporters====
*'''Jason Allen''', Volusia County reporter
*'''Gustavo Almodóvar''', general assignment reporter
*'''Steve Barrett''', general assignment reporter
*'''Gregg Beck''', Skywitness 9 Pilot
*'''Kathi Belich,''', general assignment reporter
*'''Andrea Conklin''', general assignment reporter
*'''Jeff Deal''', general assignment reporter
*'''David Dean''', traffic reporter
*'''Melonie Holt''', general assignment reporter
*'''Daralene Jones''', general assignment reporter
*'''Sean Lavin''', general assignment reporter
*'''Kenneth Moton''', general assignment reporter
*'''Derrol Nail''', general assignment reporter
*'''Mary Nguyen''', general assignment reporter
*'''Kevin Oliver''', Brevard County reporter
*'''Berndt Petersen''', general assignment reporter
*'''Eric Rasmussen''', general assignment reporter
*'''George Spencer''', general assignment reporter
*'''Todd Ulrich''', Action 9 investigator
*'''Vanessa Welch''', general assignment reporter
*'''Tim Wetzel''', general assignment reporter


Many [[#Other formulae for generating triples|other formulas for generating triples]] have been developed since the time of Euclid.
====Sports Anchors====
*'''Phil Burton''', weekday sports anchor
*''' Joe Kepner''', weekend sports anchor/reporter


==Elementary properties of primitive Pythagorean triples==
== Digital television and HDTV==
The properties of primitive Pythagorean triples include:
On [[June 29]], [[2006]], WFTV became the first Florida television station to offer newscasts in [[720p]] [[High-definition television|HD (High Definition)]]. It is the first Cox owned and operated station and the 10th U.S. station to offer it. With the switch to HD came a new HD set from [[FX Group]] and HD graphics from Giant Octopus. This switch had also later changed the stations news music package to Eyewitness News, which WFTV had previously used from 1995-1997.
*In a pythagorean triplet <math>a+b=c+2[(c-a)(c-b)/2]^{1/2}</math>
*(c-a)(c-b)/2 is always a perfect square. This is particularly useful in checking if a given triplet of numbers is a pythagorean triple, but it is only a necessary condition, not a sufficient one. The triple {6, 12, 18} passes (c-a)(c-b)/2 but is not a PNT. A simpler, more powerful test is, (by naming the even leg a): (c-a) and (c-b)/2 are both perfect squares. This is both necessary and sufficient for the triple to be a PNT, but the PNT may be derivative. If any two sides of a PNT are relatively prime, it is a primitive PNT.
*Exactly one of ''a'', ''b'' is [[odd number|odd]]; ''c'' is odd.
*The area (''A'' = ''ab''/2) is an integer.
*Exactly one of ''a'', ''b'' is divisible by 3.
*Exactly one of ''a'', ''b'' is [[divisible by 4]].
*Exactly one of ''a'', ''b'', ''c'' is divisible by 5.
*Exactly one of ''a'', ''b'', (''a'' + ''b''), (''b'' &minus; ''a'') is divisible by 7.
*All prime factors of ''c'' are primes of the form 4n+1.
*At most one of ''a'', ''b'' is a square.
*Every integer greater than 2 that is not [[singly even|congruent to 2 mod 4]] is part of a primitive Pythagorean triple. Examples of integers not part of a primitive pythagorean triple: 6,10,14,18
*Every integer greater than 2 is part of a primitive or non-primitive Pythagorean triple, for example, the integers 6,10,14, and 18 are not part of primitive triples, but are part of the non-primitive triples 6,8,10; 14,48,50 and 18,80,82.
*There exist infinitely many primitive Pythagorean triples whose hypotenuses are squares of natural numbers.
*There exist infinitely many primitive Pythagorean triples in which one of the legs is the square of a natural number.
*There exist infinitely many Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly one (such triples are necessarily primitive). Generalization: For every odd integer ''j'', there exist infinitely many primitive Pythagorean triples in which the hypoteneuse and the even leg differ by <math> j^2 </math>.
*There exist infinitely many primitive Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly two. Generalization: For every integer ''k'' > 0, there exist infinitely many primitive Pythagorean triples in which the hypotenuse and the odd leg differ by <math> 2k^2 </math>.
*If ''j'' and ''k'' are odd positive integers, not necessarily unequal, there is exactly one primitive Pythagorean triple with <math> a + j^2 = c = b + 2^k. </math>
*The hypoteneuse of every primitive Pythagorean triangle exceeds the even leg by the square of an odd integer ''j'', and exceeds the odd leg by twice the square of an integer ''k'' > 0, from which it follows that:
*There are no primitive Pythagorean triples in which the hypotenuse and a leg differ by a prime number greater than 2.
*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.
*In every Pythagorean triple, the radius of the [[incircle]] and the radii of the three [[incircle|excircles]] are natural numbers. (Actually the radius of the incircle can be shown to be <math> r = n(m - n) </math> )
*There are no Pythagorean triplets in which the hypotenuse and one leg are the legs of another Pythagorean triple.


==Some relationships==
After the [[DTV transition in the United States|analog television shutdown and digital conversion]], scheduled to take place on February 17, 2009 <ref name="Analog to Digital">http://hraunfoss.fcc.gov/edocs_public/attachmatch/DA-06-1082A2.pdf</ref>, WFTV-DT will remain on channel 39. <ref name="FCCForm387">[http://fjallfoss.fcc.gov/cgi-bin/ws.exe/prod/cdbs/forms/prod/cdbsmenu.hts?context=25&appn=101231092&formid=387&fac_num=72076 CDBS Print<!-- Bot generated title -->]</ref>


[[Image:RightTriangleWithInsetCircle.svg|right|thumb|Right Triangle with [[inscribed circle]] of radius ''r'']]
==Preemptions==


The radius, ''r'', of the [[inscribed circle]] can be found by:
WFTV was one of the few ABC affiliates that pre-empted [[Jimmy Kimmel Live]]. WFTV's sister stations in Atlanta ([[WSB-TV]]) and Charlotte ([[WSOC-TV]]), as well as [[Sinclair Broadcast Group]] affiliate [[WEAR-TV]] in [[Pensacola, Florida|Pensacola]], also did not air the program. On [[November 21]], [[2005]], however, the station did start airing the late night talk show, and now airs almost the entire ABC schedule with little preemption.


:<math>r = ab/(a+b+c) \,</math>
These preemptions are currently limited to some of ABC's weekend morning programming. Three out of four hours of the [[ABC Kids (United States)|ABC Kids]] lineup are shown. The station began carrying the weekend edition of [[Good Morning America]] in the beginning of July 2007, along with its sister stations in Atlanta ([[WSB-TV]]) and Charlotte ([[WSOC-TV]]).


for primitive triples:
In the early 1980s, WFTV preempted the [[soap opera]] ''[[The Edge of Night]]'', which was preempted by many other ABC affiliates as well.
:<math>r = n(m-n) \,</math>


The unknown sides of a triple can be calculated directly from the radius of the incircle, ''r'', and the value of a single known side, ''a''.
From [[1994]] thru [[1996]], WFTV did not air ABC's 11:00 AM program while it was ''[[The Home Show]]'' and ''[[Mike and Maty]]''. The station began to carry such programming overnights starting in [[1996]], not starting to air it in its proper timeslot until ''[[The View]]'' debuted in [[1997]].
:''k'' = ''a''&nbsp;&minus;&nbsp;2''r''
:''b'' = 2''r'' + (2 ''r''<sup>2</sup>/''k'')
:''c'' = ''b''+ ''k'' = 2''r'' + (2''r''<sup>2</sup> /''k'') + ''k''


The solution to the 'Incircles' problem shows that, for any circle whose radius is a whole number k, we are guaranteed at least one right angled triangle containing this circle as its inscribed circle where the lengths of the sides of the triangle are a primitive Pythagorean triple:
In [[1992]], WFTV dropped two of the five hours of ABC's Saturday morning cartoons in order to add a two hour newscast. The next year, when the newscast expanded to three hours, the station ceased airing the block completely.
:''a''=2''k''(''k''+1)
:''b''=2''k''+1
:''c''=2''k''<sup>2</sup>+2''k''+1


The perimeter ''P'' and area ''L'' of the right triangle corresponding to a primitive Pythagorean triple triangle are
In [[1996]] an hour of ABC cartoons was restored on Sunday mornings. A year later, WFTV began to carry two hours of the lineup that were under the [[One Saturday Morning]] banner. In [[1999]], WFTV began its current practice to run three hours of the lineup, likely as a way to comply with federal [[E/I]] regulations.
:''P'' = ''a'' + ''b'' + ''c'' = 2''m''(''m'' + ''n'')
:''L'' = ''ab''/2 = ''mn''(''m''<sup>2</sup>&nbsp;&minus;&nbsp;''n''<sup>2</sup>)


Additional Relationships:
In [[2004]], all Cox-owned ABC affiliates preempted the movie ''[[Saving Private Ryan]]'', due to the graphic violence and profanity in the film, after the [[Federal Communications Commission|FCC]] stepped up its vigilance following the [[Janet Jackson]] / [[Justin Timberlake]] [[Super Bowl XXXVIII halftime show controversy| Super Bowl incident]] that year. The FCC declared the film as not indecent, after the fact.


:<math>\frac{c+a}{b}=\frac{m}{n}\,</math>
==News/Station Presentation==
:<math> \frac{c+b+a}{c+b-a}= \frac{m}{n}\,</math>
:<math> b/(c-a)= \frac{m}{n} \,</math>
:<math>(a+c-b)/(a+b-c)= \frac{m}{n} \,</math>
:<math>\cos\theta\ = {m^2-n^2 \over m^2+n^2} = {1-t^2 \over 1+t^2}= {a \over c}</math>
:<math>\sin\theta\ = {2mn \over m^2+n^2} = {2t \over 1+t^2} = {b \over c}</math>
:<math>\tan\theta\ = {2mn \over m^2-n^2} = {2t \over 1-t^2} = {b \over a}</math>
:<math>x^2 + y^2 = 1 \,</math>
:<math>\tan\left({\theta \over 2}\right) = {n \over m}</math>
:<math>\tan\left({\beta \over 2}\right) = {m-n \over m+n}</math>



===Newscast Titles===

*''Eyewitness News'' (1976-1997)
see: http://www.geocities.com/fredlb37/node8.html
*''Channel 9 Eyewitness News'' (1997-Present)

If two numbers of a triple are known, the third can be found using the [[Pythagorean theorem]].

<span id="Platonic sequence" />

==A special case: the Platonic sequence==

The case ''n'' = 1 of the more general construction of Pythagorean triples has been known for a long time. [[Proclus]], in his commentary to the [[Pythagorean theorem|47th Proposition]] of the first book of [[Euclid's Elements]], describes it as follows:

<blockquote>Certain methods for the discovery of triangles of this kind are handed down, one which they refer to Plato, and another to Pythagoras. (The latter) starts from odd numbers. For it makes the odd number the smaller of the sides about the right angle; then it takes the square of it, subtracts unity and makes half the difference the greater of the sides about the right angle; lastly it adds unity to this and so forms the remaining side, the hypotenuse.<br/>
...For the method of Plato argues from even numbers. It takes the given even number and makes it one of the sides about the right angle; then, bisecting this number and squaring the half, it adds unity to the square to form the hypotenuse, and subtracts unity from the square to form the other side about the right angle. ... Thus it has formed the same triangle that which was obtained by the other method.</blockquote>

In equation form, this becomes:

''a'' is odd (Pythagoras, c. 540 BC):

:<math>\mbox{side }a : \mbox{side }b = {a^2 - 1 \over 2} : \mbox{side }c = {a^2 + 1 \over 2}.</math>

''a'' is even (Plato, c. 380 BC):

:<math>\mbox{side }a : \mbox{side }b = \left({a \over 2}\right)^2 - 1 : \mbox{side }c = \left({a \over 2}\right)^2 + 1</math>

It can be shown that all Pythagorean triples are derivatives of the basic Platonic sequence (''x'',''y'',''z'') = ''p'', (''p''<sup>2</sup>&nbsp;-&nbsp;1)/2 and (''p''<sup>2</sup>&nbsp;+&nbsp;1)/2 by allowing ''a'' to take non-integer rational values. If ''p'' is replaced with the rational fraction ''m''/''n'' in the sequence, the 'standard' triple generator 2''mn'', ''m''<sup>2</sup>&nbsp;-&nbsp;''n''<sup>2</sup>&nbsp; and ''m''<sup>2</sup>&nbsp;+&nbsp;''n''<sup>2</sup>&nbsp; results. It follows that every triple has a corresponding rational ''p'' value which can be used to generate a similar (i.e. equiangular) triangle with rational sides in the same proportion as the original. For example, the Platonic equivalent of (6,8,10) is (3/2; 2, 5/2). The Platonic sequence itself can be derived by following the steps for 'splitting the square' described in [[Diophantus II.VIII]].

==Other formulae for generating triples==
{{Refimprovesect|date=May 2008}}

Besides Euclid's formula, many other formulas which only generate Pythagorean triples have been developed.

===I., II.===
Pythagoras' and Plato's formulas have been described above. The methods below appear in various sources, often without attribution as to their origin.

===III.===
Given an integer ''n'', the triple can be generated by the following two procedures:{{fact}}

:<math> a= 2n + 1 \,:\, b=2n(n + 1) \,:\, c = 2n(n + 1) + 1 </math>

Example: When ''n'' = 2 the triple produced is 5, 12, and 13
(This formula is actually the same as method I, substituting ''m'' with 2''n'' + 1.)

Alternatively, one can generate triples from even integers using the following formulas:

:<math> a= 2m \,:\, b=m^2 - 1 \,:\, c = m^2 + 1 </math>

Example: When ''m'' = 4 the triple produced is 8, 15, and 17
(This formula is another specific case of method I, substituting ''n'' with 1).

===IV.===
Given the integers ''n'' and ''x'',{{fact}}

:<math> a= 2x^2 + 2nx \,:\, b= 2nx + n^2 \,:\, c=2x^2 + 2nx + n^2 </math>

Example: For ''n'' = 3 and ''x'' = 5, ''a'' = 80, ''b'' = 39, ''c'' = 89.
(This formula is actually the same as method I, substituting ''m'' and ''n'' with ''n''+''x'' and ''x''.)

===V.===
Triples can be calculated using this formula: <math>2xy = z^2 </math>, x,y,z > 0 where the following relations hold:{{fact}}

''x'' = ''c''&nbsp;&minus;&nbsp;''b'', ''y'' = ''c''&nbsp;&minus;&nbsp;''a'', ''z'' = ''a''&nbsp;+&nbsp;''b''&nbsp;&minus;&nbsp;''c'' and ''a'' = ''x''&nbsp;+&nbsp;''z'', ''b'' = ''y''&nbsp;+&nbsp;''z'', ''c'' = ''x''&nbsp;+&nbsp;''y''&nbsp;+&nbsp;''z'' and ''r'' = ''z''/2 , where
''x'', ''y'', and ''z'' are the three sides of the triple and ''r'' is the radius of the inscribed circle.

Pythagorean triples can then be generated by choosing any '''''even''''' integer ''z''.

''x'' and ''y'' are any two factors of <math> z^2/2 </math>.

Example: Choose ''z'' = 6. Then <math> z^2/2 =18. </math>
The three factor-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.

===VI.===
An infinity by infinity matrix ''M'' of Pythagorean triples (PNTs), which has some particularly desirable properties can be generated by taking:{{fact}}

: <math>a(r,k) = 4rk + 2k(k-1)\,</math>

: <math>b(r,k) = 4r(r+k-1) - 2k + 1\,</math>

: <math>c(r,k) = 4r(r+k-1) + 2k(k-1) + 1\,</math>

where ''r'' is the row number and ''k'' is the column number. These formulae for ''a, b,'' and ''c'' can be verified by substituting the right-hand side of each of the above equations into

: <math>a^2 + b^2 = c^2\,</math>

: <math>[4rk + 2k(k-1)]^2 + [4r(r+k-1) - 2k + 1]^2 = [4r(r+k-1) + 2k(k-1) + 1]^2\,</math>

Note that always, ''a'' is doubly even, ''b'' and ''c'' are odd.
Most of the PNTs in ''M'' will have ''a < b; a > b'' will occur only when ''r < (k√2+1)/2''

Note that ''(k√2+1)'' is never an integer, so ''r = (k√2+1)/2'' can't occur; if ''r > (k√2+1)/2'', which it is for all but a finite number (''< k, if k > 2'') of PNTs in column k, ''a < b.''

Each row is a family of PNTs with the hypotenuse ''c'' of each PNT in row ''r'' exceeding the even side a by the square of the ''r<sup>th</sup>'' odd number.

: <math>c(r,k) - a(r,k) = [4r(r+k-1) + 2k(k-1) + 1] - [4rk + 2k(k-1)]\,</math>
: <math>c(r,k) - a(r,k) = [4r(r+k-1) + 1] - [4rk]\,</math>
: <math>c(r,k) - a(r,k) = [4r^2 + 4rk - 4r + 1] - [4rk]\,</math>
: <math>c(r,k) - a(r,k) = [4r^2 - 4r + 1] = (2r-1)^2\,</math>
and ''(2r-1)<sup>2</sup>'' is the square of the ''r<sup>th</sup>'' odd number.

The Pythagorean formula for generating PNTs (section I, above) with ''a'' and ''b'' reversed to make ''a'' the even side, and ''m'' being any natural number:

: <math> k = m\,</math>
: <math> b = 2k+1\,</math>
: <math> a = (b^2-1)/2\,</math>
: <math> c = a+1 = (b^2+1)/2\,</math>

yields the first row (r = 1) of ''M'', and the Platonic formula (section II, above) using a = 4m instead of 2m, to eliminate derivative PNTs:

: <math> r = m\,</math>
: <math> a = 4r\,</math>
: <math> b = 4r^2-1\,</math>
: <math> c = b+2 = 4r^2+1\,</math>

yields the first column (k = 1) of ''M''.

Each column is a family of PNTs with the hypotenuse of each PNT in column ''k'' exceeding the odd side ''b'' by twice the square of ''k''. For example ''M''(6,4) = {120, 209, 241} 241&nbsp;&minus;&nbsp;120 = 121, the square of the sixth odd number (11), and 241&nbsp;&minus;&nbsp;209 = 32, twice the square of 4.

: <math>c(r,k) - b(r,k) = [4r(r+k-1) + 2k(k-1) + 1] - [4r(r+k-1) - 2k + 1]\,</math>
: <math>c(r,k) - b(r,k) = [+ 2k(k-1)] - [- 2k]\,</math>
: <math>c(r,k) - b(r,k) = [2k^2 - 2k] - [- 2k] = 2k^2\,</math>

Below is a small portion of the matrix. The PNTs of row 1 are all relatively prime (primitive), but every other row contains derivative (not relatively prime) PNTs Iff the column number is a power of 2, the PNTs in that column are all primitive. For every odd prime factor p of the column number, the middle row of each group of p rows (r = (p+1)/2 + np, where n >= 0) will contain a PNT which is derivative. In the table below these are indicated by angle brackets. If j is 2 or a factor of k, then M(r, jk) is derivative if and only if M(r, k) is derivative. Fewer than 20% of the PNTs in M are derivative.

column-> 1 2 3 4 5
row a b c a b c a b c a b c a b c
1 4 3 5 12 5 13 24 7 25 40 9 41 60 11 61
2 8 15 17 20 21 29 <36 27 45> 56 33 65 80 39 89
3 12 35 37 28 45 53 48 55 73 72 65 97 <100 75 125>
4 16 63 65 36 77 85 60 91 109 88 105 137 120 119 169
5 20 99 101 44 117 125 <72 135 153> 104 153 185 140 171 221
6 24 143 145 52 165 173 84 187 205 120 209 241 160 231 281

The ''a''<nowiki>'</nowiki>s of each column ''k'' are an arithmetic sequence with difference ''4''k, and the ''b''<nowiki>'</nowiki>s of each row r are an arithmetic sequence with difference 4''r''-2. The ''a's,'' ''b's,'' and ''c's'' of any row or column are each monotonically increasing.

If the two legs of a PNT differ by 1, the longer leg and the hypotenuse form the coordinates of a larger PNT in ''M'' the legs of which differ by 1. ''M''(1,1) = {4, 3, 5}, ''M''(4,5) = {120, 119, 169}, ''M''(21,29) = {4060, 4059, 5741},
''M''(120,169) = {137904, 137903, 195025}, etc. Thus, a Pythagorean triangle can be found, the acute angles of which are arbitrarily close (but never equal) to 45 degrees. As Martin (1875) describes, each such triple has the form
:<math>(2P_{n}P_{n+1}, P_{n+1}^2 - P_{n}^2, P_{n+1}^2 + P_{n}^2).</math>
where <math>P_i</math> are the [[Pell number]]s.

===VII.===
Generalized Fibonacci Series:
A pythagorean triple can be generated by using any two arbitrary integers, a and b using the following procedures:{{fact}}

a. select any two integers a and b

b. define c = a+b

c. define d = b+c

The integers a,b,c,d are a generalized Fibonacci series. The sides of the triple are computed as follows:

side 1 = <math> 2bc </math>

side 2 = <math> ad </math>

hypotenuse = <math> b^2 + c^2 </math>

example let a = 69 and b = 75, then c = 69+75 =144 and d= 75+144=219

side 1 = <math> 2\cdot 75\cdot 144=21600 </math>

side 2 = <math> 69\cdot 219 = 15111 </math>

hypotenuse = <math> 75^2 + 144^2 = 26361 </math>

<math>21600^2 + 15111^2 = 26361^2 </math>

===VIII.===
Progression of Whole and Fractional Numbers:

Take a progression of whole and fractional numbers:
1 1/3, 2 2/5 , 3 3/7 , 4 4/9 etc.
The properties of this progression are:
a) the whole numbers are those of the common series and have unity as their common difference b) the numerators of the fractions, annexed to the whole numbers, are also the natural numbers. 3) the denominators of the fractions are the odd numbers, 3,5,7, etc.

To calculate a pythagorean triple:

select any term of this progression and reduce it to an improper fraction. For example, take the term 3 3/7. The improper fraction is 24/7. The numbers 7 and 24 are the sides, a and b, of a right triangle. The hypotenuse is one greater than the largest side.
1 1/3 yields the 3,4,5 triple; 2 2/5 gives 5,12,13 ; 3 3/7 yields gives 7,24, 25 ;
4 4/9 gives 9,40,41 and so forth.

===IX.===
Generating Triples using a Square:

Start with any square number <math>n</math>. Express that number in the form <math>x(x+2y)</math>, then <math>y^2</math> will produce another square such that <math>n + y^2 = z^2</math>.
For instance:

let <math>n = 9</math>, <math>1(1 + 8) = 9</math>, <math>(8/2)^2 = 16</math>, and <math>9 + 16 = 25</math>.

let <math>n = 36</math>, <math>2(2 + 16) = 36</math>, <math>(16/2)^2 = 64</math>, and <math>36 + 64 = 100</math>.

This works because <math>x(x+2y) = x^2 + 2xy</math>. If we add <math>y^2</math>, our expression becomes <math>x^2 + 2xy + y^2</math>, which factors into the form <math>(x+y)^2</math>

===X.===
Generating Triples When One Side is Known:

Start with any integer <math>b</math>. Use this relation from the Euclid formula: <math>b = 2mn</math>. If <math>b</math> is odd, then multiply <math>b</math> by 2. Identify all factor-pairs (m,n) of <math>b</math> and use the Euclid equations to calculate the remaining sides of the triple.

Examples:
Let <math>b</math> =24 (e.g. the known side is even)

<math>24 = 2mn </math> so that <math>12 = mn </math> . The factor pairs (m,n) of 12 are (12,1), (6,2) and (4,3). The three triples are therefore:

<math> a = (m^2-n^2) \,:\ b =2mn \,:\ c = (m^2 + n^2)</math>

<math> a=12^2-1^2 =143 \,:\ b = 24 \,:\ c = (m^2 + n^2)=145</math>

<math> a= 6^2-2^2 =32 \,:\ b = 24 \,:\ c = (6^2 + 2^2)=40</math>

<math> a = 4^2-3^2 =7 \,:\ b = 24 \,:\ c = (4^2 + 3^2)=25</math>

Let <math>b</math> =35 (e.g. the known side is odd)

The two unknown sides could also be calculated by making use of the relation <math> a = (m^2-n^2)</math> . This would be a factoring exercise in finding the difference of two squares, but a simpler approach is to multiply the known side by two and continue as before :

<math>70 = 2mn </math> so that <math>35 = mn </math> . The factor pairs (m,n) of 35 are (35,1), (7,5).

The two triples are therefore (note that is necessary to remove the factor of 2 which was introduced):

<math> a=(35^2-1^2)/2=612 \,:\ b = 70/2=35 \,:\ c = (35^2 + 1^2)/2=613 </math>

<math> a=(7^2-5^2)/2=12 \,:\ b = 70/2=35 \,:\ c = (7^2 + 5^2)/2=37 </math>

===XI.===
Generating Triples Using Quadratic Equations:

There are several methods for defining quadratic equations for calculating each leg of a Pythagorean triple. A simple method is to modify the standard Euclid equation by adding a variable “x” to each m and n pair. The “m,n” pair is treated as a constant while the value of x is varied to produce a “family” of triples based on the selected triple. An arbitrary coefficient can be placed in front of the “x” value on either m or n, which has the effect causing the resulting equation to systematically “skip” through the triples. For example, let’s use the triple 20,21, 29, when can be calculated from the Euclid equations with a value of m=5 and n=2. Also, let’s arbitrarily put the coefficient of 4 in front of the “x” in the “m” term.

Let m1 = (4x + m) and n1= (x + n)

Hence, substituting the values of m and n:

<math> Side A = 2*( m1* n1) = 2* (4x+5)(x+2) = 8x^2 + 26x + 20 </math>
<math> Side B = (m1)^2 - (n1)^2 = (4x + 5)^2 - (x + 2)^2 = 15x^2 + 36x + 21 </math>
<math> Side C = (m1)^2 + (n1)^2 = (4x + 5)^2 + (x + 2)^2 = 17x^2 + 44x + 29 </math>
Note that the original triple comprises the constant term in each of the respective quadratic equations. Below is a sample output from these equations. Note that the effect of these equations is to cause the “m” value in the Euclid equations to increment in steps of 4, while the “n” value increments by 1.
x side a side b side c m n
0 20 21 29 5 2
1 54 72 90 9 3
2 104 153 185 13 4
3 170 264 314 17 5
4 252 405 477 21 6

==Geometry of Euclid's formula==
[[Image:Stereographic projection of rational points.png|thumb|right|The rational points on a circle correspond, under [[stereographic projection]], to the rational points of the line.]]
Euclid's formulas for a Pythagorean triple

:<math>a = 2mn,\quad b=m^2-n^2,\quad c=m^2+n^2</math>

can be understood in terms of the geometry of [[rational number]] points on the [[unit circle]]. To motivate this, consider a right triangle with legs ''a'' and ''b'', and hypotenuse ''c'', where ''a'', ''b'', and ''c'' are positive integers. By the Pythagorean theorem, {{nowrap|1=''a''<sup>2</sup> + ''b''<sup>2</sub> = ''c''<sup>2</sup>}} or, dividing both sides by ''c''<sup>2</sup>,

:<math>\left(\frac{a}{c}\right)^2 + \left(\frac{b}{c}\right)^2=1.</math>

Geometrically, the point in the [[Cartesian plane]] with coordinates

:<math>x=\frac{a}{c},\quad y=\frac{b}{c}</math>

is on the unit circle {{nowrap|1=''x''<sup>2</sup> + ''y''<sup>2</sup> = 1}}. In this equation, the coordinates ''x'' and ''y'' are given by rational numbers. Conversely, any point on the unit circle whose coordinates ''x'', ''y'' are rational numbers gives rise to a primitive Pythagorean triple. Indeed, write ''x'' and ''y'' as fractions in [[lowest terms]]:

:<math>x=\frac{a}{c},\quad y=\frac{b}{c}</math>

where the [[greatest common divisor]] of ''a'', ''b'', and ''c'' is 1. Then, since ''x'' and ''y'' are on the unit circle,

:<math>\left(\frac{a}{c}\right)^2 + \left(\frac{b}{c}\right)^2=1\implies a^2+b^2=c^2,</math>

as claimed.

[[Image:Stereoprojzero.svg|thumb|right|Stereographic projection of the unit circle onto the ''x''-axis. Given a point ''P'' on the unit circle, draw a line from ''P'' to the point ''N''&nbsp;=&nbsp;(0,1) (the ''north pole''). The point ''P''&prime; where the line intersects the ''x''-axis is the stereographic projection of ''P''. Inversely, starting with a point ''P''&prime; on the ''x''-axis, and drawing a line from ''P''&prime; to ''N'', the inverse stereographic projection is the point ''P'' where the line intersects the unit circle.]]
There is therefore a correspondence between points on the unit circle with rational coordinates and primitive Pythagorean triples. At this point, Euler's formulas can be derived either by methods of [[trigonometry]] or equivalently by using the [[stereographic projection]].

For this, suppose that ''P''&prime; is a point on the ''x''-axis with rational coordinates ''P''&prime;(''m''/''n'',0). Then, it can be shown by basic algebra that the point ''P'' has coordinates

:<math>
\left(
\frac{2\left(\frac{m}{n}\right)}{\left(\frac{m}{n}\right)^2+1},
\frac{\left(\frac{m}{n}\right)^2-1}{\left(\frac{m}{n}\right)^2+1}
\right) =
\left(
\frac{2mn}{m^2+n^2},
\frac{m^2-n^2}{m^2+n^2}
\right).</math>

This establishes that each rational point of the ''x''-axis goes over to a rational point of the unit circle. The converse, that every rational point of the unit circle comes from such a point of the ''x''-axis, follows by applying the inverse stereographic projection. Suppose that ''P''(''x'', ''y'') is a point of the unit circle with ''x'' and ''y'' rational numbers. Then the point ''P''&prime; obtained by stereographic projection onto the ''x''-axis has coordinates

:<math>\left(\frac{x}{1-y},0\right)</math>

which is rational.

In terms of [[algebraic geometry]], the [[algebraic variety]] of rational points on the unit circle is [[birational]] to the [[affine line]] over the rational numbers. The unit circle is thus called a [[rational curve]], and it is this fact which enables an explicit parameterization of the (rational number) points on it by means of rational functions.

===Spinors and the modular group===
Pythagorean triples can likewise be encoded into a [[matrix (mathematics)|matrix]] of the form
:<math>X = \begin{bmatrix}
c+b & a\\
a & c-b
\end{bmatrix}.
</math>
A matrix of this form is [[symmetric matrix|symmetric]]. Furthermore, the [[determinant]] of ''X'' is
:<math>\det X = c^2 - a^2 - b^2\,</math>
which is zero precisely when (''a'',''b'',''c'') is a Pythagorean triple. If ''X'' corresponds to a Pythagorean triple, then as a matrix it must have [[rank of a matrix|rank]] 1. Since ''X'' is symmetric, it follow from a result in [[linear algebra]] that there is a [[column vector|vector]] &xi;&nbsp;=&nbsp;[''m''&nbsp;''n'']<sup>T</sup> such that the [[outer product]]

{{NumBlk|:|<math>X = 2\begin{bmatrix}m\\n\end{bmatrix}[m\ n] = 2\xi\xi^T\,</math>|{{EquationRef|1}} }}

holds, where the ''T'' denotes the [[matrix transpose]]. The vector &xi; is called a [[spinor]] (for the [[Lorentz group]] SO(1,2)). In abstract terms, the Euler formula means that each primitive Pythagorean triple can be written as the outer product with itself of a spinor with integer entries, as in ({{EquationNote|1}}).

The [[modular group]] &Gamma; is the set of 2&times;2 matrices with integer entries

:<math>A = \begin{bmatrix}\alpha&\beta\\ \gamma&\delta\end{bmatrix}</math>

with determinant equal to one: &alpha;&delta;&nbsp;&minus;&nbsp;&beta;&gamma;&nbsp;=&nbsp;1. This set forms a [[group (mathematics)|group]], since the inverse of a matrix in &Gamma; is again in &Gamma;, as is the product of two matrices in &Gamma;. The modular group [[group action|acts]] on the collection of all integer spinors. Furthermore, the group is transitive on the collection of integer spinors with relatively prime entries. For if [''m''&nbsp;''n'']<sup>T</sup> has relatively prime entries, then

:<math>\begin{bmatrix}m&-v\\n&u\end{bmatrix}\begin{bmatrix}1\\0\end{bmatrix} = \begin{bmatrix}m\\n\end{bmatrix}</math>

where ''u'' and ''v'' are selected (by the [[Euclidean algorithm]]) so that ''mu''&nbsp;+&nbsp;''nv''&nbsp;=&nbsp;1.

By acting on the spinor &xi; in ({{EquationNote|1}}), the action of &Gamma; goes over to an action on Pythagorean triples, provided one allows for triples with possibly negative components. Thus if ''A'' is a matrix in &Gamma;, then

{{NumBlk|:|<math>2(A\xi)(A\xi)^T = A X A^T\,</math>|{{EquationRef|2}} }}

gives rise to an action on the matrix ''X'' in ({{EquationNote|1}}). This does not give a well-defined action on primitive triples, since it may take a primitive triple to an imprimitive one. It is convenient at this point (per {{harvnb|Trautman|1998}}) to call a triple (''a'',''b'',''c'') '''standard''' if ''c''&nbsp;>&nbsp;0 and either (''a'',''b'',''c'') are relatively prime or (''a''/2,''b''/2,''c''/2) are relatively prime with ''a''/2 odd. If the spinor [''m''&nbsp;''n'']<sup>T</sup> has relatively prime entries, then the associated triple (''a'',''b'',''c'') determined by ({{EquationNote|1}}) is a standard triple. It follows that the action of the modular group is transitive on the set of standard triples.

Alternatively, restrict attention to those values of ''m'' and ''n'' for which ''m'' is odd and ''n'' is even. Let the [[subgroup]] &Gamma;(2) of &Gamma; be the [[kernel (mathematics)|kernel]] of the [[group homomorphism]]

:<math>\Gamma=SL(2,\mathbf{Z})\to SL(2,\mathbf{Z}_2)</math>

where SL(2,'''Z'''<sub>2</sub>) is the [[special linear group]] over the [[finite field]] '''Z'''<sub>2</sub> of [[modular arithmetic|integers modulo 2]]. Then &Gamma;(2) is the group of unimodular transformations which preserve the parity of each entry. Thus if the first entry of &xi; is odd and the second entry is even, then the same is true of ''A''&xi; for all ''A''&nbsp;&isin;&nbsp;&Gamma;(2). In fact, under the action ({{EquationNote|2}}), the group &Gamma;(2) acts transitively on the collection of primitive Pythagorean triples {{harv|Alperin|2005}}.

The group &Gamma;(2) is the [[free group]] whose generators are the matrices
:<math>U=\begin{bmatrix}1&2\\0&1\end{bmatrix},\qquad L=\begin{bmatrix}1&0\\2&1\end{bmatrix}.</math>
Consequently, every primitive Pythagorean triple can be obtained in a unique way as a product of copies of the matrices ''U'' and ''L''.

===Parent/child relationships===

By a result of {{harvtxt|Barning|1963}}, all primitive Pythagorean triples can be generated from the 3-4-5 triangle by using the 3 linear transformations T1, T2, T3 below, where ''a'' ,''b'', ''c'' are sides of a triple:
new side a new side b new side c
T1: a - 2b + 2c 2a - b + 2c 2a - 2b + 3c
T2: a + 2b + 2c 2a + b + 2c 2a + 2b + 3c
T3: -a + 2b + 2c -2a + b + 2c -2a + 2b + 3c

If one begins with 3, 4, 5 then all other primitive triples will eventually be produced. In other words, every primitive triple will be a “parent” to 3 additional primitive triples.
example: Let ''a'' = 3, ''b'' = 4, ''c'' = 5.

new side a new side b new side c
3 - (2&times;4) + (2&times;5) = 5 (2&times;3) - 4 + (2&times;5) = 12 (2&times;3) - (2&times;4) + (3&times;5) = 13
3 + (2&times;4) + (2&times;5) = 21 (2&times;3) + 4 + (2&times;5) = 20 (2&times;3) + (2&times;4) + (3&times;5) = 29
-3 + (2&times;4) + (2&times;5) = 15 -(2&times;3) + 4 + (2&times;5) = 8 -(2&times;3) + (2&times;4) + (3&times;5) = 17

The linear transformations T1, T2, and T3 have a geometric interpretation in the language of quadratic forms. They are closely related to (but are not equal to) reflections generating the [[orthogonal group]] of ''x''<sup>2</sup> + ''y''<sup>2</sup> - ''z''<sup>2</sup> over the integers.

For further discussion of parent-child relationships in triples, see: http://mathworld.wolfram.com/PythagoreanTriple.html and
{{harv|Alperin|2005}}.

==Generalizations==
There are several ways to generalize the concept of Pythagorean triples.

===Pythagorean quadruple===

A set of four positive integers ''a'', ''b'', ''c'' and ''d'' such that ''a''<sup>2</sup>&nbsp;+&nbsp;''b''<sup>2</sup>+&nbsp;''c''<sup>2</sup>&nbsp;=&nbsp;''d''<sup>2</sup> is called a [[Pythagorean quadruple]]. The simplest example is (1,2,2,3), since 1<sup>2</sup> + 2<sup>2</sup> + 2<sup>2</sup> = 3<sup>2</sup>. The next simplest (primitive) example is (2,3,6,7), since 2<sup>2</sup> + 3<sup>2</sup> + 6<sup>2</sup> = 7<sup>2</sup>.

===Fermat's Last Theorem===

A generalization of the concept of Pythagorean triples is the search for triples of positive integers ''a'', ''b'', and ''c'', such that ''a''<sup>''n''</sup>&nbsp;+&nbsp;''b''<sup>''n''</sup>&nbsp;=&nbsp;''c''<sup>''n''</sup>, for some ''n'' strictly greater than 2. [[Pierre de Fermat]] in [[1637]] claimed that no such triple exists, a claim that came to be known as [[Fermat's Last Theorem]] because it took longer than any other conjecture by Fermat to be proven or disproven. The first proof was given by [[Andrew Wiles]] in [[1994]].

===''n'' ''n''th powers summing to an ''n''th power===

Another generalization is searching for sets of ''n''+1 positive integers for which the ''n''th power of the last is the sum of the nth powers of the previous terms. The smallest sets for known values of n are:

* ''n''=3: {3, 4, 5, 6}.
* ''n''=4: {30, 120, 272, 315, 353}
* ''n''=5: {19, 43, 46, 47, 67, 72}
* ''n''=7: {127, 258, 266, 413, 430, 439, 525, 568}
* ''n''=8: {90, 223, 478, 524, 748, 1088, 1190, 1324, 1409}

A slightly different generalization allows the sum of (''k''+1) ''n''th powers to equal the sum of (''n-k'') ''n''th powers. For example:
* (n=3): 1<sup>3</sup> + 12<sup>3</sup> = 9<sup>3</sup> + 10<sup>3</sup>, made famous by Hardy's recollection of a conversation with [[Ramanujan]] about the number 1729 being the smallest number that can be expressed as a sum of two cubes in two distinct ways.

===Integral triangle triples===
An '''integral triangle''' is one with ''distinct'' positive integer sides whose area is also an integer. The lengths of the sides of such a triangle form an '''integral triangle triple''' (or '''ITT''') (''a, b, c'') provided ''a'' < ''b'' < ''c''.
Clearly, any PT is an ITT, since in a PT at least one of the legs ''a'', ''b'' must be even, so that the area ''ab''/2 is an integer. Not every ITT is a PT, however, as the example (4, 13, 15) with area 24 shows.

If (''a, b, c'') is an ITT, so is (''ma, mb, mc'') where ''m'' is any positive integer greater than one.
The ITT (''a, b, c'') is '''primitive''' provided ''a, b, c'' are relatively prime (as with a PT). Here are a few of the simplest primitive ITTs which are not PTs:

: (4, 13, 15) with area 24
: (3, 25, 26) with area 36
: (7, 15, 20) with area 42
: (6, 25, 29) with area 60
: (11, 13, 20) with area 66
: (13, 14, 15) with area 84
: (13, 20, 21) with area 126

By [[Heron's formula]], the extra condition on a triple of positive integers (''a, b, c'') with ''a'' < ''b'' < ''c'' is that

:: (''a''<sup>2</sup> + ''b''<sup>2</sup> + ''c''<sup>2</sup>)<sup>2</sup> - 2(''a''<sup>4</sup> + ''b''<sup>4</sup> + ''c''<sup>4</sup>)
or equivalently
:: 2(''a''<sup>2</sup>''b''<sup>2</sup> + ''a''<sup>2</sup>''c''<sup>2</sup> + ''b''<sup>2</sup>''c''<sup>2</sup>) - (''a''<sup>4</sup> + ''b''<sup>4</sup> + ''c''<sup>4</sup>)

be a nonzero perfect square divisible by 16.

==See also==

* [[Heronian triangle]]
* [[Pythagorean prime]]
* [[Nonhypotenuse number]]
* [[Modular arithmetic]]
* [[Trigonometric identity]]
* [[Tangent half-angle formula]]
* [[Plimpton 322]]
* [[Diophantus II.VIII]]
* [[Hilbert's theorem 90]]


==References==
==References==
*{{citation|last=Alperin|first=Roger C.|title=The modular tree of Pythagoras|journal=American Mathematics Monthly|volume= 112|year=2005|pages=807-816|url=http://www.math.sjsu.edu/~alperin/pt.pdf|id={{MR|2179860}} }}
{{reflist}}

*{{citation|first=F.J.M.|last=Barning|title=On Pythagorean and quasi-Pythagorean triangles and a generation process with the help of unimodular matrices|journal=Math. Centrum Amsterdam Afd. Zuivere Wisk.|volume=ZW-011|year=1963|pages=37|url=http://repository.cwi.nl:8888/cwi_repository/zoekinoaienora/fullrecord.php?publnr=7151}} {{nl}}

*{{citation|last=Eckert|first=Ernest|title=Primitive Pythagorean triples|journal=The College Mathematics Journal|volume=23|number=5|year=1992|pages=413-417|url=http://www.jstor.org/stable/2686417}}

*{{citation|first=Noam|last=Elkies|authorlink=Noam Elkies|title=Pythagorean triples and Hilbert's theorem 90|url=http://www.math.harvard.edu/~elkies/Misc/hilbert.pdf}}.

*{{citation|first=Thomas|last=Heath|authorlink=Thomas Heath|title=The Thirteen Books of Euclid's Elements Vol. 1 (Books I and II)|publisher=Dover Publications|edition=2nd|year=1956|isbn=0-486-60088-2}}.

*{{citation|title=On Generating Pythagorean Triples|first1=M. G.|last1=Teigen|first2=D. W.|last2=Hadwin|journal=The American Mathematical Monthly|volume=78|number=4|year=1971|pages=378-379|url=http://www.jstor.org/stable/2316903}}

*{{citation
| last = Martin|first=Artemas
| title = Rational right angled triangles nearly isosceles
| journal = [[Annals of Mathematics|The Analyst]]
| volume = 3
| issue = 2
| pages = 47–50
| year = 1875
| url = http://www.jstor.org/pss/2635906
| doi = 10.2307/2635906}}

*{{citation|first=Darryl|last=McCullough|title=Height and excess of Pythagorean triples|journal=Mathematics Magazine|volume=78|number=1|year=2005|url=http://www.math.ou.edu/~dmccullough/teaching/pythagoras2.pdf}}

*{{citation|first=Dan|last=Romik|title=The dynamics of Pythagorean triples|year=2004|id={{arxiv|math.DS|0406512}} }}

*{{citation|first=Wacław|last=Sierpinski|authorlink=Wacław Sierpinski|title=Pythagorean Triangles|publisher=Dover Publications|year=2003|isbn=0-486-43278-5}}.


*{{citation|first=Andrzej|last=Trautman|authorlink=Andrzej Trautman|chapter=Pythagorean spinors and Penrose twistors|url=http://www.fuw.edu.pl/~amt/oxford.ps|title=Geometric universe|editors=S.A. Hugget, L.J. Mason, K.P. Tod, S.T. Tsou, N.M.J. Woodhouse|year=1998}}.
==External links==
*[http://www.wftv.com/ WFTV Official Website]
*{{TVQ|WFTV}}
*{{BIA|WFTV|TV|TV}}


== External links ==
{{Orlando TV}}
* http://mathworld.wolfram.com/PythagoreanTriple.html has an extensive discussion of Pythagorean triples.
{{ABC Florida}}
* [http://www.cut-the-knot.org/pythagoras/pythTriple.shtml Pythagorean Triples] at [[cut-the-knot]] Interactive Applet showing unit circle relationships to Pythagorean Triples
{{COX}}
* [http://www.cut-the-knot.org/pythagoras/PT_matrix.html The Trinary Tree(s) underlying Primitive Pythagorean Triples] at [[cut-the-knot]]
*http://www.math.rutgers.edu/~erowland/pythagoreantriples.html Theoretical properties of the Pythagorean Triples and connections to geometry
*[http://www.math.siu.edu/kocik/pracki/44Cliffpdf.pdf Clifford Algebras and Euclid's Parameterization of Pythagorean triples]
*[http://www.friesian.com/pythag.htm Pythagorean Triplets]
* http://www.mcs.surrey.ac.uk/Personal/R.Knott/Pythag/pythag.html Discussion of Properties of Pythagorean triples, Interactive Calculators, Puzzles and Problems
* http://people.wcsu.edu/sandifere/Academics/2007Spring/Mat342/PythagTrip02.pdf Generating Pythagorean Triples Using Arithmatic Progressions
* [http://blah.math.tu-graz.ac.at/~frisch/wwwpdf/pytha.pdf Parameterization of Pythagorean Triples by a single triple of polynomials.]
* [http://learn.sdstate.edu/vestald/publications/Curious%20Consequences.pdf Curious Consequences of a Miscopied Quadratic]
* [http://mathcentral.uregina.ca/mp/previous2005/feb06sol.php Solutions to Quadratic Compatible Pairs in relation to Pythagorean Triples]
* [http://www.numbertheory.org/php/negative_pell.html The negative Pell equation and Pythagorean triples]
* [http://www.rowan.edu/colleges/las/departments/math/facultystaff/osler/InCircle.pdf The Remarkable Incircle of a Triangle]
* [http://www.hbmeyer.de/pythagen.htm Interactive Calculator for Pythagorean Triples]
*The Pythagorean Tree: A New Species [http://arxiv.org/abs/0809.4324v1] Compares the Barning Tree to an entirely new one.
[[Category:Arithmetic problems of plane geometry]]
[[Category:Triangle geometry]]
[[Category:Diophantine equations]]


[[ar:ثلاثية فيثاغورس]]
[[Category:ABC network affiliates]]
[[be-x-old:Піфагорава тройка]]
[[Category:Cox Television]]
[[bg:Питагоров триъгълник]]
[[Category:IBS Member Stations]]
[[da:Pythagoræiske tal]]
[[Category:Channel 9 TV stations in the United States]]
[[de:Pythagoreisches Tripel]]
[[Category:Television channels and stations established in 1958]]
[[es:Terna pitagórica]]
[[eo:Pitagora triopo]]
[[fr:Triplet pythagoricien]]
[[ko:피타고라스 수]]
[[is:Pýþagórískur þríhyrningur]]
[[it:Terna pitagorica]]
[[he:שלשה פיתגורית]]
[[hu:Pitagoraszi számhármasok]]
[[nl:Pythagorese drietallen]]
[[pl:Trójki pitagorejskie]]
[[pt:Terno pitagórico]]
[[ru:Пифагоровы числа]]
[[scn:Terna pitagòrica]]
[[sl:Pitagorejska trojica]]
[[fi:Pythagoraan kolmikko]]
[[sv:Pythagoreisk trippel]]
[[uk:Числа Піфагора]]
[[vi: Bộ ba số Pythagore]]
[[zh:勾股数]]

Revision as of 22:22, 12 October 2008

The Pythagorean theorem: a2 + b2 = c2

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written (abc), and a well-known example is (3, 4, 5). If (abc) is a Pythagorean triple, then so is (ka, kb, kc) for any positive integer k. A primitive Pythagorean triple is one in which a, b and c are coprime.

The name is derived from the Pythagorean theorem, of which every Pythagorean triple is a solution. The converse is not true. For instance, the triangle with sides a = b = 1 and c = √2 is right, but (1, 1, √2) is not a Pythagorean triple because √2 is not an integer. Moreover, 1 and √2 do not have an integer common multiple because √2 is irrational. There are 16 primitive Pythagorean triples with c ≤ 100:

( 3, 4, 5) ( 5, 12, 13) ( 7, 24, 25) ( 8, 15, 17)
( 9, 40, 41) (11, 60, 61) (12, 35, 37) (13, 84, 85)
(16, 63, 65) (20, 21, 29) (28, 45, 53) (33, 56, 65)
(36, 77, 85) (39, 80, 89) (48, 55, 73) (65, 72, 97)
A scatter plot of the legs (a,b) of the first Pythagorean triples within 4500 covering only integral values.

Generating a triple

The following formula will generate all Pythagorean triples (although not uniquely):

where m and n are two positive integers with m > n and k is a positive integer. The special case k = 1 reduces to the classic formula given by Euclid (c. 300 B.C.) in his book Elements and is often referred to as Euclid's formula:

The triple generated by Euclid's formula is primitive only if m and n are coprime and exactly one of them is even. If both n and m are odd, then a, b, and c will be even, and so the triple will not be primitive. Every primitive triple (possibly after exchanging a and b) arises from a unique pair of coprime numbers m, n, one of which is even. It follows that there are infinitely many primitive Pythagorean triples. This relationship of a and b to m and n from Euclid's formula is referenced throughout the rest of this article.

An alternative form of Euclid's formula introduces a different pair of positive integer parameters p and q to eliminate the need for imposing further conditions on m and n. Letting m = p + 2q - 1 and n = p, then m - n = 2q - 1 is necessarily odd, and Euclid's formula becomes:

Many other formulas for generating triples have been developed since the time of Euclid.

Elementary properties of primitive Pythagorean triples

The properties of primitive Pythagorean triples include:

  • In a pythagorean triplet
  • (c-a)(c-b)/2 is always a perfect square. This is particularly useful in checking if a given triplet of numbers is a pythagorean triple, but it is only a necessary condition, not a sufficient one. The triple {6, 12, 18} passes (c-a)(c-b)/2 but is not a PNT. A simpler, more powerful test is, (by naming the even leg a): (c-a) and (c-b)/2 are both perfect squares. This is both necessary and sufficient for the triple to be a PNT, but the PNT may be derivative. If any two sides of a PNT are relatively prime, it is a primitive PNT.
  • Exactly one of a, b is odd; c is odd.
  • The area (A = ab/2) is an integer.
  • Exactly one of a, b is divisible by 3.
  • Exactly one of a, b is divisible by 4.
  • Exactly one of a, b, c is divisible by 5.
  • Exactly one of a, b, (a + b), (ba) is divisible by 7.
  • All prime factors of c are primes of the form 4n+1.
  • At most one of a, b is a square.
  • Every integer greater than 2 that is not congruent to 2 mod 4 is part of a primitive Pythagorean triple. Examples of integers not part of a primitive pythagorean triple: 6,10,14,18
  • Every integer greater than 2 is part of a primitive or non-primitive Pythagorean triple, for example, the integers 6,10,14, and 18 are not part of primitive triples, but are part of the non-primitive triples 6,8,10; 14,48,50 and 18,80,82.
  • There exist infinitely many primitive Pythagorean triples whose hypotenuses are squares of natural numbers.
  • There exist infinitely many primitive Pythagorean triples in which one of the legs is the square of a natural number.
  • There exist infinitely many Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly one (such triples are necessarily primitive). Generalization: For every odd integer j, there exist infinitely many primitive Pythagorean triples in which the hypoteneuse and the even leg differ by .
  • There exist infinitely many primitive Pythagorean triples in which the hypotenuse and the longer of the two legs differ by exactly two. Generalization: For every integer k > 0, there exist infinitely many primitive Pythagorean triples in which the hypotenuse and the odd leg differ by .
  • If j and k are odd positive integers, not necessarily unequal, there is exactly one primitive Pythagorean triple with
  • The hypoteneuse of every primitive Pythagorean triangle exceeds the even leg by the square of an odd integer j, and exceeds the odd leg by twice the square of an integer k > 0, from which it follows that:
  • There are no primitive Pythagorean triples in which the hypotenuse and a leg differ by a prime number greater than 2.
  • 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.
  • In every Pythagorean triple, the radius of the incircle and the radii of the three excircles are natural numbers. (Actually the radius of the incircle can be shown to be )
  • There are no Pythagorean triplets in which the hypotenuse and one leg are the legs of another Pythagorean triple.

Some relationships

Right Triangle with inscribed circle of radius r

The radius, r, of the inscribed circle can be found by:

for primitive triples:

The unknown sides of a triple can be calculated directly from the radius of the incircle, r, and the value of a single known side, a.

k = a − 2r
b = 2r + (2 r2/k)
c = b+ k = 2r + (2r2 /k) + k

The solution to the 'Incircles' problem shows that, for any circle whose radius is a whole number k, we are guaranteed at least one right angled triangle containing this circle as its inscribed circle where the lengths of the sides of the triangle are a primitive Pythagorean triple:

a=2k(k+1)
b=2k+1
c=2k2+2k+1

The perimeter P and area L of the right triangle corresponding to a primitive Pythagorean triple triangle are

P = a + b + c = 2m(m + n)
L = ab/2 = mn(m2 − n2)

Additional Relationships:


see: http://www.geocities.com/fredlb37/node8.html

If two numbers of a triple are known, the third can be found using the Pythagorean theorem.

A special case: the Platonic sequence

The case n = 1 of the more general construction of Pythagorean triples has been known for a long time. Proclus, in his commentary to the 47th Proposition of the first book of Euclid's Elements, describes it as follows:

Certain methods for the discovery of triangles of this kind are handed down, one which they refer to Plato, and another to Pythagoras. (The latter) starts from odd numbers. For it makes the odd number the smaller of the sides about the right angle; then it takes the square of it, subtracts unity and makes half the difference the greater of the sides about the right angle; lastly it adds unity to this and so forms the remaining side, the hypotenuse.
...For the method of Plato argues from even numbers. It takes the given even number and makes it one of the sides about the right angle; then, bisecting this number and squaring the half, it adds unity to the square to form the hypotenuse, and subtracts unity from the square to form the other side about the right angle. ... Thus it has formed the same triangle that which was obtained by the other method.

In equation form, this becomes:

a is odd (Pythagoras, c. 540 BC):

a is even (Plato, c. 380 BC):

It can be shown that all Pythagorean triples are derivatives of the basic Platonic sequence (x,y,z) = p, (p2 - 1)/2 and (p2 + 1)/2 by allowing a to take non-integer rational values. If p is replaced with the rational fraction m/n in the sequence, the 'standard' triple generator 2mn, m2 - n2  and m2 + n2  results. It follows that every triple has a corresponding rational p value which can be used to generate a similar (i.e. equiangular) triangle with rational sides in the same proportion as the original. For example, the Platonic equivalent of (6,8,10) is (3/2; 2, 5/2). The Platonic sequence itself can be derived by following the steps for 'splitting the square' described in Diophantus II.VIII.

Other formulae for generating triples

Besides Euclid's formula, many other formulas which only generate Pythagorean triples have been developed.

I., II.

Pythagoras' and Plato's formulas have been described above. The methods below appear in various sources, often without attribution as to their origin.

III.

Given an integer n, the triple can be generated by the following two procedures:[citation needed]

Example: When n = 2 the triple produced is 5, 12, and 13 (This formula is actually the same as method I, substituting m with 2n + 1.)

Alternatively, one can generate triples from even integers using the following formulas:

Example: When m = 4 the triple produced is 8, 15, and 17 (This formula is another specific case of method I, substituting n with 1).

IV.

Given the integers n and x,[citation needed]

Example: For n = 3 and x = 5, a = 80, b = 39, c = 89. (This formula is actually the same as method I, substituting m and n with n+x and x.)

V.

Triples can be calculated using this formula: , x,y,z > 0 where the following relations hold:[citation needed]

x = c − b, y = c − a, z = a + b − c and a = x + z, b = y + z, c = x + y + z and r = z/2 , where x, y, and z are the three sides of the triple and r is the radius of the inscribed circle.

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 The three factor-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.

VI.

An infinity by infinity matrix M of Pythagorean triples (PNTs), which has some particularly desirable properties can be generated by taking:[citation needed]

where r is the row number and k is the column number. These formulae for a, b, and c can be verified by substituting the right-hand side of each of the above equations into

Note that always, a is doubly even, b and c are odd. Most of the PNTs in M will have a < b; a > b will occur only when r < (k√2+1)/2

Note that (k√2+1) is never an integer, so r = (k√2+1)/2 can't occur; if r > (k√2+1)/2, which it is for all but a finite number (< k, if k > 2) of PNTs in column k, a < b.

Each row is a family of PNTs with the hypotenuse c of each PNT in row r exceeding the even side a by the square of the rth odd number.

and (2r-1)2 is the square of the rth odd number.

The Pythagorean formula for generating PNTs (section I, above) with a and b reversed to make a the even side, and m being any natural number:

yields the first row (r = 1) of M, and the Platonic formula (section II, above) using a = 4m instead of 2m, to eliminate derivative PNTs:

yields the first column (k = 1) of M.

Each column is a family of PNTs with the hypotenuse of each PNT in column k exceeding the odd side b by twice the square of k. For example M(6,4) = {120, 209, 241} 241 − 120 = 121, the square of the sixth odd number (11), and 241 − 209 = 32, twice the square of 4.

Below is a small portion of the matrix. The PNTs of row 1 are all relatively prime (primitive), but every other row contains derivative (not relatively prime) PNTs Iff the column number is a power of 2, the PNTs in that column are all primitive. For every odd prime factor p of the column number, the middle row of each group of p rows (r = (p+1)/2 + np, where n >= 0) will contain a PNT which is derivative. In the table below these are indicated by angle brackets. If j is 2 or a factor of k, then M(r, jk) is derivative if and only if M(r, k) is derivative. Fewer than 20% of the PNTs in M are derivative.

  column-> 1                2                3                4                5
row   a    b    c      a    b    c      a    b    c      a    b    c      a    b    c
 1    4    3    5     12    5   13     24    7   25     40    9   41     60   11   61
 2    8   15   17     20   21   29    <36   27   45>    56   33   65     80   39   89
 3   12   35   37     28   45   53     48   55   73     72   65   97   <100   75  125>
 4   16   63   65     36   77   85     60   91  109     88  105  137    120  119  169
 5   20   99  101     44  117  125    <72  135  153>   104  153  185    140  171  221
 6   24  143  145     52  165  173     84  187  205    120  209  241    160  231  281

The a's of each column k are an arithmetic sequence with difference 4k, and the b's of each row r are an arithmetic sequence with difference 4r-2. The a's, b's, and c's of any row or column are each monotonically increasing.

If the two legs of a PNT differ by 1, the longer leg and the hypotenuse form the coordinates of a larger PNT in M the legs of which differ by 1. M(1,1) = {4, 3, 5}, M(4,5) = {120, 119, 169}, M(21,29) = {4060, 4059, 5741}, M(120,169) = {137904, 137903, 195025}, etc. Thus, a Pythagorean triangle can be found, the acute angles of which are arbitrarily close (but never equal) to 45 degrees. As Martin (1875) describes, each such triple has the form

where are the Pell numbers.

VII.

Generalized Fibonacci Series: A pythagorean triple can be generated by using any two arbitrary integers, a and b using the following procedures:[citation needed]

a. select any two integers a and b

b. define c = a+b

c. define d = b+c

The integers a,b,c,d are a generalized Fibonacci series. The sides of the triple are computed as follows:

side 1 =

side 2 =

hypotenuse =

example let a = 69 and b = 75, then c = 69+75 =144 and d= 75+144=219

side 1 =

side 2 =

hypotenuse =

VIII.

Progression of Whole and Fractional Numbers:

Take a progression of whole and fractional numbers: 1 1/3, 2 2/5 , 3 3/7 , 4 4/9 etc. The properties of this progression are: a) the whole numbers are those of the common series and have unity as their common difference b) the numerators of the fractions, annexed to the whole numbers, are also the natural numbers. 3) the denominators of the fractions are the odd numbers, 3,5,7, etc.

To calculate a pythagorean triple:

select any term of this progression and reduce it to an improper fraction. For example, take the term 3 3/7. The improper fraction is 24/7. The numbers 7 and 24 are the sides, a and b, of a right triangle. The hypotenuse is one greater than the largest side.

1 1/3 yields the 3,4,5 triple; 2 2/5 gives 5,12,13 ; 3 3/7 yields gives 7,24, 25 ; 4 4/9 gives 9,40,41 and so forth.

IX.

Generating Triples using a Square:

Start with any square number . Express that number in the form , then will produce another square such that . For instance:

let , , , and .

let , , , and .

This works because . If we add , our expression becomes , which factors into the form

X.

Generating Triples When One Side is Known:

Start with any integer . Use this relation from the Euclid formula: . If is odd, then multiply by 2. Identify all factor-pairs (m,n) of and use the Euclid equations to calculate the remaining sides of the triple.

Examples: Let =24 (e.g. the known side is even)

so that . The factor pairs (m,n) of 12 are (12,1), (6,2) and (4,3). The three triples are therefore:

Let =35 (e.g. the known side is odd)

The two unknown sides could also be calculated by making use of the relation . This would be a factoring exercise in finding the difference of two squares, but a simpler approach is to multiply the known side by two and continue as before :

so that . The factor pairs (m,n) of 35 are (35,1), (7,5).

The two triples are therefore (note that is necessary to remove the factor of 2 which was introduced):

XI.

Generating Triples Using Quadratic Equations:

There are several methods for defining quadratic equations for calculating each leg of a Pythagorean triple. A simple method is to modify the standard Euclid equation by adding a variable “x” to each m and n pair. The “m,n” pair is treated as a constant while the value of x is varied to produce a “family” of triples based on the selected triple. An arbitrary coefficient can be placed in front of the “x” value on either m or n, which has the effect causing the resulting equation to systematically “skip” through the triples. For example, let’s use the triple 20,21, 29, when can be calculated from the Euclid equations with a value of m=5 and n=2. Also, let’s arbitrarily put the coefficient of 4 in front of the “x” in the “m” term.

Let m1 = (4x + m) and n1= (x + n)

Hence, substituting the values of m and n:

Note that the original triple comprises the constant term in each of the respective quadratic equations. Below is a sample output from these equations. Note that the effect of these equations is to cause the “m” value in the Euclid equations to increment in steps of 4, while the “n” value increments by 1.

               x     side a       side b      side c     m  n    
               0       20          21            29      5  2 
               1       54          72            90      9  3
               2      104         153           185      13 4
               3      170         264           314      17 5
               4      252         405           477      21 6

Geometry of Euclid's formula

The rational points on a circle correspond, under stereographic projection, to the rational points of the line.

Euclid's formulas for a Pythagorean triple

can be understood in terms of the geometry of rational number points on the unit circle. To motivate this, consider a right triangle with legs a and b, and hypotenuse c, where a, b, and c are positive integers. By the Pythagorean theorem, a2 + b2 = c2 or, dividing both sides by c2,

Geometrically, the point in the Cartesian plane with coordinates

is on the unit circle x2 + y2 = 1. In this equation, the coordinates x and y are given by rational numbers. Conversely, any point on the unit circle whose coordinates x, y are rational numbers gives rise to a primitive Pythagorean triple. Indeed, write x and y as fractions in lowest terms:

where the greatest common divisor of a, b, and c is 1. Then, since x and y are on the unit circle,

as claimed.

Stereographic projection of the unit circle onto the x-axis. Given a point P on the unit circle, draw a line from P to the point N = (0,1) (the north pole). The point P′ where the line intersects the x-axis is the stereographic projection of P. Inversely, starting with a point P′ on the x-axis, and drawing a line from P′ to N, the inverse stereographic projection is the point P where the line intersects the unit circle.

There is therefore a correspondence between points on the unit circle with rational coordinates and primitive Pythagorean triples. At this point, Euler's formulas can be derived either by methods of trigonometry or equivalently by using the stereographic projection.

For this, suppose that P′ is a point on the x-axis with rational coordinates P′(m/n,0). Then, it can be shown by basic algebra that the point P has coordinates

This establishes that each rational point of the x-axis goes over to a rational point of the unit circle. The converse, that every rational point of the unit circle comes from such a point of the x-axis, follows by applying the inverse stereographic projection. Suppose that P(x, y) is a point of the unit circle with x and y rational numbers. Then the point P′ obtained by stereographic projection onto the x-axis has coordinates

which is rational.

In terms of algebraic geometry, the algebraic variety of rational points on the unit circle is birational to the affine line over the rational numbers. The unit circle is thus called a rational curve, and it is this fact which enables an explicit parameterization of the (rational number) points on it by means of rational functions.

Spinors and the modular group

Pythagorean triples can likewise be encoded into a matrix of the form

A matrix of this form is symmetric. Furthermore, the determinant of X is

which is zero precisely when (a,b,c) is a Pythagorean triple. If X corresponds to a Pythagorean triple, then as a matrix it must have rank 1. Since X is symmetric, it follow from a result in linear algebra that there is a vector ξ = [m n]T such that the outer product

(1)

holds, where the T denotes the matrix transpose. The vector ξ is called a spinor (for the Lorentz group SO(1,2)). In abstract terms, the Euler formula means that each primitive Pythagorean triple can be written as the outer product with itself of a spinor with integer entries, as in (1).

The modular group Γ is the set of 2×2 matrices with integer entries

with determinant equal to one: αδ − βγ = 1. This set forms a group, since the inverse of a matrix in Γ is again in Γ, as is the product of two matrices in Γ. The modular group acts on the collection of all integer spinors. Furthermore, the group is transitive on the collection of integer spinors with relatively prime entries. For if [m n]T has relatively prime entries, then

where u and v are selected (by the Euclidean algorithm) so that mu + nv = 1.

By acting on the spinor ξ in (1), the action of Γ goes over to an action on Pythagorean triples, provided one allows for triples with possibly negative components. Thus if A is a matrix in Γ, then

(2)

gives rise to an action on the matrix X in (1). This does not give a well-defined action on primitive triples, since it may take a primitive triple to an imprimitive one. It is convenient at this point (per Trautman 1998) to call a triple (a,b,c) standard if c > 0 and either (a,b,c) are relatively prime or (a/2,b/2,c/2) are relatively prime with a/2 odd. If the spinor [m n]T has relatively prime entries, then the associated triple (a,b,c) determined by (1) is a standard triple. It follows that the action of the modular group is transitive on the set of standard triples.

Alternatively, restrict attention to those values of m and n for which m is odd and n is even. Let the subgroup Γ(2) of Γ be the kernel of the group homomorphism

where SL(2,Z2) is the special linear group over the finite field Z2 of integers modulo 2. Then Γ(2) is the group of unimodular transformations which preserve the parity of each entry. Thus if the first entry of ξ is odd and the second entry is even, then the same is true of Aξ for all A ∈ Γ(2). In fact, under the action (2), the group Γ(2) acts transitively on the collection of primitive Pythagorean triples (Alperin 2005).

The group Γ(2) is the free group whose generators are the matrices

Consequently, every primitive Pythagorean triple can be obtained in a unique way as a product of copies of the matrices U and L.

Parent/child relationships

By a result of Barning (1963), all primitive Pythagorean triples can be generated from the 3-4-5 triangle by using the 3 linear transformations T1, T2, T3 below, where a ,b, c are sides of a triple:

           new side a        new side b      new side c     
  T1:     a - 2b + 2c       2a - b + 2c     2a - 2b + 3c 
  T2:     a + 2b + 2c       2a + b + 2c     2a + 2b + 3c
  T3:    -a + 2b + 2c      -2a + b + 2c    -2a + 2b + 3c

If one begins with 3, 4, 5 then all other primitive triples will eventually be produced. In other words, every primitive triple will be a “parent” to 3 additional primitive triples. example: Let a = 3, b = 4, c = 5.

    new  side a                new side b                new side c     
   3 - (2×4) + (2×5) = 5     (2×3) - 4 + (2×5) = 12   (2×3) - (2×4) + (3×5) = 13
   3 + (2×4) + (2×5) = 21    (2×3) + 4 + (2×5) = 20   (2×3) + (2×4) + (3×5) = 29
  -3 + (2×4) + (2×5) = 15   -(2×3) + 4 + (2×5) = 8   -(2×3) + (2×4) + (3×5) = 17

The linear transformations T1, T2, and T3 have a geometric interpretation in the language of quadratic forms. They are closely related to (but are not equal to) reflections generating the orthogonal group of x2 + y2 - z2 over the integers.

For further discussion of parent-child relationships in triples, see: http://mathworld.wolfram.com/PythagoreanTriple.html and (Alperin 2005).

Generalizations

There are several ways to generalize the concept of Pythagorean triples.

Pythagorean quadruple

A set of four positive integers a, b, c and d such that a2 + b2c2 = d2 is called a Pythagorean quadruple. The simplest example is (1,2,2,3), since 12 + 22 + 22 = 32. The next simplest (primitive) example is (2,3,6,7), since 22 + 32 + 62 = 72.

Fermat's Last Theorem

A generalization of the concept of Pythagorean triples is the search for triples of positive integers a, b, and c, such that an + bn = cn, for some n strictly greater than 2. Pierre de Fermat in 1637 claimed that no such triple exists, a claim that came to be known as Fermat's Last Theorem because it took longer than any other conjecture by Fermat to be proven or disproven. The first proof was given by Andrew Wiles in 1994.

n nth powers summing to an nth power

Another generalization is searching for sets of n+1 positive integers for which the nth power of the last is the sum of the nth powers of the previous terms. The smallest sets for known values of n are:

  • n=3: {3, 4, 5, 6}.
  • n=4: {30, 120, 272, 315, 353}
  • n=5: {19, 43, 46, 47, 67, 72}
  • n=7: {127, 258, 266, 413, 430, 439, 525, 568}
  • n=8: {90, 223, 478, 524, 748, 1088, 1190, 1324, 1409}

A slightly different generalization allows the sum of (k+1) nth powers to equal the sum of (n-k) nth powers. For example:

  • (n=3): 13 + 123 = 93 + 103, made famous by Hardy's recollection of a conversation with Ramanujan about the number 1729 being the smallest number that can be expressed as a sum of two cubes in two distinct ways.

Integral triangle triples

An integral triangle is one with distinct positive integer sides whose area is also an integer. The lengths of the sides of such a triangle form an integral triangle triple (or ITT) (a, b, c) provided a < b < c. Clearly, any PT is an ITT, since in a PT at least one of the legs a, b must be even, so that the area ab/2 is an integer. Not every ITT is a PT, however, as the example (4, 13, 15) with area 24 shows.

If (a, b, c) is an ITT, so is (ma, mb, mc) where m is any positive integer greater than one. The ITT (a, b, c) is primitive provided a, b, c are relatively prime (as with a PT). Here are a few of the simplest primitive ITTs which are not PTs:

(4, 13, 15) with area 24
(3, 25, 26) with area 36
(7, 15, 20) with area 42
(6, 25, 29) with area 60
(11, 13, 20) with area 66
(13, 14, 15) with area 84
(13, 20, 21) with area 126

By Heron's formula, the extra condition on a triple of positive integers (a, b, c) with a < b < c is that

(a2 + b2 + c2)2 - 2(a4 + b4 + c4)

or equivalently

2(a2b2 + a2c2 + b2c2) - (a4 + b4 + c4)

be a nonzero perfect square divisible by 16.

See also

References

  • Alperin, Roger C. (2005), "The modular tree of Pythagoras" (PDF), American Mathematics Monthly, 112: 807–816, MR2179860

External links