Transcription of A first introduction to p-adic numbers
1 A first introduction top-adic numbersDavid A. MadoreRevised 7th december 2000In all that follows,pwill stand for a prime ,Z,Q,RandCarethe sets of respectively the natural numbers ( non negative integers), integers,rational numbers , reals and complex some but not all of what follows, we assume the reader is familiarwith the notions of group , ring and field . We assume throughout that thereader knows the basic facts about theb-adic representation ( representation inbaseb) of integers and realsNote:I did not aim here at writing a completely rigorous document, but onlyan easily understandable introduction for those who do not have any idea of whatap-adic First definitionWe will callp-adic digita natural number between0andp 1(inclusive).
2 Ap-adic integeris by definition a sequence(ai)i Nofp-adic digits. We write thisconventionally as ai a2a1a0(that is, theaiare written from left to right).Ifnis a natural number , andn=ak 1ak 2 a1a0is itsp-adic representation (in other wordsn= k 1i=0aipiwith eachaiap-adicdigit) then we identifynwith thep-adic integer(ai)withai= 0ifi k. Thismeans that natural numbers are exactly the same thing asp-adic integer only afinite number of whose digits are not0. Also note that0is thep-adic integer all of1whose digits are0, and that1is thep-adic integer all of whose digits are0exceptthe right-most one (digit0) which = (ai)and = (bi)are twop-adic integers, we will now define theirsum.
3 To that effect, we define by induction a sequence(ci)ofp-adic digits and asquence( i)of elements of{0,1}(the carries ) as follows: 0is0. ciisai+bi+ iorai+bi+ i paccording as which of these two is ap-adic digit (in other words, is between0andp 1). In the former case, i+1= 0and in the latter, i+1= those circumstances, we let + = (ci)and we call + the sum of and . Note that the rules described above areexactlythe rules used for addingnatural numbers inp-adic representation. In particular, if and turn out to benatural numbers , then their sum as ap-adic integer is no different from their sumas a natural number .
4 So2 + 2 = 4remains valid (whateverpis but ifp= 2itwould be written 010 + 010 = 100).Here is an example of a7-adic addition: 2 5 1 4 1 3+ 1 2 1 1 0 2 4 0 2 5 1 5 This addition ofp-adic integers is associative, commutative, and verifies +0 = for all (recall that0is thep-adic integer all of whose digits are0).Subtraction ofp-adic integers is also performed in exactly the same way asthat of natural numbers inp-adic form. Since everybody reading this is assumedto have gone through first and second grade, we will not elaborate further:-).
5 Note that this subtraction scheme gives us the negative integers readily: forexample, subtract1from0(in the7-adics) : 0 0 0 0 0 0 0 0 0 0 0 1 6 6 6 6 6 6(each column borrows a1from the next one on the left). So 1 = 666as7-adics. More generally, 1is thep-adic all of whose digits arep 1, 2has allof its digits equal top 1except the right-most which isp 2, and so on. In fact,(strictly) negative integers correspond exactly to thosep-adics all of whose digitsexcept a finite number are equal top can then be verified thatp-adic integers, under addition, form an now proceed to describe multiplication.
6 First note that ifnis a naturalnumber and ap-adic integer, then we have a naturally definedn = + + (ntimes, with0 = 0of course). Ifnis negative, we let, of course,n = (( n) ). This limited multiplication satisfies some obvious equalities, such as(m+n) =m +n ,n( + ) =n +n ,m(n ) = (mn) , and so on (forthose with some background in algebra, this is not new: any abelian group is aZ-module). Note also that multiplying byp= 0010is the same as adding a0on the twop-adic integerson the other hand requires some more do that, we note that if 0, 1, 2.
7 Arep-adic integers, with 1ending in (atleast) one zero, 2ending in (at least) two zeroes, and so on, then we can definethe sum of all the i, even though they are not finite in number . Indeed, the lastdigit of the sum is just the last digit of 0(since 1, 2,..all end in zero), thesecond-last is the second-last digit of 0+ 1(because 2, 3,..all end in00),and so on: every digit of the (infinite) sum can be calculated with just a finite we suppose that we want to multiply and = (bi)twop-adic integers. Wethen let 0=b0 (we know how to define this sinceb0is just a natural number ), 1=pb1 , and so on: i=pibi.
8 Since iis ap-adic integer multiplied bypi, itends inizeroes, and therefore the sum of all the ican be procedure may sound complicated, but, once again, it is still exactly thesame as we have all learned in grade school to multiply two natural numbers . Hereis an example of a7-adic multiplication: 2 5 1 4 1 3 1 2 1 1 0 2 5 3 3 1 2 6+ 0 0 0 0 0+ 1 4 1 3+ 4 1 3+ 2 6+ 3 3 1 0 4 2 6(of course, it is relatively likely that I should have made some mistake some-where).
9 We now have a set ofp-adic integers, which we will callZp, with two binaryoperations on it, addition and multiplication. It can be checked but we will3not do it thatZpis then a commutative ring (for those who don t know whatthat means, it means that addition is associative and commutative, that zero existsand satisfies the properties we wish it to satisfy, that multiplication is associativeand commutative, and distributive over addition, and that1exists and satisfies theproperties we wish it to satisfy (namely1 = for all )).Now, how about division?
10 First, the bad news: division ofp-adics isnotper-formed in the same way as division of integers or reals. In fact, it can t always beperformed. For example,1/phas no meaning as ap-adic integer that is, theequationp = 1has no solution since multiplying ap-adic integer bypalwaysgives ap-adic integer ending in0. There is nothing really surprising here:1/pcan t be performed in the integers , what is mildly surprising is that division bypis essentially the onlydivision which cannot be performed in thep-adic integers. This statement (intechnical terms Zpis alocalring ) will not be made precise for the moment;however, we give a concrete example.