p-adic number#Quote notation
{{Short description|Number system extending the rational numbers}}
{{DISPLAYTITLE:p-adic number}}
Image:3-adic integers with dual colorings.svg group]]
In number theory, given a prime number {{mvar|p}},{{efn-num|In this article, unless otherwise stated, {{mvar|p}} denotes a prime number that is fixed once for all.}} the {{mvar|p}}-adic numbers form an extension of the rational numbers which is distinct from the real numbers, though with some similar properties; {{mvar|p}}-adic numbers can be written in a form similar to (possibly infinite) decimals, but with digits based on a prime number {{mvar|p}} rather than ten, and extending to the left rather than to the right.
For example, comparing the expansion of the rational number in Ternary numeral system vs. the {{math|3}}-adic expansion,
:
\tfrac15 &{}= 0.01210121\ldots \ (\text{base } 3)
&&{}= 0\cdot 3^0 + 0\cdot 3^{-1} + 1\cdot 3^{-2} + 2\cdot 3^{-3} + \cdots \\[5mu]
\tfrac15 &{}= \dots 121012102 \ \ (\text{3-adic})
&&{}= \cdots + 2\cdot 3^3 + 1 \cdot 3^2 + 0\cdot3^1 + 2 \cdot 3^0.
\end{alignat}
Formally, given a prime number {{mvar|p}}, a {{mvar|p}}-adic number can be defined as a series
:
where {{mvar|k}} is an integer (possibly negative), and each is an integer such that A {{mvar|p}}-adic integer is a {{mvar|p}}-adic number such that
In general the series that represents a {{mvar|p}}-adic number is not convergent in the usual sense, but it is convergent for the p-adic absolute value where {{mvar|k}} is the least integer {{mvar|i}} such that (if all are zero, one has the zero {{mvar|p}}-adic number, which has {{math|0}} as its {{mvar|p}}-adic absolute value).
Every rational number can be uniquely expressed as the sum of a series as above, with respect to the {{mvar|p}}-adic absolute value. This allows considering rational numbers as special {{mvar|p}}-adic numbers, and alternatively defining the {{mvar|p}}-adic numbers as the completion of the rational numbers for the {{mvar|p}}-adic absolute value, exactly as the real numbers are the completion of the rational numbers for the usual absolute value.
{{mvar|p}}-adic numbers were first described by Kurt Hensel in 1897,{{Harv|Hensel|1897}} though, with hindsight, some of Ernst Kummer's earlier work can be interpreted as implicitly using {{mvar|p}}-adic numbers.Translator's introduction, [https://books.google.com/books?id=Qxte2mhlEOYC&pg=PA35 page 35]: "Indeed, with hindsight it becomes apparent that a discrete valuation is behind Kummer's concept of ideal numbers." {{Harv|Dedekind|Weber|2012|p=35}}
Motivation
Roughly speaking, modular arithmetic modulo a positive integer {{mvar|n}} consists of "approximating" every integer by the remainder of its division by {{mvar|n}}, called its residue modulo {{mvar|n}}. The main property of modular arithmetic is that the residue modulo {{mvar|n}} of the result of a succession of operations on integers is the same as the result of the same succession of operations on residues modulo {{mvar|n}}. If one knows that the absolute value of the result is less than {{mvar|n/2}}, this allows a computation of the result which does not involve any integer larger than {{mvar|n}}.
For larger results, an old method, still in common use, consists of using several small moduli that are pairwise coprime, and applying the Chinese remainder theorem for recovering the result modulo the product of the moduli.
Another method discovered by Kurt Hensel consists of using a prime modulus {{mvar|p}}, and applying Hensel's lemma for recovering iteratively the result modulo If the process is continued infinitely, this provides eventually a result which is a {{mvar|p}}-adic number.
Basic lemmas
The theory of {{mvar|p}}-adic numbers is fundamentally based on the two following lemmas:
Every nonzero rational number can be written where {{mvar|v}}, {{mvar|m}}, and {{mvar|n}} are integers and neither {{mvar|m}} nor {{mvar|n}} is divisible by {{mvar|p}}. The exponent {{mvar|v}} is uniquely determined by the rational number and is called its {{mvar|p}}-adic valuation (this definition is a particular case of a more general definition, given below). The proof of the lemma results directly from the fundamental theorem of arithmetic.
Every nonzero rational number {{mvar|r}} of valuation {{mvar|v}} can be uniquely written where {{mvar|s}} is a rational number of valuation greater than {{mvar|v}}, and {{mvar|a}} is an integer such that
The proof of this lemma results from modular arithmetic: By the above lemma, where {{mvar|m}} and {{mvar|n}} are integers coprime with {{mvar|p}}.
By Bézout's lemma, there exist integers {{mvar|a}} and {{mvar|b}}, with , such that
Setting (hence ), we have
:
To show the uniqueness of this representation, observe that if with
and ,
there holds by difference with and .
Write , where {{mvar|d}} is coprime to {{mvar|p}}; then
, which is possible only if and .
Hence and .
The above process can be iterated starting from {{mvar|s}} instead of {{mvar|r}}, giving the following.
Given a nonzero rational number {{mvar|r}} of valuation {{mvar|v}} and a positive integer {{mvar|k}}, there are a rational number of nonnegative valuation and {{mvar|k}} uniquely defined nonnegative integers less than {{mvar|p}} such that and
:
The {{mvar|p}}-adic numbers are essentially obtained by continuing this infinitely to produce an infinite series.
''p''-adic series
The {{mvar|p}}-adic numbers are commonly defined by means of {{mvar|p}}-adic series.
A {{mvar|p}}-adic series is a formal power series of the form
:
where is an integer and the are rational numbers that either are zero or have a nonnegative valuation (that is, the denominator of is not divisible by {{mvar|p}}).
Every rational number may be viewed as a {{mvar|p}}-adic series with a single nonzero term, consisting of its factorization of the form with {{mvar|n}} and {{mvar|d}} both coprime with {{mvar|p}}.
Two {{mvar|p}}-adic series and
are equivalent if there is an integer {{mvar|N}} such that, for every integer the rational number
:
is zero or has a {{mvar|p}}-adic valuation greater than {{mvar|n}}.
A {{mvar|p}}-adic series is normalized if either all are integers such that
The {{mvar|p}}-adic numbers are often defined as the equivalence classes of {{mvar|p}}-adic series, in a similar way as the definition of the real numbers as equivalence classes of Cauchy sequences. The uniqueness property of normalization, allows uniquely representing any {{mvar|p}}-adic number by the corresponding normalized {{mvar|p}}-adic series. The compatibility of the series equivalence leads almost immediately to basic properties of {{mvar|p}}-adic numbers:
- Addition, multiplication and multiplicative inverse of {{mvar|p}}-adic numbers are defined as for formal power series, followed by the normalization of the result.
- With these operations, the {{mvar|p}}-adic numbers form a field, which is an extension field of the rational numbers.
- The valuation of a nonzero {{mvar|p}}-adic number {{mvar|x}}, commonly denoted
v_p(x) is the exponent of {{mvar|p}} in the first non zero term of the corresponding normalized series; the valuation of zero isv_p(0)=+\infty - The {{mvar|p}}-adic absolute value of a nonzero {{mvar|p}}-adic number {{mvar|x}}, is
|x|_p=p^{-v(x)}; for the zero {{mvar|p}}-adic number, one has|0|_p=0.
= Normalization of a ''p''-adic series =
Starting with the series
Then, if the series is not normalized, consider the first nonzero
Definition
There are several equivalent definitions of {{mvar|p}}-adic numbers. The one that is given here is relatively elementary, since it does not involve any other mathematical concepts than those introduced in the preceding sections. Other equivalent definitions use completion of a discrete valuation ring (see {{slink||p-adic integers}}), completion of a metric space (see {{slink||Topological properties}}), or inverse limits (see {{slink||Modular properties}}).
A {{mvar|p}}-adic number can be defined as a normalized {{mvar|p}}-adic series. Since there are other equivalent definitions that are commonly used, one says often that a normalized {{mvar|p}}-adic series represents a {{mvar|p}}-adic number, instead of saying that it is a {{mvar|p}}-adic number.
One can say also that any {{mvar|p}}-adic series represents a {{mvar|p}}-adic number, since every {{mvar|p}}-adic series is equivalent to a unique normalized {{mvar|p}}-adic series. This is useful for defining operations (addition, subtraction, multiplication, division) of {{mvar|p}}-adic numbers: the result of such an operation is obtained by normalizing the result of the corresponding operation on series. This well defines operations on {{mvar|p}}-adic numbers, since the series operations are compatible with equivalence of {{mvar|p}}-adic series.
{{anchor|Field of p-adic numbers}}
With these operations, {{mvar|p}}-adic numbers form a field called the field of {{math|p}}-adic numbers and denoted
The valuation of a nonzero {{mvar|p}}-adic number {{mvar|x}}, commonly denoted
''p''-adic integers
The {{mvar|p}}-adic integers are the {{mvar|p}}-adic numbers with a nonnegative valuation.
A
:
of residues
Every integer is a
The {{mvar|p}}-adic integers form a commutative ring, denoted
- It is an integral domain, since it is a subring of a field, or since the first term of the series representation of the product of two non zero {{mvar|p}}-adic series is the product of their first terms.
- The units (invertible elements) of
\Z_p are the {{mvar|p}}-adic numbers of valuation zero. - It is a principal ideal domain, such that each ideal is generated by a power of {{mvar|p}}.
- It is a local ring of Krull dimension one, since its only prime ideals are the zero ideal and the ideal generated by {{mvar|p}}, the unique maximal ideal.
- It is a discrete valuation ring, since this results from the preceding properties.
- It is the completion of the local ring
\Z_{(p)} = \{\tfrac nd \mid n, d \in \Z,\, d \not\in p\Z \}, which is the localization of\Z at the prime idealp\Z.
The last property provides a definition of the {{mvar|p}}-adic numbers that is equivalent to the above one: the field of the {{mvar|p}}-adic numbers is the field of fractions of the completion of the localization of the integers at the prime ideal generated by {{mvar|p}}.
Topological properties
The {{mvar|p}}-adic valuation allows defining an absolute value on {{mvar|p}}-adic numbers: the {{mvar|p}}-adic absolute value of a nonzero {{mvar|p}}-adic number {{mvar|x}} is
:
where
|x|_p = 0 if and only ifx=0; |x|_p\cdot |y|_p = |xy|_p |x+y|_p\le \max(|x|_p,|y|_p) \le |x|_p + |y|_p.
Moreover, if
This makes the {{mvar|p}}-adic numbers a metric space, and even an ultrametric space, with the {{mvar|p}}-adic distance defined by
As a metric space, the {{mvar|p}}-adic numbers form the completion of the rational numbers equipped with the {{mvar|p}}-adic absolute value. This provides another way for defining the {{mvar|p}}-adic numbers. However, the general construction of a completion can be simplified in this case, because the metric is defined by a discrete valuation (in short, one can extract from every Cauchy sequence a subsequence such that the differences between two consecutive terms have strictly decreasing absolute values; such a subsequence is the sequence of the partial sums of a {{mvar|p}}-adic series, and thus a unique normalized {{mvar|p}}-adic series can be associated to every equivalence class of Cauchy sequences; so, for building the completion, it suffices to consider normalized {{mvar|p}}-adic series instead of equivalence classes of Cauchy sequences).
As the metric is defined from a discrete valuation, every open ball is also closed. More precisely, the open ball
This implies that the {{mvar|p}}-adic numbers form a locally compact space (locally compact field), and the {{mvar|p}}-adic integers—that is, the ball
''p''-adic expansion of rational numbers
The decimal expansion of a positive rational number
:
where
The {{mvar|p}}-adic expansion of a rational number is defined similarly, but with a different division step. More precisely, given a fixed prime number
: {{anchor|division_step}}
where and The : obtained by repeating indefinitely the above division step on successive remainders. In a {{mvar|p}}-adic expansion, all If The existence and the computation of the {{mvar|p}}-adic expansion of a rational number results from Bézout's identity in the following way. If, as above, : Then, the Euclidean division of : with This gives the division step as : r & = & p^k(q p+a) + p^{k+1}\frac {u n}d \\ & = & a p^k +p^{k+1}\,\frac{q d+u n} d, \\ \end{array}
so that in the iteration
:
is the new rational number.
The uniqueness of the division step and of the whole {{mvar|p}}-adic expansion is easy: if and the following must be true: The {{mvar|p}}-adic expansion of a rational number is a series that converges to the rational number, if one applies the definition of a convergent series with the {{mvar|p}}-adic absolute value. In the standard {{mvar|p}}-adic notation, the digits are written in the same order as in a Positional notation#Base of the numeral system, namely with the powers of the base increasing to the left. This means that the production of the digits is reversed and the limit happens on the left hand side. The {{mvar|p}}-adic expansion of a rational number is eventually periodic. Conversely, a series converges (for the {{mvar|p}}-adic absolute value) to a rational number if and only if it is eventually periodic; in this case, the series is the {{mvar|p}}-adic expansion of that rational number. The proof is similar to that of the similar result for repeating decimals.
= Example =
Let us compute the 5-adic expansion of
:
For the next step, one has to expand
:
The "integer part"
:
and the expansion in the first step becomes
:
Similarly, one has
:
and
:
As the "remainder"
Or in the standard 5-adic notation
:
with the ellipsis
= Positional notation =
It is possible to use a positional notation similar to that which is used to represent numbers in base {{mvar|p}}.
Let
If
:
So, the computation of the example above shows that
:
and
:
When
:
and
:
If a {{mvar|p}}-adic representation is finite on the left (that is,
Modular properties
The quotient ring
The inverse limit of the rings
The mapping that maps a normalized {{mvar|p}}-adic series to the sequence of its partial sums is a ring isomorphism from
This definition of {{mvar|p}}-adic integers is specially useful for practical computations, as allowing building {{mvar|p}}-adic integers by successive approximations.
For example, for computing the {{mvar|p}}-adic (multiplicative) inverse of an integer, one can use Newton's method, starting from the inverse modulo {{mvar|p}}; then, each Newton step computes the inverse modulo
The same method can be used for computing the {{mvar|p}}-adic square root of an integer that is a quadratic residue modulo {{mvar|p}}. This seems to be the fastest known method for testing whether a large integer is a square: it suffices to test whether the given integer is the square of the value found in
Hensel lifting is a similar method that allows to "lift" the factorization modulo {{mvar|p}} of a polynomial with integer coefficients to a factorization modulo
Notation
There are several different conventions for writing {{mvar|p}}-adic expansions. So far this article has used a notation for {{mvar|p}}-adic expansions in which powers of {{mvar|p}} increase from right to left. With this right-to-left notation the 3-adic expansion of
:
When performing arithmetic in this notation, digits are carried to the left. It is also possible to write {{mvar|p}}-adic expansions so that the powers of {{mvar|p}} increase from left to right, and digits are carried to the right. With this left-to-right notation the 3-adic expansion of
:
\frac15 = 2.01210121\dots_3 \mbox{ or }
\frac1{15} = 20.1210121\dots_3.
{{mvar|p}}-adic expansions may be written with other sets of digits instead of {{math|{0, 1, ...,}} {{math|p − 1}}}. For example, the {{math|3}}-adic expansion of
:
In fact any set of {{mvar|p}} integers which are in distinct residue classes modulo {{mvar|p}} may be used as {{mvar|p}}-adic digits. In number theory, Teichmüller representatives are sometimes used as digits.{{Harv|Hazewinkel|2009|p=342}}
{{vanchor|Quote notation}} is a variant of the {{mvar|p}}-adic representation of rational numbers that was proposed in 1979 by Eric Hehner and Nigel Horspool for implementing on computers the (exact) arithmetic with these numbers.{{Harv|Hehner|Horspool|1979|pp=124–134}}
Cardinality
Both
:
Algebraic closure
{{anchor|not_orderable}}Because {{math|0}} can be written as sum of squares,According to Hensel's lemma
The field of real numbers
If
Multiplicative group
Given a natural number {{mvar|k}}, the index of the multiplicative group of the {{mvar|k}}-th powers of the non-zero elements of
The number {{mvar|e}}, defined as the sum of reciprocals of factorials, is not a member of any {{mvar|p}}-adic field; but
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 {{mvar|p}}-adic numbers for every prime {{mvar|p}}. This principle holds, for example, for equations given by quadratic forms, but fails for higher polynomials in several indeterminates.
Rational arithmetic with Hensel lifting
{{main|Hensel lifting}}
See also
Footnotes
= Notes =
{{reflist|group=note}}
= Citations =
{{reflist}}
References
{{refbegin}}
- {{Citation |last=Cassels |first=J. W. S. |author-link=J. W. S. Cassels |title=Local Fields |series=London Mathematical Society Student Texts |volume=3 |publisher=Cambridge University Press |year=1986 |isbn=0-521-31525-5 |zbl=0595.12006}}
- {{citation|title=Theory of Algebraic Functions of One Variable|volume=39|series=History of mathematics|first1=Richard|last1=Dedekind|author1-link=Richard Dedekind|first2=Heinrich|last2=Weber|author2-link=Heinrich Martin Weber|publisher=American Mathematical Society|year=2012|isbn=978-0-8218-8330-3}}. — Translation into English by John Stillwell of Theorie der algebraischen Functionen einer Veränderlichen (1882).
- {{Citation|last=Gouvêa|first=F. Q.|date=March 1994|title=A Marvelous Proof|journal=American Mathematical Monthly|pages=203–222|volume=101|issue=3 |jstor=2975598|doi=10.2307/2975598}}
- {{Citation |last=Gouvêa |first=Fernando Q. |year=1997 |title=p-adic Numbers: An Introduction |edition=2nd |publisher=Springer |isbn=3-540-62911-4 | zbl=0874.11002}}
- {{citation|title=Handbook of Algebra|volume=6|editor-first=M.|editor-last=Hazewinkel|publisher=North Holland|date=2009|isbn=978-0-444-53257-2|page=342|url={{Google books|yimXZ-7L9ZoC|page=342|plainurl=yes}}}}
- {{Citation|last1=Hehner|first1=Eric C. R.|author-link1=Eric C. R. Hehner|last2=Horspool|first2=R. Nigel|year=1979|title=A new representation of the rational numbers for fast easy arithmetic|journal=SIAM Journal on Computing|pages=124–134 |volume=8 |issue=2 |doi=10.1137/0208011 |url=https://www.researchgate.net/publication/220617770|citeseerx=10.1.1.64.7714}}
- {{Citation | last = Hensel | first = Kurt | author-link=Kurt Hensel | title = Über eine neue Begründung der Theorie der algebraischen Zahlen | journal = Jahresbericht der Deutschen Mathematiker-Vereinigung | volume = 6 | year = 1897 | issue = 3 | pages = 83–88 | url = http://www.digizeitschriften.de/resolveppn/GDZPPN00211612X&L=2}}
- {{Citation|last1=Kelley|first1=John L.|author-link=John Leroy Kelley|title=General Topology|date=2008|orig-year=1955|publisher=Ishi Press|location=New York|isbn=978-0-923891-55-8}}
- {{Citation |last=Koblitz |first=Neal |author-link=Neal Koblitz |title=p-adic analysis: a short course on recent work |series=London Mathematical Society Lecture Note Series |volume=46 |publisher=Cambridge University Press |year=1980 |isbn=0-521-28060-5 |zbl=0439.12011}}
- {{Citation |last=Robert |first=Alain M. |year=2000 |title=A Course in p-adic Analysis |publisher=Springer |isbn=0-387-98669-3}}
{{refend}}
Further reading
{{refbegin}}
- {{Citation |last=Bachman |first=George |title=Introduction to p-adic Numbers and Valuation Theory |year=1964 |publisher=Academic Press |isbn=0-12-070268-1}}
- {{Citation|last1=Borevich|first1=Z. I.|author-link1=Zenon Ivanovich Borevich|last2=Shafarevich|first2=I. R.|author2-link=Igor Rostislavovich Shafarevich|year=1986|title=Number Theory|publisher=Academic Press|location=Boston, MA|series=Pure and Applied Mathematics|volume=20|isbn=978-0-12-117851-2|url={{Google books|njgVUjjO-EAC|Number Theory|plainurl=yes}}|mr=0195803}}
- {{Citation |last=Koblitz |first=Neal |author-link=Neal Koblitz |year=1984 | series=Graduate Texts in Mathematics | volume=58 | title=p-adic Numbers, p-adic Analysis, and Zeta-Functions | edition=2nd |publisher=Springer |isbn=0-387-96017-1}}
- {{Citation | last=Mahler | first=Kurt | author-link=Kurt Mahler | title=p-adic numbers and their functions | edition=2nd | zbl=0444.12013 | series=Cambridge Tracts in Mathematics | volume=76 | location=Cambridge | publisher=Cambridge University Press | year=1981 | isbn=0-521-23102-7 | url-access=registration | url=https://archive.org/details/padicnumbersthei0000mahl }}
- {{Citation |last=Steen |first=Lynn Arthur |author-link=Lynn Arthur Steen |year=1978 |title=Counterexamples in Topology |publisher=Dover |isbn=0-486-68735-X|title-link=Counterexamples in Topology }}
{{refend}}
External links
{{Commons category|P-adic numbers}}
- {{MathWorld|urlname=p-adicNumber|title=p-adic Number}}
- [http://www.encyclopediaofmath.org/index.php/P-adic_number p-adic number] at Springer On-line Encyclopaedia of Mathematics
{{Number systems}}
{{Authority control}}
{{DEFAULTSORT:P-Adic Number}}