Motivation
Basic lemmas
''p''-adic series
and a_v >0, or all a_i are zero. In the latter case, the series is called the ''zero series''. Every -adic series is equivalent to exactly one normalized series. This normalized series is obtained by a sequence of transformations, which are equivalences of series; see § Normalization of a -adic series, below. In other words, the equivalence of -adic series is an equivalence relation, and each equivalence class contains exactly one normalized -adic series. The usual operations of series (addition, subtraction, multiplication, division) are compatible with equivalence of -adic series. That is, denoting the equivalence with , if , and are nonzero -adic series such that S\sim T, one has \begin S\pm U&\sim T\pm U,\\ SU&\sim TU,\\ 1/S&\sim 1/T. \end The -adic numbers are often defined as the equivalence classes of -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 -adic number by the corresponding normalized -adic series. The compatibility of the series equivalence leads almost immediately to basic properties of -adic numbers: * ''Addition'', ''multiplication'' and
Normalization of a ''p''-adic series
Definition
''p''-adic integers
Topological properties
''p''-adic expansion of rational numbers
and r' is either zero, or a rational number such that , r', _p < p^ (that is, v_p(r')>k). The p-''adic expansion'' of r is the
and 0\le a_2 the following must be true: 0\le a_1 and a_2 Thus, one gets -p < a_1-a_2 < p, and since p divides a_1-a_2 it must be that a_1=a_2. The -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 -adic absolute value. In the standard -adic notation, the digits are written in the same order as in a standard base- 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 -adic expansion of a rational number is eventually periodic. Conversely, a series \sum_^\infty a_i p^i, with 0\le a_i converges (for the -adic absolute value) to a rational number if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ... it is eventually periodic; in this case, the series is the -adic expansion of that rational number. The proof is similar to that of the similar result for repeating decimal A repeating decimal or recurring decimal is a decimal representation of a number whose digits are eventually periodic (that is, after some place, the same sequence of digits is repeated forever); if this sequence consists only of zeros (that i ...s. Example Let us compute the 5-adic expansion of \tfrac 13. Bézout's identity for 5 and the denominator 3 is 2\cdot 3 + (-1)\cdot 5 =1 (for larger examples, this can be computed with the extended Euclidean algorithm). Thus \frac 13= 2+5(\frac 3). For the next step, one has to expand -1/3 (the factor 5 has to be viewed as a " shift" of the -adic valuation, similar to the basis of any number expansion, and thus it should not be itself expanded). To expand -1/3, we start from the same Bézout's identity and multiply it by -1, giving -\frac 13=-2+\frac 53. The "integer part" -2 is not in the right interval. So, one has to use Euclidean division by 5 for getting -2= 3-1\cdot 5, giving -\frac 13=3-5+\frac 53 = 3-\frac 3 = 3 +5 (\frac3), and the expansion in the first step becomes \frac 13= 2+5\cdot (3 + 5 \cdot (\frac3))= 2+3\cdot 5 + \frac 3\cdot 5^2. Similarly, one has -\frac 23=1-\frac 53, and \frac 13=2+3\cdot 5 + 1\cdot 5^2 +\frac 3\cdot 5^3. As the "remainder" -\tfrac 13 has already been found, the process can be continued easily, giving coefficients 3 for odd powers of five, and 1 for even powers. Or in the standard 5-adic notation \frac 13= \ldots 1313132_5 with the ellipsis The ellipsis (, plural ellipses; from , , ), rendered , alternatively described as suspension points/dots, points/periods of ellipsis, or ellipsis points, or colloquially, dot-dot-dot,. According to Toner it is difficult to establish when t ... \ldots on the left hand side. Positional notation It is possible to use a positional notation Positional notation, also known as place-value notation, positional numeral system, or simply place value, usually denotes the extension to any radix, base of the Hindu–Arabic numeral system (or decimal, decimal system). More generally, a posit ... similar to that which is used to represent numbers in base . Let \sum_^\infty a_i p^i be a normalized -adic series, i.e. each a_i is an integer in the interval ,p-1 One can suppose that k\le 0 by setting a_i=0 for 0\le i (if k>0), and adding the resulting zero terms to the series. If k\ge 0, the positional notation consists of writing the a_i consecutively, ordered by decreasing values of , often with appearing on the right as an index: \ldots a_n \ldots a_1_p So, the computation of the example above shows that \frac 13= \ldots 1313132_5, and \frac 3= \ldots 131313200_5. When k<0, a separating dot is added before the digits with negative index, and, if the index is present, it appears just after the separating dot. For example, \frac 1= \ldots 3131313._52, and \frac 1= \ldots 1313131._532. If a -adic representation is finite on the left (that is, a_i=0 for large values of ), then it has the value of a nonnegative rational number of the form n p^v, with n,v integers. These rational numbers are exactly the nonnegative rational numbers that have a finite representation in base . For these rational numbers, the two representations are the same. Modular properties The quotient ring In ring theory, a branch of abstract algebra, a quotient ring, also known as factor ring, difference ring or residue class ring, is a construction quite similar to the quotient group in group theory and to the quotient space in linear algebra. ... \Z_p/p^n\Z_p may be identified with the ring \Z/p^n\Z of the integers modulo In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation. Given two positive numbers and , mo ... p^n. This can be shown by remarking that every -adic integer, represented by its normalized -adic series, is congruent modulo p^n with its partial sum \sum_^a_ip^i, whose value is an integer in the interval ,p^n-1 A straightforward verification shows that this defines a ring isomorphism from \Z_p/p^n\Z_p to \Z/p^n\Z. The inverse limit of the rings \Z_p/p^n\Z_p is defined as the ring formed by the sequences a_0, a_1, \ldots such that a_i \in \Z/p^i \Z and a_i \equiv a_ \pmod for every . The mapping that maps a normalized -adic series to the sequence of its partial sums is a ring isomorphism from \Z_p to the inverse limit of the \Z_p/p^n\Z_p. This provides another way for defining -adic integers (up to Two Mathematical object, mathematical objects and are called "equal up to an equivalence relation " * if and are related by , that is, * if holds, that is, * if the equivalence classes of and with respect to are equal. This figure of speech ... an isomorphism). This definition of -adic integers is specially useful for practical computations, as allowing building -adic integers by successive approximations. For example, for computing the -adic (multiplicative) inverse of an integer, one can use Newton's method In numerical analysis, the Newton–Raphson method, also known simply as Newton's method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a ..., starting from the inverse modulo ; then, each Newton step computes the inverse modulo p^ from the inverse modulo p^n. The same method can be used for computing the -adic square root In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ... of an integer that is a quadratic residue In number theory, an integer ''q'' is a quadratic residue modulo operation, modulo ''n'' if it is Congruence relation, congruent to a Square number, perfect square modulo ''n''; that is, if there exists an integer ''x'' such that :x^2\equiv q \pm ... modulo . 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 \Z_p/p^n\Z_p. Applying Newton's method to find the square root requires p^n to be larger than twice the given integer, which is quickly satisfied. Hensel lifting is a similar method that allows to "lift" the factorization modulo of a polynomial with integer coefficients to a factorization modulo p^n for large values of . This is commonly used by polynomial factorization algorithms. 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 \tfrac15, for example, is written as \frac15 = \dots 121012102_3. 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 \tfrac15 is \frac15 = 2.01210121\dots_3 \mbox \frac1 = 20.1210121\dots_3. -adic expansions may be written with other sets of digits instead of . For example, the -adic expansion of \tfrac15 can be written using balanced ternary digits , with representing negative one, as \frac15 = \dots\underline11\underline11\underline11\underline_ . In fact any set of integers which are in distinct residue class In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mod ...es modulo may be used as -adic digits. In number theory, Teichmüller representatives are sometimes used as digits. is a variant of the -adic representation of rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...s that was proposed in 1979 by Eric Hehner and Nigel Horspool for implementing on computers the (exact) arithmetic with these numbers. Cardinality Both \Z_p and \Q_p are uncountable and have the cardinality of the continuum In set theory, the cardinality of the continuum is the cardinality or "size" of the set of real numbers \mathbb R, sometimes called the continuum. It is an infinite cardinal number and is denoted by \bold\mathfrak c (lowercase Fraktur "c") or \ .... For \Z_p, this results from the -adic representation, which defines a bijection In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ... of \Z_p on the power set In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ... \^\N. For \Q_p this results from its expression as a countably infinite In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural numbe ... union of copies of \Z_p: \Q_p=\bigcup_^\infty \frac 1\Z_p. Algebraic closure \Q_p contains \Q and is a field of characteristic . Because can be written as sum of squares, \Q_p cannot be turned into an ordered field In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord .... The field of real numbers In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ... \R has only a single proper algebraic extension: the complex numbers In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form a ... \C. In other words, this quadratic extension is already algebraically closed. By contrast, the algebraic closure of \Q_p, denoted \overline, has infinite degree, that is, \Q_p has infinitely many inequivalent algebraic extensions. Also contrasting the case of real numbers, although there is a unique extension of the -adic valuation to \overline, the latter is not (metrically) complete. Its (metric) completion is called \C_p or \Omega_p. Here an end is reached, as \C_p is algebraically closed. However unlike \C this field is not locally compact. \C_p and \C are isomorphic as rings, so we may regard \C_p as \C endowed with an exotic metric. The proof of existence of such a field isomorphism relies on the axiom of choice In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ..., and does not provide an explicit example of such an isomorphism (that is, it is not constructive). If K is any finite Galois extension of \Q_p, the Galois group In mathematics, in the area of abstract algebra known as Galois theory, the Galois group of a certain type of field extension is a specific group associated with the field extension. The study of field extensions and their relationship to the pol ... \operatorname \left(K/\Q_p \right) is solvable. Thus, the Galois group \operatorname \left(\overline/ \Q_p \right) is prosolvable. Multiplicative group \Q_p contains the -th cyclotomic field In algebraic number theory, a cyclotomic field is a number field obtained by adjoining a complex root of unity to \Q, the field of rational numbers. Cyclotomic fields played a crucial role in the development of modern algebra and number theory ... () if and only if . For instance, the -th cyclotomic field is a subfield of \Q_ if and only if , or . In particular, there is no multiplicative - torsion in \Q_p if . Also, is the only non-trivial torsion element in \Q_2. Given a natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ... , the index Index (: indexes or indices) may refer to: Arts, entertainment, and media Fictional entities * Index (''A Certain Magical Index''), a character in the light novel series ''A Certain Magical Index'' * The Index, an item on the Halo Array in the ... of the multiplicative group of the -th powers of the non-zero elements of \Q_p in \Q_p^\times is finite. The number , defined as the sum of reciprocals of factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...s, is not a member of any -adic field; but e^p \in \Q_p for p \ne 2. For one must take at least the fourth power. (Thus a number with similar properties as — namely a -th root of — is a member of \Q_p for all .) 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 In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ... 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 form In mathematics, a quadratic form is a polynomial with terms all of degree two (" form" is another name for a homogeneous polynomial). For example, 4x^2 + 2xy - 3y^2 is a quadratic form in the variables and . The coefficients usually belong t ...s, but fails for higher polynomials in several indeterminates. Rational arithmetic with Hensel lifting 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 field In mathematics, an algebraic number field (or simply number field) is an extension field K of the field of rational numbers such that the field extension K / \mathbb has finite degree (and hence is an algebraic field extension). Thus K is a ...s, in an analogous way. This will be described now. Suppose ''D'' is a Dedekind domain and ''E'' is its field of fractions In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the fie .... Pick a non-zero prime ideal ''P'' of ''D''. If ''x'' is a non-zero element of ''E'', then ''xD'' is a fractional ideal In mathematics, in particular commutative algebra, the concept of fractional ideal is introduced in the context of integral domains and is particularly fruitful in the study of Dedekind domains. In some sense, fractional ideals of an integral do ... and can be uniquely factored as a product of positive and negative powers of non-zero prime ideals of ''D''. We write ord''P''(''x'') for the exponent of ''P'' in this factorization, and for any choice of number ''c'' greater than 1 we can set , x, _P = c^. 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 C''p'', 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. ''p''-adic integers can be extended to ''p''-adic solenoids \mathbb_p. There is a map from \mathbb_p to the circle group whose fibers are the ''p''-adic integers \mathbb_p, in analogy to how there is a map from \mathbb to the circle whose fibers are \mathbb. See also * Non-Archimedean * p-adic quantum mechanics * p-adic Hodge theory * p-adic Teichmuller theory * p-adic analysis * 1 + 2 + 4 + 8 + ⋯ * ''k''-adic notation * C-minimal theory * Mahler's theorem * Profinite integer * Volkenborn integral * Two's complement Footnotes Notes Citations References * * . — Translation into English by John Stillwell of ''Theorie der algebraischen Functionen einer Veränderlichen'' (1882). * * * * * * * * Further reading * * * * * External links * ''p''-adic numberat Springer On-line Encyclopaedia of Mathematics {{DEFAULTSORT:P-Adic Number Field (mathematics) Number theory
the following must be true: 0\le a_1 and a_2 Thus, one gets -p < a_1-a_2 < p, and since p divides a_1-a_2 it must be that a_1=a_2. The -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 -adic absolute value. In the standard -adic notation, the digits are written in the same order as in a standard base- 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 -adic expansion of a rational number is eventually periodic. Conversely, a series \sum_^\infty a_i p^i, with 0\le a_i converges (for the -adic absolute value) to a rational number if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ... it is eventually periodic; in this case, the series is the -adic expansion of that rational number. The proof is similar to that of the similar result for repeating decimal A repeating decimal or recurring decimal is a decimal representation of a number whose digits are eventually periodic (that is, after some place, the same sequence of digits is repeated forever); if this sequence consists only of zeros (that i ...s. Example Let us compute the 5-adic expansion of \tfrac 13. Bézout's identity for 5 and the denominator 3 is 2\cdot 3 + (-1)\cdot 5 =1 (for larger examples, this can be computed with the extended Euclidean algorithm). Thus \frac 13= 2+5(\frac 3). For the next step, one has to expand -1/3 (the factor 5 has to be viewed as a " shift" of the -adic valuation, similar to the basis of any number expansion, and thus it should not be itself expanded). To expand -1/3, we start from the same Bézout's identity and multiply it by -1, giving -\frac 13=-2+\frac 53. The "integer part" -2 is not in the right interval. So, one has to use Euclidean division by 5 for getting -2= 3-1\cdot 5, giving -\frac 13=3-5+\frac 53 = 3-\frac 3 = 3 +5 (\frac3), and the expansion in the first step becomes \frac 13= 2+5\cdot (3 + 5 \cdot (\frac3))= 2+3\cdot 5 + \frac 3\cdot 5^2. Similarly, one has -\frac 23=1-\frac 53, and \frac 13=2+3\cdot 5 + 1\cdot 5^2 +\frac 3\cdot 5^3. As the "remainder" -\tfrac 13 has already been found, the process can be continued easily, giving coefficients 3 for odd powers of five, and 1 for even powers. Or in the standard 5-adic notation \frac 13= \ldots 1313132_5 with the ellipsis The ellipsis (, plural ellipses; from , , ), rendered , alternatively described as suspension points/dots, points/periods of ellipsis, or ellipsis points, or colloquially, dot-dot-dot,. According to Toner it is difficult to establish when t ... \ldots on the left hand side. Positional notation It is possible to use a positional notation Positional notation, also known as place-value notation, positional numeral system, or simply place value, usually denotes the extension to any radix, base of the Hindu–Arabic numeral system (or decimal, decimal system). More generally, a posit ... similar to that which is used to represent numbers in base . Let \sum_^\infty a_i p^i be a normalized -adic series, i.e. each a_i is an integer in the interval ,p-1 One can suppose that k\le 0 by setting a_i=0 for 0\le i (if k>0), and adding the resulting zero terms to the series. If k\ge 0, the positional notation consists of writing the a_i consecutively, ordered by decreasing values of , often with appearing on the right as an index: \ldots a_n \ldots a_1_p So, the computation of the example above shows that \frac 13= \ldots 1313132_5, and \frac 3= \ldots 131313200_5. When k<0, a separating dot is added before the digits with negative index, and, if the index is present, it appears just after the separating dot. For example, \frac 1= \ldots 3131313._52, and \frac 1= \ldots 1313131._532. If a -adic representation is finite on the left (that is, a_i=0 for large values of ), then it has the value of a nonnegative rational number of the form n p^v, with n,v integers. These rational numbers are exactly the nonnegative rational numbers that have a finite representation in base . For these rational numbers, the two representations are the same. Modular properties The quotient ring In ring theory, a branch of abstract algebra, a quotient ring, also known as factor ring, difference ring or residue class ring, is a construction quite similar to the quotient group in group theory and to the quotient space in linear algebra. ... \Z_p/p^n\Z_p may be identified with the ring \Z/p^n\Z of the integers modulo In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation. Given two positive numbers and , mo ... p^n. This can be shown by remarking that every -adic integer, represented by its normalized -adic series, is congruent modulo p^n with its partial sum \sum_^a_ip^i, whose value is an integer in the interval ,p^n-1 A straightforward verification shows that this defines a ring isomorphism from \Z_p/p^n\Z_p to \Z/p^n\Z. The inverse limit of the rings \Z_p/p^n\Z_p is defined as the ring formed by the sequences a_0, a_1, \ldots such that a_i \in \Z/p^i \Z and a_i \equiv a_ \pmod for every . The mapping that maps a normalized -adic series to the sequence of its partial sums is a ring isomorphism from \Z_p to the inverse limit of the \Z_p/p^n\Z_p. This provides another way for defining -adic integers (up to Two Mathematical object, mathematical objects and are called "equal up to an equivalence relation " * if and are related by , that is, * if holds, that is, * if the equivalence classes of and with respect to are equal. This figure of speech ... an isomorphism). This definition of -adic integers is specially useful for practical computations, as allowing building -adic integers by successive approximations. For example, for computing the -adic (multiplicative) inverse of an integer, one can use Newton's method In numerical analysis, the Newton–Raphson method, also known simply as Newton's method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a ..., starting from the inverse modulo ; then, each Newton step computes the inverse modulo p^ from the inverse modulo p^n. The same method can be used for computing the -adic square root In mathematics, a square root of a number is a number such that y^2 = x; in other words, a number whose ''square'' (the result of multiplying the number by itself, or y \cdot y) is . For example, 4 and −4 are square roots of 16 because 4 ... of an integer that is a quadratic residue In number theory, an integer ''q'' is a quadratic residue modulo operation, modulo ''n'' if it is Congruence relation, congruent to a Square number, perfect square modulo ''n''; that is, if there exists an integer ''x'' such that :x^2\equiv q \pm ... modulo . 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 \Z_p/p^n\Z_p. Applying Newton's method to find the square root requires p^n to be larger than twice the given integer, which is quickly satisfied. Hensel lifting is a similar method that allows to "lift" the factorization modulo of a polynomial with integer coefficients to a factorization modulo p^n for large values of . This is commonly used by polynomial factorization algorithms. 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 \tfrac15, for example, is written as \frac15 = \dots 121012102_3. 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 \tfrac15 is \frac15 = 2.01210121\dots_3 \mbox \frac1 = 20.1210121\dots_3. -adic expansions may be written with other sets of digits instead of . For example, the -adic expansion of \tfrac15 can be written using balanced ternary digits , with representing negative one, as \frac15 = \dots\underline11\underline11\underline11\underline_ . In fact any set of integers which are in distinct residue class In mathematics, modular arithmetic is a system of arithmetic operations for integers, other than the usual ones from elementary arithmetic, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to mod ...es modulo may be used as -adic digits. In number theory, Teichmüller representatives are sometimes used as digits. is a variant of the -adic representation of rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...s that was proposed in 1979 by Eric Hehner and Nigel Horspool for implementing on computers the (exact) arithmetic with these numbers. Cardinality Both \Z_p and \Q_p are uncountable and have the cardinality of the continuum In set theory, the cardinality of the continuum is the cardinality or "size" of the set of real numbers \mathbb R, sometimes called the continuum. It is an infinite cardinal number and is denoted by \bold\mathfrak c (lowercase Fraktur "c") or \ .... For \Z_p, this results from the -adic representation, which defines a bijection In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ... of \Z_p on the power set In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ... \^\N. For \Q_p this results from its expression as a countably infinite In mathematics, a set is countable if either it is finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function from it into the natural numbe ... union of copies of \Z_p: \Q_p=\bigcup_^\infty \frac 1\Z_p. Algebraic closure \Q_p contains \Q and is a field of characteristic . Because can be written as sum of squares, \Q_p cannot be turned into an ordered field In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord .... The field of real numbers In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ... \R has only a single proper algebraic extension: the complex numbers In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form a ... \C. In other words, this quadratic extension is already algebraically closed. By contrast, the algebraic closure of \Q_p, denoted \overline, has infinite degree, that is, \Q_p has infinitely many inequivalent algebraic extensions. Also contrasting the case of real numbers, although there is a unique extension of the -adic valuation to \overline, the latter is not (metrically) complete. Its (metric) completion is called \C_p or \Omega_p. Here an end is reached, as \C_p is algebraically closed. However unlike \C this field is not locally compact. \C_p and \C are isomorphic as rings, so we may regard \C_p as \C endowed with an exotic metric. The proof of existence of such a field isomorphism relies on the axiom of choice In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ..., and does not provide an explicit example of such an isomorphism (that is, it is not constructive). If K is any finite Galois extension of \Q_p, the Galois group In mathematics, in the area of abstract algebra known as Galois theory, the Galois group of a certain type of field extension is a specific group associated with the field extension. The study of field extensions and their relationship to the pol ... \operatorname \left(K/\Q_p \right) is solvable. Thus, the Galois group \operatorname \left(\overline/ \Q_p \right) is prosolvable. Multiplicative group \Q_p contains the -th cyclotomic field In algebraic number theory, a cyclotomic field is a number field obtained by adjoining a complex root of unity to \Q, the field of rational numbers. Cyclotomic fields played a crucial role in the development of modern algebra and number theory ... () if and only if . For instance, the -th cyclotomic field is a subfield of \Q_ if and only if , or . In particular, there is no multiplicative - torsion in \Q_p if . Also, is the only non-trivial torsion element in \Q_2. Given a natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ... , the index Index (: indexes or indices) may refer to: Arts, entertainment, and media Fictional entities * Index (''A Certain Magical Index''), a character in the light novel series ''A Certain Magical Index'' * The Index, an item on the Halo Array in the ... of the multiplicative group of the -th powers of the non-zero elements of \Q_p in \Q_p^\times is finite. The number , defined as the sum of reciprocals of factorial In mathematics, the factorial of a non-negative denoted is the Product (mathematics), product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times ...s, is not a member of any -adic field; but e^p \in \Q_p for p \ne 2. For one must take at least the fourth power. (Thus a number with similar properties as — namely a -th root of — is a member of \Q_p for all .) 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 In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ... 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 form In mathematics, a quadratic form is a polynomial with terms all of degree two (" form" is another name for a homogeneous polynomial). For example, 4x^2 + 2xy - 3y^2 is a quadratic form in the variables and . The coefficients usually belong t ...s, but fails for higher polynomials in several indeterminates. Rational arithmetic with Hensel lifting 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 field In mathematics, an algebraic number field (or simply number field) is an extension field K of the field of rational numbers such that the field extension K / \mathbb has finite degree (and hence is an algebraic field extension). Thus K is a ...s, in an analogous way. This will be described now. Suppose ''D'' is a Dedekind domain and ''E'' is its field of fractions In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the fie .... Pick a non-zero prime ideal ''P'' of ''D''. If ''x'' is a non-zero element of ''E'', then ''xD'' is a fractional ideal In mathematics, in particular commutative algebra, the concept of fractional ideal is introduced in the context of integral domains and is particularly fruitful in the study of Dedekind domains. In some sense, fractional ideals of an integral do ... and can be uniquely factored as a product of positive and negative powers of non-zero prime ideals of ''D''. We write ord''P''(''x'') for the exponent of ''P'' in this factorization, and for any choice of number ''c'' greater than 1 we can set , x, _P = c^. 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 C''p'', 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. ''p''-adic integers can be extended to ''p''-adic solenoids \mathbb_p. There is a map from \mathbb_p to the circle group whose fibers are the ''p''-adic integers \mathbb_p, in analogy to how there is a map from \mathbb to the circle whose fibers are \mathbb. See also * Non-Archimedean * p-adic quantum mechanics * p-adic Hodge theory * p-adic Teichmuller theory * p-adic analysis * 1 + 2 + 4 + 8 + ⋯ * ''k''-adic notation * C-minimal theory * Mahler's theorem * Profinite integer * Volkenborn integral * Two's complement Footnotes Notes Citations References * * . — Translation into English by John Stillwell of ''Theorie der algebraischen Functionen einer Veränderlichen'' (1882). * * * * * * * * Further reading * * * * * External links * ''p''-adic numberat Springer On-line Encyclopaedia of Mathematics {{DEFAULTSORT:P-Adic Number Field (mathematics) Number theory
converges (for the -adic absolute value) to a rational number
Example
Positional notation
Modular properties
Notation
Cardinality
Algebraic closure
Multiplicative group
Local–global principle
Rational arithmetic with Hensel lifting
Generalizations and related concepts
See also
Footnotes
Notes
Citations
References
Further reading
External links