Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 2.2.9 (Solutions for $x^2 \equiv 1 \pmod{2^\alpha}$)

Exercise 2.2.9 (Solutions for $x^2 \equiv 1 \pmod{2^\alpha}$)

Show that the congruence x 2 1 ( mod 2 α ) has one solution when α = 1 , two solutions when α = 2 , and precisely the four solutions 1 , 2 α 1 1 , 2 α 1 + 1 , 1 when α 3 .

Answers

beginproof If α = 1 , then 1 is the unique solution of x 2 1 ( m o d 2 ) .

If α = 2 , then 1 and 3 are the solutions of x 2 1 ( m o d 4 ) (in the complete residue system { 0 , 1 , 2 , 3 } ).

If α = 3 , the solutions of x 2 1 ( m o d 8 ) are 1 , 3 , 5 , 7 (in the complete residue system { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 } ). So, for α = 3 the solutions are congruent to

1 , 2 α 1 1 = 3 , 2 α 1 + 1 = 5 , 1 .

Note first that for every α 3 , 2 α 1 1 , 2 α 1 + 1 , 1 are four non congruent solutions, because ( ± 1 ) 2 = 1 , and

( 2 α 1 1 ) 2 = 1 ± 2 α + 2 2 α 2 1 ( m o d 2 α ) ,

because 2 α 2 α . Moreover, for α 3 , 1 < 2 α 1 1 < 2 α 1 + 1 < 2 α 1 , therefore the classes modulo 2 α of these solutions are distinct.

Now consider the proposition 𝒫 ( α ) for α 3 , defined by

𝒫 ( α ) ( x 2 1 ( m o d 2 α ) x 1 , 2 α 1 1 , 2 α 1 + 1 , 1 ( mod 2 α ) ) .

We have already verified 𝒫 ( 3 ) . Now assume for induction 𝒫 ( α ) , where α 3 .

Suppose that x 2 1 ( m o d 2 α + 1 ) . A fortiori, x 2 1 ( m o d 2 α ) . The induction hypothesis shows that

x = x 0 + k 2 α , where  x 0 { 1 , 2 α 1 1 , 2 α 1 + 1 , 1 } .

Suppose for contradiction that x 0 = 2 α 1 ± 1 . Using 2 α 2 α + 1 ,

x 0 2 = 2 2 α 2 + 1 ± 2 α 1 ± 2 α ( m o d 2 α + 1 ) ,

so that

x 2 = ( x 0 + k 2 α ) 2 = x 0 2 + k x 0 2 α + 1 + k 2 2 2 α 1 ± 2 α ( m o d 2 α + 1 ) .

But x 2 1 ( m o d 2 α + 1 ) , thus ± 2 α 0 ( m o d 2 α + 1 ) , therefore 2 1 . This is a contradiction, which proves that x 0 2 α 1 + 1 , x 0 2 α 1 1 , thus x 0 { 1 , 1 } . Therefore x = ± 1 + k 2 α .

  • If k is even, k = 2 λ for some integer λ . So x = ± 1 + λ 2 α + 1 ± 1 ( m o d 2 α + 1 ) .

  • If k is odd, k = 2 μ + 1 for some integer μ . So x = ± 1 + ( 2 λ + 1 ) 2 α 2 α ± 1 ( m o d 2 α + 1 ) .

We have proved that x 1 , 2 α 1 , 2 α + 1 , 1 ( m o d 2 α + 1 ) , and the induction is done.

If α 3 , the congruence x 2 1 ( m o d 2 α ) has precisely the four solutions 1 , 2 α 1 1 , 2 α 1 + 1 , 1 .

User profile picture
2024-08-08 09:45
Comments