For odd and p-adic units , the quadratic Hilbert symbol is
The Legendre symbols record the two unit square classes. For , put and . Then
The basis of the square-class group of the 2-adic numbers gives this formula: its only negative basis pairings are and . The first is obstructed by sums of squares modulo four, the second by modulo eight; the remaining pairings have explicit field norm representatives.
Let be an integer not divisible by . Its modular inverse modulo has a unique least nonnegative representative . Reducing the inverse equation modulo shows that the representatives are compatible. Since is a p-adic unit,
so the sequence converges to the inverse in . This computes a fraction through finite integer operations.
For and , the first eight representatives are . Each satisfies . The resulting expansion is
The geometric series has ratio , whose 2-adic absolute value is , and its sum is . In the ordinary real number absolute value, the representatives grow. Different metrics impose different meanings of a good approximation. The periodic digits here are a specific instance of the rational expansions studied in Conrad's authored note.[ref]
Figure 1.
Finite modular inverses approximate one third in the 2-adic metric
. Original exact least nonnegative inverses of modulo . The left panel plots and the bound . The right plots the ordinary real error . Equal neighbouring representatives arise when the next binary digit is zero, so their exact errors also agree. Details.
p-adic unit Created 2026-09-24 Updated 2026-10-14
A p-adic unit is an invertible element of the ring . For a p-adic integer , this is equivalent to , , or a nonzero initial p-adic digit . A rational number is a p-adic unit when neither its reduced numerator nor its denominator is divisible by .
Thus and are p-adic units at , while is a p-adic integer with no inverse inside . The modular inversion converges to a p-adic inverse construction computes the inverse of an integer unit to arbitrary finite precision.
A basis of open sets in the p-adic integers is
Indeed this is the set of with , equivalently ; these neighborhoods become arbitrarily small. Reduction identifies with , so each has index .
If a subgroup is open, a neighborhood of zero of the displayed form lies inside . Thus for some , and is finite.
Conversely suppose the abstract index is the finite integer . The quotient is a finite abelian group of order , so Lagrange's theorem gives for every . Write with . Multiplication by the p-adic unit is a bijection of , its inverse being multiplication by . Consequently
The subgroup is a union of open cosets of , and is therefore open. This proves the characterization of open subgroups of the p-adic integers:
No prior assumption of closedness is required for the finite-index direction.
False. Use the polynomial , with splitting field , , and label the polynomial roots . Take . Then
Both and are p-adic units, also when . Hence zero is the uniquely closest polynomial root, but , because . The polynomial need not be irreducible in the given setup. The inclusion established by Krasner's lemma goes in the direction in part (iii), not its converse.
A strong lifting lemma. Let be a complete discrete valuation ring, with fraction field and normalized discrete valuation . A useful strong form of Hensel lemma says that for and satisfying
there is a root with
If , take . Otherwise the hypothesis ensures that . The root is unique among satisfying . In particular, a simple root of the reduction of lifts uniquely with its specified residue.
Here is a proof by Newton iteration over a valued field. Put and
Write and . Taylor expansion over shows, inductively, that the increment has valuation , that , and that
Indeed, the constant and linear terms of cancel, leaving terms of valuation at least twice that of the increment. The change in has valuation greater than , so its valuation stays . Thus all iterates lie in and form a Cauchy sequence. Completeness and continuity give a root . The later increments have strictly larger valuations than the first, proving the displayed distance formula. For uniqueness, if are in the stated ball, Taylor expansion factors
The second factor is nonzero, so two roots must coincide. This proves Hensel's lemma in the form needed here.
Odd residue characteristic. For odd , a p-adic unit is a square exactly when its reduction is a square in . Necessity follows by reduction. For sufficiency, a nonzero residue root of has derivative invertible modulo , so the Hensel lemma lifts it. The multiplicative group of a finite field is cyclic, and its subgroup of squares has index two. Therefore
Representatives are and any unit whose reduction is a quadratic nonresidue.
Residue characteristic two. An odd integer has square congruent to one modulo eight, so a square 2-adic unit must lie in . Conversely, if , take and . Then , and the strong form of Hensel lemma produces a square root. Hence
The four unit square classes of the p-adic integers have representatives .
An element of the p-adic integers is a unit in a ring exactly when its reduction modulo is nonzero. More explicitly, if , its inverses modulo are unique and compatible, so they define with . The converse follows by reducing modulo . Part ii therefore proves that topologically generates the additive group if and only if is a p-adic unit.
Every element of can be written with . Since is a p-adic unit, define
This is the restriction of the standard embedding , so it is an injective group homomorphism. Equivalently, if in , then because the characteristic is zero.
The p-adic integers form a complete metric space and a discrete valuation ring. Every nonzero is uniquely with and a p-adic unit. The prime is a uniformizer, and reduction modulo gives the residue field . The element has no inverse inside , so the ring is not a field.
For a short ideal-classification outline, take a nonzero ideal and choose an element of smallest P-adic valuation , which exists by the well-ordering principle. Its unit factor is invertible, so the ideal contains . Every other element is divisible by , proving that the ideal is . Completeness follows because is a closed subset of the complete metric space . The zero ideal is separate from this nonzero-ideal classification.
Topological generator of the additive group of p-adic integers Created 2026-09-28 Updated 2026-10-14
An element topologically generates the additive group of exactly when , equivalently when is a p-adic unit. In that case its image generates every cyclic quotient .
For odd , a p-adic unit is a square exactly when its residue is a square, by the Hensel lemma. Its unit square-class group is . For , a unit is a square exactly when it is congruent to one modulo eight, by the strong form of Hensel lemma. The four square classes are represented by , giving .