






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







The Pythagorean Theorem, that “beloved” formula of all high school geometry students, says that the sum of the squares of the sides of a right triangle equals the square of the hypotenuse. In symbols,
Ω
Ω Ω Ω
Ω Ω
Ω Ω
Ω Ω
Ω Ω
Ω Ω
Figure 2.1: A Pythagorean Triangle
Since we’re interested in number theory, that is, the theory of the natural num- bers, we will ask whether there are any Pythagorean triangles all of whose sides are natural numbers. There are many such triangles. The most famous has sides 3, 4, and 5. Here are the first few examples:
32 + 4^2 = 5^2 , 52 + 12^2 = 13^2 , 82 + 15^2 = 17^2 , 282 + 45^2 = 53^2.
The study of these Pythagorean triples began long before the time of Pythago- ras. There are Babylonian tablets that contain lists of such triples, including quite large ones, indicating that the Babylonians probably had a systematic method for
[Chap. 2] Pythagorean Triples 17
producing them. Pythagorean triples were also used in ancient Egypt. For exam- ple, a rough-and-ready way to produce a right angle is to take a piece of string, mark it into 12 equal segments, tie it into a loop, and hold it taut in the form of a 3-4-5 triangle, as illustrated in Figure 2.2. This provides an inexpensive right angle tool for use on small construction projects (such as marking property boundaries or building pyramids). Even more amazing is the fact that the Babylonians created tables of quite large Pythagorean triples, which they may have used as primitive trigonometric tables.
t t t t t
t
t
t
t
t
t
t
Ω
Ω Ω
Ω Ω
Ω Ω
Ω
String pulled taut
t t t
t
t t^ t
t
t t t t
String with 12 knots Figure 2.2: Using a knotted string to create a right triangle
The Babylonians and Egyptians had practical reasons for studying Pythagor- ean triples. Do such practical reasons still exist? For this particular problem, the answer is “probably not.” However, there is at least one good reason to study Pythagorean triples, and it’s the same reason why it is worthwhile studying the art of Rembrandt and the music of Beethoven. There is a beauty to the ways in which numbers interact with one another, just as there is a beauty in the composition of a painting or a symphony. To appreciate this beauty, one has to be willing to expend a certain amount of mental energy. But the end result is well worth the effort. Our goal in this book is to understand and appreciate some truly beautiful mathematics, to learn how this mathematics was discovered and proved, and maybe even to make some original contributions of our own. Enough blathering, you are undoubtedly thinking. Let’s get to the real stuff. Our first naive question is whether there are infinitely many Pythagorean triples , that is triples of natural numbers (a, b, c) satisfying the equation a^2 + b^2 = c^2. The answer is “YES” for a very silly reason. If we take a Pythagorean triple (a, b, c) and multiply it by some other number d, then we obtain a new Pythagorean triple (da, db, dc). This is true because
(da)^2 + (db)^2 = d^2 (a^2 + b^2 ) = d^2 c^2 = (dc)^2.
Clearly these new Pythagorean triples are not very interesting. So we will concen- trate our attention on triples with no common factors. We will even give them a
[Chap. 2] Pythagorean Triples 19
the other is odd. It’s then obvious from the equation a^2 + b^2 = c^2 that c is also odd. We can always switch a and b, so our problem now is to find all solutions in natural numbers to the equation
a^2 + b^2 = c^2 with
a odd, b even, a, b, c having no common factors.
The tools we will use are factorization and divisibility. Our first observation is that if (a, b, c) is a primitive Pythagorean triple, then we can factor a^2 = c^2 − b^2 = (c − b)(c + b).
Here are a few examples from the list given earlier, where note that we always take a to be odd and b to be even:
32 = 5^2 − 42 = (5 − 4)(5 + 4) = 1 · 9 , 152 = 17^2 − 82 = (17 − 8)(17 + 8) = 9 · 25 , 352 = 37^2 − 122 = (37 − 12)(37 + 12) = 25 · 49 , 332 = 65^2 − 562 = (65 − 56)(65 + 56) = 9 · 121.
It looks like c − b and c + b are themselves always squares. We check this obser- vation with a couple more examples:
212 = 29^2 − 202 = (29 − 20)(29 + 20) = 9 · 49 , 632 = 65^2 − 162 = (65 − 16)(65 + 16) = 49 · 81.
How can we prove that c − b and c + b are squares? Another observation ap- parent from our list of examples is that c − b and c + b seem to have no common factors. We can prove this last assertion as follows. Suppose that d is a common factor of c − b and c + b; that is, d divides both c − b and c + b. Then d also divides
(c + b) + (c − b) = 2c and (c + b) − (c − b) = 2b.
Thus, d divides 2 b and 2 c. But b and c have no common factor because we are assuming that (a, b, c) is a primitive Pythagorean triple. So d must equal 1 or 2. But d also divides (c − b)(c + b) = a^2 , and a is odd, so d must be 1. In other words, the only number dividing both c − b and c + b is 1, so c − b and c + b have no common factor.
[Chap. 2] Pythagorean Triples 20
We now know that c − b and c + b have no common factor, and that their prod- uct is a square since (c − b)(c + b) = a^2. The only way that this can happen is if c − b and c + b are themselves squares.^2 So we can write
c + b = s^2 and c − b = t^2 ,
where s > t ≥ 1 are odd integers with no common factors. Solving these two equations for b and c yields
c = s^2 + t^2 2 and b = s^2 − t^2 2
and then a =
(c − b)(c + b) = st.
We have finished our first proof! The following theorem records our accomplish- ment.
Theorem 2.1 (Pythagorean Triples Theorem). You will get every primitive Py- thagorean triple (a, b, c) with a odd and b even by using the formulas
a = st, b = s^2 − t^2 2
, c = s^2 + t^2 2
where s > t ≥ 1 are chosen to be any odd integers with no common factors.
For example, if we take t = 1, then we get a triple
s, s
(^2) − 1 2 ,^
s^2 + 2
whose b and c entries differ by 1. This explains many of the examples we listed above. The following table gives all possible triples with s ≤ 9.
s t a = st b =
s^2 − t^2 2 c =
s^2 + t^2 2 3 1 3 4 5 5 1 5 12 13 7 1 7 24 25 9 1 9 40 41 5 3 15 8 17 7 3 21 20 29 7 5 35 12 37 9 5 45 28 53 9 7 63 16 65 (^2) This is intuitively clear if you consider the factorization of c − b and c + b into primes, since the primes in the factorization of c − b will be distinct from the primes in the factorization of c + b. However, the existence and uniqueness of the factorization into primes is by no means as obvious as it appears. We will discuss this further in Chapter 7.
[Chap. 2] Pythagorean Triples 22
2.5. In Chapter 1 we saw that the nth^ triangular number Tn is given by the formula
Tn = 1 + 2 + 3 + · · · + n = n(n + 1) 2 .
The first few triangular numbers are 1 , 3 , 6 , and 10. In the list of the first few Pythagorean triples (a, b, c), we find (3, 4 , 5), (5, 12 , 13), (7, 24 , 25), and (9, 40 , 41). Notice that in each case, the value of b is four times a triangular number. (a) Find a primitive Pythagorean triples (a, b, c) with b = T 5. Do the same for b = T 6 and with b = T 7. (b) Do you think that for every triangular number Tn, there is a primitive Pythagorean triple (a, b, c) with b = 4Tn? If you believe that this is true, then prove it. Otherwise, find some triangular number for which it is not true.
2.6. If you look at the table of primitive Pythagorean triples in this chapter, you will see many triples in which c is 2 greater than a. For example, the triples (3, 4 , 5), (15, 8 , 17), (35, 12 , 37), and (63, 16 , 65) all have this property. (a) Find two more primitive Pythagorean triples (a, b, c) having c = a + 2. (b) Find a primitive Pythagorean triple (a, b, c) having c = a + 2 and c > 1000. (c) Try to find a formula that describes all primitive Pythagorean triples (a, b, c) having c = a + 2.
2.7. For each primitive Pythagorean triple (a, b, c) in the table in this chapter, compute the quantity 2 c − 2 a. Do these values seem to have some special form? Try to prove that your observation is true for all primitive Pythagorean triples.
2.8. (a) Read about the Babylonian number system and write a short description, including the symbols for the numbers 1 to 10 and the multiples of 10 from 20 to 50. (b) Read about the Babylonian tablet called Plimpton 322 and write a brief description, including its approximate date of origin and some of the large Pythagorean triples that it contains.
In the previous chapter we described all solutions to
a^2 + b^2 = c^2
in whole numbers a, b, c. If we divide this equation by c^2 , we obtain
( (^) a c
b c
So the pair of rational numbers (a/c, b/c) is a solution to the equation
x^2 + y^2 = 1.
Everyone knows what the equation x^2 + y^2 = 1 looks like: It is a circle C of radius 1 with center at (0, 0). We are going to use the geometry of the circle C to find all the points on C whose xy-coordinates are rational numbers. Notice that the circle has four obvious points with rational coordinates, (± 1 , 0) and (0, ±1). Suppose that we take any (rational) number m and look at the line L going through the point (− 1 , 0) and having slope m. (See Figure 3.1.) The line L is given by the equation L : y = m(x + 1) (point–slope formula).
It is clear from the picture that the intersection C ∩L consists of exactly two points, and one of those points is (− 1 , 0). We want to find the other one. To find the intersection of C and L, we need to solve the equations
x^2 + y^2 = 1 and y = m(x + 1)
23
[Chap. 3] Pythagorean Triples and the Unit Circle 25
On the other hand, if we have a solution (x 1 , y 1 ) in rational numbers, then the slope of the line through (x 1 , y 1 ) and (− 1 , 0) will be a rational number. So by taking all possible values for m, the process we have described will yield every so- lution to x^2 + y^2 = 1 in rational numbers [except for (− 1 , 0), which corresponds to a vertical line having slope “m = ∞”]. We summarize our results in the follow- ing theorem.
Theorem 3.1. Every point on the circle
x^2 + y^2 = 1
whose coordinates are rational numbers can be obtained from the formula
(x, y) =
1 − m^2 1 + m^2
2 m 1 + m^2
by substituting in rational numbers for m_. [Except for the point_ (− 1 , 0) , which is the limiting value as m → ∞ .]
How is this formula for rational points on a circle related to our formula for Pythagorean triples? If we write the rational number m as a fraction v/u, then our formula becomes
(x, y) =
u^2 − v^2 u^2 + v^2
2 uv u^2 + v^2
and clearing denominators gives the Pythagorean triple
(a, b, c) = (u^2 − v^2 , 2 uv, u^2 + v^2 ).
This is another way of describing all Pythagorean triples, although to describe only the primitive ones would require some restrictions on u and v. You can relate this description to the formula in Chapter 2 by setting
u =
s + t 2 and v =
s − t 2
3.1. As we have just seen, we get every Pythagorean triple (a, b, c) with b even from the formula (a, b, c) = (u^2 − v^2 , 2 uv, u^2 + v^2 )
by substituting in different integers for u and v. For example, (u, v) = (2, 1) gives the smallest triple (3, 4 , 5).
[Chap. 3] Pythagorean Triples and the Unit Circle 26
(a) If u and v have a common factor, explain why (a, b, c) will not be a primitive Pytha- gorean triple. (b) Find an example of integers u > v > 0 that do not have a common factor, yet the Pythagorean triple (u^2 − v^2 , 2 uv, u^2 + v^2 ) is not primitive. (c) Make a table of the Pythagorean triples that arise when you substitute in all values of u and v with 1 ≤ v < u ≤ 10. (d) Using your table from (c), find some simple conditions on u and v that ensure that the Pythagorean triple (u^2 − v^2 , 2 uv, u^2 + v^2 ) is primitive. (e) Prove that your conditions in (d) really work.
3.2. (a) Use the lines through the point (1, 1) to describe all the points on the circle
x^2 + y^2 = 2
whose coordinates are rational numbers. (b) What goes wrong if you try to apply the same procedure to find all the points on the circle x^2 + y^2 = 3 with rational coordinates?
3.3. Find a formula for all the points on the hyperbola
x^2 − y^2 = 1
whose coordinates are rational numbers. [ Hint. Take the line through the point (− 1 , 0) having rational slope m and find a formula in terms of m for the second point where the line intersects the hyperbola.]
3.4. The curve y^2 = x^3 + 8
contains the points (1, −3) and (− 7 / 4 , 13 /8). The line through these two points intersects the curve in exactly one other point. Find this third point. Can you explain why the coordinates of this third point are rational numbers?