Perspectives of Mathematics

Size: px
Start display at page:

Download "Perspectives of Mathematics"

Transcription

1 Perspectives of Mathematics Module on Diophantine Equations and Geometry Fall 2004 Michael Stoll What is a diophantine equation? 1. Introduction and Examples Being diophantine is not so much a property of the equation (or, more generally, system of equations), but rather related to the kind of solutions we want to know about. Definition. A diophantine equation (or system of equations) is an algebraic equation (or system of equations) that we want to solve in integers or rational numbers. An algebraic equation is one that only uses addition, multiplication and constants (which will be integers for us); in other words, the equations take the form F (X 1,..., X n ) = 0 where F Z[X 1,..., X n ] is a polynomial with integral coefficients in a certain number of variables. The reason why these equations are named after Diophantus of Alexandria (of whom only very little is known; even his lifespan has only vaguely be determined to likely have been in the third century AD) is that he has written a series of books called Arithmetica, where he deals with certain types of such equations. His books constitute the earliest known fairly systematic treatment of problems of this kind. Here are some examples. (1) A linear equation. ax + by = c (where a, b, c are given integers). (2) Pythagorean triples. X 2 + Y 2 = Z 2. (3) Fermat s equation. X n + Y n = Z n (where n 3 is a specified integer). (4) Sums of four squares. X X X X 2 4 = n (where n > 0 is a specified integer). (5) An instance of Pell s equation. X Y 2 = 1. (6) The rational box. X 2 + Y 2 = U 2, X 2 + Z 2 = V 2, Y 2 + Z 2 = W 2, X 2 + Y 2 + Z 2 = T 2. (7) An elliptic curve. Y 2 = X (8) A generalized Fermat equation. X 2 + Y 3 = Z 7.

2 2 In example (7), we are interested in rational solutions, whereas in examples (1), (4) and (5), we are interested in integral solutions. For examples (2), (3) and (6), it doesn t really matter, since we can scale solutions by a common factor. In these cases, we will be interested in primitive integral solutions, i.e., solutions in integers without common factor. For example, (X, Y, Z) = (3, 4, 5) is a primitive integral solution of X 2 + Y 2 = Z 2, while (15, 36, 39) is not. In these homogeneous cases (where in every equation, all terms have the same total degree), we only consider non-trivial solutions the trivial solution is when all variables take the value zero (the trivial solution is obviously not primitive, so it is ruled out automatically when we restrict to primitive integral solutions). In example (8), we are also interested in primitive integral solutions (for less obvious, but very good reasons). Now, associated to such an equation or system of equations, there are two basic problems. (1) Are there (rational/integral/primitive integral) solutions at all? (2) If so, can we describe them all? Is there anything we can say in general about these problems? Yes, there is. The question whether there exists an algorithm to solve the first problem in the case of integral solutions is known as Hilbert s tenth problem. David Hilbert, who was a famous German mathematician and one of the last people who had an overview over mathematics as a whole, gave a famous talk at the International Congress of Mathematicians in 1900, where he listed 23 problems, whose solution he thought would move mathematics ahead. His tenth problem was eventually solved in the 1970s, but the solution was negative: there is no such procedure. Interestingly, Matijasevich, who finished the proof, used the theory of the Pell Equation in his work. (NB: This might be a term paper project!) In the case of rational solutions, the problem is open; it is the fundamental open problem in the area. It is likely that at least for certain classes of equations (for example, equations in two variables), there is an algorithm, but for the general problem, it is hard to judge. The second problem is, of course, even harder. We may easily spot one (or several) solutions, but to find them all (or to prove that there are no others besides the ones we found) can be really difficult. Of course, if the answer to the first problem is no, then the second is solved at the same time! To finish this introduction, let me give you some indications about the answers to the two problems for the examples I gave earlier. (1) ax + by = c (where a, b, c are given integers). This has solutions if and only if c is a multiple of the gcd of a and b. In this case, we can find one solution (x 0, y 0 ) by the Euclidean algorithm, and all solutions are then given by (x, y) = (x 0 bt, y 0 + at) for t Z. (2) X 2 + Y 2 = Z 2. There is a well-known parametrization of the primitive integral solutions, which we will derive soon in various ways. (3) X n + Y n = Z n (where n 3 is a specified integer). The only solutions are those where one of the variables vanishes. This is the statement of Fermat s Last Theorem, which only became a theorem about ten years ago.

3 (4) X1 2 + X2 2 + X3 2 + X4 2 = n (where n > 0 is a specified integer). Lagrange proved that this always has solutions. There is also a formula for the number of solutions for any given n; it is { 8 if n is odd 24 if n is even } d n,d odd (5) X Y 2 = 1. Besides the obvious solutions with Y = 0, this equation has in fact infinitely many integral solutions. They are all generated (by a recurrence formula) by the rather large basic solution X = , Y = (6) X 2 + Y 2 = U 2, X 2 + Z 2 = V 2, Y 2 + Z 2 = W 2, X 2 + Y 2 + Z 2 = T 2. Whether this has any nontrivial solution is an open problem. (There are solutions known when one of the variables is allowed to take an irrational value.) The main reason why this problem is hard is that the associated geometric object is a surface, whereas in most of the cases that can be solved, it is a curve. (7) Y 2 = X This has infinitely many rational solutions, again generated by a basic solution, which is X = Y = (Found be me a few years ago.) (8) X 2 + Y 3 = Z 7. This has exactly the following primitive integral solutions. (±1, 1, 0), (±1, 0, 1), ±(0, 1, 1), (±3, 2, 1), (±71, 17, 2), (± , 1414, 65), (± , 9262, 113), (± , 76271, 17). This is a recent result of myself together with Bjorn Poonen and Ed Schaefer. 2. Pythagorean Triples Let us start with the rather well-known case of Pythagorean Triples to show various methods to solve diophantine equations. First Approach: Algebraic/Arithmetic. We first remind ourselves that we are looking for primitive integral solutions of our equation X 2 + Y 2 = Z 2. This implies that X, Y, Z cannot be all even. Can they all be odd? No, since then the left hand side is even, but the right hand side is odd. Arguing like this, we see that two of the variables have to be odd, the last one even. Now I claim that Z must be odd. Otherwise X and Y are both odd, and then X 2 and Y 2 are both of the form 4k + 1, so their sum is of the form 4k + 2; however, Z 2 is divisible by 4, a contradiction. d 3

4 4 So we can assume that X is even, Y and Z are odd (but we have to bear in mind that there is a symmetric case with Y even). Now we write X 2 = Z 2 Y 2 = (Z Y )(Z + Y ) and observe that each of the two factors on the right is even: We can also set X = 2W. This leads to Z Y = 2U, Z + Y = 2V. W 2 = UV, and I claim that U and V have no common divisors. For any common divisor d would also divide Y = V U and Z = V + U and thence X, contradicting the assumption that the solution is primitive. Now we need the following key fact. Lemma. If a and b are coprime integers such that ab = c 2 is a square, then either a = u 2, b = v 2, or a = u 2, b = v 2 with suitable integers u and v. Proof. We consider the prime factorizations of a, b and c 2. In the latter, all primes occur with an even exponent. Now, since a and b do not have a common prime divisor, any prime p occurring in c can only occur either in a or in b (but not in both). So the power of p dividing whichever of a or b must be the same as the one dividing c 2, hence the exponent is even. So all primes dividing a or b occur in the factorization with an even exponent; this implies a = ±u 2 and b = ±v 2 with integers u and v. Finally, c 2 is positive, so a and b must have the same sign. Note that this proof is based on two facts. (1) The ring Z of integers has unique factorization: every integer can be written as a unit times a product of prime numbers, which is uniquely defined up to the ordering of the factors. (This is the so-called fundamental theorem of arithmetic.) (2) Z has just the two units 1 and 1. (A unit is an element that has a multiplicative inverse in the ring.) Let me note here that this fairly innocent-looking lemma is in fact very strong and (together with its generalizations) can be used to deal with many diophantine problems. For example, this is true for Example (7) above. Let us now use this lemma for the solution of our equation. We had rewritten it in the form W 2 = UV, where U and V are coprime. Applying the lemma, we find integers S and T such that U = S 2, V = T 2 or U = S 2, V = T 2. Going back to the original variables, we find or Y = T 2 S 2, Z = T 2 + S 2, X = 2T S Y = S 2 T 2, Z = (S 2 + T 2 ), X = 2ST. In each case, S and T must be of different parity in order to get a primitive solution. For the complete solution, we have to add another pair of such formulas, where the roles of X and Y are switched.

5 Second Approach: Geometric. Now let us prove the same result in a rather different way. We first observe that Z 0 in any primitive solution, which allows us to divide the equation by Z 2. Setting x = X/Z and y = Y/Z, we obtain x 2 + y 2 = 1, and we are now looking for rational solutions. You certainly know from school that this equation has a geometric meaning: it characterizes those points (x, y) in the cartesian plane whose distance from the origin is 1, i.e., the points on the unit circle. In this view, we are asking about the rational points on the unit circle, i.e., the points with rational coordinates. Now there are four easy points to spot: (1, 0), (0, 1), ( 1, 0), (0, 1). Can we use this to find more? The idea is to use lines. Fix one of the points above, say P = ( 1, 0). If Q = (x, y) is any other rational point on the circle, then the line joining P and Q will have rational slope y/(x + 1) (and intercept, which happens to be the same number). Conversely, if we consider the line through P with rational slope t, then it will intersect the circle again at another rational point. Let s do the math: The equation of the line is y = t(x + 1). Plugging this into the equation of the circle, we get x 2 + t 2 (x + 1) 2 = 1 or (1 + t 2 )x 2 + 2t 2 x + t 2 1 = 0. Now we know one solution of this, namely x = 1, corresponding to P. Dividing by x + 1, we get (1 + t 2 )x + t 2 1 = 0, and so x = 1 t2 1 + t 2. In this way, we get a bijection between the rational points on the circle except P and the rational numbers: Q {(x, y) Q 2 : x 2 + y 2 = 1, x 1} t ( ) 1 t 2 2t, 1+t 2 1+t 2 y (x, y) x+1 The missing point P on the right can be considered as corresponding to the limiting case t. To translate this back into primitive integral solutions to our original equation in X, Y and Z, we have to look at numerator and denominator of x and y. We write t = V/U as a fraction in lowest terms; then we have X Z = U 2 V 2 U 2 + V 2, Y Z = 2UV U 2 + V 2. Now if U and V are not both odd (so they are of different parity, since they cannot be both even either), then U 2 V 2 and U 2 + V 2 are coprime, and we get, taking Z to be positive, X = U 2 V 2, Y = 2UV, Z = U 2 + V 2 as before. If U and V are both odd, then we can write U + V = 2S, U V = 2T ; 5

6 6 this gives U 2 V 2 = 4ST, U 2 + V 2 = (S + T ) 2 + (S T ) 2 = 2(S 2 + T 2 ) and 2UV = 2(S 2 T 2 ), hence X Z = 2ST S 2 + T, Y 2 Z = S2 T 2 S 2 + T. 2 Since U = S + T is odd, S and T are of different parity, and the fractions on the right are in lowest terms. This gives the other parametrization, taking care of the case that X is even. Note that we get the point P by taking U = 0, V = 1, which corresponds to t = 1/0 =. 3. Ternary Quadratic Forms and Lattice Points Ternary Quadratic Forms. We now want to generalize the Pythagorean Triples example to more general equations of the shape Q(X, Y, Z) = a X 2 + b Y 2 + c Z 2 = 0. We again observe that if (X, Y, Z) is a nontrivial solution, then also (λx, λy, λz) is a nontrivial solution, for any λ 0. So we can either restrict to primitive integral solutions as before, or we can consider all these scaled solutions as being essentially the same solution, and therefore ask for solutions up to scaling. If we do this, it does not make a difference whether we ask for integral or for rational solutions. Given an equation like the one above, there are three problems one might want to solve. (1) Does there exist a (nontrivial integral or rational) solution? (2) If one exists, find one! (3) Describe all solutions, given one solution! We have seen how the last problem can be solved using geometry in the special case X 2 + Y 2 Z 2 = 0. The only property of the equation we need for this is that it is of degree 2. So this procedure readily generalizes. As an example, consider X Y 2 = 17 Z 2. After a few tries, we find a solution (X, Y, Z) = (3, 2, 1). We divide by Z 2 and obtain (again writing x = X/Z and y = Y/Z) the equation of an ellipse, x y 2 = 17, which has a rational point P = (3, 2). Taking the line through P of slope t, with equation y = t(x 3) + 2, and computing the other point of intersection with the ellipse, we get: and so x 2 + 2(t(x 3) + 2) 2 17 = 0 (1 + 2t 2 )x 2 + 4t(2 3t)x + (18t 2 24t 9) = 0 (x 3)((1 + 2t 2 )x + ( 6t 2 + 8t + 3)) = 0 x = 6t2 8t 3 y = t(x 3) + 2 = 4t2 6t t t In this way, we get again a bijection between the rational points on the ellipse (which are in bijection with integral/rational solutions to the original equation,

7 up to scaling) and the set of rational numbers, plus infinity (which corresponds to the point (x, y) = (3, 2)). (Question: which value of t corresponds to the point P?) Before we look at the first problem, let us make some reductions. We assume that a, b, c are nonzero integers. Now if a, b, c have a common divisor d, we can simply divide the equation by d and thus obtain a smaller equation. But we can also do something if just two coefficients, a and b, say, have a common divisor d: write a = a d, b = b d and multiply the equation by d; then you get a d 2 X 2 + b d 2 Y 2 + cd Z 2 = a (dx) 2 + b (dy ) 2 + cd Z 2 = 0. So, scaling the variables appropriately, we obtain the smaller equation a X 2 + b Y 2 + cd Z 2 (if we measure size by the absolute value of the product of the coefficients). Continuing in this way, we arrive at an equation where the coefficients a, b, c are coprime in pairs. Finally, again by scaling the variables, we can get rid of any square factors in the coefficients; therefore we can also assume that a, b, c are squarefree (i.e., not divisible by a square > 1). Now, coming back to the first problem, we can easily prove that solutions exist by exhibiting one. On the other hand, how can we prove that there are no solutions? Consider for example the case that all of a, b, c are positive. Then there is obviously no nontrivial solution, since the expression on the left hand side will always be positive: there are not even nontrivial solutions in real numbers. On the other hand, we can also use divisibility arguments. Take for example X 2 + Y 2 3 Z 2 = 0. There are certainly solutions in real numbers here, but still there are no integral solutions. For assume (X, Y, Z) is an integral solution; then by scaling, we can also assume that not all of X, Y, Z are divisible by 3. From the equation, we get that 3 divides X 2 +Y 2, and since X 2 is either of the form 3k or of the form 3k +1, this is only possible when 3 divides both X and Y. But then 9 divides 3 Z 2, and so 3 also divides Z, a contradiction. So no solution can exist. (Exercise: prove this by an argument using divisibility by 4!) What necessary conditions do we get in this way? Proposition. If there is a nontrivial integral or rational solution of a X 2 + b Y 2 + c Z 2 = 0, where a, b, c are nonzero integers, coprime in pairs and squarefree, then a, b, c cannot all have the same sign. Furthermore, there exist integers u, v, w such that a u 2 + bc, b v 2 + ac, c w 2 + ab. Proof. The first assertion is clear. For the other statement, assume (without loss of generality) that (X, Y, Z) is a primitive integral solution. Then a divides (by ) 2 + bcz 2. If Z and a had a common prime divisor p, then p would have to divide by and hence Y (since gcd(a, b) = 1). But then p 2 will divide ax 2, hence (since a is squarefree, so p 2 a) p also divides X, contradicting the assumption that (X, Y, Z) is a primitive solution. So we have gcd(a, Z) = 1; this implies that there is an integer r such that a rz 1. Taking u = rby, we see that a u 2 + bc. The existence of v and w is proved in the same way. 7

8 8 Note that we can efficiently check these necessary conditions if we know the prime factorizations of a, b, and c. (For all prime divisors p of a, we need to check that bc is a square mod p, etc. If we want to find u, v, w, we have to extract square roots modulo primes and then combine the results using the Chinese Remainder Theorem.) The surprising fact now is that these conditions are already sufficient! Theorem (Legendre). If a, b, c are nonzero integers, squarefree and coprime in pairs, not all of the same sign, and if there exist integers u, v, w such that a u 2 + bc, b v 2 + ac, c w 2 + ab, then a X 2 + b Y 2 + c Z 2 = 0 has a nontrivial integral solution. The basic idea of the proof is the following. We want to show that (for a suitable choice of (X, Y, Z) (0, 0, 0)), a certain integer z = a X 2 + b Y 2 + c Z 2 is zero. This can be done by showing two properties of z: (1) z is a multiple of d for some non-zero integer d; (2) z < d for the same d. In the proof, we will first construct a suitable subset of Z 3 such that its elements (x, y, z) satisfy 2abc a x 2 + b y 2 + c z 2. Then we will use a nice theorem to conclude that for at least one non-zero element, we also have a x 2 + b y 2 + c z 2 < 2 abc. Lattices and Minkowski s Theorem. What is a lattice? For our purposes, we will use the following definition (the usual definition is a bit more general). A lattice in R n is a subgroup Λ of finite index in Z n. (The finite index condition is equivalent to saying that there is some integer N 1 such that (NZ) n Λ.) The index (Λ) = (Z n : Λ) = #(Z n /Λ) is called the covolume of Λ. Examples of lattices are Z n itself or the even lattice Λ = {(x, y, z) Z 3 : x + y + z is even} with (Λ) = 2. More generally, we have the following. Lemma. (1) If gcd(a, r, s, t) = 1 and a 0, then Λ = {(x, y, z) Z 3 : a rx + sy + tz} is a lattice of covolume a. (2) If Λ 1, Λ 2 Z n are lattices in R n, then Λ = Λ 1 Λ 2 is again a lattice. If we also have that gcd( (Λ 1 ), (Λ 2 )) = 1, then (Λ) = (Λ 1 ) (Λ 2 ). Let us use these facts in order to come up with a lattice that will help prove the theorem. Lemma. Under the hypotheses of the theorem, there exists a lattice Λ such that (Λ) = 2 abc and such that 2abc a x 2 + b y 2 + c z 2

9 9 for all (x, y, z) Λ. Proof. For simplicity, we will assume here that abc is odd. The even case is very similar, but a little bit more involved. Let us define four lattices: Λ 1 = {(x, y, z) Z 3 : a by uz} Λ 2 = {(x, y, z) Z 3 : b cz vx} Λ 3 = {(x, y, z) Z 3 : c ax wy} Λ 4 = {(x, y, z) Z 3 : 2 x + y + z} By the first part of the lemma, we have (Λ 1 ) = a, (Λ 2 ) = b, (Λ 3 ) = c, and (Λ 4 ) = 2. So if we set Λ = Λ 1 Λ 2 Λ 3 Λ 4, we get by repeated application of the second part of the lemma that (Λ) = 2 abc. It remains to show that the divisibility statement holds. Let (x, y, z) Λ 1. Then we have the following chain of implications. a u 2 + bc = a (u 2 + bc)z 2 = a (uz) 2 + bc z 2 = a (by) 2 + bc z 2 = a b(b y 2 + c z 2 ) = a b y 2 + c z 2 = a a x 2 + b y 2 + c z 2 Similarly, we see that for (x, y, z) Λ 2 (resp. Λ 3 ), we have that b (resp. c) divides ax 2 + by 2 + cz 2. Since a, b and c are odd, we also see that ax 2 + by 2 + cz 2 is always even for (x, y, z) Λ 4. Taking all of this together, for (x, y, z) Λ, the value ax 2 + by 2 + cz 2 is divisible by a, b, c and 2. Since these four numbers are relatively prime in pairs, it follows that 2abc divides ax 2 + by 2 + cz 2. Now we want to prove that we can find (x, y, z) such that ax 2 +by 2 +cz 2 is actually zero. We know that we can at least arrange to have the value divisible by 2abc. So in order to ensure to get a zero value, it suffices to show that there is some (0, 0, 0) (x, y, z) Λ such that ax 2 + by 2 + cz 2 < 2abc. The following theorem will allow us to produce that such an element. Theorem (Minkowski). Let Λ R n be a lattice of covolume (Λ), and let S R n be convex and symmetric (meaning that if s S, we also have s S), such that vol S > 2 n (Λ). Then S contains a non-zero lattice point from Λ. In order to use this result for the proof of Legendre s Theorem, we have to come up with a sufficiently large convex symmetric set that produces the bound on ax 2 + by 2 + cz 2. At this point, we have to use the not all signs equal condition. Let us assume (without loss of generality) that a, b > 0 and c < 0. Then we can take S to be the elliptic cylinder S = {(x, y, z) R 3 : ax 2 + by 2 < 2 abc, z 2 < 2ab}. Let us check the volume condition. We have vol S = 2π abc ab 2 2ab = 4 2π abc > 16 abc = 2 3 (Λ), so this is OK, and Minkowski s Theorem tells us that there is some (0, 0, 0) (x, y, z) S Λ. For this (x, y, z), we have on the one hand that 2abc ax 2 + by 2 + cz 2.

10 10 On the other hand, by the definition of S, so 0 ax 2 + by 2 < 2 abc and 0 cz 2 > 2 abc, ax 2 + by 2 + cz 2 < 2 abc. Together, these conditions imply that ax 2 + by 2 + cz 2 = 0, finishing the proof. Here is a sketch of how you prove Minkowski s Theorem. The first step is to consider X = 1 S (i.e., the set S shrunk by a factor of 1/2) and to show that X 2 meets one of its translates X + λ for some λ Λ \ {0}. The idea for this is to note that vol X = 2 n vol S > (Λ), and so if all translates X +λ (λ Λ) were pairwise disjoint, then the union would be too large. More precisely, a big hypercube of sidelength N contains about N n / (Λ) lattice points, and so it contains about this number of translated copies of X. If they are disjoint, the volume of their union would be approximately vol X N n / (Λ) > CN n with some C > 1. On the other hand, the volume of the hypercube is only N n, leading to a contradiction. (To make this rigorous, one has to estimate the errors due to boundary effects, but this can easily be done.) This shows that there are distinct λ 1, λ 2 Λ such that (X + λ 1 ) (X + λ 2 ). But then (translating by λ 1 ), we also have that X (X + λ) with λ = λ 2 λ 1. Concretely, this means that there are x, y X such that x = y+λ, or x y = λ 0. Now S = 2X, hence 2x S, 2y S, then (since S is symmetric) 2y S, and finally λ = 1 (2x + ( 2y)) S (since S is convex: with two points, it contains the 2 midpoint of the line segment joining them). 4. Sums of Four Squares In this section, we want to state and prove Lagrange s Theorem on sums of four squares. Theorem (Lagrange). integer squares. For example, Every positive integer n is the sum of (at most) four 1 = 1 2, 2 = , 3 = , 4 = = 2 2, 5 = , 6 = , 7 = , 8 = , 9 = = 3 2, 10 = = ,... Note that 7 cannot be written as a sum of less than four squares, so four squares will be necessary in general. How can we prove a statement like this? The proof we will see has two main parts. The first part uses a multiplicative property of sums of four squares to reduce to the case that n is a prime number p. The second part is somewhat in the spirit of the proof of Legendre s Theorem: we set up a suitable lattice that gives us divisibility by p and then use Minkowski s Theorem to deduce that some lattice point does what we want. Let us look at the first part. The result we need is as follows. Lemma. If m and n are both sums of four squares, then so is mn.

11 11 Proof. Suppose that m = x x x x 2 4 and n = y1 2 + y2 2 + y3 2 + y4 2. Then one can easily check that mn = (x 1 y 1 x 2 y 2 x 3 y 3 x 4 y 4 ) 2 + (x 1 y 2 + x 2 y 1 + x 3 y 4 x 4 y 3 ) 2 + (x 1 y 3 x 2 y 4 + x 3 y 1 + x 4 y 2 ) 2 + (x 1 y 4 + x 2 y 3 x 3 y 2 + x 4 y 1 ) 2. Remark. What lies behind this is the existence of the skew field of quaternions, H = R + Ri + Rj + Rk where i 2 = j 2 = k 2 = ijk = 1; in particular, (a + bi + cj + dk)(a bi cj dk) = a 2 + b 2 + c 2 + d 2. By the lemma, using induction and the prime factorization of positive integers, we see that it suffices to show that every prime number p is a sum of four squares. The first step in approaching this is to show that at least a number divisible by p can be written in this way; more precisely, we show the following. Lemma. Let p be a prime number. Then there are integers u and v such that p divides 1 + u 2 + v 2. Proof. This is clear when p = 2 (take u = 1, v = 0), so we can assume that p is odd. The best way of looking at this is to compute with residue classes modulo p: we identify integers whose difference is a multiple of p. In this way, we get p different classes of integers (each comprising integers which leave the same remainder when divided by p), and we can add, subtract and multiply them by working with representative elements. Now the fact is: There are exactly (p + 1)/2 residue classes that are squares (of residue classes). To see this, we note that the classes of k and k have the same square, and the two classes are distinct unless both are the zero class of numbers divisible by p. On the other hand, two classes having the same square have to be identical or negatives of each other. (If p divides x 2 y 2, then p divides x y or x + y.) Since there are (p + 1)/2 (unordered) pairs consisting of a class and its negative, the claim follows. Using this, we see that there are (p + 1)/2 classes of the form 1 + u 2 and also (p + 1)/2 classes of the form v 2. Since there are only p classes altogether, there must be one class that is common to both sets of classes. But this exactly means that there are integers u and v such that p divides (1+u 2 ) ( v 2 ) = 1+u 2 +v 2. We now use these numbers u and v to define a lattice: Λ = {(x 1, x 2, x 3, x 4 ) Z 4 : p x 2 ux 1 vx 4, p x 3 vx 1 + ux 4 } Since there are two independent mod-p conditions, we get that (Λ) = p 2. Also, I claim that for every lattice element (x 1, x 2, x 3, x 4 ) Λ, we have that p divides x x x x 2 4. To see this, note that and so p x 2 ux 1 vx 4 = p x 2 2 (ux 1 + vx 4 ) 2 p x 3 vx 1 + ux 4 = p x 2 3 (vx 1 ux 4 ) 2 p x x x 2 3 x 2 4 p x (ux 1 + vx 4 ) 2 + (vx 1 ux 4 ) 2 + x 2 4 p (x x 2 4)(1 + u 2 + v 2 ),

12 12 which is true. Now we know that the sum of squares is divisible by p on Λ, we only need to know that Λ contains a sufficiently small element. We take S = {(x 1, x 2, x 3, x 4 ) R 4 : x x x x 2 4 < 2p} ; this is the open four-dimensional ball of radius 2p. What is its volume? Well, vol S = dx 1 dx 2 dx 3 dx 4 x 2 1 +x2 2 +x2 3 +x2 4 ( <2p ) = dx 3 dx 4 dx 1 dx 2 x 2 1 +x2 2 <2p x 2 3 +x2 4 <2p x2 1 x2 2 = π(2p x 2 1 x 2 2) dx 1 dx 2 = 2π 2 (2p r 2 ) r dr x 2 1 +x2 2 <2p 0 ( ) = 2π 2 pr 2 r4 2p = 2π 2 (2p 2 p 2 ) = 2π 2 p Since π 2 > 8, this is larger than 2 4 (Λ) = 16p 2, so by Minkowski s Theorem, there is some 0 (x 1, x 2, x 3, x 4 ) S Λ. Then we have that 2p p x x x x 2 4 and 0 < x x x x 2 4 < 2p, hence x x x x 2 4 = p, as was to be shown. 5. Pell s Equation In this section, we will discuss the equation X 2 d Y 2 = 1, to be solved in integers. Here, d > 1 is a squarefree integer. Let us look at some examples. For d = 2, we have the following solutions with x, y 0. x y For d = 3, we have And for d = 5, we get x y x y We observe that there are nontrivial solutions, and also that they grow quite fast (the number of digits seems to grow linearly, so the numbers grow exponentially). The sequence of solutions seems to go on, so it appears that there are infinitely many solutions. Let us first prove an important fact about the structure of the solution set. More generally, we have the following.

13 13 Lemma. Let u, v, x, y be numbers such that u 2 dv 2 = a, x 2 dy 2 = b. Then (ux + d vy) 2 d (uy + vx) 2 = ab. Proof. Simple calculation. What is behind this is the following. We consider numbers of the form x + y d with x, y Z. The map N : x + y d (x + y d)(x y d) = x 2 dy 2 is called the norm (on the ring Z[ d] whose elements are these numbers). The lemma then says that the norm is multiplicative, i.e. N(αβ) = N(α)N(β) note that (u + v d)(x + y d) = (ux + dvy) + (uy + vx) d. Now let S d = {(x, y) Z 2 : x 2 d y 2 = 1} be the solution set we are interested in. Then the lemma implies the following. The set S d is an abelian group with zero element (1, 0) and ad- Proposition. dition (x, y) + (x, y ) = (xx + d yy, xy + x y). The subset S + d of solutions with x > 0 forms a subgroup of index 2. When S+ d contains more than one element, then there is a fundamental solution with x, y > 0 and x as small as possible, and all other solutions in S + d are integral multiples of the fundamental solution (and all these integral multiples are distinct). Proof. By the lemma, the addition as defined, applied to elements of S d, yields solutions again. The group axioms are easily verified (note that the negative is (x, y) = (x, y)). In the context of the map φ : S d (x, y) x + y d R, we get a group homomorphism. The map is injective note that 1/φ(x, y) = x y d, and so x = (φ(x, y) + 1/φ(x, y))/2 and y = (φ(x, y) 1/φ(x, y))/(2 d). Under φ, S + d is the preimage of the positive reals we have dy 2 = x 2 + 1, so y d < x, hence the sign of φ(x, y) is that of x. Since the positive reals form a subgroup of the multiplicative group of nonzero reals, S + d is a subgroup of S d. Its index is 2, since the index of the positive reals is 2, and for example φ( 1, 0) = 1 < 0. Now assume that S + d {(1, 0)}. Then among all solutions with x, y > 0, there will be one with smallest x. Call it (x 1, y 1 ). This is the fundamental solution (and it is uniquely determined, since for any x, there are at most two values of y satisfying the equation, and only one can be positive). I claim that φ(x 1, y 1 ) is the smallest element in φ(s d ) that is greater than 1. This follows from x + y d > 1 x, y > 0 for all (x, y) S d (by the formulas for x and y above) and from for all (x, y), (x, y ) S d. φ(x, y ) > φ(x, y) if x > x > 0 and y, y > 0 Since α := φ(x 1, y 1 ) > 1, all its powers are distinct, hence so are the integral multiples of (x 1, y 1 ) in the group structure of S d.

14 14 Now assume that there is some (x, y) S + d that is not an integral multiple of (x 1, y 1 ). Then there is a unique n Z such that α n < β := φ(x, y) < α n+1. But then (x, y) n(x 1, y 1 ) S + d maps to βα n under φ, which is strictly between 1 and α, contradicting the choice of α = φ(x 1, y 1 ). In more concrete terms, this means that if there are nontrivial solutions, then there is a smallest positive fundamental solution (x 1, y 1 ), and all nontrivial solutions are then of the form (±x n, ±y n ), where for n 1, Equivalently, x n+1 = x 1 x n + d y 1 y n, y n+1 = y 1 x n + x 1 y n. x n + y n d = (x1 + y 1 d) n. Note (exercise!) that x n is a polynomial of degree n in x 1 alone, independent of d, e.g., x 2 = 2x 2 1 1, x 3 = 4x 3 1 3x 1. The next question, of course, is whether there are indeed nontrivial solutions. The answer is: Theorem. For every squarefree integer d > 1, the equation X 2 d Y 2 = 1 has infinitely many nontrivial solutions. They are obtained from the smallest positive solution in the way described above. In order to prove that theorem, we have to look at how well one can approximate irrational numbers by rational ones. This is quite natural in the context of Pell s Equation, since for any (positive) solution (x, y), the fraction x/y must be quite close to d: ( x ) 2 1 d = y y, 2 so x y 1 d = y 2 (x/y + d) < 1 2 d y. 2 Can we get such good approximations? Lemma. Let α R \ Q be an irrational real number. Then there are infinitely many fractions p/q Q such that p q α 1 < q. 2 Proof. The proof is combinatorial. We will in fact show that for every n 1, there is a fraction p/q with q n such that p/q α < 1/qn. This implies the statement of the lemma. Define the fractional part of a real number x to be x = x x (where x is the largest integer x); we always have 0 x < 1 and x x Z. Consider the n+1 numbers 0, α, 2α,... nα in the interval [0, 1). We subdivide this interval into n subintervals [0, 1/n), [1/n, 2/n),..., [(n 1)/n, 1). Then there must be two of the n + 1 numbers falling into the same subinterval, therefore we have lα kα < 1/n for some 0 k < l n. Let m = lα kα, then we get (l k)α m < 1 m = n l k α 1 < (l k)n, and 0 < l k n.

15 15 Now from this we obtain at least the following consequence. Lemma. There are infinitely many pairs (x, y) of positive integers such that x 2 d y 2 < 2 d + 1. Proof. By the previous lemma, there are infinitely many pairs (x, y) of positive integers such that x/y d < 1/y 2. Take such a pair. Then x y d < 1/y and therefore x + y d < 2y d + 1/y. Multiplying, we get x 2 d y 2 < 2y d + 1/y y = 2 d + 1 y 2 2 d + 1. There are only finitely many integers between 2 d 1 and 2 d + 1, so for some of them, m say, there must be infinitely many pairs (x, y) such that x 2 dy 2 = m. Note that m 0, since d is not a square. Now there are only finitely many residue classes modulo m, and hence there must be two distinct pairs (x, y) and (u, v) such that x 2 d y 2 = u 2 d v 2 = m and m x u, m y v. Then, adding (x, y) and (u, v), we have (xu dyv) 2 d(xv yu) 2 = m 2, but also that m divides xu dyv and xv yu: xu dyv x 2 dy 2 = m 0 mod m, xv yu xy xy = 0 mod m. On the other hand, since (x, y) and (u, v) are distinct, xv yu 0. So, setting s = (xu dyv)/m and t = (xv yu)/m, we have found a nontrivial solution of our equation X 2 d Y 2 = 1. Now we know that there always is a fundamental solution. But how can we find it? The answer is provided by continued fractions. Continued fractions provide a method of constructing good rational approximations. The continued fraction expansion of an irrational real number α is obtained as follows. Let α 0 = α, and then for n 0, 1 a n = α n, α n+1 = = 1 α n a n α n. Note that for n 1, α n > 1, and so a n 1. In addition, define p 2 = 0, q 2 = 1, p 1 = 1, q 1 = 0 p n+1 = a n p n + p n 1, q n+1 = a n q n + q n 1. Then for n 0, p n 1 = a 0 + =: [a q n 1 0 ; a 1, a 2,..., a n ], a a a n and these fractions are in a certain sense the best rational approximations to α. In particular, we have p n α < 1. q n qn 2

16 16 Fact. If α = d with d > 1 squarefree, then the sequence a 1, a 2,... is periodic, i.e., there is some (smallest) k 1 such that for all n 1, one has a n+k = a n. We can recognize k by the property that it is the first n 1 such that α n = m + d for some m Z. Fact. Let k be the period as above, then x = p k 1, y = q k 1 is the smallest positive solution to X 2 d Y 2 = ±1. If the sign is positive (this is the case when k is even), then it is the fundamental solution. If the sign is negative (when k is odd), then its double (2x 2 + 1, 2xy) = (p 2k 1, q 2k 1 ) is the fundamental solution of X 2 d Y 2 = 1. Example. Let us compute the fundamental solution of X 2 23 Y 2 = 1. We find n α n a n p n q n = = = = So k = 4, and x = 24, y = 5 is the fundamental solution. Some Ideas for Term Paper Projects (1) Look at, understand and perhaps implement the algorithm described by Cremona and Rusin (paper obtainable from me) for solving diagonal ternary quadratic equations ax 2 + by 2 + cz 2 = 0. (2) Learn about quadratic reciprocity and present one proof of the Law of Quadratic Reciprocity. See for example the notes for my Introductory Number Theory class (you can find them under Teaching at IUB / IntroNumTh Spring on my home page), or Ireland-Rosen, 5, or Nathanson, 3. (3) Learn about the proof by descent of Lagrange s Theorem (my notes [see above] or Ireland-Rosen, 17.7). Same for representing p 1 mod 4 as a sum of two squares, plus some other examples of descent (e.g., X 4 ± Y 4 = Z 2 ). (4) Learn about the formula for the number of ways to represent a positive integer as a sum of four squares. (Ireland-Rosen, 17.7) (Either use the formula for two squares, or understand its proof, too.) (5) Pell s Equation and Hilbert s Tenth Problem. (Chapter 2 of Matiyasevich s book. Somewhat involved but elementary.) (6) Continued fractions and Pell s Equation. (Chapter 7 of Bressoud-Wagon, for example.)

Rational Points on Conics, and Local-Global Relations in Number Theory

Rational Points on Conics, and Local-Global Relations in Number Theory Rational Points on Conics, and Local-Global Relations in Number Theory Joseph Lipman Purdue University Department of Mathematics lipman@math.purdue.edu http://www.math.purdue.edu/ lipman November 26, 2007

More information

LEGENDRE S THEOREM, LEGRANGE S DESCENT

LEGENDRE S THEOREM, LEGRANGE S DESCENT LEGENDRE S THEOREM, LEGRANGE S DESCENT SUPPLEMENT FOR MATH 370: NUMBER THEORY Abstract. Legendre gave simple necessary and sufficient conditions for the solvablility of the diophantine equation ax 2 +

More information

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2.

Gaussian integers. 1 = a 2 + b 2 = c 2 + d 2. Gaussian integers 1 Units in Z[i] An element x = a + bi Z[i], a, b Z is a unit if there exists y = c + di Z[i] such that xy = 1. This implies 1 = x 2 y 2 = (a 2 + b 2 )(c 2 + d 2 ) But a 2, b 2, c 2, d

More information

Fermat s Last Theorem for Regular Primes

Fermat s Last Theorem for Regular Primes Fermat s Last Theorem for Regular Primes S. M.-C. 22 September 2015 Abstract Fermat famously claimed in the margin of a book that a certain family of Diophantine equations have no solutions in integers.

More information

Mathematics for Cryptography

Mathematics for Cryptography Mathematics for Cryptography Douglas R. Stinson David R. Cheriton School of Computer Science University of Waterloo Waterloo, Ontario, N2L 3G1, Canada March 15, 2016 1 Groups and Modular Arithmetic 1.1

More information

QUADRATIC RINGS PETE L. CLARK

QUADRATIC RINGS PETE L. CLARK QUADRATIC RINGS PETE L. CLARK 1. Quadratic fields and quadratic rings Let D be a squarefree integer not equal to 0 or 1. Then D is irrational, and Q[ D], the subring of C obtained by adjoining D to Q,

More information

Math 120 HW 9 Solutions

Math 120 HW 9 Solutions Math 120 HW 9 Solutions June 8, 2018 Question 1 Write down a ring homomorphism (no proof required) f from R = Z[ 11] = {a + b 11 a, b Z} to S = Z/35Z. The main difficulty is to find an element x Z/35Z

More information

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma. D-MATH Algebra I HS18 Prof. Rahul Pandharipande Solution 1 Arithmetic, Zorn s Lemma. 1. (a) Using the Euclidean division, determine gcd(160, 399). (b) Find m 0, n 0 Z such that gcd(160, 399) = 160m 0 +

More information

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2

= 1 2x. x 2 a ) 0 (mod p n ), (x 2 + 2a + a2. x a ) 2 8. p-adic numbers 8.1. Motivation: Solving x 2 a (mod p n ). Take an odd prime p, and ( an) integer a coprime to p. Then, as we know, x 2 a (mod p) has a solution x Z iff = 1. In this case we can suppose

More information

Math 109 HW 9 Solutions

Math 109 HW 9 Solutions Math 109 HW 9 Solutions Problems IV 18. Solve the linear diophantine equation 6m + 10n + 15p = 1 Solution: Let y = 10n + 15p. Since (10, 15) is 5, we must have that y = 5x for some integer x, and (as we

More information

Winter Camp 2009 Number Theory Tips and Tricks

Winter Camp 2009 Number Theory Tips and Tricks Winter Camp 2009 Number Theory Tips and Tricks David Arthur darthur@gmail.com 1 Introduction This handout is about some of the key techniques for solving number theory problems, especially Diophantine

More information

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}.

2 Arithmetic. 2.1 Greatest common divisors. This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. 2 Arithmetic This chapter is about properties of the integers Z = {..., 2, 1, 0, 1, 2,...}. (See [Houston, Chapters 27 & 28]) 2.1 Greatest common divisors Definition 2.16. If a, b are integers, we say

More information

ELLIPTIC CURVES BJORN POONEN

ELLIPTIC CURVES BJORN POONEN ELLIPTIC CURVES BJORN POONEN 1. Introduction The theme of this lecture is to show how geometry can be used to understand the rational number solutions to a polynomial equation. We will illustrate this

More information

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 57 5. p-adic Numbers 5.1. Motivating examples. We all know that 2 is irrational, so that 2 is not a square in the rational field Q, but that we can

More information

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2 Solutions to odd-numbered exercises Peter J Cameron, Introduction to Algebra, Chapter 1 The answers are a No; b No; c Yes; d Yes; e No; f Yes; g Yes; h No; i Yes; j No a No: The inverse law for addition

More information

PELL S EQUATION, II KEITH CONRAD

PELL S EQUATION, II KEITH CONRAD PELL S EQUATION, II KEITH CONRAD 1. Introduction In Part I we met Pell s equation x dy = 1 for nonsquare positive integers d. We stated Lagrange s theorem that every Pell equation has a nontrivial solution

More information

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

More information

0 Sets and Induction. Sets

0 Sets and Induction. Sets 0 Sets and Induction Sets A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a A to denote that a is an element of the set

More information

THE UNIT GROUP OF A REAL QUADRATIC FIELD

THE UNIT GROUP OF A REAL QUADRATIC FIELD THE UNIT GROUP OF A REAL QUADRATIC FIELD While the unit group of an imaginary quadratic field is very simple the unit group of a real quadratic field has nontrivial structure Its study involves some geometry

More information

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra D. R. Wilkins Contents 3 Topics in Commutative Algebra 2 3.1 Rings and Fields......................... 2 3.2 Ideals...............................

More information

1. multiplication is commutative and associative;

1. multiplication is commutative and associative; Chapter 4 The Arithmetic of Z In this chapter, we start by introducing the concept of congruences; these are used in our proof (going back to Gauss 1 ) that every integer has a unique prime factorization.

More information

Number Theory. Henry Liu, 6 July 2007

Number Theory. Henry Liu, 6 July 2007 Number Theory Henry Liu, 6 July 007 1. Introduction In one sentence, number theory is the area of mathematics which studies the properties of integers. Some of the most studied subareas are the theories

More information

Introduction to Algebraic Geometry. Franz Lemmermeyer

Introduction to Algebraic Geometry. Franz Lemmermeyer Introduction to Algebraic Geometry Franz Lemmermeyer February 6, 2005 Chapter 1 The Unit Circle We will start our journey to the land of algebraic geometry by discussing the simplest algebraic varieties,

More information

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University

THESIS. Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University The Hasse-Minkowski Theorem in Two and Three Variables THESIS Presented in Partial Fulfillment of the Requirements for the Degree Master of Science in the Graduate School of The Ohio State University By

More information

Introduction to Number Theory

Introduction to Number Theory Introduction to Number Theory Paul Yiu Department of Mathematics Florida Atlantic University Spring 017 March 7, 017 Contents 10 Pythagorean and Heron triangles 57 10.1 Construction of Pythagorean triangles....................

More information

Introduction to Number Theory

Introduction to Number Theory INTRODUCTION Definition: Natural Numbers, Integers Natural numbers: N={0,1,, }. Integers: Z={0,±1,±, }. Definition: Divisor If a Z can be writeen as a=bc where b, c Z, then we say a is divisible by b or,

More information

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 2: Mathematical Concepts Divisibility Congruence Quadratic Residues

More information

9. Integral Ring Extensions

9. Integral Ring Extensions 80 Andreas Gathmann 9. Integral ing Extensions In this chapter we want to discuss a concept in commutative algebra that has its original motivation in algebra, but turns out to have surprisingly many applications

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences.

MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. MATH 433 Applied Algebra Lecture 4: Modular arithmetic (continued). Linear congruences. Congruences Let n be a postive integer. The integers a and b are called congruent modulo n if they have the same

More information

Prime Numbers and Irrational Numbers

Prime Numbers and Irrational Numbers Chapter 4 Prime Numbers and Irrational Numbers Abstract The question of the existence of prime numbers in intervals is treated using the approximation of cardinal of the primes π(x) given by Lagrange.

More information

1 Overview and revision

1 Overview and revision MTH6128 Number Theory Notes 1 Spring 2018 1 Overview and revision In this section we will meet some of the concerns of Number Theory, and have a brief revision of some of the relevant material from Introduction

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation

More information

Introduction: Pythagorean Triplets

Introduction: Pythagorean Triplets Introduction: Pythagorean Triplets On this first day I want to give you an idea of what sorts of things we talk about in number theory. In number theory we want to study the natural numbers, and in particular

More information

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31

2 Lecture 2: Logical statements and proof by contradiction Lecture 10: More on Permutations, Group Homomorphisms 31 Contents 1 Lecture 1: Introduction 2 2 Lecture 2: Logical statements and proof by contradiction 7 3 Lecture 3: Induction and Well-Ordering Principle 11 4 Lecture 4: Definition of a Group and examples 15

More information

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

THUE S LEMMA AND IDONEAL QUADRATIC FORMS THUE S LEMMA AND IDONEAL QUADRATIC FORMS PETE L. CLARK Introduction Recently I learned about Thue s Lemma, an elementary result on congruences due to the Norwegian mathematician Axel Thue (1863-1922).

More information

Table of Contents. 2013, Pearson Education, Inc.

Table of Contents. 2013, Pearson Education, Inc. Table of Contents Chapter 1 What is Number Theory? 1 Chapter Pythagorean Triples 5 Chapter 3 Pythagorean Triples and the Unit Circle 11 Chapter 4 Sums of Higher Powers and Fermat s Last Theorem 16 Chapter

More information

Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations

Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations Hilbert s theorem 90, Dirichlet s unit theorem and Diophantine equations B. Sury Stat-Math Unit Indian Statistical Institute 8th Mile Mysore Road Bangalore - 560 059 India. sury@isibang.ac.in Introduction

More information

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES

THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES THE TRIANGULAR THEOREM OF THE PRIMES : BINARY QUADRATIC FORMS AND PRIMITIVE PYTHAGOREAN TRIPLES Abstract. This article reports the occurrence of binary quadratic forms in primitive Pythagorean triangles

More information

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...} WORKSHEET ON NUMBERS, MATH 215 FALL 18(WHYTE) We start our study of numbers with the integers: Z = {..., 2, 1, 0, 1, 2, 3,... } and their subset of natural numbers: N = {1, 2, 3,...} For now we will not

More information

Summary Slides for MATH 342 June 25, 2018

Summary Slides for MATH 342 June 25, 2018 Summary Slides for MATH 342 June 25, 2018 Summary slides based on Elementary Number Theory and its applications by Kenneth Rosen and The Theory of Numbers by Ivan Niven, Herbert Zuckerman, and Hugh Montgomery.

More information

Commutative Rings and Fields

Commutative Rings and Fields Commutative Rings and Fields 1-22-2017 Different algebraic systems are used in linear algebra. The most important are commutative rings with identity and fields. Definition. A ring is a set R with two

More information

Exploring Number Theory via Diophantine Equations

Exploring Number Theory via Diophantine Equations Exploring Number Theory via Diophantine Equations Department of Mathematics Colorado College Fall, 2009 Outline Some History Linear Pythagorean Triples Introduction to Continued Fractions Elementary Problems

More information

A Few Primality Testing Algorithms

A Few Primality Testing Algorithms A Few Primality Testing Algorithms Donald Brower April 2, 2006 0.1 Introduction These notes will cover a few primality testing algorithms. There are many such, some prove that a number is prime, others

More information

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers ALGEBRA CHRISTIAN REMLING 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers by Z = {..., 2, 1, 0, 1,...}. Given a, b Z, we write a b if b = ac for some

More information

Numbers, Groups and Cryptography. Gordan Savin

Numbers, Groups and Cryptography. Gordan Savin Numbers, Groups and Cryptography Gordan Savin Contents Chapter 1. Euclidean Algorithm 5 1. Euclidean Algorithm 5 2. Fundamental Theorem of Arithmetic 9 3. Uniqueness of Factorization 14 4. Efficiency

More information

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations Page 1 Definitions Tuesday, May 8, 2018 12:23 AM Notations " " means "equals, by definition" the set of all real numbers the set of integers Denote a function from a set to a set by Denote the image of

More information

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm April 11, 2010 1 Algebra We start by discussing algebraic structures and their properties. This is presented in more depth than what we

More information

MATH 361: NUMBER THEORY FOURTH LECTURE

MATH 361: NUMBER THEORY FOURTH LECTURE MATH 361: NUMBER THEORY FOURTH LECTURE 1. Introduction Everybody knows that three hours after 10:00, the time is 1:00. That is, everybody is familiar with modular arithmetic, the usual arithmetic of the

More information

THUE S LEMMA AND IDONEAL QUADRATIC FORMS

THUE S LEMMA AND IDONEAL QUADRATIC FORMS THUE S LEMMA AND IDONEAL QUADRATIC FORMS PETE L. CLARK Abstract. The representation of integers by binary quadratic forms is one of the oldest problems in number theory, going back at least to Fermat s

More information

Notes: Pythagorean Triples

Notes: Pythagorean Triples Math 5330 Spring 2018 Notes: Pythagorean Triples Many people know that 3 2 + 4 2 = 5 2. Less commonly known are 5 2 + 12 2 = 13 2 and 7 2 + 24 2 = 25 2. Such a set of integers is called a Pythagorean Triple.

More information

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2

= 5 2 and = 13 2 and = (1) = 10 2 and = 15 2 and = 25 2 BEGINNING ALGEBRAIC NUMBER THEORY Fermat s Last Theorem is one of the most famous problems in mathematics. Its origin can be traced back to the work of the Greek mathematician Diophantus (third century

More information

that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remain

that if a b (mod m) and c d (mod m), then ac bd (mod m) soyou aren't allowed to use this fact!) A5. (a) Show that a perfect square must leave a remain PUTNAM PROBLEM SOLVING SEMINAR WEEK 2 The Rules. You are not allowed to try a problem that you already know how to solve. These are way too many problems to consider. Just pick a few problems in one of

More information

Diophantine equations

Diophantine equations Diophantine equations So far, we have considered solutions to equations over the real and complex numbers. This chapter instead focuses on solutions over the integers, natural and rational numbers. There

More information

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

MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS. Contents 1. Polynomial Functions 1 2. Rational Functions 6 MATH 2400 LECTURE NOTES: POLYNOMIAL AND RATIONAL FUNCTIONS PETE L. CLARK Contents 1. Polynomial Functions 1 2. Rational Functions 6 1. Polynomial Functions Using the basic operations of addition, subtraction,

More information

THE CONGRUENT NUMBER PROBLEM

THE CONGRUENT NUMBER PROBLEM THE CONGRUENT NUMBER PROBLEM KEITH CONRAD 1. Introduction A right triangle is called rational when its legs and hypotenuse are all rational numbers. Examples of rational right triangles include Pythagorean

More information

FACTORIZATION OF IDEALS

FACTORIZATION OF IDEALS FACTORIZATION OF IDEALS 1. General strategy Recall the statement of unique factorization of ideals in Dedekind domains: Theorem 1.1. Let A be a Dedekind domain and I a nonzero ideal of A. Then there are

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #2 09/10/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #2 09/10/2013 18.78 Introduction to Arithmetic Geometry Fall 013 Lecture # 09/10/013.1 Plane conics A conic is a plane projective curve of degree. Such a curve has the form C/k : ax + by + cz + dxy + exz + fyz with

More information

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z:

NUMBER SYSTEMS. Number theory is the study of the integers. We denote the set of integers by Z: NUMBER SYSTEMS Number theory is the study of the integers. We denote the set of integers by Z: Z = {..., 3, 2, 1, 0, 1, 2, 3,... }. The integers have two operations defined on them, addition and multiplication,

More information

1: Introduction to Lattices

1: Introduction to Lattices CSE 206A: Lattice Algorithms and Applications Winter 2012 Instructor: Daniele Micciancio 1: Introduction to Lattices UCSD CSE Lattices are regular arrangements of points in Euclidean space. The simplest

More information

Eighth Homework Solutions

Eighth Homework Solutions Math 4124 Wednesday, April 20 Eighth Homework Solutions 1. Exercise 5.2.1(e). Determine the number of nonisomorphic abelian groups of order 2704. First we write 2704 as a product of prime powers, namely

More information

Projective space. There are some situations when this approach seems to break down; for example with an equation like f(x; y) =y 2 (x 3 5x +3) the lin

Projective space. There are some situations when this approach seems to break down; for example with an equation like f(x; y) =y 2 (x 3 5x +3) the lin Math 445 Handy facts since the second exam Don't forget the handy facts from the first two exams! Rational points on curves For more general curves, defined by polynomials f(x; y) = 0 of higher degree,

More information

PREPARATION NOTES FOR NUMBER THEORY PRACTICE WED. OCT. 3,2012

PREPARATION NOTES FOR NUMBER THEORY PRACTICE WED. OCT. 3,2012 PREPARATION NOTES FOR NUMBER THEORY PRACTICE WED. OCT. 3,2012 0.1. Basic Num. Th. Techniques/Theorems/Terms. Modular arithmetic, Chinese Remainder Theorem, Little Fermat, Euler, Wilson, totient, Euclidean

More information

2. Prime and Maximal Ideals

2. Prime and Maximal Ideals 18 Andreas Gathmann 2. Prime and Maximal Ideals There are two special kinds of ideals that are of particular importance, both algebraically and geometrically: the so-called prime and maximal ideals. Let

More information

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u. 5. Fields 5.1. Field extensions. Let F E be a subfield of the field E. We also describe this situation by saying that E is an extension field of F, and we write E/F to express this fact. If E/F is a field

More information

Module 2: Reflecting on One s Problems

Module 2: Reflecting on One s Problems MATH55 Module : Reflecting on One s Problems Main Math concepts: Translations, Reflections, Graphs of Equations, Symmetry Auxiliary ideas: Working with quadratics, Mobius maps, Calculus, Inverses I. Transformations

More information

Congruent Number Problem and Elliptic curves

Congruent Number Problem and Elliptic curves Congruent Number Problem and Elliptic curves December 12, 2010 Contents 1 Congruent Number problem 2 1.1 1 is not a congruent number.................................. 2 2 Certain Elliptic Curves 4 3 Using

More information

Number Theory in Problem Solving. Konrad Pilch

Number Theory in Problem Solving. Konrad Pilch Number Theory in Problem Solving Konrad Pilch April 7, 2016 1 Divisibility Number Theory concerns itself mostly with the study of the natural numbers (N) and the integers (Z). As a consequence, it deals

More information

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus...

4 PRIMITIVE ROOTS Order and Primitive Roots The Index Existence of primitive roots for prime modulus... PREFACE These notes have been prepared by Dr Mike Canfell (with minor changes and extensions by Dr Gerd Schmalz) for use by the external students in the unit PMTH 338 Number Theory. This booklet covers

More information

Some Highlights along a Path to Elliptic Curves

Some Highlights along a Path to Elliptic Curves 11/8/016 Some Highlights along a Path to Elliptic Curves Part : Conic Sections and Rational Points Steven J Wilson, Fall 016 Outline of the Series 1 The World of Algebraic Curves Conic Sections and Rational

More information

Computations/Applications

Computations/Applications Computations/Applications 1. Find the inverse of x + 1 in the ring F 5 [x]/(x 3 1). Solution: We use the Euclidean Algorithm: x 3 1 (x + 1)(x + 4x + 1) + 3 (x + 1) 3(x + ) + 0. Thus 3 (x 3 1) + (x + 1)(4x

More information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

Discrete Math, Second Problem Set (June 24)

Discrete Math, Second Problem Set (June 24) Discrete Math, Second Problem Set (June 24) REU 2003 Instructor: Laszlo Babai Scribe: D Jeremy Copeland 1 Number Theory Remark 11 For an arithmetic progression, a 0, a 1 = a 0 +d, a 2 = a 0 +2d, to have

More information

Constructions with ruler and compass.

Constructions with ruler and compass. Constructions with ruler and compass. Semyon Alesker. 1 Introduction. Let us assume that we have a ruler and a compass. Let us also assume that we have a segment of length one. Using these tools we can

More information

NOTES (1) FOR MATH 375, FALL 2012

NOTES (1) FOR MATH 375, FALL 2012 NOTES 1) FOR MATH 375, FALL 2012 1 Vector Spaces 11 Axioms Linear algebra grows out of the problem of solving simultaneous systems of linear equations such as 3x + 2y = 5, 111) x 3y = 9, or 2x + 3y z =

More information

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R. Chapter 1 Rings We have spent the term studying groups. A group is a set with a binary operation that satisfies certain properties. But many algebraic structures such as R, Z, and Z n come with two binary

More information

w d : Y 0 (N) Y 0 (N)

w d : Y 0 (N) Y 0 (N) Upper half-plane formulas We want to explain the derivation of formulas for two types of objects on the upper half plane: the Atkin- Lehner involutions and Heegner points Both of these are treated somewhat

More information

Arithmetic Progressions Over Quadratic Fields

Arithmetic Progressions Over Quadratic Fields Arithmetic Progressions Over Quadratic Fields Alexander Diaz, Zachary Flores, Markus Vasquez July 2010 Abstract In 1640 Pierre De Fermat proposed to Bernard Frenicle de Bessy the problem of showing that

More information

Topological properties

Topological properties CHAPTER 4 Topological properties 1. Connectedness Definitions and examples Basic properties Connected components Connected versus path connected, again 2. Compactness Definition and first examples Topological

More information

CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS

CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS CONTINUED FRACTIONS, PELL S EQUATION, AND TRANSCENDENTAL NUMBERS JEREMY BOOHER Continued fractions usually get short-changed at PROMYS, but they are interesting in their own right and useful in other areas

More information

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35

Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35 Honors Algebra 4, MATH 371 Winter 2010 Assignment 3 Due Friday, February 5 at 08:35 1. Let R 0 be a commutative ring with 1 and let S R be the subset of nonzero elements which are not zero divisors. (a)

More information

NOTES ON FINITE FIELDS

NOTES ON FINITE FIELDS NOTES ON FINITE FIELDS AARON LANDESMAN CONTENTS 1. Introduction to finite fields 2 2. Definition and constructions of fields 3 2.1. The definition of a field 3 2.2. Constructing field extensions by adjoining

More information

Algebraic structures I

Algebraic structures I MTH5100 Assignment 1-10 Algebraic structures I For handing in on various dates January March 2011 1 FUNCTIONS. Say which of the following rules successfully define functions, giving reasons. For each one

More information

Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget

Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, 2015 - Lest

More information

Study Guide for Math 095

Study Guide for Math 095 Study Guide for Math 095 David G. Radcliffe November 7, 1994 1 The Real Number System Writing a fraction in lowest terms. 1. Find the largest number that will divide into both the numerator and the denominator.

More information

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties:

A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: Byte multiplication 1 Field arithmetic A field F is a set of numbers that includes the two numbers 0 and 1 and satisfies the properties: F is an abelian group under addition, meaning - F is closed under

More information

Square-Triangular Numbers

Square-Triangular Numbers Square-Triangular Numbers Jim Carlson April 26, 2004 Contents 1 Introduction 2 2 Existence 2 3 Finding an equation 3 4 Solutions by brute force 4 5 Speeding things up 5 6 Solutions by algebraic numbers

More information

PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators.

PRACTICE FINAL MATH , MIT, SPRING 13. You have three hours. This test is closed book, closed notes, no calculators. PRACTICE FINAL MATH 18.703, MIT, SPRING 13 You have three hours. This test is closed book, closed notes, no calculators. There are 11 problems, and the total number of points is 180. Show all your work.

More information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

Intermediate Math Circles February 26, 2014 Diophantine Equations I

Intermediate Math Circles February 26, 2014 Diophantine Equations I Intermediate Math Circles February 26, 2014 Diophantine Equations I 1. An introduction to Diophantine equations A Diophantine equation is a polynomial equation that is intended to be solved over the integers.

More information

Chapter 5. Number Theory. 5.1 Base b representations

Chapter 5. Number Theory. 5.1 Base b representations Chapter 5 Number Theory The material in this chapter offers a small glimpse of why a lot of facts that you ve probably nown and used for a long time are true. It also offers some exposure to generalization,

More information

3. The Sheaf of Regular Functions

3. The Sheaf of Regular Functions 24 Andreas Gathmann 3. The Sheaf of Regular Functions After having defined affine varieties, our next goal must be to say what kind of maps between them we want to consider as morphisms, i. e. as nice

More information

φ(xy) = (xy) n = x n y n = φ(x)φ(y)

φ(xy) = (xy) n = x n y n = φ(x)φ(y) Groups 1. (Algebra Comp S03) Let A, B and C be normal subgroups of a group G with A B. If A C = B C and AC = BC then prove that A = B. Let b B. Since b = b1 BC = AC, there are a A and c C such that b =

More information

History of Mathematics

History of Mathematics History of Mathematics Paul Yiu Department of Mathematics Florida Atlantic University Summer 2011 6A: Fermat: Beginning of modern number theory (2) Fermat s little theorem Given a prime p, and any geometric

More information

x y z 2x y 2y z 2z x n

x y z 2x y 2y z 2z x n Integer Solutions, Rational solutions of the equations 4 4 4 x y z x y y z z x n 4 4 and x y z xy xz y z n; And Crux Mathematicorum Contest Corner problem CC4 Konstantine Zelator P.O. Box 480 Pittsburgh,

More information

Euler s, Fermat s and Wilson s Theorems

Euler s, Fermat s and Wilson s Theorems Euler s, Fermat s and Wilson s Theorems R. C. Daileda February 17, 2018 1 Euler s Theorem Consider the following example. Example 1. Find the remainder when 3 103 is divided by 14. We begin by computing

More information

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2,

SOLUTIONS TO PROBLEM SET 1. Section = 2 3, 1. n n + 1. k(k + 1) k=1 k(k + 1) + 1 (n + 1)(n + 2) n + 2, SOLUTIONS TO PROBLEM SET 1 Section 1.3 Exercise 4. We see that 1 1 2 = 1 2, 1 1 2 + 1 2 3 = 2 3, 1 1 2 + 1 2 3 + 1 3 4 = 3 4, and is reasonable to conjecture n k=1 We will prove this formula by induction.

More information

5 Group theory. 5.1 Binary operations

5 Group theory. 5.1 Binary operations 5 Group theory This section is an introduction to abstract algebra. This is a very useful and important subject for those of you who will continue to study pure mathematics. 5.1 Binary operations 5.1.1

More information

SOME AMAZING PROPERTIES OF THE FUNCTION f(x) = x 2 * David M. Goldschmidt University of California, Berkeley U.S.A.

SOME AMAZING PROPERTIES OF THE FUNCTION f(x) = x 2 * David M. Goldschmidt University of California, Berkeley U.S.A. SOME AMAZING PROPERTIES OF THE FUNCTION f(x) = x 2 * David M. Goldschmidt University of California, Berkeley U.S.A. 1. Introduction Today we are going to have a look at one of the simplest functions in

More information