P-adic numbers. Rich Schwartz. October 24, 2014

Similar documents
MATH 115, SUMMER 2012 LECTURE 12

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

Math 120 HW 9 Solutions

Commutative Rings and Fields

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Polynomials. Chapter 4

Section 4.3. Polynomial Division; The Remainder Theorem and the Factor Theorem

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

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

where c R and the content of f is one. 1

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.

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

Lecture Notes Math 371: Algebra (Fall 2006) by Nathanael Leedom Ackerman

8. Limit Laws. lim(f g)(x) = lim f(x) lim g(x), (x) = lim x a f(x) g lim x a g(x)

Example: This theorem is the easiest way to test an ideal (or an element) is prime. Z[x] (x)

Statements, Implication, Equivalence

Chapter 2. Polynomial and Rational Functions. 2.5 Zeros of Polynomial Functions

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

1/30: Polynomials over Z/n.

THE P-ADIC NUMBERS AND FINITE FIELD EXTENSIONS OF Q p

a + bi by sending α = a + bi to a 2 + b 2. To see properties (1) and (2), it helps to think of complex numbers in polar coordinates:

MTH310 EXAM 2 REVIEW

Homework 8 Solutions to Selected Problems

Definition For a set F, a polynomial over F with variable x is of the form

Complex Numbers. Rich Schwartz. September 25, 2014

MATH 431 PART 2: POLYNOMIAL RINGS AND FACTORIZATION

Lecture 6: Finite Fields

Presentation 1

Modular Arithmetic and Elementary Algebra

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

Math 131 notes. Jason Riedy. 6 October, Linear Diophantine equations : Likely delayed 6

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

Winter Camp 2009 Number Theory Tips and Tricks

Simplifying Rational Expressions and Functions

Algebra. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS

Ch. 12 Higher Degree Equations Rational Root

Number Theory, Algebra and Analysis. William Yslas Vélez Department of Mathematics University of Arizona

Section 0.6: Factoring from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative

3 Polynomial and Rational Functions

1) Synthetic Division: The Process. (Ruffini's rule) 2) Remainder Theorem 3) Factor Theorem

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Chapter 8. Exploring Polynomial Functions. Jennifer Huss

Fall 2017 Test II review problems

Math 210B: Algebra, Homework 1

Chapter 3. Rings. The basic commutative rings in mathematics are the integers Z, the. Examples

Chapter 4. Remember: F will always stand for a field.

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

Q 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?

Chapter 5. Modular arithmetic. 5.1 The modular ring

Mathematical Foundations of Cryptography

ter. on Can we get a still better result? Yes, by making the rectangles still smaller. As we make the rectangles smaller and smaller, the

Chapter Five Notes N P U2C5

Algebra Homework, Edition 2 9 September 2010

One-to-one functions and onto functions

Polynomial Rings. i=0

Public-key Cryptography: Theory and Practice

MATH 3030, Abstract Algebra FALL 2012 Toby Kenney Midyear Examination Friday 7th December: 7:00-10:00 PM

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

Elementary Properties of the Integers

Today. Polynomials. Secret Sharing.

CHMC: Finite Fields 9/23/17

Introduction to Arithmetic Geometry Fall 2013 Lecture #24 12/03/2013

1 Overview and revision

1. Algebra 1.5. Polynomial Rings

15. Polynomial rings Definition-Lemma Let R be a ring and let x be an indeterminate.

Finite Fields: An introduction through exercises Jonathan Buss Spring 2014

DIHEDRAL GROUPS II KEITH CONRAD

Solutions to Homework for M351 Algebra I

be any ring homomorphism and let s S be any element of S. Then there is a unique ring homomorphism

Homework 6 Solution. Math 113 Summer 2016.

2. Two binary operations (addition, denoted + and multiplication, denoted

8. Prime Factorization and Primary Decompositions

Factorization in Integral Domains II

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 7

a b (mod m) : m b a with a,b,c,d real and ad bc 0 forms a group, again under the composition as operation.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

Chapter 1 Review of Equations and Inequalities

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

Factorization in Polynomial Rings

Homework 10 M 373K by Mark Lindberg (mal4549)

Chapter 14: Divisibility and factorization

3.4. ZEROS OF POLYNOMIAL FUNCTIONS

Lecture 7.4: Divisibility and factorization

Generalized eigenspaces

Lesson 7.1 Polynomial Degree and Finite Differences

Contribution of Problems

Notes on generating functions in automata theory

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

Discrete Math. Instructor: Mike Picollelli. Day 10

MTH 346: The Chinese Remainder Theorem

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

Math 762 Spring h Y (Z 1 ) (1) h X (Z 2 ) h X (Z 1 ) Φ Z 1. h Y (Z 2 )

Section 3.1 Quadratic Functions

GENERATING SETS KEITH CONRAD

Rings. EE 387, Notes 7, Handout #10

Chapter 8. P-adic numbers. 8.1 Absolute values

On the polynomial x(x + 1)(x + 2)(x + 3)

A Generalization of Wilson s Theorem

Transcription:

P-adic numbers Rich Schwartz October 24, 2014 1 The Arithmetic of Remainders In class we have talked a fair amount about doing arithmetic with remainders and now I m going to explain what it means in a more formal way. The set Z/n is defined to be {0,1,...,(n 1)}. An element of Z/n is usually writen as [k] to distinguish it from the integer k. Two elements in Z/n can be added and multiplied like this: First you do the operation, and then you take the remainder upon division by n. For instance, when n = 7, we have 5 + 6 = 11 4 and (5)(6) = 30 2. So, in Z/7, we have [5] + [6] = [4] and [5][6] = [2]. (As usual, [5][6] is an abbreviation for [5] [6].) If you forget about multiplication and just use addition, Z/n forms a group. Also, the associative and commutative laws are true for both operations, and the distributive law is true. A set which has two operations that satisfy all these properties is called a commutative ring. Note that the ring Z/n is actually a field when n is prime. That is, you can do division. For instance, in Z/7, we have [2][4] = [1], [3][5] = [1], [6][6] = [1]. So, [1]/[4] is defined by be [2] because [2][4] = [1]. Likewise [1]/[5] = [3] and [1]/[3] = [5] and [1]/[6] = [6]. Here is a more complicated calculation in Z/7: [3]/[4] = [3] [1]/[4] = [3] [2] = [6]. 1

2 The Reduction Maps Let s consider Z/6 and Z/3 in detail. There is a map f : Z/6 Z/3, which considers the remainder of an element of Z/6 when you divide by 3. So f([0]) = [0], f([1]) = [1], f([2]) = [2], f([3]) = [0], f([4]) = [1], f([5]) = [2]. The map f has two special properties: f([a]+[b]) = f([a])+f([b]). f([a][b]) = f([a])f([b]). A map with these properties is called a ring homomorphism. Let s try it out for [4] and [5]. We have f([4]+[5]) = f([3]) = [0], f([4])+f([5]) = [1]+[2] = [0]. f([4][5]) = f([2]) = [2], f([4])f([5]) = [1][2] = [2]. So, it works in this one case. The other cases are similar. What makes this work out is that 3 is a divisor of 6. So, you could say that you are just forgetting some information when you map from Z/6 to Z/3. Things don t work out nearly as well when you have two numbers which don t divide each other. For instance, consider the map from Z/5 into Z/3. In this case [2][4] = [3] and f[3] = [0]. On the other hand, f([2])f([4]) = [2][1] = [2]. So, f([2])f([4]) f([2][4]). Fortunately, we re never going to consider this bad situation in these notes. 3 What is a p-adic Number The p-adic numbers are defined in terms of a prime number p. For convenience, I ll always take p = 3, and (as in class) this case should suffice to explain what you would do in general. The first few powers of 3 are 3, 9, 27, 81, 243, 729. 2

We re going to consider the sequence of rings Z/3, Z/9, Z/27,... There are maps f : Z/9 Z/3, f : Z/27 Z/9, f : Z/81 Z/27, and so on. A 3-adic integer is an infinite sequence of the form [a 1 ],[a 2 ],[a 3 ],... where [a 1 ] Z/3 [z 2 ] Z/9 [z 3 ] Z/27, and so on, and f([a 2 ]) = [a 1 ], f([a 3 ]) = [a 2 ], f([a 4 ]) = [a 3 ], and so on. I ll write 3-adic integers like this a 1 a 2 a 3 a 4... The set of 3-adic integers is written as Z 3. Here is an example. 17 represents [2] in Z/3 and [8] in Z/9, and [17] for Z/27, Z/243, etc. So 2 8 17 17 17 is the 3-adic integer representing 17. We might abbreviate things and say that 17 Z 3. 3

4 Addition 3-adic numbers can be added. Here is the rule ( a1 a 2 a 3 a 4... ) + ( b 1 b 2 b 3 b 4... ) = [a 1 +b 1 ] [a 2 +b 2 ] [a 3 +b 3 ] [a 4 +b 4 ]... Let s work out some examples. The number 0 0 0 behaves just like the ordinary 0. If α is any 3-adic integer, then pretty clearly 0+α = α+0 = α. Now consider the number α = ( 2 8 26 80 242 ) The nth term of α is 3 n 1. You can check that α really is a 3-adic integer. Let β = ( 1 1 1 ) It is pretty clear that α+β = 0. We really should write α = 1. That is 1 = ( 2 8 26 80 242 ) The addition law is both commutative and associative. Does Z 3 form a group? We have already have an identity element, namely 0. We also have 1. More generally, if then α = ( a 1 a 2 a 3 a 4... ), α = ( [3 a 1 ] [9 a 2 ] [27 a 3 ] [243 a 4 ] ). So, yes Z 3 forms a group. At the end of the last section, we saw that 17 Z 3, and the construction there works for any integer. So, in fact N Z 3. But then the construction in this section shows that in fact Z Z 3. So, the 3-adic integers are a group, and they contain the integers as a subgroup. 4

5 Multiplication 3-adic integers can be multiplied. Here is the rule. ( a1 a 2 a 3 a 4... ) ( b 1 b 2 b 3 b 4... ) = [a 1 b 1 ] [a 2 b 2 ] [a 3 b 3 ] [a 4 b 4 ]... The multiplication law is commutative and associative, and also the distributive law holds. So, Z 3 is a commutative ring. Let s work out an example. Starting the integer 2, we note that [2][2] = [1] in Z/3. [2][5] = [1] in Z/9. [2][14] = [1] in Z/27. [2][42] = [1] in Z/81. and so on. In general, the nth term is (3 n +1)/2. So, if Then 2α = 1. So, we should write α = 2 5 14 42 1 2 = ( 2 5 14 42 ) If we want to figure out 1/4, we should compute (1/2) (1/2). This gives 1 4 = ( 1 7 7 63 ). Where did this come from? Well, for instance 42 42 = 1764 and 1764 represents [63] mod 243. It is harder to give a formula for the nth term of 1/4, but since the multiplication rule is commutative and associative, we know that (1/4) 4 = (1/2) (1/2) 2 2 = (1/2) 2 (1/2) 2 = 1 1 = 1 5

It might seem that the last calculation is completely obvious, but there is a subtle point. The thing we are calling 1/4 is the infinite chain above, and we want to prove that it really deserves to be called 1/4. So, we need to check that within the 3-adic integers this number really behaves like 1/4. So, we want to multiply our number by 4 and check that we get 1. Rather than do out the calculation, which would be quite hard without an explicit formula, we are saved by the associative law, which lets us deduce that the calculation would work out correctly. So far we have seen that Z Z 3 and also 1/2 Z 3 and 1/4 Z 4. By taking powers of 1/2, we see more generally that 1/8,1/16,1/32,... all belong to Z 3. What about 1/3? Is there a number in Z 3 which behaves like 1/3? The answer is no. Suppose we had We know that 1/3 = ( a 1 a 2 ). 3 = ( 0 3 3 3. ). But then we must have [a 1 ][0] = [1], and this is impossible. So, we can say that 1/3 Z 3. Here is a more general result along these lines. Lemma 5.1 If q is divisible by 3 then p/q Z 3. Proof: Suppose for the sake of contradiction that p/q Z 3 and q is divisible by 3. We can write p/q = ( a 1 a 2 ), p = ( p 1 p 2 ), q = ( q 1 q 2 ). Since q is divisible by 3, we have q 1 = 0. Since p/q is in lowest terms, we know that p is not divisible by 3. This means that either p 1 = 1 or p 2 = 2. But (p/q) (q) = p. This means that [a 1 ][0] = [1] or [a 1 ][0] = [2]. Either case is impossible. The other half of this result is also true: Theorem 5.2 If q is not divisible by 3 then p/q Z 3. The two results together tell you exactly when p/q Z 3. These notes contain a proof of Theorem 5.2, as part of a larger result called Hensel s Lemma. 6

6 Uncountability YoucanputthemembersofZ 3 inone-to-onecorrespondencewiththetrinary sequences. For instance, the trinary sequence 0, 1, 2, 1,... corresponds to the 3-adic integer 0 0+1(3) 0+1(3)+2(9) 0+1(3)+2(9)+1(27) Since the set of trinary sequences is uncountable, so is Z 3. Since the integers and the rational numbers are countable sets, Z 3 has many elements which are neither integers nor rationals. What are these other numbers like? For the most part, we don t really know. (Same as with the reals.) However, there are some things we can say. The remaining sections of these notes, which are a bit tougher than the sections above, discuss roots of polynomials in Z 3. 7 Hensel s Lemma Consider the number α = ( 1 4 13 13 175 ). We compute that α 2 = ( 1 7 7 7 7 ) It appears that 7 Z 3. You might be skeptical that the pattern continues, or that there even is a pattern. It turns out that this really does work. Here is one of the great theorems about 3-adic numbers: Theorem 7.1 Suppose that P(x) is a polynomial. Let P (x) denote the derivative of P. Suppose, for one of the three numbers k = 0,1,2, that [P(k)] = 0 in Z/3 and [P (k)] 0 in Z/3. Then P has a root in Z 3. This result is often called Hensel s Lemma. I ll give a proof of Hensel s Lemma at the end of these notes. As you might guess, there is a version of Hensel s lemma which works for any prime, and not just 3. The formulation is almost exactly the same. Here are three applications of Hensel s Lemma. 7

Application 1: Let s use Hensel s lemma so show that 7 Z 3. Consider the polynomial P(x) = x 2 7. We have P (x) = 2x. So, P(1) = [ 6] = [0] in Z/3 and also P (1) = [2] in Z/3. So, P does satisfy the hypotheses of Hensel s Lemma. Hensel s Lemma now tells us that P has a root in Z 3. This root is what we are calling 7. Application 2: Here is a fancier example. Consider the polynomial P(x) = x 99 7. Taking the derivative, we get P (x) = 99x 98. We have [P(1)] = [0] in Z/3 and [P (1)] = [99] = [1] in Z/3. So there is a 99th root of 7 in Z 3. Application 3: Let s use Hensel s Lemma to prove Theorem 5.2. So, suppose that q is not divisible by 3. We want to show that p/q Z 3. Since we already know that p Z 3, we just have to show that 1/q Z 3. That is, we have to show that the polynomial P(x) = qx 1 has a root in Z 3. Since q is not divisible by 3 and Z/3 is a field, the expression [1]/[q] is defined in Z/3. There is some k {0,1,2} so that [k][q] = [1] in Z/3. But then P(k) = 0 in Z/3. Also, P (x) = q, so [P (k)] = [q] [0] in Z/3. By Hensel s Lemma, P(x) has a root in Z 3. That s what we wanted to prove. 8 Taylor Series To prove Hensel s Lemma, we need one fact from Taylor series. Suppose that P(x) is a polynomial and a is some number. Then there is always a polynomial S(x) so that To prove this, let P(x) = P(a)+P (a)(x a)+(x a) 2 S(x). (1) Q(x) = P(x) P(a) P (a)(x a). We have Q(a) = 0 and Q (a) = 0. Since a is a root of Q, we can write Q(x) = (x a)r(x). But Q (a) = R(a). So R(a) = 0. Since a is a root of R, we have R(x) = (x a)s(x). All in all, Q(x) = (x a) 2 S(x). This is what we wanted to prove. 8

9 Proof of Hensel s Lemma Let s say that we re trying to solve the equation P(x) = 0 in Z/k. We would write P(x) = 0 mod k. This is what the mod k indicates. Let s remember the setup for Hensel s Lemma. We have a polynomial P(x) and we know that P(k) = 0 mod 3. P (k) = 0 mod 3. We set a 1 = k. We want to show that P has a root in Z 3. Let s call our root α and start it out with a 1 : α = ( a 1 ). The basic idea is to find α term by term, building on what we have so far in order to get the next term. We re interested in find a sequence a 1,a 2,a 3,... so that P(a n ) = 0 mod 3 n, where n = 1,2,3,..., and also f(a n+1 ) = a n for n = 1,2,3,... The fact that P(a 1 ) = 0 mod 3 is already given to us, and we want to find the rest of the sequence. The condition that α is a 3-adic sequence says that a n+1 = a n +3 n l (2) for some l = 0,1,2 whose value probably depends on n. The idea is to find l in each case. The main idea is that you combine Equations 1 and 2 and just do out the algebra and see that it works. I ll do it in the next section. There is one last thing I want to say before doing out the algebra. Equation 1 works for the integers, so it works mod anything. That is, when a is an integer, we have P(x) = P(a)+P (a)(x a)+(x a) 2 S(x) mod N, (3) for any N we like. 9

10 The Main Step in the Proof Let s find the (n+1)st term given the first n terms. Equation 3 (using the values a = a n and N = 3 n+1 ) tells us that P(x) = P(a n )+(x a n )P (a n )+(x a n ) 2 S(a n ), mod 3 n+1. Now let s plug in x = a n+1 and use Equation 2. P(a n+1 ) = P(a n )+(3 n l)p (a n )+(3 2n l 2 )S(a 2 ) mod 3 n+1. Note that 3 2n l 2 = 0 in Z/3 n+1 because 2n n+1. This gives us P(a n+1 ) = P(a n )+(3 n l)p (a n ) mod 3 n+1. Since a n is a root of P in Z/3 n, we have P(a n ) = 3 n b 2 in Z/3 n+1. This gives us P(a n+1 ) = 3 n b n +(3 n l)p (a n ) mod 3 n+1. Dividing by 3 n, we see that P(a n+1 ) = 0 in Z/3 n+1 provided that b n +lp (a n ) = 0 mod 3. Since a n = a n 1 =... = a 1 in Z/3, we have P (a 1 ) = P (a n ) in Z/3. Hence P (a n ) 0 in Z/3. This means that we can solve this equation: l = b n P (a n ) mod 3. Plugging in this value of l gives us a n+1 so that P(a n+1 ) = 0 in Z/3 n+1. 10