Exercise 4.23

Show that x 2 ≡ − 1 ( mod p ) has a solution iff p ≡ 1 ( mod 4 ) , and that x 4 ≡ − 1 ( mod p ) has a solution iff p ≡ 1 ( mod 8 ) .

Answers

Proof. If x 2 ≡ − 1 ( mod p ) , then x ¯ has order 4 in 𝔽 p ∗ , hence from Lagrange’s theorem, 4 ∣ p − 1 .

Conversely, suppose 4 ∣ p − 1 , so p = 4 k + 1 , k ∈ ℕ ∗ . From proposition 4.2.1, as 2 ∣ p − 1 , − 1 is a square modulo p iff ( − 1 ) ( p − 1 ) ∕ 2 ≡ 1 ( mod p ) , which is true because ( − 1 ) ( p − 1 ) ∕ 2 = ( − 1 ) 2 k = 1 .

If x 4 ≡ − 1 ( mod p ) , then x ¯ 8 = 1 ∈ 𝔽 p ∗ , and x ¯ 4 ≠ 1 , so x ¯ has order 8 in 𝔽 p ∗ , so 8 ∣ p − 1 .

Conversely, if p ≡ 1 ( mod 8 ) , p = 8 K + 1 , K ∈ ℕ ∗ . From Prop.4.2.1, as 4 ∣ p − 1 , there exists x ∈ ℤ such that − 1 = x 4 iff ( − 1 ) ( p − 1 ) ∕ 4 ≡ 1 ( mod 8 ) , which is true because ( − 1 ) ( p − 1 ) ∕ 4 = ( − 1 ) 2 K = 1 .

Conclusion :

∃ ⁡ x ∈ ℤ , x 4 ≡ − 1 ( mod p ) ⟺ p ≡ 1 ( mod 8 ) .

□

User profile picture
2022-07-19 00:00
Comments