P-adic number


In mathematics, the -adic number system for any prime number 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, two -adic numbers are considered to be close when their difference is divisible by a high power of : the higher the power, the closer they are. This property enables -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.
These numbers were first described by Kurt Hensel in 1897, though, with hindsight, some of Ernst Kummer's earlier work can be interpreted as implicitly using -adic numbers. The -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 -adic analysis essentially provides an alternative form of calculus.
More formally, for a given prime , the field of -adic numbers is a completion of the rational numbers. The field is also given a topology derived from a metric, which is itself derived from the -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. This is what allows the development of calculus on, and it is the interaction of this analytic and algebraic structure that gives the -adic number systems their power and utility.
The in "-adic" is a variable and may be replaced with a prime or another placeholder variable. The "adic" of "-adic" comes from the ending found in words such as dyadic or triadic.

Introduction

This section is an informal introduction to -adic numbers, using examples from the ring of 10-adic numbers. Although for -adic numbers 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 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, every positive rational number can be uniquely expressed as, where and are positive integers and. Let the "absolute value" of be
Additionally, we define
Now, taking and we have
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 and is given by . An interesting consequence of the 10-adic metric is that there is no longer a need for the negative sign. 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:
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 -adic numbers – for alternatives see the Notation section below.
More formally, a 10-adic number can be defined as
where each of the is a digit taken from the set and the initial index 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 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 such that is co-prime to 10; Euler's theorem guarantees that if is co-prime to 10, then there is an such that is a multiple of . 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 whose product is 0. This means that 10-adic numbers do not always have multiplicative inverses, that is, 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. 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 or a prime power as the base of the number system instead of 10 and indeed for this reason in -adic is usually taken to be prime.
fractionoriginal decimal notation10-adic notationfractionoriginal decimal notation10-adic notationfractionoriginal decimal notation10-adic notation
0.50.50.50.90.9
0.70.80.1
0.40.1250.1250.2
0.250.250.3750.3750.3
0.750.750.6250.6250.4
0.20.20.8750.8750.5
0.40.40.90.6
0.60.60.80.7
0.80.80.60.8
0.1.50.50.9
0.87.50.30.10
0.30.20.08.75
0.60.10.10.41.75
0.90.30.30.587.25
0.20.70.70.914.25

''p''-adic expansions

When dealing with natural numbers, if is taken to be a fixed prime number, then any positive integer can be written as a base expansion in the form
where the ai are integers in. 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 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 ai = 0 for all i < 0.
With p-adic numbers, on the other hand, we choose to extend the base expansions in a different way. Unlike traditional integers, where the magnitude is determined by how far they are from zero, the "size" of -adic numbers is determined by the -adic absolute value, where high positive powers of are relatively small compared to high negative powers of. Consider infinite sums of the form:
where k is some integer, and each coefficient can be called a -adic digit. With this approach we obtain the -adic expansions of the -adic numbers. Those -adic numbers for which ai = 0 for all i < 0 are also called the -adic integers.
As opposed to real number expansions which extend to the right as sums of ever smaller, increasingly negative powers of the base, -adic numbers may expand to the left forever, a property that can often be true for the -adic integers. For example, consider the -adic expansion of 1/3 in base 5. It can be shown to be …1313132, that is, the limit of the sequence 2, 32, 132, 3132, 13132, 313132, 1313132, … :
Multiplying this infinite sum by 3 in base 5 gives …0000001. As there are no negative powers of 5 in this expansion of 1/3, we see that 1/3 satisfies the definition of being a -adic integer in base 5.
More formally, the -adic expansions can be used to define the field of -adic numbers while the -adic integers form a subring of, denoted.
While it is possible to use the approach above to define -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 -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 -adic expansions. So far this article has used a notation for -adic expansions in which powers of increase from right to left. With this right-to-left notation the 3-adic expansion of, for example, is written as
When performing arithmetic in this notation, digits are carried to the left. It is also possible to write -adic expansions so that the powers of increase from left to right, and digits are carried to the right. With this left-to-right notation the 3-adic expansion of is
-adic expansions may be written with other sets of digits instead of. For example, the 3-adic expansion of 1/5 can be written using balanced ternary digits as
In fact any set of integers which are in distinct residue classes modulo may be used as -adic digits. In number theory, Teichmüller representatives are sometimes used as digits.

Constructions

Analytic approach

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 , we define the p-adic absolute value in as follows:
for any non-zero rational number , there is a unique integer allowing us to write, where neither of the integers a and b is divisible by . Unless the numerator or denominator of in lowest terms contains as a factor, will be 0. Now define. We also define.
For example with
This definition of has the effect that high powers of become "small".
By the fundamental theorem of arithmetic, for a given non-zero rational number x there is a unique finite set of distinct primes and a corresponding sequence of non-zero integers such that:
It then follows that for all, and for any other prime
The -adic absolute value defines a metric dp on by setting
The field of -adic numbers can then be defined as the completion of the metric space ; 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. With this absolute value, the field is a local field.
It can be shown that in, every element x may be written in a unique way as
where k is some integer such that ak0 and each ai is in. This series converges to x with respect to the metric dp. The -adic integers are the elements where k is non-negative. Consequently, is isomorphic to.
Ostrowski's theorem states that each absolute value on is equivalent either to the Euclidean absolute value, the trivial absolute value, or to one of the -adic absolute values for some prime . Each absolute value leads to a different completion of.

Algebraic approach

In the algebraic approach, we first define the ring of -adic integers, and then construct the field of fractions of this ring to get the field of -adic numbers.
We start with the inverse limit of the rings
: a -adic integer is then a sequence
such that is in, and if, then
Every natural number defines such a sequence by and can therefore be regarded as a -adic integer. For example, in this case 35 as a 2-adic integer would be written as the sequence.
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 "" operator; see modular arithmetic.
Moreover, every sequence with the first element has a multiplicative inverse. In that case, for every and are coprime, and so and are relatively prime. Therefore, each has an inverse, and the sequence of these inverses,, is the sought inverse of. For example, consider the -adic integer corresponding to the natural number 7; as a 2-adic number, it would be written. This object's inverse would be written as an ever-increasing sequence that begins. 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 can be written as The partial sums of this latter series are the elements of the given sequence.
The ring of -adic integers has no zero divisors, so we can take the field of fractions to get the field of -adic numbers. Note that in this field of fractions, every non-integer -adic number can be uniquely written as with a natural number and a unit in the -adic integers. This means that
Note that, where is a multiplicative subset of a commutative ring , is an algebraic construction called the ring of fractions or localization of by.

Properties

[Cardinality]

is the inverse limit of the finite rings, which is uncountable—in fact, has the cardinality of the continuum. Accordingly, the field is uncountable. The endomorphism ring of the Prüfer -group of rank, denoted, is the ring of matrices over ; this is sometimes referred to as the Tate module.
The number of -adic numbers with terminating -adic representations is countably infinite. And, if the standard digits are taken, their value and representation coincides in and.

Topology

Define a topology on 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 . For example, in the dyadic integers, U1 is the set of odd numbers. Ua is the set of all p-adic integers whose difference from n has p-adic absolute value less than p1−a. Then is a compactification of, under the derived topology. The relative topology on as a subset of is called the -adic topology on.
The topology of is that of a Cantor set. 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 is that of a Cantor set minus any point. In particular, is compact while is not; it is only locally compact. As metric spaces, both and are complete.

Metric completions and algebraic closures

contains and is a field of characteristic. This field cannot be turned into an ordered field.
has only a single proper algebraic extension: complex number|; in other words, this quadratic extension is already algebraically closed. By contrast, the algebraic closure of, denoted has infinite degree, that is, has infinitely many inequivalent algebraic extensions. Also contrasting the case of real numbers, although there is a unique extension of the -adic valuation to the latter is not complete. Its completion is called or. Here an end is reached, as is algebraically closed. However unlike this field is not locally compact.
and are isomorphic as rings, so we may regard as 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.
If is a finite Galois extension of, the Galois group is solvable. Thus, the Galois group is prosolvable.

Multiplicative group of

contains the -th cyclotomic field if and only if. For instance, the -th cyclotomic field is a subfield of if and only if, or. In particular, there is no multiplicative -torsion in, if. Also, is the only non-trivial torsion element in.
Given a natural number, the index of the multiplicative group of the -th powers of the non-zero elements of in is finite.
The number e |, defined as the sum of reciprocals of factorials, is not a member of any -adic field; but. For one must take at least the fourth power.

Rational arithmetic

and Nigel Horspool proposed in 1979 the use of a -adic representation for rational numbers on computers 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.

Generalizations and related concepts

The reals and the -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 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 EP, the proper generalization of the field of p-adic numbers to this setting. The choice of c does not change the 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.
Often, one needs to simultaneously keep track of all the above-mentioned completions when E is a number field, which are seen as encoding "local" information. This is accomplished by adele rings and idele groups.
p-adic integers can be extended to p-adic solenoids in the same way that integers can be extended to the real numbers, as the direct product of the circle ring and the p-adic integers

Local–global principle

'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 -adic numbers for every prime . This principle holds, for example, for equations given by quadratic forms, but fails for higher polynomials in several indeterminates.

Footnotes

Citations