Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.5.5* ($ax^2 + b y^2 \equiv c \pmod p$ is solvable if $p \nmid ab$)

Exercise 4.5.5* ($ax^2 + b y^2 \equiv c \pmod p$ is solvable if $p \nmid ab$)

Given any integers a , b , c and any prime p not a divisor of ab , prove that a x 2 + b y 2 c ( mod p ) is solvable.

Answers

Proof. This is equivalent to proof that the equation a ¯ x 2 + b ¯ y 2 = c ¯ has a solution ( x , y ) 𝔽 p 2 if a ¯ b ¯ 0 ¯ .

Consider the two subsets A , B of 𝔽 p , defined by

A = { a ¯ x 2 x 𝔽 p } , B = { c ¯ b ¯ y 2 y 𝔽 p }

Let S = { z 2 z 𝔽 p } denote the set of squares in 𝔽 p . We know that there are ( p 1 ) 2 squares in 𝔽 p , and 0 ¯ is a square, so

Card ( S ) = p + 1 2 .

Moreover, since a ¯ 0 ¯ and b ¯ 0 ¯ , the maps u a ¯ u and u c ¯ b ¯ u are bijections on 𝔽 p , thus

Card ( A ) = Card ( B ) = p + 1 2 .

If A , B were disjoint, then

p = Card ( 𝔽 p ) Card ( A B ) = Card ( A ) + Card ( B ) = p + 1 ,

and we obtain the contradiction p > p + 1 , so A B . This shows that there is some x 𝔽 p and some y 𝔽 p such that a ¯ x 2 = c ¯ b ¯ y 2 , so the congruence a x 2 + b y 2 c ( mod p ) is solvable. □

User profile picture
2025-03-15 11:06
Comments