Lecture 3. Pythagorean Triples
Total Page:16
File Type:pdf, Size:1020Kb
Lecture 3. Pythagorean Triples Oleg Viro February 1, 2016 1/11 Warm Up Exercise Write down the Pythagorean Theorem. 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Write down the converse theorem. 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • Is it possible that numbers a , b , c such that a2 + b2 = c2 are all • positive integers? 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • Is it possible that numbers a , b , c such that a2 + b2 = c2 are all • positive integers? A triple (a,b,c) of positive integers such that a2 + b2 = c2 is called a Pythagorean triple. 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • Is it possible that numbers a , b , c such that a2 + b2 = c2 are all • positive integers? A triple (a,b,c) of positive integers such that a2 + b2 = c2 is called a Pythagorean triple. A triangle with sides 3,4,5 is called the Egyptian triangle. 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • Is it possible that numbers a , b , c such that a2 + b2 = c2 are all • positive integers? A triple (a,b,c) of positive integers such that a2 + b2 = c2 is called a Pythagorean triple. A triangle with sides 3,4,5 is called the Egyptian triangle. Why? 2/11 Warm Up Exercise Write down the Pythagorean Theorem. Correct Answer. In any right triangle, the length c of its hypothenuse and lengths a , b of its legs, a2 + b2 = c2 . Converse Theorem. For any real positive numbers a , b , c such that a2 + b2 = c2 , there exists a right triangle with legs a , b , and hypotenuse c . Is this true? • How to prove? • Is it possible that numbers a , b , c such that a2 + b2 = c2 are all • positive integers? A triple (a,b,c) of positive integers such that a2 + b2 = c2 is called a Pythagorean triple. A triangle with sides 3,4,5 is called the Egyptian triangle. Why? Problem: Find all Pythagorean triples. 2/11 • Warm Up Exercise Number theory approach Diophantine equation • Primitive solutions • Arithmetics of evens and odds • Squares modulo 4 • New unknowns • Solution • Done? Number theory approach • Pythagorian points • Parametrizations of the circle Diophantine equation 3/11 Primitive solutions If (a,b,c) is a Pythagorean triple, then for any k N ∈ the triple (ka,kb,kc) is Pythagorean. 4/11 Primitive solutions If (a,b,c) is a Pythagorean triple, then for any k N ∈ the triple (ka,kb,kc) is Pythagorean. A Pythagorean triple is said to be primitive if it cannot be obtained as (ka,kb,kc) with k N , k > 1 from a Pythagorean triple (a,b,c) . ∈ 4/11 Primitive solutions If (a,b,c) is a Pythagorean triple, then for any k N ∈ the triple (ka,kb,kc) is Pythagorean. A Pythagorean triple is said to be primitive if it cannot be obtained as (ka,kb,kc) with k N , k > 1 from a Pythagorean triple (a,b,c) . ∈ Lemma 1. A Pythagorean triple (a,b,c) is primitive if and only if a , b and c have no common divisors. 4/11 Primitive solutions If (a,b,c) is a Pythagorean triple, then for any k N ∈ the triple (ka,kb,kc) is Pythagorean. A Pythagorean triple is said to be primitive if it cannot be obtained as (ka,kb,kc) with k N , k > 1 from a Pythagorean triple (a,b,c) . ∈ Lemma 1. A Pythagorean triple (a,b,c) is primitive if and only if a , b and c have no common divisors. Lemma 2. Presence of odds. In a primitive Pythagorean triple, at least one of the numbers is odd. 4/11 Arithmetics of evens and odds Addition: even + even = even , 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), the number of even numbers is odd (1 or 3). 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), the number of even numbers is odd (1 or 3). Squaring: n N is odd n2 is odd. ∈ ⇐⇒ 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), the number of even numbers is odd (1 or 3). Squaring: n N is odd n2 is odd. ∈ ⇐⇒ In a primitive Pythagorean triple, two numbers are odd and one is even. 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), the number of even numbers is odd (1 or 3). Squaring: n N is odd n2 is odd. ∈ ⇐⇒ In a primitive Pythagorean triple, two numbers are odd and one is even. Which numbers can be odd? a , b , c ? 5/11 Arithmetics of evens and odds Addition: even + even = even , even + odd = odd , odd + odd = even . In equality X + Y = Z , the number of odd numbers is even (2 or 0), the number of even numbers is odd (1 or 3). Squaring: n N is odd n2 is odd. ∈ ⇐⇒ In a primitive Pythagorean triple, two numbers are odd and one is even. Which numbers can be odd? a , b , c ? The answer: c must be odd, one of a and b is even, another one is odd. 5/11 Squares modulo 4 The square of an even number is divisible by four. 6/11 Squares modulo 4 The square of an even number is divisible by four. The square of an odd number has remainder 1 under division by 4 . 6/11 Squares modulo 4 The square of an even number is divisible by four. The square of an odd number has remainder 1 under division by 4 . Notation: x y mod m means x y is divisible by m . ≡ − 6/11 Squares modulo 4 The square of an even number is divisible by four. The square of an odd number has remainder 1 under division by 4 . Notation: x y mod m means x y is divisible by m . ≡ − We say: x is congruent to y modulo m . 6/11 Squares modulo 4 The square of an even number is divisible by four.