Exercise 3.3.10 (Solvability of $x^2 \equiv k \pmod 4$)

Let k be odd. Prove that x 2 k ( mod 2 ) has exactly one solution. Furthermore, x 2 k ( mod 2 2 ) is solvable if and only if k 1 ( mod 4 ) , in which case there are two solutions.

Answers

Proof. If k is odd, the congruence x 2 1 ( mod 2 ) has exactly one solution, since 0 2 0 k , 1 2 1 k ( mod 2 ) .

Suppose that x 2 k ( mod 2 2 ) is solvable. Since k is odd, and 2 x 2 k , x is also odd, so x = 2 l + 1 for some integer l . Therefore k x 2 = ( 2 k + 1 ) 2 = 4 k 2 + 4 k + 1 1 ( mod 4 ) , so k 1 ( 4 ) .

Conversely, if k 1 ( mod 4 ) , the congruence x 2 k ( mod 2 2 ) is equivalent to x 2 1 ( mod 4 ) . Since 0 1 0 , 1 2 1 , 2 2 0 , 3 2 1 ( mod 4 ) , the solutions are 1 , 3 .

The congruence x 2 k ( mod 2 2 ) is solvable if and only if k 1 ( mod 4 ) , in which case there are two solutions. □

User profile picture
2024-11-02 11:08
Comments