Hensel's lemma explained

In mathematics, Hensel's lemma, also known as Hensel's lifting lemma, named after Kurt Hensel, is a result in modular arithmetic, stating that if a univariate polynomial has a simple root modulo a prime number, then this root can be lifted to a unique root modulo any higher power of . More generally, if a polynomial factors modulo into two coprime polynomials, this factorization can be lifted to a factorization modulo any higher power of (the case of roots corresponds to the case of degree for one of the factors).

By passing to the "limit" (in fact this is an inverse limit) when the power of tends to infinity, it follows that a root or a factorization modulo can be lifted to a root or a factorization over the -adic integers.

These results have been widely generalized, under the same name, to the case of polynomials over an arbitrary commutative ring, where is replaced by an ideal, and "coprime polynomials" means "polynomials that generate an ideal containing ".

Hensel's lemma is fundamental in -adic analysis, a branch of analytic number theory.

The proof of Hensel's lemma is constructive, and leads to an efficient algorithm for Hensel lifting, which is fundamental for factoring polynomials, and gives the most efficient known algorithm for exact linear algebra over the rational numbers.

Modular reduction and lifting

Hensel's original lemma concerns the relation between polynomial factorization over the integers and over the integers modulo a prime number and its powers. It can be straightforwardly extended to the case where the integers are replaced by any commutative ring, and is replaced by any maximal ideal (indeed, the maximal ideals of

\Z

have the form

p\Z,

where is a prime number).

Making this precise requires a generalization of the usual modular arithmetic, and so it is useful to define accurately the terminology that is commonly used in this context.

R\toR/I.

For example, if

f\inR[X]

is a polynomial with coefficients in, its reduction modulo, denoted

f\bmodI,

is the polynomial in

(R/I)[X]=R[X]/IR[X]

obtained by replacing the coefficients of by their image in

R/I.

Two polynomials and in

R[X]

are congruent modulo, denoted f\equiv g \pmod I if they have the same coefficients modulo, that is if

f-g\inIR[X].

If

h\inR[X],

a factorization of modulo consists in two (or more) polynomials in

R[X]

such that h\equiv fg \pmod I.

The lifting process is the inverse of reduction. That is, given objects depending on elements of

R/I,

the lifting process replaces these elements by elements of

R

(or of

R/Ik

for some) that maps to them in a way that keeps the properties of the objects.

For example, given a polynomial

h\inR[X]

and a factorization modulo expressed as h\equiv fg \pmod I, lifting this factorization modulo

Ik

consists of finding polynomials

f',g'\inR[X]

such that f'\equiv f \pmod I, g'\equiv g \pmod I, and h\equiv f'g' \pmod . Hensel's lemma asserts that such a lifting is always possible under mild conditions; see next section.

Statement

Originally, Hensel's lemma was stated (and proved) for lifting a factorization modulo a prime number of a polynomial over the integers to a factorization modulo any power of and to a factorization over the -adic integers. This can be generalized easily, with the same proof to the case where the integers are replaced by any commutative ring, the prime number is replaced by a maximal ideal, and the -adic integers are replaced by the completion with respect to the maximal ideal. It is this generalization, which is also widely used, that is presented here.

Let

akm

be a maximal ideal of a commutative ring, and
n+ …
h=\alpha
0X

+\alphan-1X+\alphan

be a polynomial in

R[X]

with a leading coefficient

\alpha0

not in

akm.

Since

akm

is a maximal ideal, the quotient ring

R/akm

is a field, and

(R/akm)[X]

is a principal ideal domain, and, in particular, a unique factorization domain, which means that every nonzero polynomial in

(R/akm)[X]

can be factorized in a unique way as the product of a nonzero element of

(R/akm)

and irreducible polynomials that are monic (that is, their leading coefficients are 1).

Hensel's lemma asserts that every factorization of modulo

akm

into coprime polynomials can be lifted in a unique way into a factorization modulo

akmk

for every .

More precisely, with the above hypotheses, if h\equiv \alpha_0 fg\pmod \mathfrak m, where and are monic and coprime modulo

akm,

then, for every positive integer there are monic polynomials

fk

and

gk

such that

\begin{align} h&\equiv\alpha0fkgk

k},\\ f
\pmod{akm
k&\equiv

f\pmod{akm},\\ gk&\equivg\pmod{akm}, \end{align}

and

fk

and

gk

are unique (with these properties) modulo

akmk.

Lifting simple roots

An important special case is when

f=X-r.

In this case the coprimality hypothesis means that is a simple root of

h\bmodakm.

This gives the following special case of Hensel's lemma, which is often called also Hensel's lemma.

With above hypotheses and notations, if is a simple root of

h\bmodakm,

then can be lifted in a unique way to a simple root of

h\bmod{akmn}

for every positive integer . Explicitly, for every positive integer, there is a unique

rn\inR/{akm}n

such that r_n\equiv r \pmod \mathfrak m and

rn

is a simple root of

h\bmodakmn.

Lifting to adic completion

The fact that one can lift to

R/akmn

for every positive integer suggests to "pass to the limit" when tends to the infinity. This was one of the main motivations for introducing -adic integers.

Given a maximal ideal

akm

of a commutative ring, the powers of

akm

form a basis of open neighborhoods for a topology on, which is called the

akm

-adic topology. The completion of this topology can be identified with the completion of the local ring

Rakm,

and with the inverse limit

\lim\leftarrowR/akmn.

This completion is a complete local ring, generally denoted

\widehatRakm.

When is the ring of the integers, and

akm=p\Z,

where is a prime number, this completion is the ring of -adic integers

\Zp.

The definition of the completion as an inverse limit, and the above statement of Hensel's lemma imply that every factorization into pairwise coprime polynomials modulo

akm

of a polynomial

h\inR[X]

can be uniquely lifted to a factorization of the image of in

\widehatRakm[X].

Similarly, every simple root of modulo

akm

can be lifted to a simple root of the image of in

\widehatRakm[X].

Proof

Hensel's lemma is generally proved incrementally by lifting a factorization over

R/akmn

to either a factorization over

R/akmn+1

(Linear lifting), or a factorization over

R/akm2n

(Quadratic lifting).

The main ingredient of the proof is that coprime polynomials over a field satisfy Bézout's identity. That is, if and are coprime univariate polynomials over a field (here

R/akm

), there are polynomials and such that

\dega<\degg,

\degb<\degf,

and

af+bg=1.

Bézout's identity allows defining coprime polynomials and proving Hensel's lemma, even if the ideal

akm

is not maximal. Therefore, in the following proofs, one starts from a commutative ring, an ideal, a polynomial

h\inR[X]

that has a leading coefficient that is invertible modulo (that is its image in

R/I

is a unit in

R/I

), and factorization of modulo or modulo a power of, such that the factors satisfy a Bézout's identity modulo . In these proofs, A\equiv B \pmod I means

A-B\inIR[X].

Linear lifting

Let be an ideal of a commutative ring, and

h\inR[X]

be a univariate polynomial with coefficients in that has a leading coefficient

\alpha

that is invertible modulo (that is, the image of

\alpha

in

R/I

is a unit in

R/I

).

Suppose that for some positive integer there is a factorization

h\equiv\alphafg\pmod{Ik},

such that and are monic polynomials that are coprime modulo, in the sense that there exist

a,b\inR[X],

such that af+bg\equiv 1\pmod I. Then, there are polynomials

\deltaf,\deltag\inIkR[X],

such that

\deg\deltaf<\degf,

\deg\deltag<\degg,

and

h\equiv\alpha(f+\deltaf)(g+\deltag)\pmod{Ik+1

}.

Under these conditions,

\deltaf

and

\deltag

are unique modulo

Ik+1R[X].

Moreover,

f+\deltaf

and

g+\deltag

satisfy the same Bézout's identity as and, that is, a(f+\delta_f)+b(g+\delta_g)\equiv 1\pmod I. This follows immediately from the preceding assertions, but is needed to apply iteratively the result with increasing values of .

The proof that follows is written for computing

\deltaf

and

\deltag

by using only polynomials with coefficients in

R/I

or

Ik/Ik+1.

When

R=\Z

and

I=p\Z,

this allows manipulating only integers modulo .

Proof: By hypothesis,

\alpha

is invertible modulo . This means that there exists

\beta\inR

and

\gamma\inIR[X]

such that

\alpha\beta=1-\gamma.

Let

\deltah\inIkR[X],

of degree less than

\degh,

such that

\deltah\equivh-\alphafg\pmod{Ik+1

}. (One may choose

\deltah=h-\alphafg,

but other choices may lead to simpler computations. For example, if

R=\Z

and

I=p\Z,

it is possible and better to choose
k\delta'
\delta
h
where the coefficients of

\delta'h

are integers in the interval

As is monic, the Euclidean division of

a\deltah

by is defined, and provides and such that

a\deltah=qg+c,

and

\degc<\degg.

Moreover, both and are in

IkR[X].

Similarly, let

b\deltah=q'f+d,

with

\degd<\degf,

and

q',d\inIkR[X].

One has

q+q'\inIk+1R[X].

Indeed, one has

fc+gd=af\deltah+bg\deltah-fg(q+q')\equiv\deltah-fg(q+q')\pmod{Ik+1

}.As

fg

is monic, the degree modulo

Ik+1

of

fg(q+q')

can be less than

\degfg

only if

q+q'\inIk+1R[X].

Thus, considering congruences modulo

Ik+1,

one has

\begin{align} \alpha(f+\betad)&(g+\betac)-h\\ &\equiv\alphafg-h+\alpha\beta(f(a\deltah-qg)+g(b\deltah-q'f))\\ &\equiv\deltah(-1+\alpha\beta(af+bg))-\alpha\betafg(q+q')\\ &\equiv0\pmod{Ik+1

}.\end

So, the existence assertion is verified with

\deltaf=\betad,    \deltag=\betac.

Uniqueness

Let,, and

\alpha

as a in the preceding section. Let

h\equiv\alphafg{\pmodI}

be a factorization into coprime polynomials (in the above sense), such

\degf0+\degg0=\degh.

The application of linear lifting for

k=1,2,\ldots,n-1\ldots,

shows the existence of

\deltaf

and

\deltag

such that

\deg\deltaf<\degf,

\deg\deltag<\degg,

and

h\equiv\alpha(f+\deltaf)(g+\deltag)\pmod{In}.

The polynomials

\deltaf

and

\deltag

are uniquely defined modulo

In.

This means that, if another pair

(\delta'f,\delta'g)

satisfies the same conditions, then one has

\delta'f\equiv\deltaf\pmod{In}    and    \delta'g\equiv\deltag\pmod{In}.

Proof: Since a congruence modulo

In

implies the same concruence modulo

In-1,

one can proceed by induction and suppose that the uniqueness has been proved for, the case being trivial. That is, one can suppose that

\deltaf-\delta'f\inIn-1R[X]    and    \deltag-\delta'g\inIn-1R[X].

By hypothesis, has

h\equiv\alpha(f+\deltaf)(g+\deltag)\equiv\alpha(f+\delta'f)(g+\delta'g)\pmod{In},

and thus

\begin{align} \alpha(f+\deltaf)(g+\deltag)&-\alpha(f+\delta'f)(g+\delta'g)\\ &=\alpha(f(\deltag-\delta'g)+g(\deltaf-\delta'f))+\alpha(\deltaf(\deltag-\delta'g)-\deltag(\deltaf-\delta'f))\inInR[X]. \end{align}

By induction hypothesis, the second term of the latter sum belongs to

In,

and the same is thus true for the first term. As

\alpha

is invertible modulo, there exist

\beta\inR

and

\gamma\inI

such that

\alpha\beta=1+\gamma.

Thus

\begin{align} f(\deltag-\delta'g)&+g(\deltaf-\delta'f)\\ &=\alpha\beta(f(\deltag-\delta'g)+g(\deltaf-\delta'f))-\gamma(f(\deltag-\delta'g)+g(\deltaf-\delta'f))\inInR[X], \end{align}

using the induction hypothesis again.

The coprimality modulo implies the existence of

a,b\inR[X]

such that 1\equiv af+bg\pmod I. Using the induction hypothesis once more, one gets

\begin{align} \deltag-\delta'g&\equiv(af+bg)(\deltag-\delta'g)\\ &\equivg(b(\deltag-\delta'g)-a(\deltaf-\delta'f))\pmod{In}. \end{align}

Thus one has a polynomial of degree less than

\degg

that is congruent modulo

In

to the product of the monic polynomial and another polynomial . This is possible only if

w\inInR[X],

and implies

\deltag-\delta'g\inInR[X].

Similarly,

\deltaf-\delta'f

is also in

InR[X],

and this proves the uniqueness.

Quadratic lifting

Linear lifting allows lifting a factorization modulo

In

to a factorization modulo

In+1.

Quadratic lifting allows lifting directly to a factorization modulo

I2n,

at the cost of lifting also the Bézout's identity and of computing modulo

In

instead of modulo (if one uses the above description of linear lifting).

For lifting up to modulo

IN

for large one can use either method. If, say,

N=2k,

a factorization modulo

IN

requires steps of linear lifting or only steps of quadratic lifting. However, in the latter case the size of the coefficients that have to be manipulated increase during the computation. This implies that the best lifting method depends on the context (value of, nature of, multiplication algorithm that is used, hardware specificities, etc.).

Quadratic lifting is based on the following property.

Suppose that for some positive integer there is a factorization

h\equiv\alphafg\pmod{Ik},

such that and are monic polynomials that are coprime modulo, in the sense that there exist

a,b\inR[X],

such that af+bg\equiv 1\pmod . Then, there are polynomials

\deltaf,\deltag\inIkR[X],

such that

\deg\deltaf<\degf,

\deg\deltag<\degg,

and

h\equiv\alpha(f+\deltaf)(g+\deltag)\pmod{I2k

}.

Moreover,

f+\deltaf

and

g+\deltag

satisfy a Bézout's identity of the form

(a+\deltaa)(f+\deltaf)+(b+\deltab)(g+\deltag)\equiv1\pmod{I2k

}. (This is required for allowing iterations of quadratic lifting.)

Proof: The first assertion is exactly that of linear lifting applied with to the ideal

Ik

instead of

I.

Let

\alpha=af+bg-1\inIkR[X].

One has

a(f+\deltaf)+b(g+\deltag)=1+\Delta,

where

\Delta=\alpha+a\deltaf+b\deltag\inIkR[X].

Setting

\deltaa=-a\Delta

and

\deltab=-b\Delta,

one gets

(a+\deltaa)(f+\deltaf)+(b+\deltab)(g+\delta

2\in
g)=1-\Delta

I2kR[X],

which proves the second assertion.

Explicit example

Let

f(X)=X6-2\inQ[X].

Modulo 2, Hensel's lemma cannot be applied since the reduction of

f(X)

modulo 2 is simply[1] pg 15-16

\bar{f}(X)=X6-\overline{2}=X6

with 6 factors

X

not being relatively prime to each other. By Eisenstein's criterion, however, one can conclude that the polynomial

f(X)

is irreducible in

\Q2[X].


Over

k=F7

, on the other hand, one has

\bar{f}(X)=X6-\overline{2}=X6-\overline{16}=(X3-\overline{4})(X3+\overline{4})

where

4

is the square root of 2 in

F7

. As 4 is not a cube in

F7,

these two factors are irreducible over

F7

. Hence the complete factorization of

X6-2

in

\Z7[X]

and

\Q7[X]

is

f(X)=X6-2=(X3-\alpha)(X3+\alpha),

where

\alpha=\ldots4504547

is a square root of 2 in

\Z7

that can be obtained by lifting the above factorization.
Finally, in

F727[X]

the polynomial splits into

\bar{f}(X)=X6-\overline{2}=(X-\overline{3})(X-\overline{116})(X-\overline{119})(X-\overline{608})(X-\overline{611})(X-\overline{724})

with all factors relatively prime to each other, so that in

\Z727[X]

and

\Q727[X]

there are 6 factors

X-\beta

with the (non-rational) 727-adic integers

\beta=\left\{\begin{array}{rrr}3+&545 ⋅ 727+&5377272+&1617273+\ldots\\116 +&48 ⋅ 727 +&130 ⋅ 7272+&4987273+\ldots\\119 +&593 ⋅ 727 +&667 ⋅ 7272+&6597273+\ldots\\608 +&133 ⋅ 727 +&597272+&677273+\ldots\\611 +&678 ⋅ 727 +&596 ⋅ 7272+&2287273+\ldots\\724 +&181727 +&189 ⋅ 7272+&5657273+\ldots\end{array}\right.

Using derivatives for lifting roots

Let

f(x)

be a polynomial with integer (or -adic integer) coefficients, and let m, k be positive integers such that mk. If r is an integer such that

f(r)\equiv0\bmodpkandf'(r)\not\equiv0\bmodp

then, for every

m>0

there exists an integer s such that

f(s)\equiv0\bmodpk+mandr\equivs\bmodpk.

Furthermore, this s is unique modulo pk+m, and can be computed explicitly as the integer such that

s=r-f(r)a,

where

a

is an integer satisfying

a\equiv[f'(r)]-1\bmodpm.

Note that

f(r)\equiv0\bmodpk

so that the condition

s\equivr\bmodpk

is met. As an aside, if

f'(r)\equiv0\bmodp

, then 0, 1, or several s may exist (see Hensel Lifting below).

Derivation

We use the Taylor expansion of f around r to write:

f(s)=

N
\sum
n=0

cn(s-r)n,    cn=f(n)(r)/n!.

From

r\equivs\bmodpk,

we see that sr = tpk for some integer t. Let

\begin{align} f(s)&=

N
\sum
n=0

cn\left(tpk\right)n\\ &=f(r)+tpkf'(r)+

N
\sum
n=2

cntnpkn\\ &=f(r)+tpkf'(r)+p2kt2g(t)&&g(t)\in\Z[t]\\ &=zpk+tpkf'(r)+p2kt2g(t)&&f(r)\equiv0\bmodpk\\ &=(z+tf'(r))pk+p2kt2g(t) \end{align}

For

m\leqslantk,

we have:

\begin{align} f(s)\equiv0\bmodpk+m&\Longleftrightarrow(z+tf'(r))pk\equiv0\bmodpk+m\\ &\Longleftrightarrowz+tf'(r)\equiv0\bmodpm\\ &\Longleftrightarrowtf'(r)\equiv-z\bmodpm\\ &\Longleftrightarrowt\equiv-z[f'(r)]-1\bmodpm&&p\nmidf'(r) \end{align}

The assumption that

f'(r)

is not divisible by p ensures that

f'(r)

has an inverse mod

pm

which is necessarily unique. Hence a solution for t exists uniquely modulo

pm,

and s exists uniquely modulo

pk+m.

Observations

Criterion for irreducible polynomials

Using the above hypotheses, if we consider an irreducible polynomial

f(x)=a0+a1x++anxn\inK[X]

such that

a0,an0

, then

|f|=max\{|a0|,|an|\}

In particular, for

f(X)=X6+10X-1

, we find in

Q2[X]

\begin{align} |f(X)|&=max\{|a0|,\ldots,|an|\}\\ &=max\{0,1,0\}=1 \end{align}

but

max\{|a0|,|an|\}=0

, hence the polynomial cannot be irreducible. Whereas in

Q7[X]

we have both values agreeing, meaning the polynomial could be irreducible. In order to determine irreducibility, the Newton polygon must be employed.[2]

Frobenius

Note that given an

a\inFp

the Frobenius endomorphism

y\mapstoyp

gives a nonzero polynomial

xp-a

that has zero derivative
\begin{align} d
dx

(xp-a)&=pxp-1\\ &\equiv0 ⋅ xp-1\bmodp\\ &\equiv0\bmodp \end{align}

hence the pth roots of

a

do not exist in

Zp

. For

a=1

, this implies that

Zp

cannot contain the root of unity

\mup

.

Roots of unity

Although the pth roots of unity are not contained in

Fp

, there are solutions of

xp-x=x(xp-1-1)

. Note that
\begin{align} d
dx

(xp-x)&=pxp-1-1\\ &\equiv-1\bmodp \end{align}

is never zero, so if there exists a solution, it necessarily lifts to

Zp

. Because the Frobenius gives

ap=a,

all of the non-zero elements
x
F
p
are solutions. In fact, these are the only roots of unity contained in

Hensel lifting

Using the lemma, one can "lift" a root r of the polynomial f modulo pk to a new root s modulo pk+1 such that (by taking ; taking larger m follows by induction). In fact, a root modulo pk+1 is also a root modulo pk, so the roots modulo pk+1 are precisely the liftings of roots modulo pk. The new root s is congruent to r modulo p, so the new root also satisfies

f'(s)\equivf'(r)\not\equiv0\bmodp.

So the lifting can be repeated, and starting from a solution rk of

f(x)\equiv0\bmodpk

we can derive a sequence of solutions rk+1, rk+2, ... of the same congruence for successively higher powers of p, provided that

f'(rk)\not\equiv0\bmodp

for the initial root rk. This also shows that f has the same number of roots mod pk as mod pk+1, mod pk+2, or any other higher power of p, provided that the roots of f mod pk are all simple.

What happens to this process if r is not a simple root mod p? Suppose that

f(r)\equiv0\bmodpkandf'(r)\equiv0\bmodp.

Then

s\equivr\bmodpk

implies

f(s)\equivf(r)\bmodpk+1.

That is,

f(r+tpk)\equivf(r)\bmodpk+1

for all integers t. Therefore, we have two cases:

f(r)\not\equiv0\bmodpk+1

then there is no lifting of r to a root of f(x) modulo pk+1.

f(r)\equiv0\bmodpk+1

then every lifting of r to modulus pk+1 is a root of f(x) modulo pk+1.

Example. To see both cases we examine two different polynomials with :

f(x)=x2+1

and . Then

f(1)\equiv0\bmod2

and

f'(1)\equiv0\bmod2.

We have

f(1)\not\equiv0\bmod4

which means that no lifting of 1 to modulus 4 is a root of f(x) modulo 4.

g(x)=x2-17

and . Then

g(1)\equiv0\bmod2

and

g'(1)\equiv0\bmod2.

However, since

g(1)\equiv0\bmod4,

we can lift our solution to modulus 4 and both lifts (i.e. 1, 3) are solutions. The derivative is still 0 modulo 2, so a priori we don't know whether we can lift them to modulo 8, but in fact we can, since g(1) is 0 mod 8 and g(3) is 0 mod 8, giving solutions at 1, 3, 5, and 7 mod 8. Since of these only g(1) and g(7) are 0 mod 16 we can lift only 1 and 7 to modulo 16, giving 1, 7, 9, and 15 mod 16. Of these, only 7 and 9 give, so these can be raised giving 7, 9, 23, and 25 mod 32. It turns out that for every integer, there are four liftings of 1 mod 2 to a root of .

Hensel's lemma for p-adic numbers

In the -adic numbers, where we can make sense of rational numbers modulo powers of p as long as the denominator is not a multiple of p, the recursion from rk (roots mod pk) to rk+1 (roots mod pk+1) can be expressed in a much more intuitive way. Instead of choosing t to be an(y) integer which solves the congruence

tf'(rk)\equiv

k
-(f(r
k)/p

)\bmodpm,

let t be the rational number (the pk here is not really a denominator since f(rk) is divisible by pk):

k
-(f(r
k)/p

)/f'(rk).

Then set

rk+1=rk+tpk=rk-

f(rk)
f'(rk)

.

This fraction may not be an integer, but it is a -adic integer, and the sequence of numbers rk converges in the -adic integers to a root of f(x) = 0. Moreover, the displayed recursive formula for the (new) number rk+1 in terms of rk is precisely Newton's method for finding roots to equations in the real numbers.

By working directly in the -adics and using the -adic absolute value, there is a version of Hensel's lemma which can be applied even if we start with a solution of f(a) ≡ 0 mod p such that

f'(a)\equiv0\bmodp.

We just need to make sure the number

f'(a)

is not exactly 0. This more general version is as follows: if there is an integer a which satisfies:

|f(a)|p<

2,
|f'(a)|
p

then there is a unique -adic integer b such f(b) = 0 and

|b-a|p<|f'(a)|p.

The construction of b amounts to showing that the recursion from Newton's method with initial value a converges in the -adics and we let b be the limit. The uniqueness of b as a root fitting the condition

|b-a|p<|f'(a)|p

needs additional work.

The statement of Hensel's lemma given above (taking

m=1

) is a special case of this more general version, since the conditions that f(a) ≡ 0 mod p and

f'(a)\not\equiv0\bmodp

say that

|f(a)|p<1

and

|f'(a)|p=1.

Examples

Suppose that p is an odd prime and a is a non-zero quadratic residue modulo p. Then Hensel's lemma implies that a has a square root in the ring of -adic integers

\Zp.

Indeed, let

f(x)=x2-a.

If r is a square root of a modulo p then:

f(r)=r2-a\equiv0\bmodpandf'(r)=2r\not\equiv0\bmodp,

where the second condition is dependent on the fact that p is odd. The basic version of Hensel's lemma tells us that starting from r1 = r we can recursively construct a sequence of integers

\{rk\}

such that:

rk+1\equivrk\bmodpk,

2
r
k

\equiva\bmodpk.

This sequence converges to some -adic integer b which satisfies b2 = a. In fact, b is the unique square root of a in

\Zp

congruent to r1 modulo p. Conversely, if a is a perfect square in

\Zp

and it is not divisible by p then it is a nonzero quadratic residue mod p. Note that the quadratic reciprocity law allows one to easily test whether a is a nonzero quadratic residue mod p, thus we get a practical way to determine which -adic numbers (for p odd) have a -adic square root, and it can be extended to cover the case p = 2 using the more general version of Hensel's lemma (an example with 2-adic square roots of 17 is given later).

To make the discussion above more explicit, let us find a "square root of 2" (the solution to

x2-2=0

) in the 7-adic integers. Modulo 7 one solution is 3 (we could also take 4), so we set

r1=3

. Hensel's lemma then allows us to find

r2

as follows:

\begin{align} f(r1)&=32-2=7

1
\\ f(r
1)/p

&=7/7=1\\ f'(r1)&=2r1=6\end{align}

Based on which the expression

tf'(r1)\equiv

k)\bmod
-(f(r
1)/p

p,

turns into:

t6\equiv-1\bmod7

which implies

t=1.

Now:

r2=r1+tp1=3+17=10=137.

And sure enough,

102\equiv2\bmod72.

(If we had used the Newton method recursion directly in the 7-adics, then

r2=r1-f(r1)/f'(r1)=3-7/6=11/6,

and

11/6\equiv10\bmod72.

)

We can continue and find

r3=108=3+7+2 ⋅ 72=2137

. Each time we carry out the calculation (that is, for each successive value of k), one more base 7 digit is added for the next higher power of 7. In the 7-adic integers this sequence converges, and the limit is a square root of 2 in

\Z7

which has initial 7-adic expansion

3+7+2 ⋅ 72+6 ⋅ 73+74+2 ⋅ 75+76+2 ⋅ 77+4 ⋅ 78+.

If we started with the initial choice

r1=4

then Hensel's lemma would produce a square root of 2 in

\Z7

which is congruent to 4 (mod 7) instead of 3 (mod 7) and in fact this second square root would be the negative of the first square root (which is consistent with 4 = −3 mod 7).

As an example where the original version of Hensel's lemma is not valid but the more general one is, let

f(x)=x2-17

and

a=1.

Then

f(a)=-16

and

f'(a)=2,

so

|f(a)|2<

2,
|f'(a)|
2

which implies there is a unique 2-adic integer b satisfying

b2=17and|b-a|2<|f'(a)|2=

1
2

,

i.e., b ≡ 1 mod 4. There are two square roots of 17 in the 2-adic integers, differing by a sign, and although they are congruent mod 2 they are not congruent mod 4. This is consistent with the general version of Hensel's lemma only giving us a unique 2-adic square root of 17 that is congruent to 1 mod 4 rather than mod 2. If we had started with the initial approximate root a = 3 then we could apply the more general Hensel's lemma again to find a unique 2-adic square root of 17 which is congruent to 3 mod 4. This is the other 2-adic square root of 17.

In terms of lifting the roots of

x2-17

from modulus 2k to 2k+1, the lifts starting with the root 1 mod 2 are as follows:

1 mod 2 → 1, 3 mod 4

1 mod 4 → 1, 5 mod 8 and 3 mod 4 → 3, 7 mod 8

1 mod 8 → 1, 9 mod 16 and 7 mod 8 → 7, 15 mod 16, while 3 mod 8 and 5 mod 8 don't lift to roots mod 16

9 mod 16 → 9, 25 mod 32 and 7 mod 16 → 7, 23 mod 16, while 1 mod 16 and 15 mod 16 don't lift to roots mod 32.

For every k at least 3, there are four roots of x2 − 17 mod 2k, but if we look at their 2-adic expansions we can see that in pairs they are converging to just two 2-adic limits. For instance, the four roots mod 32 break up into two pairs of roots which each look the same mod 16:

9 = 1 + 23 and 25 = 1 + 23 + 24.

7 = 1 + 2 + 22 and 23 = 1 + 2 + 22 + 24.

The 2-adic square roots of 17 have expansions

1+23+25+26+27+29+210+

1+2+22+24+28+211+

Another example where we can use the more general version of Hensel's lemma but not the basic version is a proof that any 3-adic integer c ≡ 1 mod 9 is a cube in

\Z3.

Let

f(x)=x3-c

and take initial approximation a = 1. The basic Hensel's lemma cannot be used to find roots of f(x) since

f'(r)\equiv0\bmod3

for every r. To apply the general version of Hensel's lemma we want

|f(1)|3

2,
<|f'(1)|
3
which means

c\equiv1\bmod27.

That is, if c ≡ 1 mod 27 then the general Hensel's lemma tells us f(x) has a 3-adic root, so c is a 3-adic cube. However, we wanted to have this result under the weaker condition that c ≡ 1 mod 9. If c ≡ 1 mod 9 then c ≡ 1, 10, or 19 mod 27. We can apply the general Hensel's lemma three times depending on the value of c mod 27: if c ≡ 1 mod 27 then use a = 1, if c ≡ 10 mod 27 then use a = 4 (since 4 is a root of f(x) mod 27), and if c ≡ 19 mod 27 then use a = 7. (It is not true that every c ≡ 1 mod 3 is a 3-adic cube, e.g., 4 is not a 3-adic cube since it is not a cube mod 9.)

In a similar way, after some preliminary work, Hensel's lemma can be used to show that for any odd prime number p, any -adic integer c congruent to 1 modulo p2 is a p-th power in

\Zp.

(This is false for p = 2.)

Generalizations

ak{m},

and let

f(x)\inA[x].

aA is called an "approximate root" of f, if

f(a)\equiv0\bmodf'(a)2ak{m}.

If f has an approximate root then it has an exact root bA "close to" a; that is,

f(b)=0andb\equiva\bmod{akm}.

Furthermore, if

f'(a)

is not a zero-divisor then b is unique.

This result can be generalized to several variables as follows:

Theorem. Let A be a commutative ring that is complete with respect to ideal

ak{m}\subsetA.

Let

f1,\ldots,fn\inA[x1,\ldots,xn]

be a system of n polynomials in n variables over A. View

f=(f1,\ldots,fn),

as a mapping from An to itself, and let

Jf(x)

denote its Jacobian matrix. Suppose a = (a1, ..., an) ∈ An is an approximate solution to f = 0 in the sense that

fi(a)\equiv0\bmod(\detJf(a))2ak{m},    1\leqslanti\leqslantn.

Then there is some b = (b1, ..., bn) ∈ An satisfying f(b) = 0, i.e.,

fi(b)=0,    1\leqslanti\leqslantn.

Furthermore this solution is "close" to a in the sense that

bi\equivai\bmod\detJf(a)ak{m},    1\leqslanti\leqslantn.

As a special case, if

fi(a)\equiv0\bmodak{m}

for all i and

\detJf(a)

is a unit in A then there is a solution to f(b) = 0 with

bi\equivai\bmodak{m}

for all i.

When n = 1, a = a is an element of A and

Jf(a)=Jf(a)=f'(a).

The hypotheses of this multivariable Hensel's lemma reduce to the ones which were stated in the one-variable Hensel's lemma.

Related concepts

Completeness of a ring is not a necessary condition for the ring to have the Henselian property: Goro Azumaya in 1950 defined a commutative local ring satisfying the Henselian property for the maximal ideal m to be a Henselian ring.

Masayoshi Nagata proved in the 1950s that for any commutative local ring A with maximal ideal m there always exists a smallest ring Ah containing A such that Ah is Henselian with respect to mAh. This Ah is called the Henselization of A. If A is noetherian, Ah will also be noetherian, and Ah is manifestly algebraic as it is constructed as a limit of étale neighbourhoods. This means that Ah is usually much smaller than the completion  while still retaining the Henselian property and remaining in the same category.

See also

Notes and References

  1. Book: Gras, Georges. Class field theory : from theory to practice. 2003. 978-3-662-11323-3. Berlin. 883382066.
  2. Book: Neukirch, Jürgen . Algebraic Number Theory . 1999 . Springer Berlin Heidelberg . 978-3-662-03983-0 . Berlin, Heidelberg . 851391469.