A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Hensel's Lemma

Research Depth 92 in the knowledge graph I know this Set as goal
416prerequisites beneath it
See this on the map →
Introduction to p-adic NumbersQuadratic Congruences
hensels-lemma lifting-solutions p-adic-numbers

Core Idea

If f(x) ≡ 0 (mod p) has a solution a with f'(a) ≢ 0 (mod p), then a lifts uniquely to a solution in ℤ_p. This enables solving congruences modulo pk iteratively and extends to polynomial equations over p-adic numbers.

Explainer

Hensel's Lemma is the p-adic analog of Newton's method. Recall how Newton's method finds real roots: start near a root, use the tangent line (the derivative) to get a better approximation, repeat. Hensel's Lemma is the same idea, but working modulo increasing powers of p rather than over the real line. The key principle is lifting: a solution mod p can be refined to a solution mod p², then mod p³, and so on — as long as the derivative is nonzero at the solution.

Concretely, suppose f(a) ≡ 0 (mod p) and f'(a) ≢ 0 (mod p). Can we find b ≡ a (mod p) with f(b) ≡ 0 (mod p²)? Write b = a + tp for some integer t. Taylor-expanding modulo p²: f(a + tp) ≡ f(a) + tp · f'(a) (mod p²). Setting this to zero gives t ≡ −f(a)/p · (f'(a))⁻¹ (mod p). Since f(a) ≡ 0 (mod p), the quantity f(a)/p is an integer; and since f'(a) ≢ 0 (mod p), its inverse exists modulo p. So t is uniquely determined mod p, and b = a + tp is the unique lift of a to a solution mod p². The same argument applies repeatedly, lifting from mod pk to mod pk+1 at each stage.

The condition f'(a) ≢ 0 (mod p) is what makes uniqueness possible. When the derivative vanishes at the solution, lifting may fail entirely (no solution mod p²) or branch into multiple lifts — exactly as Newton's method fails near a repeated real root. When the condition holds, the lift is unique at every stage, meaning the single root in ℤ/pℤ extends to a unique element of ℤ_p — a p-adic integer. Hensel's Lemma is thus a constructive bridge from your knowledge of p-adic numbers to concrete computations: a root that "looks good" mod p (with nonvanishing derivative) extends all the way into the p-adic integers with no ambiguity.

A classic application connects directly to quadratic congruences: does x² ≡ a (mod pk) have a solution for all k ≥ 1? By Hensel, it suffices to check that x² ≡ a (mod p) has a solution x₀ and that the derivative 2x₀ is nonzero mod p — i.e., x₀ ≢ 0 (mod p). When p is odd and a is a quadratic residue mod p, both conditions hold, so the solution lifts to all p-adic levels. Hensel's Lemma therefore turns the question "does this congruence have solutions at arbitrarily high powers of p?" into a single computation mod p.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementProof by CasesProving by Cases and ExhaustionVacuous Truth and Trivial CasesProof by Cases (Proof by Exhaustion)Mathematical InductionDivisibility and Greatest Common DivisorThe Fundamental Theorem of ArithmeticDivisibility Theory (Formal Treatment)Fundamental Theorem of Arithmetic (Rigorous Proof)Arithmetic Functions and MultiplicativityDirichlet Series and L-FunctionsPrimes in Arithmetic Progressions (Dirichlet's Theorem)Distribution of PrimesIntroduction to the Riemann Zeta FunctionDirichlet Series and L-FunctionsPrimes in Arithmetic Progressions (Dirichlet's Theorem)Wilson's TheoremFermat's Little TheoremCarmichael Function and Carmichael NumbersModular Arithmetic and CongruencesThe Euclidean Algorithm and Greatest Common DivisorThe Chinese Remainder Theorem and Its ApplicationsQuadratic CongruencesHensel's Lemma

Longest path: 93 steps · 416 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.