The Right- Angle Triangle and the Pythagorean Triples INTRODUCTION: It can be said that the Pythagorean Triple was derived by the Greek Philosopher and Mathematician Pythagoras and it is closely associated to the right-angled triangle. The Pythagorean triple represents three positive integers namely π, π and π where π2 + π 2 = π 2 and they can be written as (π, π, π) It can be said that the Pythagorean Triples were derived from Pythagoras’ theorem, a very simple theorem which is widely used when right-angled triangles are concerned and it states that the sum of the squares of the sides of a right-angled triangle is equal to the square of the hypotenuse (longest side). Thus, the formula π2 = π 2 + π 2 where a is the hypotenuse. As it can be seen this formula is quite similar to that of the Pythagorean Triples. AIM: The aim of this investigation is to find out general formula(s) that will help create an infinite number of Pythagorean Triples aside the primitive Pythagorean Triples. RATIONALE: The formula of Pythagoras’ Theorem is the simplest theorems to understand and is widely used even at the secondary level of education. I had no idea of the existence of the Pythagorean Triple until we treated Trigonometry in the International Baccalaureate Mathematics class. I read about the Pythagorean Triples in detail upon research due to my curiosity when the teacher mentioned it in class when solving for the hypotenuse of a right-angled triangle. I was gravely intrigued by it. I tried to derive other Pythagorean triples after gaining knowledge on what the primitive Pythagorean Triples were but this was to no avail thus I realized that the triples do not work on any random number and it is with this struggle that I chose this topic for my investigation and hence to find a formula that helps to create an infinite number of Pythagorean triples; and how it can be used outside the classroom. HOW DID THE PYTHAGOREAN TRIPLES COME TO BE? Figure 1: π π Where a, b and c are the lengths of the sides of the squares. The Pythagorean Triples will represent three positive integers that will satisfy the formula π2 + π 2 = π 2 thus, the square of the hypotenuse (longest side) π will be equal to the square of the sides π and π. 9 3 + 16 = 25 4 5 Therefore: 32 + 42 = 52 9 + 16 = 25 Thus (3, 4, 5) are Pythagorean triples. DERIVATION OF PYTHAGOREAN TRIPLES Generally, when trying to derive the Pythagorean triple, we begin by finding the algebraic sum of the squares of the two smaller numbers which in turn will be used to derive the square of the hypotenuse that satisfy the condition of the square of the two smaller numbers. The square of one of the Pythagorean Triples can either be an even or an odd number. Thus supposing π2 is the square of one of the Pythagorean Triples and π is the second triple. Therefore: Using a case where π2 is odd: π2 = 2π + 1 When it is odd, Making b the subject: π2 − 1 = 2π Divide both sides by 2: (π2 − 1) 2π = 2 2 ∴π= (π2 − 1) 2 Making π + 1 the subject: Dividing both sides by 2: π2 2π 1 = + 2 2 2 1 Adding 2 to both sides π2 1 1 1 + =π+ + 2 2 2 2 (π2 + 1) π+1= 2 The hypotenuse should be: π2 + π 2 = π 2 + 2π + 1 π2 + π 2 = (π + 1)2 The formula π2 = 2π + 1 suggests that 2π + 1 has to be a square number. Therefore, I substituted a few odd square numbers into the formulas above and the results are shown in the table below. Whiles trying this formula out, I recognized a pattern that once π2 was odd; the value of π was always even. For example: When π2 = 9 (9 − 1) π= =4 2 π+1=4+1 π=4 Using the odd square numbers between 1 − 20: Figure 2: ππ π π ππ (π + π) (π + π)π ππ + ππ = (π + π)π 9 3 4 16 5 25 9 + 16 = 25 25 5 12 144 13 169 25 + 144 = 169 49 7 24 576 25 625 49 + 576 = 625 81 9 40 1600 41 1681 81 + 1600 = 1681 121 11 60 3600 61 3721 121 + 3600 = 3721 169 13 84 7056 85 7225 169 + 7056 = 7225 225 15 112 12544 113 12769 225 + 12544 = 12769 289 17 144 20736 145 21025 289 + 20736 = 21025 361 19 180 32400 181 32761 361 + 32400 = 32761 I have been able to derive a formula for odd numbers; however, it is not certain that this formula works for all odd numbers. I realized a unique pattern about the table above; for all the triples obtained, when arranged in order of magnitude, have a difference of 1 between the last two numbers. Thus, a triple like 9, 12, 15 will not be obtained even though 9 is an odd square number. This pattern was unique but was the limitation of my formula. I have been able to derive a general formula which can help generate a number of triples; however, the formula can only be applied if at least one of the triples is known, like π2 and this known triple must specifically be an odd square number. This makes my formula somewhat difficult to one that does not have prior knowledge to what a square odd number is. Therefore, to eliminate this limitation, I chose to generate another formula that can help derive triples without prior knowledge of one of the triples, meaning a formula that enables the generation of triples from any real number. From my first formula, the triple π is restricted to even numbers, so π = 2π₯, where π₯ is a real number, π2 = 2π + 1, then, π2 = 2(2π₯) + 1 = 4π₯ + 1 When 1 is substituted into the equation for π2 , an odd square number is not obtained, implying that π has a domain which will depend on the domain for π₯. Hence, I decided to find the domain for π₯. Domain for π Figure 3: π ππ 2 9 6 25 12 49 20 81 30 121 42 169 56 225 72 289 90 361 Figure 4: 2 6 12 20 30 42 Sequence of π 4 First difference 6 8 2 Second Difference 10 2 2 12 2 It can be seen from the table above that the first difference of the π₯ values are 4, 6, 8, 10, and 12 respectively while the second difference is 2 all through. This shows that the domain for π is in the form of a quadratic function thus π₯ = ππ2 + ππ + π. The π₯ values can be generated in terms of π, π and π as shown in the tables below. Figure 5: π 1 2 3 4 5 6 9π + 3π + π 16π + 4π + π 25π + 5π + π 36π + 6π + π Sequence π π + π + π 4π + 2π + π ππ + ππ + π 3π + π First difference Second Difference 5π + π 2π 7π + π 2π 9π + π 2π 11π + π 2π 2π = The second difference of the sequence, then, 2π = 2 π=1 3π + π = The first value of the first difference, then, 3π + π = 4 3(1) + π = 4 π =4−3=1 π + π + π = The first term of the sequence, then, 1+1+π =2 π = 2−2 =0 Substituting the values a, b, c into the quadratic formula ππ2 + ππ + π,the domain of π₯ = π2 + π, where π is the ππ‘β term of the sequence. Hence, π = 2π₯ π = 2(π2 + π) π 2 = [2(π2 + π)]2 Since π + 1 = 2(π2 + π) + 1 βΉ (π + 1)2 = [2(π2 + π) + 1]2 π2 = 4π₯ + 1 π2 = 4(π2 + π) + 1 The first general formula π2 + π 2 = (π + 1)2 , will now become [4(π2 + π) + 1] + [2(π2 + π)]2 = [2(π2 + π) + 1]2 I will now illustrate this formula on a right-angled triangle to show how the Pythagorean Triples can be obtained Figure 6: π + 1 = 2(π2 + π) + 1 π = √(4(π2 + π) + 1) π = 2(π2 + π) I will also use Microsoft excel to generate Pythagorean triples using the real numbers from 1 − 20 in order to prove the certainty of this formula working for all real numbers. Figure 7: Usage of the formulas illustrated on the right-angled triangle above. Figure 8: The triple generated by using the formulas displayed on the right-angled triangle above has been put in the table with black, visible borders. Thus far, the formula seems to work. However this was tested using only the first 20 real numbers so in order to test the exactitude of my formula and validate its ability to work on all real numbers, I decided to use mathematical induction, a technique for proving results for natural numbers, which I learnt about after staying in a Mathematics Higher Level class during my free time. I studied Mathematical induction hence which I will utilize this topic as a method of proving whether or not the formula: 2 [4(π + π) + 1] + [2(π2 + π)]2 = [2(π2 + π) + 1]2 works for all real numbers. USING MATHEMATICAL INDUCTION TO PROVE THE FORMULA: [π(ππ + π) + π] + [π(ππ + π)]π = [π(ππ + π) + π]π IS TRUE FOR ALL REAL NUMBERS Let π(π): 4(π2 + π) + 1 + [2(π2 + π)]2 = [2(π2 + π) + 1]2 When π = 1, π€(1): πΏπ»π = 4(12 + 1) + 1 + [2(12 + 1)]2 = 25 π π»π = [2(12 + 1) + 1]2 = 25 ∴ πΏπ»π = π π»π This means that for the formula, π(π) = 4(π2 + π) + 1 + [2(π2 + π)]2 = [2(π2 + π) + 1]2 it is true that for π = 1 ,π€(1) is true. Therefore assuming π = π, where π€(π) is also true, then 4(π 2 + π) + 1 + [2(π 2 + π)]2 = [2(π 2 + π) + 1]2 ∴ πβππ π = π + 1 πΏπ»π = 4[(π + 1) + (π + 1)] + 1 + [2((π + 1)2 + (π + 1))]2 2 = [2((π + 1)2 + (π + 1))]2 + 4[(π + 1)2 + (π + 1)] + 1 = [2((π + 1)2 + (π + 1))]2 + 2[2((π + 1)2 + (π + 1))] + 1 Let = [2((π + 1)2 + (π + 1))] , then πΏπ»π = π 2 + 2π + 1 = (π + 1)2 = [2((π + 1)2 + (π + 1)) + 1]2 π π»π = [2((π + 1)2 + (π + 1) + 1]2 ∴ πΏπ»π = π π»π Since the πΏπ»π = π π»π in both π = 1 and π = π + 1; π€(1) is true and also true for π€(π + 1) therefore in any instance where it is true for w(k), then the formula π(π) = 4(π2 + π) + 1 + [2(π2 + π)]2 = [2(π2 + π) + 1]2 is true for all real numbers as well. With the use of mathematical induction, it has been proven that this formula indeed does work for all real numbers. EUCLID’S FORMULA Euclid's formula for a Pythagorean triple states that: π = 2ππ, π = π2 − π2 , π = π2 + π2 . This formula allows us to use two unidentified constants π and n to generate a Pythagorean triple. In this case, π2 > π2 therefore π > π. DERIVING EUCLID’S FORMULA Assuming the right-angled triangle has the sides π, π and π: Figure 9: π π π From the theory of the Pythagoras theorem, I can conclude that π 2 = π2 + π 2 . Making π 2 the subject gives π2 = π 2 − π 2 . Assuming π is even: π2 = (π − π)(π + π) π (π + π) = (π − π) π The right hand side is the rational part of this equation therefore it can be equated to π and π are in their lowest terms. π π where (π + π) π = → πΈππ’ππ‘πππ 1 π π Since (π+π) π = π π π then (π−π) = π π In order to make the left hand side rational, I flipped the equation therefore, (π − π) π = → πΈππ’ππ‘πππ 2 π π Adding Equation 1 and Equation 2: π π π π π π ( + )+( − )= + π π π π π π = 2π π2 + π2 = π ππ = π π 2 + π2 = π 2ππ Subtracting Equation 1and Equation 2: π π π π π π ( − )+( + )=( − ) π π π π π π 2π π2 − π2 = = π π₯π¦ 2 π π − π2 = = π 2π₯π¦ Assuming that the left hand side of the numerator is equal to its corresponding right hand side numerator and the left hand side denominator is also equal to its corresponding right hand side denominator, then this gives π = 2π₯π¦, π = π₯ 2 − π¦ 2 , π = π₯ 2 + π¦ 2 . This formula is known as the Euclid formula. USING EUCLID’S FORMULA TO GENERATE A TRIPLE Using π = 2π₯π¦, I can attain different factors and use these factors to find triples. Supposing 20 was a number π = 20 then π₯π¦ = 10 Possible factors of 10 are: (2,5) and (10,1) Using the equation π = π₯ 2 − π¦ 2 and π = π₯ 2 + π¦ 2, I will be able to derive the other two triples. π = 52 − 22 = 25 − 4 = 21 π = 52 + 22 = 25 + 4 = 29 And π = 102 − 12 = 99 π = 102 + 12 = 101 In order to make sure that these numbers are triples using the Pythagorean theorem π2 + π 2 = π2: 202 + 992 = 10201 √10201 = 101 When I substituted the numbers above into the Pythagoras theorem, I saw that truly π 2 = π2 + π 2 . This confirmed that the numbers obtained were triples. CONCLUSION: On the basis of odd and even numbers, I have been able to derive a general formula that can generate an infinite amount of Pythagorean triples without the need to have prior knowledge of one of the triples. Assuming π2 is an odd square number and π is an even number from the Pythagorean triples equation π2 = π 2 + π 2 I have been able to derive the general formula[4(π2 + π) + 1] + [2(π2 + π)]2 = [2(π2 + π) + 1]2 for all real numbers. This formula has been proven valid with the help of mathematical induction. Euclid’s formula also proved that indeed there is a way to derive Pythagorean triples using two unknown constants. It is the safe to say that the aim of this investigation has been achieved. REFLECTION: The aim of this investigation was to find out general formula(s) that will help create an infinite number of Pythagorean Triples aside the primitive Pythagorean Triples and its significance will help people who are math inclined, especially students, to be able to create Pythagorean Triples using any real number. It will save them from having to memorize countless triples when needed. This work can be improved by investigating the different applications of the Pythagorean triples, with the use if the general formula obtained in order to further solidify the value of the formula. The general formula [4(π2 + π) + 1] + [2(π2 + π)]2 = [2(π2 + π) + 1]2 attained, at first glance, seems very lengthy thus one could invent a shorter and simpler general formula hence minimizing the difficulty in the memorization of such a lengthy formula. References Lawrence O. Cannon. “Pythagorean Triples: Avenues for Exploration.” The Mathematics Teacher, vol. 105, no. 4, 2011, pp. 311–315. JSTOR, JSTOR . n.d. 26 Sep. 2017. <www.jstor.org/stable/10.5951/mathteacher.105.4.0311>. Tobin-Campbell, C. Systems of Pythagorean triples. n.d. 26 Sep. 2017. <https://www.whitman.edu/Documents/Academics/Mathematics/SeniorProject_ChrisTobinCampbell.pdf> “Pythagorean Triples” Teaching Math History. n.d. 26 Sep. 2017. <http://www.wwu.edu/teachingmathhistory/docs/psfile/Pythag3-teacher.pdf > “Pythagorean Triples” Teaching Math History. n.d. 27 Sep. 2017. <http://www.wwu.edu/teachingmathhistory/docs/psfile/Pythag3-student.pdf -9/4/2017> “Mathematical Induction” Tutorials Point. n.d. 27 Sep. 2017. <https://www.tutorialspoint.com/discrete_mathematics/discrete_mathematical_induction.htm> MIKE MOLONY. “Generating Pythagorean Triples” Dreamshire. n.d. 14 Nov. 2017. <https://blog.dreamshire.com/generating-pythagorean-triples/>