Everipedia Logo
Everipedia is now IQ.wiki - Join the IQ Brainlist and our Discord for early access to editing on the new platform and to participate in the beta testing.
p-adic number

p-adic number

In mathematics, the p-adic number system for any prime number p extends the ordinary arithmetic of the rational numbers in a different way from the extension of the rational number system to the real and complex number systems. The extension is achieved by an alternative interpretation of the concept of "closeness" or absolute value. In particular, p-adic numbers are considered to be close when their difference is divisible by a high power of p: the higher the power, the closer they are. This property enables p-adic numbers to encode congruence information in a way that turns out to have powerful applications in number theory – including, for example, in the famous proof of Fermat's Last Theorem by Andrew Wiles.[6]

p-adic numbers were first described by Kurt Hensel in 1897,[7] though, with hindsight, some of Ernst Kummer's earlier work can be interpreted as implicitly using p-adic numbers.[1] The p-adic numbers were motivated primarily by an attempt to bring the ideas and techniques of power series methods into number theory. Their influence now extends far beyond this. For example, the field of p-adic analysis essentially provides an alternative form of calculus.

More formally, for a given prime p, the field Qp of p-adic numbers is a completion of the rational numbers. The field Qp is also given a topology derived from a metric, which is itself derived from the p-adic order, an alternative valuation on the rational numbers. This metric space is complete in the sense that every Cauchy sequence converges to a point in Qp. This is what allows the development of calculus on Qp, and it is the interaction of this analytic and algebraic structure that gives the p-adic number systems their power and utility.

The p in "p-adic" is a variable and may be replaced with a prime (yielding, for instance, "the 2-adic numbers") or another placeholder variable (for expressions such as "the ℓ-adic numbers"). The "adic" of "p-adic" comes from the ending found in words such as dyadic or triadic.

Introduction

This section is an informal introduction to p-adic numbers, using examples from the ring of 10-adic (decadic) numbers. Although for p-adic numbers p should be a prime, base 10 was chosen to highlight the analogy with decimals. The decadic numbers are generally not used in mathematics: since 10 is not prime or prime power, the decadics are not a field. More formal constructions and properties are given below.

In the standard decimal representation, almost all[2] real numbers do not have a terminating decimal representation. For example, 1/3 is represented as a non-terminating decimal as follows

Informally, non-terminating decimals are easily understood, because it is clear that a real number can be approximated to any required degree of precision by a terminating decimal. If two decimal expansions differ only after the 10th decimal place, they are quite close to one another; and if they differ only after the 20th decimal place, they are even closer.

10-adic numbers use a similar non-terminating expansion, but with a different concept of "closeness". Whereas two decimal expansions are close to one another if their difference is a large negative power of 10, two 10-adic expansions are close if their difference is a large positive power of 10. Thus 4739 and 5739, which differ by 103, are close in the 10-adic world, and 72694473 and 82694473 are even closer, differing by 107.

More precisely, a positive rational number rcan be uniquely expressed asr =:p/q·10d, wherepandqare positive integers andp,q, and 10 are pairwise relatively prime. Let the10-adic"absolute value"[3] of be
 .

Additionally, we define

 .

Now, taking p/q = 1 and d = 0,1,2,... we have

|100|10= 100,|101|10= 10−1,|102|10= 10−2, ...,

with the consequence that we have

 .

Closeness in any number system is defined by a metric. Using the 10-adic metric the distance between numbers x and y is given by |x − y|10. An interesting consequence of the 10-adic metric (or of a p-adic metric) is that there is no longer a need for the negative sign. (In fact, there is no order relation which is compatible with the ring operations and this metric) As an example, by examining the following sequence we can see how unsigned 10-adics can get progressively closer and closer to the number −1:

       so .       so .       so .       so .

and taking this sequence to its limit, we can deduce the 10-adic expansion of −1

 ,

thus

 ,

an expansion which clearly is a ten's complement representation.

In this notation, 10-adic expansions can be extended indefinitely to the left, in contrast to decimal expansions, which can be extended indefinitely to the right. Note that this is not the only way to write p-adic numbers – for alternatives see the Notation section below.

More formally, a 10-adic number can be defined as

where each of the a**i is a digit taken from the set {0, 1, … , 9} and the initial index n may be positive, negative or 0, but must be finite. From this definition, it is clear that positive integers and positive rational numbers with terminating decimal expansions will have terminating 10-adic expansions that are identical to their decimal expansions. Other numbers may have non-terminating 10-adic expansions.

It is possible to define addition, subtraction, and multiplication on 10-adic numbers in a consistent way, so that the 10-adic numbers form a commutative ring.

We can create 10-adic expansions for "negative numbers"[4] as follows

and fractions which have non-terminating decimal expansions also have non-terminating 10-adic expansions. For example

Generalizing the last example, we can find a 10-adic expansion with no digits to the right of the decimal point for any rational number p/q such that q is co-prime to 10; Euler's theorem guarantees that if q is co-prime to 10, then there is an n such that 10n − 1 is a multiple of q. The other rational numbers can be expressed as 10-adic numbers with some digits after the decimal point.

As noted above, 10-adic numbers have a major drawback. It is possible to find pairs of non-zero 10-adic numbers (which are not rational, thus having an infinite number of digits) whose product is 0.[8][5] This means that 10-adic numbers do not always have multiplicative inverses i.e. valid reciprocals, which in turn implies that though 10-adic numbers form a ring they do not form a field, a deficiency that makes them much less useful as an analytical tool. Another way of saying this is that the ring of 10-adic numbers is not an integral domain because they contain zero divisors.[5] The reason for this property turns out to be that 10 is a composite number which is not a power of a prime. This problem is simply avoided by using a prime number p or a prime power pn as the base of the number system instead of 10 and indeed for this reason p in p-adic is usually taken to be prime.

fractionoriginal decimal notation10-adic notationfractionoriginal decimal notation10-adic notationfractionoriginal decimal notation10-adic notation
0.50.5
714285
42857150.90.9
3
67
857142
7142858
09
091
6
340.1250.125
18
182
0.250.250.3750.375
27
273
0.750.750.6250.625
36
364
0.20.20.8750.875
45
455
0.40.4
1
89
54
546
0.60.6
2
78
63
637
0.80.8
4
56
72
728
0.163.5
5
45
81
819
0.8367.5
7
23
90
0910
142857
2857143
8
120.0836.75
285714
57142860.10.10.4163.75
428571
85714290.30.30.58367.25
571428
14285720.70.70.91634.25

p-adic expansions

When dealing with natural numbers, if p is taken to be a fixed prime number, then any positive integer can be written as a base p expansion in the form

where the a**i are integers in {0, … , p − 1}.[9] For example, the binary expansion of 35 is 1·25 + 0·24 + 0·23 + 0·22 + 1·21 + 1·20, often written in the shorthand notation 1000112.

The familiar approach to extending this description to the larger domain of the rationals[10][11] (and, ultimately, to the reals) is to use sums of the form:

A definite meaning is given to these sums based on Cauchy sequences, using the absolute value as metric. Thus, for example, 1/3 can be expressed in base 5 as the limit of the sequence 0.1313131313...5. In this formulation, the integers are precisely those numbers for which a**i = 0 for all i < 0.

With p-adic numbers, on the other hand, we choose to extend the base p expansions in a different way. Unlike traditional integers, where the magnitude is determined by how far they are from zero, the "size" of p-adic numbers is determined by the p-adic absolute value, where high positive powers of p are relatively small compared to high negative powers of p. Consider infinite sums of the form:

where k is some (not necessarily positive) integer, and each coefficientcan be called a **p-adic digit**.[12] With this approach we obtain the **p-adic expansions** of thep-adic numbers. Thosep-adic numbers for which ai= 0 for all i < 0 are also called the **p-adic integers**.

As opposed to real number expansions which extend to the right as sums of ever smaller, increasingly negative powers of the base p, p-adic numbers may expand to the left forever, a property that can often be true for the p-adic integers. For example, consider the p-adic expansion of 1/3 in base 5. It can be shown to be …13131325, i.e., the limit of the sequence 25, 325, 1325, 31325, 131325, 3131325, 13131325, … :

Multiplying this infinite sum by 3 in base 5 gives …00000015. As there are no negative powers of 5 in this expansion of 1/3 (i.e. no numbers to the right of the decimal point), we see that 1/3 satisfies the definition of being a p-adic integer in base 5.

More formally, the p-adic expansions can be used to define the field Qp of p-adic numbers while the p-adic integers form a subring of Qp, denoted Zp. (Not to be confused with the ring of integers modulo p which is also sometimes written Zp. To avoid ambiguity, Z/pZ or Z/(p) are often used to represent the integers modulo p.)

While it is possible to use the approach above to define p-adic numbers and explore their properties, just as in the case of real numbers other approaches are generally preferred. Hence we want to define a notion of infinite sum which makes these expressions meaningful, and this is most easily accomplished by the introduction of the p-adic metric. Two different but equivalent solutions to this problem are presented in the Constructions section below.

Notation

There are several different conventions for writing p-adic expansions. So far this article has used a notation for p-adic expansions in which powers of p increase from right to left. With this right-to-left notation the 3-adic expansion of ​1⁄5, for example, is written as

When performing arithmetic in this notation, digits are carried to the left. It is also possible to write p-adic expansions so that the powers of p increase from left to right, and digits are carried to the right. With this left-to-right notation the 3-adic expansion of ​1⁄5 is

p-adic expansions may be written with other sets of digits instead of {0, 1, …, p − 1}. For example, the 3-adic expansion of 1/5 can be written using balanced ternary digits {1,0,1} as

In fact any set of p integers which are in distinct residue classes modulo p may be used as p-adic digits. In number theory, Teichmüller representatives are sometimes used as digits.[13]

Constructions

Analytic approach

p= 2← distance = 1 →
Decimal
Binary
← d = ½ →← d = ½ →
‹ d=¼ ›‹ d=¼ ›‹ d=¼ ›‹ d=¼ ›
‹⅛›‹⅛›‹⅛›‹⅛›‹⅛›‹⅛›‹⅛›‹⅛›
................................................
17 10001J
1610000J
151111L
141110L
131101L
121100L
111011L
101010L
91001L
81000L
7111L
6110L
5101L
4100L
311L
210L
11L
00…000L
−11…111J
−21…110J
−31…101J
−41…100J
DecBin················································









2-adic (p= 2) arrangement of integers, from left to right. This shows a hierarchical subdivision pattern common for ultrametric spaces. Points within a distance 1/8 are grouped in one colored strip. A pair of strips within a distance 1/4 has the same chroma, four strips within a distance 1/2 have the same hue. The hue is determined by the least significant bit, the saturation – by the next (21) bit, and the brightness depends on the value of 22bit. Bits (digit places) which are less significant for the usual metric are more significant for thep-adic distance.

The real numbers can be defined as equivalence classes of Cauchy sequences of rational numbers; this allows us to, for example, write 1 as 1.000… = 0.999… . The definition of a Cauchy sequence relies on the metric chosen, though, so if we choose a different one, we can construct numbers other than the real numbers. The usual metric which yields the real numbers is called the Euclidean metric.

For a given prime p, we define the p-adic absolute value in Q as follows: for any non-zero rational number x, there is a unique integer n allowing us to write x = p**n(a/b), where neither of the integers a and b is divisible by p. Unless the numerator or denominator of x in lowest terms contains p as a factor, n will be 0. Now define |x|p = pn. We also define |0|p = 0.

For example with x = 63/550 = 2−1·32·5−2·7·11−1

This definition of|x|phas the effect that high powers of pbecome "small". By thefundamental theorem of arithmetic, for a given non-zero rational number x there is a unique finite set of distinct primesand a corresponding sequence of non-zero integerssuch that:
It then follows thatfor all, andfor any other prime

The p-adic absolute value defines a metric dp on Q by setting

The field Qp of p-adic numbers can then be defined as the completion of the metric space (Q, dp); its elements are equivalence classes of Cauchy sequences, where two sequences are called equivalent if their difference converges to zero. In this way, we obtain a complete metric space which is also a field and contains Q. With this absolute value, the field Qp is a local field.

It can be shown that in Qp, every element x may be written in a unique way as

where k is some integer such that a**k0 and each a**i is in {0, …, p − 1 }. This series converges to x with respect to the metric dp. The p-adic integers Zp are the elements where k is non-negative. Consequently, Qp is isomorphic to Z[1/p] + Zp.[14]

Ostrowski's theorem states that each absolute value on Q is equivalent either to the Euclidean absolute value, the trivial absolute value, or to one of the p-adic absolute values for some prime p. Each absolute value (or metric) leads to a different completion of Q. (With the trivial absolute value, Q is already complete.)

Algebraic approach

In the algebraic approach, we first define the ring of p-adic integers, and then construct the field of fractions of this ring to get the field of p-adic numbers.

We start with the inverse limit of the rings Z/pnZ** (see modular arithmetic): a p-adic integer m is then a sequence (an)n≥1 such that a**n is in Z/pnZ**, and if nm, then ana**m (mod p**n).

Every natural number m defines such a sequence (a**n) by a**n = m mod pn and can therefore be regarded as a p-adic integer. For example, in this case 35 as a 2-adic integer would be written as the sequence (1, 3, 3, 3, 3, 35, 35, 35, …).

The operators of the ring amount to pointwise addition and multiplication of such sequences. This is well defined because addition and multiplication commute with the "mod" operator; see modular arithmetic.

Moreover, every sequence (a**n) where the first element is not 0 has an inverse. In that case, for every n, an and p are coprime, and so an and pn are relatively prime. Therefore, each an has an inverse mod pn, and the sequence of these inverses, (bn), is the sought inverse of (an). For example, consider the p-adic integer corresponding to the natural number 7; as a 2-adic number, it would be written (1, 3, 7, 7, 7, 7, 7, ...). This object's inverse would be written as an ever-increasing sequence that begins (1, 3, 7, 7, 23, 55, 55, 183, 439, 439, 1463 ...). Naturally, this 2-adic integer has no corresponding natural number.

Every such sequence can alternatively be written as a series. For instance, in the 3-adics, the sequence (2, 8, 8, 35, 35, ...) can be written as 2 + 2·3 + 0·32 + 1·33 + 0·34 + ... The partial sums of this latter series are the elements of the given sequence.

The ring of p-adic integers has no zero divisors, so we can take the field of fractions to get the field Qp of p-adic numbers. Note that in this field of fractions, every non-integer p-adic number can be uniquely written as pn**u with a natural number n and a unit u in the p-adic integers. This means that

Note thatS−1A, whereis a multiplicative subset (contains the unit and closed under multiplication) of a commutative ring (with unit), is an algebraic construction called the ring of fractions orlocalizationofby.

Properties

Cardinality

Zp is the inverse limit of the finite rings Z/p**kZ, which is uncountable[15]—in fact, has the cardinality of the continuum. Accordingly, the field Qp is uncountable. The endomorphism ring of the Prüfer p-group of rank n, denoted Z(p∞)n, is the ring of n × n matrices over Zp; this is sometimes referred to as the Tate module.

The number ofp-adic numbers with terminatingp-adic representations iscountably infinite. And, if the standard digitsare taken, their value and representation coincides inZpandR.

Topology

Define a topology on Zp by taking as a basis of open sets all sets of the form

where a is a non-negative integer and n is an integer in [1, pa]. For example, in the dyadic integers, U1(1) is the set of odd numbers. Ua(n) is the set of all p-adic integers whose difference from n has p-adic absolute value less than p1−a. Then Zp is a compactification of Z, under the derived topology (it is not a compactification of Z with its usual discrete topology). The relative topology on Z as a subset of Zp is called the p-adic topology on Z.

The topology ofZpis that of aCantor set.[16] For instance, we can make a continuous 1-to-1 mapping between the dyadic integers and the Cantor set expressed in base 3 by
where

The topology of Qp is that of a Cantor set minus any point. In particular, Zp is compact while Qp is not; it is only locally compact. As metric spaces, both Zp and Qp are complete.[17]

Metric completions and algebraic closures

Qp contains Q and is a field of characteristic 0. This field cannot be turned into an ordered field.

Rhas only a single properalgebraic extension:C; in other words, this quadratic extension is alreadyalgebraically closed. By contrast, thealgebraic closureofQp, denotedhas infinite degree,[18] i.e.Qphas infinitely many inequivalent algebraic extensions. Also contrasting the case of real numbers, although there is a unique extension of thep-adic valuation tothe latter is not (metrically) complete.[19][20] Its (metric) completion is calledCporΩp.[20][21] Here an end is reached, asCpis algebraically closed.[20][22] However unlikeCthis field is not locally compact.[21]

Cp and C are isomorphic as rings, so we may regard Cp as C endowed with an exotic metric. The proof of existence of such a field isomorphism relies on the axiom of choice, and does not provide an explicit example of such an isomorphism (i.e., it is not constructive).

IfKis a finiteGalois extensionofQp, theGalois groupissolvable. Thus, the Galois groupisprosolvable.

Multiplicative group of Qp

Qp contains the n-th cyclotomic field (n > 2) if and only if n | p − 1.[23] For instance, the n-th cyclotomic field is a subfield of Q13 if and only if n = 1, 2, 3, 4, 6, or 12. In particular, there is no multiplicative p-torsion in Qp, if p > 2. Also, −1 is the only non-trivial torsion element in Q2.

Given a natural numberk, the index of the multiplicative group of thek-th powers of the non-zero elements ofQpinis finite.
The numbere, defined as the sum of reciprocals offactorials, is not a member of anyp-adic field; but*e p
  • Q
p(p ≠ 2). Forp = 2one must take at least the fourth power.[24] (Thus a number with similar properties ase— namely ap-th root of*e p
— is a member offor allp.)

Rational arithmetic

Eric Hehner and Nigel Horspool proposed in 1979 the use of a p-adic representation for rational numbers on computers[25] called Quote notation. The primary advantage of such a representation is that addition, subtraction, and multiplication can be done in a straightforward manner analogous to similar methods for binary integers; and division is even simpler, resembling multiplication. However, it has the disadvantage that representations can be much larger than simply storing the numerator and denominator in binary (for more details see Quote notation#Length of representation).

The reals and the p-adic numbers are the completions of the rationals; it is also possible to complete other fields, for instance general algebraic number fields, in an analogous way. This will be described now.

Suppose D is a Dedekind domain and E is its field of fractions. Pick a non-zero prime ideal P of D. If x is a non-zero element of E, then xD is a fractional ideal and can be uniquely factored as a product of positive and negative powers of non-zero prime ideals of D. We write ordP(x) for the exponent of P in this factorization, and for any choice of number c greater than 1 we can set

Completing with respect to this absolute value |.|P yields a field E**P, the proper generalization of the field of p-adic numbers to this setting. The choice of c does not change the completion (different choices yield the same concept of Cauchy sequence, so the same completion). It is convenient, when the residue field D/P is finite, to take for c the size of D/P.

For example, when E is a number field, Ostrowski's theorem says that every non-trivial non-Archimedean absolute value on E arises as some |.|P. The remaining non-trivial absolute values on E arise from the different embeddings of E into the real or complex numbers. (In fact, the non-Archimedean absolute values can be considered as simply the different embeddings of E into the fields Cp, thus putting the description of all the non-trivial absolute values of a number field on a common footing.)

Often, one needs to simultaneously keep track of all the above-mentioned completions when E is a number field (or more generally a global field), which are seen as encoding "local" information. This is accomplished by adele rings and idele groups.

Local–global principle

Helmut Hasse's local–global principle is said to hold for an equation if it can be solved over the rational numbers if and only if it can be solved over the real numbers and over the p-adic numbers for every prime p. This principle holds e.g. for equations given by quadratic forms, but fails for higher polynomials in several indeterminates.

See also

  • 1 + 2 + 4 + 8 + ...

  • C-minimal theory

  • Hensel's lemma

  • k-adic notation

  • Mahler's theorem

  • p-adic quantum mechanics

  • Profinite integer

  • Volkenborn integral

References

[1]
Citation Linkopenlibrary.orgTranslator's introduction, page 35: "Indeed, with hindsight it becomes apparent that a discrete valuation is behind Kummer's concept of ideal numbers."(Dedekind, Richard; Weber, Heinrich (2012), Theory of Algebraic Functions of One Variable, History of mathematics, 39, American Mathematical Society, ISBN 978-0-8218-8330-3, p. 35)
Sep 24, 2019, 1:03 AM
[2]
Citation Linkopenlibrary.orgThe number of real numbers with terminating decimal representations is countably infinite, while the number of real numbers without such a representation is uncountably infinite.
Sep 24, 2019, 1:03 AM
[3]
Citation Linkopenlibrary.orgThe so defined function is not really an absolute value, because the requirement of multiplicativity is violated: , but . It suffices, however, for establishing a metric, because this does not need multiplicativity.
Sep 24, 2019, 1:03 AM
[4]
Citation Linkopenlibrary.orgMore precisely: additively inverted numbers, because there are no numbers less than 0.
Sep 24, 2019, 1:03 AM
[5]
Citation Linkopenlibrary.orgFor let and . Then, for i ≥ 1 there is with , so that the sequence is Cauchy under the metric with . Same for . However, .
Sep 24, 2019, 1:03 AM
[6]
Citation Linkopenlibrary.org(Gouvêa, F. Q. (March 1994), "A Marvelous Proof", American Mathematical Monthly, 101 (3): 203–222, doi:10.2307/2975598, JSTOR 2975598, pp. 203–222)
Sep 24, 2019, 1:03 AM
[7]
Citation Linkopenlibrary.org(Hensel, Kurt (1897), "Über eine neue Begründung der Theorie der algebraischen Zahlen", Jahresbericht der Deutschen Mathematiker-Vereinigung, 6 (3): 83–88)
Sep 24, 2019, 1:03 AM
[8]
Citation Linkwww.numericana.comSee Gérard Michon's article at
Sep 24, 2019, 1:03 AM
[9]
Citation Linkopenlibrary.org(Kelley, John L. (2008) [1955], General Topology, New York: Ishi Press, ISBN 978-0-923891-55-8, pp. 22–25)
Sep 24, 2019, 1:03 AM
[10]
Citation Linkwww.cut-the-knot.orgBogomolny, Alexander. "p-adic Expansions".
Sep 24, 2019, 1:03 AM
[11]
Citation Linkcetinkoc.netKoç, Çetin. "A Tutorial on p-adic Arithmetic" (PDF).
Sep 24, 2019, 1:03 AM
[12]
Citation Linkwww.madore.orgMadore, David. "A first introduction to p-adic numbers" (PDF).
Sep 24, 2019, 1:03 AM
[13]
Citation Linkopenlibrary.org(Hazewinkel, M., ed. (2009), Handbook of Algebra, 6, North Holland, p. 342, ISBN 978-0-444-53257-2, p. 342)
Sep 24, 2019, 1:03 AM
[14]
Citation Linkopenlibrary.orgBump, Daniel (1998). Automorphic Forms and Representations. Cambridge Studies in Advanced Mathematics. 55. Cambridge University Press. p. 277. ISBN 9780521658188.
Sep 24, 2019, 1:03 AM
[15]
Citation Linkopenlibrary.org(Robert, Alain M. (2000), A Course inp*-adic Analysis*, Springer, ISBN 0-387-98669-3, Chapter 1 Section 1.1)
Sep 24, 2019, 1:03 AM
[16]
Citation Linkopenlibrary.org(, Chapter 1 Section 2.3)
Sep 24, 2019, 1:03 AM
[17]
Citation Linkopenlibrary.org(Gouvêa, Fernando Q. (1997), p-adic Numbers: An Introduction (2nd ed.), Springer, ISBN 3-540-62911-4, Zbl 0874.11002, Corollary 3.3.8)
Sep 24, 2019, 1:03 AM
[18]
Citation Linkopenlibrary.org(, Corollary 5.3.10)
Sep 24, 2019, 1:03 AM
[19]
Citation Linkopenlibrary.org(, Theorem 5.7.4)
Sep 24, 2019, 1:03 AM
[20]
Citation Linkopenlibrary.org(Cassels, J. W. S. (1986), Local Fields, London Mathematical Society Student Texts, 3, Cambridge University Press, ISBN 0-521-31525-5, Zbl 0595.12006, p. 149)
Sep 24, 2019, 1:03 AM