KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesHensel Lifting for Polynomial FactorsEngineering · Engineering MathematicsLesson 770/884← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin JoginHensel liftingp-adicquadratic liftingprime power
On this page

Ask about this page

KEVOS AIHensel Lifting for Polynomial Factors

KEVOS knowledge first · trusted web sources when needed

Polynomial Factorisation

Hensel Lifting for Polynomial Factors

Lifting a factorisation modulo a prime to a factorisation modulo a prime power, the quadratic variant, and the coprimality condition.

Engineering / MathematicsPolynomial Factorisation2 min readKV-MATH-0568

Hensel lifting converts a factorisation modulo a prime into one modulo an arbitrarily high power of that prime. It is the bridge between the easy finite field problem and the hard integer one.

The principle

Given a factorisation modulo p into coprime factors, there is a unique lift modulo p^2 agreeing with it, and the process iterates. The correction is computed from the Bezout coefficients of the factors.

f = g h (mod p^k) => f = G H (mod p^(2k))With G congruent to g and H congruent to h modulo p^k.

Hensel lifting

  1. Factor modulo pUsing finite field methods.
  2. Compute Bezout coefficientsExpress one as a combination of the factors — see the extended algorithm.
  3. Compute the errorThe difference between f and the product of the current factors, divisible by the current modulus.
  4. CorrectDistribute the error between the factors using the Bezout coefficients.
  5. IterateRepeat to the required precision.

Linear versus quadratic lifting

Two lifting strategies
VariantPrecision growthPer-step cost
LinearOne power per stepCheap; Bezout coefficients reused
QuadraticDoubles each stepMore expensive; coefficients must also be lifted

Key point

Quadratic lifting reaches a given precision in logarithmically many steps but must lift the Bezout coefficients too. Linear lifting is simpler and often competitive because the coefficients stay fixed. Which wins depends on the target precision; both are used in practice.

The coprimality condition

Pitfall

Lifting requires the factors to be coprime modulo p. If the polynomial is not squarefree modulo p — that is, if p divides the discriminant — the condition fails and the lift is not unique. Choosing p not dividing the discriminant is therefore mandatory, not merely convenient.

Multifactor lifting

With more than two factors, lift pairwise in a tree: split the factors into two groups, lift the two products, then recurse. This is more efficient than lifting each factor against the product of all others.

How far to lift

Far enough that the true integer coefficients are determined — that is, until the prime power exceeds twice the Mignotte bound. The factor of two accommodates signed representatives.

Other uses

  • Lifting square roots modulo a prime to prime powers — see square roots.
  • Lifting roots of polynomials, the p-adic Newton iteration.
  • The Dedekind criterion in maximal order computation.
  • Constructing p-adic approximations for Newton polygon methods.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 3.5.3. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Related pages

  • Chinese Remainder Theorem Algorithms
  • The Dedekind Criterion for p-Maximality
  • Mignotte Bounds on Polynomial Factors
  • Factoring Polynomials over the Integers

Continue learning

Mignotte Bounds on Polynomial FactorsArticle · Engineering MathematicsNEXT LESSON →Factoring Polynomials over the IntegersArticle · Engineering MathematicsThe Berlekamp Factorisation AlgorithmArticle · Engineering MathematicsFactoring Polynomials over Algebraic Number FieldsArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®