Parameterizing the Pythagorean Triples

Similar documents
PYTHAGOREAN TRIPLES KEITH CONRAD

Lesson 2 The Unit Circle: A Rich Example for Gaining Perspective

6.5 Trigonometric Equations

Things You Should Know Coming Into Calc I

Course Outcome Summary

Notes: Pythagorean Triples

Chapter 8B - Trigonometric Functions (the first part)

sin cos 1 1 tan sec 1 cot csc Pre-Calculus Mathematics Trigonometric Identities and Equations


a factors The exponential 0 is a special case. If b is any nonzero real number, then

CK- 12 Algebra II with Trigonometry Concepts 1

Section 7.3 Double Angle Identities

3.2 Constructible Numbers

MATH 1231 MATHEMATICS 1B Calculus Section 1: - Integration.

PRE-CALCULUS General Specific Math Skills

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6

2. Algebraic functions, power functions, exponential functions, trig functions

5.4 - Quadratic Functions

Introduction to Algebraic Geometry. Franz Lemmermeyer

Solutions to Practice Final

Analytic Trigonometry. Copyright Cengage Learning. All rights reserved.

Solving equations UNCORRECTED PAGE PROOFS

Example 9 Algebraic Evaluation for Example 1

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc.

What students need to know for CALCULUS (Regular, AB and BC) Students expecting to take Calculus should demonstrate the ability to:

Chapter 1: Precalculus Review

Math 005A Prerequisite Material Answer Key

Table of Contents. 2013, Pearson Education, Inc.

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

( 3) ( ) ( ) ( ) ( ) ( )

Exercise Set 6.2: Double-Angle and Half-Angle Formulas

Numerical Methods. Equations and Partial Fractions. Jaesung Lee

Summer Review Packet for Students Entering AP Calculus BC. Complex Fractions

Math 144 Activity #7 Trigonometric Identities

ACT MATH MUST-KNOWS Pre-Algebra and Elementary Algebra: 24 questions

DuVal High School Summer Review Packet AP Calculus

Chapter 06: Analytic Trigonometry

MATHEMATICS Lecture. 4 Chapter.8 TECHNIQUES OF INTEGRATION By Dr. Mohammed Ramidh

x n cos 2x dx. dx = nx n 1 and v = 1 2 sin(2x). Andreas Fring (City University London) AS1051 Lecture Autumn / 36

EXAM. Practice for Second Exam. Math , Fall Nov 4, 2003 ANSWERS

Do not open your test until instructed to do so!

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Given an arc of length s on a circle of radius r, the radian measure of the central angle subtended by the arc is given by θ = s r :

Applied Calculus I. Lecture 29

Example 1: What do you know about the graph of the function

Complex Numbers CK-12. Say Thanks to the Authors Click (No sign in required)

Mathematics 1 Lecture Notes Chapter 1 Algebra Review

Introduction to Number Theory

A basic trigonometric equation asks what values of the trig function have a specific value.

Given an arc of length s on a circle of radius r, the radian measure of the central angle subtended by the arc is given by θ = s r :

Objectives List. Important Students should expect test questions that require a synthesis of these objectives.

Roots are: Solving Quadratics. Graph: y = 2x 2 2 y = x 2 x 12 y = x 2 + 6x + 9 y = x 2 + 6x + 3. real, rational. real, rational. real, rational, equal

You should be comfortable with everything below (and if you aren t you d better brush up).

In Z: x + 3 = 2 3x = 2 x = 1 No solution In Q: 3x = 2 x 2 = 2. x = 2 No solution. In R: x 2 = 2 x = 0 x = ± 2 No solution Z Q.

Inverse Circular Functions and Trigonometric Equations. Copyright 2017, 2013, 2009 Pearson Education, Inc.

Since x + we get x² + 2x = 4, or simplifying it, x² = 4. Therefore, x² + = 4 2 = 2. Ans. (C)

Elliptic Curves and Mordell s Theorem

Sum and difference formulae for sine and cosine. Elementary Functions. Consider angles α and β with α > β. These angles identify points on the

Trig Identities. or (x + y)2 = x2 + 2xy + y 2. Dr. Ken W. Smith Other examples of identities are: (x + 3)2 = x2 + 6x + 9 and

With topics from Algebra and Pre-Calculus to

NYS Algebra II and Trigonometry Suggested Sequence of Units (P.I's within each unit are NOT in any suggested order)

Updated: January 16, 2016 Calculus II 7.4. Math 230. Calculus II. Brian Veitch Fall 2015 Northern Illinois University

CALCULUS ASSESSMENT REVIEW

Introduction: Pythagorean Triplets

Complex numbers, the exponential function, and factorization over C

2t t dt.. So the distance is (t2 +6) 3/2

Pre- Calculus Mathematics Trigonometric Identities and Equations

6.1: Reciprocal, Quotient & Pythagorean Identities

Coach Stones Expanded Standard Pre-Calculus Algorithm Packet Page 1 Section: P.1 Algebraic Expressions, Mathematical Models and Real Numbers

Review sheet Final Exam Math 140 Calculus I Fall 2015 UMass Boston

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

x 2e e 3x 1. Find the equation of the line that passes through the two points 3,7 and 5, 2 slope-intercept form. . Write your final answer in

2014 Summer Review for Students Entering Algebra 2. TI-84 Plus Graphing Calculator is required for this course.

2017 SUMMER REVIEW FOR STUDENTS ENTERING GEOMETRY

ELLIPTIC CURVES BJORN POONEN

DIFFERENTIATION RULES

Unit 8 - Polynomial and Rational Functions Classwork

AS PURE MATHS REVISION NOTES

Rational Numbers. a) 5 is a rational number TRUE FALSE. is a rational number TRUE FALSE

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

BUILT YOU. ACT Pathway. for

Section 4.1 Relative Extrema 3 Lectures. Dr. Abdulla Eid. College of Science. MATHS 101: Calculus I

Final Exam Review: Study Guide Math 3

5.3 SOLVING TRIGONOMETRIC EQUATIONS

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra: 2 x 3 + 3

Chapter 5 Trigonometric Functions of Angles

Functions of Several Variables: Limits and Continuity

10550 PRACTICE FINAL EXAM SOLUTIONS. x 2 4. x 2 x 2 5x +6 = lim x +2. x 2 x 3 = 4 1 = 4.

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

Solution. The relationship between cartesian coordinates (x, y) and polar coordinates (r, θ) is given by. (x, y) = (r cos θ, r sin θ).

Algebra 1B. Unit 9. Algebraic Roots and Radicals. Student Reading Guide. and. Practice Problems

Math 232: Final Exam Version A Spring 2015 Instructor: Linda Green

A2 HW Imaginary Numbers

1.2 A List of Commonly Occurring Functions

Theorems About Roots of Polynomial Equations. Theorem Rational Root Theorem

Mathematical Induction

1. Use the properties of exponents to simplify the following expression, writing your answer with only positive exponents.

As we know, the three basic trigonometric functions are as follows: Figure 1

MATH 1130 Exam 1 Review Sheet

Transcription:

Parameterizing the Pythagorean Triples Saratoga Math Club January 8, 204 Introduction To ask for one or two Pythagorean triples is not a hard nor deep question at all. Common examples, like (3, 4, 5), (5, 2, 3), or (8, 5, 7), can easily be found, but what if I was asked to find all the Pythagorean triples? That is precisely the motivating question for this lecture; we wish to find a way to generate all the Pythagorean triples. Definition. A Pythagorean triple is any triple (a, b, c) of integers a, b, c such that a 2 +b 2 = c 2. If gcd(a, b, c) =, then (a, b, c) is a primitive Pythagorean triple. To ask for all the Pythagorean triples is to ask for all integer solutions to the equation a 2 + b 2 = c 2. Instead of solving a three-variable equation in integers, however, we can divide by c 2 on both sides to get ( ) a 2 ( c + b ) 2 c =, let x = a c and y = b c, and solve for rational solutions on the unit circle x 2 + y 2 =. Each pair of rational solutions (x, y) will correspond to exactly one primitive Pythagorean triple (a, b, c). Exercise. What is the rational pair (x, y) that corresponds to the primitive Pythagorean triple (3, 4, 5)? Definition 2. A point (x, y) is rational if both x and y are rational. A line l : y = mx + b is rational if both m and b are rational. In the same way, any other polynomial or shape is rational if all of its coefficients are rational. Proposition. Any line drawn through two rational points is a rational line. Proof. Let the two rational points be (x, y ) and (x 2, y 2 ). Then the line must have the equation y y = y 2 y x 2 x (x x ). As x, x 2, x 3, x 4 are all rational, the line must also have rational coefficients and therefore be rational. Example. Show that the intersection of any two rational lines must be rational. Let one line be y = m x + b and the other be y = m 2 x + b 2. Then m x + b = m 2 x + b 2, so x = b 2 b m m 2. As b, b 2, m, m 2 are all rational, x must also be rational and thus, y must also be rational. Exercise 2. Show that if a rational quadratic and rational line intersect at exactly one point, that it must be at a rational point.

Exercise 3. Show that if a rational quadratic and rational line intersect at exactly two points, then either both points are rational or both points are irrational. Exercise 4. Can you generalize further? What if I intersect a rational cubic and rational line? A rational quartic and rational line? Any rational polynomial and rational line? How about two rational quadratics? A rational quadratic and rational cubic? Any two rational polynomials? Let us return to the problem at hand. With the previous examples and exercises, we are now in a very good position to tackle the next step. 2 Method of Sweeping Lines (0, t) (x, y) l.5 C : x 2 + y 2 = 0.5 (, 0) 0 0.5 0 0.5 0.5 Lemma. Let C be the unit circle x 2 + y 2 = and l be a line intersecting C at (, 0) and (x, y) and intersecting x = 0 at (0, t). Then, (0, t) is rational if (x, y) is rational. Proof. If (x, y) is a rational point, then Proposition tells us that l, a line passing through (, 0) and (x, y) will also be rational. Hence, the intersection of l and x = 0 will be rational as shown in Example, so (0, t) must be rational. Lemma 2. Let C be the unit circle x 2 + y 2 = and l be a line intersecting C at (, 0) and (x, y) and intersecting x = 0 at (0, t). Then, (x, y) is rational if (0, t) is rational. Proof. If (0, t) is a rational point, then Proposition tells us that l, a line passing through (, 0) and (0, t), is rational. Hence, the intersection of l and C will be rational by Exercise 3, so (x, y) must be rational. Lemma 3. Let C be the unit circle x 2 + y 2 = and l be a line intersecting C at (, 0) and (x, y) and intersecting x = 0 at (0, t). Then, (x, y) is rational if and only if t is rational. 2

Proof. By Lemma and Lemma 2, we know that (x, y) is rational if and only if (0, t) is rational. However, since (0, t) is rational if and only if t is rational, we can conclude that (x, y) is rational if and only if t is rational. Note that if t =, then (x, y) = (, 0). Therefore, we have just shown that there is a one-to-one correspondence between the rational points on the unit circle x 2 +y 2 = and the rational numbers. As a result, we hope to parameterize all the primitive Pythagorean triples in terms of this single variable t. Exercise 5. Let C be the unit circle x 2 + y 2 = and l be a line intersecting C at (, 0) and (x, y) and intersecting x = 0 at (0, t). Show that (a) y = t(x + ), (b) x = t2 ± 2t, (c) y = t 2 + t 2 +. By Exercise 5, we know that x = or x = t2. The solution x =, however, simply results +t 2 in the point (, 0) that we already know of, so we choose x = t2 instead. As a result, we can +t 2 generate all rational solutions to x 2 + y 2 = by setting x = t2 and y = 2t and plugging in +t 2 +t 2 rational values of t. Moreover, since t is rational, t = m n where m, n are relatively prime integers, so x = ( m n ) 2 +( m n ) 2 = m2 n 2 m 2 +n 2 and y = 2( m n ) +( m n ) 2 = 2mn m 2 +n 2. Referring back to the beginning of the lecture, we know that x = a c and y = b c. Therefore, a = m 2 n 2, b = 2mn, and c = m 2 + n 2. We can plug in relatively prime integers m, n to generate Pythagorean triples (a, b, c). As we only wish to generate primitive Pythagorean triples, we choose m, n of different parity (otherwise, 2 a, 2 b, and 2 c). For instance, m = 3, n = 2 yields a = 9 4 = 5, b = 2(3)(2) = 2, and c = 9 + 4 = 3. At this point, we are almost done. We have generated all primitive Pythagorean triples, so to generate all Pythagorean triples, we simply multiply a, b, c by a constant k to get 3 Applications a = k(m 2 n 2 ), b = k(2mn), c = k(m 2 + n 2 ) In the process of parameterizing the Pythagorean triples, we have unveiled many useful things. 3. Stereographic Projection The method we used to parameterize the Pythagorean triples is called stereographic projection. It relied on the fact that we had a rational quadratic, in our case x 2 + y 2 =, and an initial rational point, which we chose to be (.0). As a result, we should be able to extend this method to other rational quadratics as long as we can find an initial solution. Exercise 6. Parameterize the rational solutions to x 2 2y 2 =. Exercise 7. Parameterize the rational solutions to x 2 2y 2 =. Example 2. Solve for integer solutions to x 2 2y 2 = ±. The parameterizations for Exercise 6 and Exercise 7, respectively, should be 3

or x = t2 +2 t 2 2, y = x = m2 +2n 2 m 2 2n 2, y = 2t t 2 2 and x = 2t2 2(t ) 2, y = t2 +(t ) 2 2(t ) 2 2mn and x = n2 2m 2, y = m2 +(m n) 2 m 2 2n 2 n 2 2(m n) 2 n 2 2(m n) 2 so, by making the substitution n m and m m + n on the right side, x = m2 +2n 2 m 2 2n 2, y = 2mn and x = m2 2(m+n) 2, y = (m+n)2 +n 2. m 2 2n 2 m 2 2n 2 m 2 2n 2 As these parameterizations give all the rational solutions, we know that the only integer solutions are when the denominator is ±, or when m 2 2n 2 = ±. Solving for integer values m, n such that m 2 2n 2 = ±, however, is precisely the original problem we were trying to solve! As a result, if we know one solution (x n, y n ) to x 2 2y 2 = ±, we can let m = x n and n = y n so that the denominator is x n 2y 2 n = ±. Therefore, we can generate two more integer solutions through the numerators of our parameterization: (x 2n, y 2n ) = (x 2 n + 2y 2 n, 2x n y n ), (x 2n, y 2n ) = (x 2 n 2(x n + y n ) 2, (x n + y n ) 2 + y 2 n). By letting x 0 = and y 0 =, we can successively generate all the solutions to x 2 2y 2 = ±. Moreover, every (x 2n, y 2n ) is a solution to x 2 2y 2 = and every (x 2n, y 2n ) is a solution to x 2 2y 2 =. Exercise 8. Solve for integer solutions to x 2 3y 2 = ±. 3.2 Parameterizing the Trigonometric Functions Although the previous application allows for a way to solve Pell s Equations, it takes an immense amount of work and is impractical because there are much better ways. Using the Pythagorean triples to parameterize Trigonometric functions, however, is quite useful (See [Trigonometry] if needed). Recall this image, now with an extra line, that we used to find that x = t2 +t 2 and y = 2t +t 2. (0, t) l.5 (x, y) C : x 2 + y 2 = 0.5 (, 0) θ 2 0 0.5 0 0.5 θ 0.5 4

As C is the unit circle, we know that x = cos θ, y = sin θ, and t = tan 2θ. Hence, Example 3. Prove that cos 2 θ + sin 2 θ =. cos θ = t2 +t 2, sin θ = 2t +t 2, t = tan 2 θ. cos 2 θ + sin 2 θ = ( t2 +t 2 ) 2 + ( 2t +t 2 ) 2 = t4 2t 2 ++4t 2 t 4 +2t 2 + = t4 +2t 2 + t 4 +2t 2 + =. Example 4. Show that sin(α + β) = sin α cos β + sin β cos α. Because we have multiple angles, we need different parameters for each angle. Let the parameter for angle α be t α, the parameter for angle β be t β, and the parameter for angle α + β be t α+β. Then and sin(α + β) = 2t α+β +t 2 α+β sin α cos β + sin β cos α = ( 2tα )( t2 β ) + ( 2t β )( t2 +t 2 α +t 2 β +t 2 α ). +t β 2 α We wish to solve for the parameter t α+β in terms of t α and t β in order to rewrite sin(α + β) in terms of t α and t β. The idea is to use the fact that complex multiplication, in its vector representation, adds the angles two vectors form from the horizontal axis (See [Complex Numbers] and [Vectors] if needed). As a result, we translate our plane by unit to the left so that (, 0) becomes our origin. Under our new coordinate system, we represent (, tα) by the complex vector + it α, (, tβ) by + it β, and (, t α+β ) by + it α+β. Note that the vector + it θ forms an angle of θ 2 with the horizontal axis. As such, the vector (+it α )(+it β ) = ( t α t β )+i(t α +t β ) forms an angle of α 2 + β 2 = α+β 2 with the horizontal axis and is therefore parallel to +it α+β. Therefore, ( tαt β)+i(t α+t β ) t αt β = +i( tα+t β t αt β ) is also parallel to + it α+β, and as the real component of both vectors are equal, both vectors must be equal. Hence, the imaginary components of both vectors must also be equal so t α+β = tα+t β t αt β. From here, we substitute, expand, and find that sin(α + β) = 2t α+β +t 2 α+β = ( ) tα+tβ 2 tαt β ( ) 2 tα+tβ + tαt β Exercise 9. Show that cos(α + β) = cos α cos β sin α sin β. = ( 2tα )( t2 β ) + ( 2t β )( t2 +t 2 α +t 2 β +t 2 α ) = sin α cos β + sin β cos α +t β 2 α I will leave off with a final use for the Trigonometric parameterizations. As t = tan 2θ, we know that tan t = 2 θ so 2 dθ dt = or dθ = 2dt. This allows us to use our Trig parameterizations +t 2 +t 2 to change any integral in terms of Trig functions and dθ into an integral in dt. 5