3527 Lecture 29 Polynomial Congruences
3527 Lecture 29 Polynomial Congruences
Lecture #29
Polynomial Congruences:
Polynomial Congruences Modulo m
Polynomial Congruences Modulo p n and Hensel’s Lemma
This material represents §5.1 from the course notes.
Overview
Example (continued):
Now that we know that we must have x ≡ 24 (mod 49), we
can lift to find the solutions modulo 73 in the same way.
Explicitly, any solution must be of the form x = 24 + 49b for
some b.
Plugging in yields (24 + 72 b)3 + 4(24 + 72 b) ≡ 4 (mod 73 ),
which eventually simplifies to 147b ≡ 147 (mod 73 ).
Cancelling the factor of 72 yields 3b ≡ 3 (mod 7), which has
the single solution b ≡ 1 (mod 7).
Hence we obtain the unique solution
x ≡ 24 + 49b ≡ 73 (mod 73 ).
Polynomial Congruences, IX
Example (continued):
Now we lift to find the solutions modulo 73 : from the previous
slide, any solution must be of the form x = 12 + 49k.
In the same way as before, plugging in yields
(12 + 72 k)3 + 4(12 + 72 k) ≡ 4 (mod 73 ), which after
expanding and reducing, simplifies to 98k ≡ 294 (mod 73 ).
Solving in the same way as before yields k ≡ 5 (mod 7),
whence x ≡ 12 + 49k ≡ 257 (mod 73 ).
Hence, there is a unique solution: x ≡ 257 (mod 73 ).
Polynomial Congruences, XI
Example: Solve the congruence x 2 ≡ 9 (mod 16).
Polynomial Congruences, XI
Example: Solve the congruence x 2 ≡ 9 (mod 16).
Since 16 = 24 , we find the solutions mod 2, then work upward.
It is easy to see that there is a unique solution to x 2 ≡ 9
(mod 2), namely, x ≡ 1 (mod 2).
Next we lift to find the solutions modulo 22 : any solution
must be of the form x = 1 + 2k, so we get (1 + 2k)2 ≡ 9
(mod 22 ), which simplifies to 1 ≡ 9 (mod 22 ). This is always
true, so we get two possible solutions, x ≡ 1, 3 (mod 4).
If x = 1 + 4k, then we get (1 + 4k)2 ≡ 9 (mod 23 ), which
simplifies to 1 ≡ 9 (mod 23 ), which is again always true.
If x = 3 + 4k, then we get (3 + 4k)2 ≡ 9 (mod 23 ), which
simplifies to 9 ≡ 9 (mod 23 ), which is also always true.
Thus we get the four solutions x ≡ 1, 3, 5, 7 (mod 23 ).
Polynomial Congruences, XII
Example (continued):
Finally, we must lift each solution x ≡ 1, 3, 5, 7 (mod 23 ) to
the modulus 24 .
If x = 1 + 8k then we get (1 + 8k)2 ≡ 9 (mod 24 ), which
simplifies to 1 ≡ 9 (mod 24 ), which is contradictory.
If x = 3 + 8k then we get (3 + 8k)2 ≡ 9 (mod 24 ), which
simplifies to 9 ≡ 9 (mod 24 ), which is always true, so we get
two solutions x ≡ 3, 11 (mod 24 ).
If x = 5 + 8k then we get (5 + 8k)2 ≡ 9 (mod 24 ), which
simplifies to 25 ≡ 9 (mod 24 ), which is always true, so we get
two solutions x ≡ 5, 13 (mod 24 ).
If x = 7 + 8k then we get (7 + 8k)2 ≡ 9 (mod 24 ), which
simplifies to 49 ≡ 9 (mod 24 ), which is contradictory.
Thus, we get four solutions in total: x ≡ 3, 5, 11, 13 (mod 24 ).
Polynomial Congruences, XIII: Lucky!
The general procedure will work the same way for any prime power
modulus p n :
We first solve the congruence modulo p. For each solution we
obtain, we then try to lift it to a solution mod p 2 , then lift
each of those to a solution mod p 3 , and so forth, until we get
the full list of solutions mod p n .
In the last few examples we just worked through, we saw a
variety of different behaviors.
Sometimes, when we lift a solution, we obtain exactly one
lifted solution. Other times, the lifting might fail, or it might
yield more than one possible lifted solution.
We would like to understand what determines when each of
these behaviors will occur.
Hensel’s Lemma, I
Rather than building the motivation, we will simply state the result:
Theorem (Hensel’s Lemma)
Suppose q(x) is a polynomial with integer coefficients. If q(a) ≡ 0
(mod p d ) and q 0 (a) 6≡ 0 (mod p), then there is a unique k
(modulo p) such that q(a + kp d ) ≡ 0 (mod q d+1 ). Explicitly, if u
q(a)
is the inverse of q 0 (a) modulo p, then k = −u · d .
p